From b9a2c5edab053c8111285c3685a06ef2206816e4 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Tue, 23 Aug 2022 19:14:28 +0000 Subject: [PATCH] feat: added support for BigQuery destination and PostgreSQL source types PiperOrigin-RevId: 469482613 Source-Link: https://github.com/googleapis/googleapis/commit/441339af78fea09fa64c2e39fa56112db4d81d14 Source-Link: https://github.com/googleapis/googleapis-gen/commit/7ac2e52b36f2f84950bb471126c543b9e88e75d2 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiN2FjMmU1MmIzNmYyZjg0OTUwYmI0NzExMjZjNTQzYjllODhlNzVkMiJ9 --- .../cloud/datastream/v1/DatastreamGrpc.java | 3220 -------------- .../datastream/v1alpha1/DatastreamGrpc.java | 2768 ------------- .../cloud/datastream/v1/DatastreamClient.java | 96 +- .../datastream/v1/DatastreamSettings.java | 19 +- .../cloud/datastream/v1/gapic_metadata.json | 0 .../cloud/datastream/v1/package-info.java | 0 .../datastream/v1/stub/DatastreamStub.java | 0 .../v1/stub/DatastreamStubSettings.java | 51 +- .../stub/GrpcDatastreamCallableFactory.java | 0 .../v1/stub/GrpcDatastreamStub.java | 1 + .../HttpJsonDatastreamCallableFactory.java | 0 .../v1/stub/HttpJsonDatastreamStub.java | 1 + .../v1/DatastreamClientHttpJsonTest.java | 0 .../datastream/v1/DatastreamClientTest.java | 5 +- .../cloud/datastream/v1/MockDatastream.java | 0 .../datastream/v1/MockDatastreamImpl.java | 0 .../cloud/datastream/v1/MockIAMPolicy.java | 59 + .../datastream/v1/MockIAMPolicyImpl.java | 59 + .../cloud/datastream/v1/MockLocations.java | 0 .../datastream/v1/MockLocationsImpl.java | 0 .../cloud/datastream/v1/DatastreamGrpc.java | 2399 +++++++++++ .../cloud/datastream/v1/AvroFileFormat.java | 225 +- .../v1/AvroFileFormatOrBuilder.java | 9 + .../cloud/datastream/v1/BackfillJob.java | 1049 ++--- .../datastream/v1/BackfillJobOrBuilder.java | 109 +- .../v1/BigQueryDestinationConfig.java | 3575 ++++++++++++++++ .../BigQueryDestinationConfigOrBuilder.java | 101 + .../cloud/datastream/v1/BigQueryProfile.java | 429 ++ .../v1/BigQueryProfileOrBuilder.java | 9 + .../datastream/v1/ConnectionProfile.java | 2353 +++++------ .../datastream/v1/ConnectionProfileName.java | 0 .../v1/ConnectionProfileOrBuilder.java | 224 +- .../v1/CreateConnectionProfileRequest.java | 736 ++-- ...eateConnectionProfileRequestOrBuilder.java | 79 +- .../v1/CreatePrivateConnectionRequest.java | 660 ++- ...eatePrivateConnectionRequestOrBuilder.java | 73 +- .../datastream/v1/CreateRouteRequest.java | 624 ++- .../v1/CreateRouteRequestOrBuilder.java | 70 +- .../datastream/v1/CreateStreamRequest.java | 715 ++-- .../v1/CreateStreamRequestOrBuilder.java | 76 +- .../cloud/datastream/v1/DatastreamProto.java | 739 ++++ .../v1/DatastreamResourcesProto.java | 1001 +++++ .../v1/DeleteConnectionProfileRequest.java | 432 +- ...leteConnectionProfileRequestOrBuilder.java | 44 +- .../v1/DeletePrivateConnectionRequest.java | 469 +-- ...letePrivateConnectionRequestOrBuilder.java | 47 +- .../datastream/v1/DeleteRouteRequest.java | 418 +- .../v1/DeleteRouteRequestOrBuilder.java | 44 +- .../datastream/v1/DeleteStreamRequest.java | 418 +- .../v1/DeleteStreamRequestOrBuilder.java | 44 +- .../datastream/v1/DestinationConfig.java | 774 ++-- .../v1/DestinationConfigOrBuilder.java | 73 +- .../v1/DiscoverConnectionProfileRequest.java | 1259 +++--- ...overConnectionProfileRequestOrBuilder.java | 116 +- .../v1/DiscoverConnectionProfileResponse.java | 777 ++-- ...verConnectionProfileResponseOrBuilder.java | 64 +- .../com/google/cloud/datastream/v1/Error.java | 805 ++-- .../cloud/datastream/v1/ErrorOrBuilder.java | 84 +- .../datastream/v1/FetchStaticIpsRequest.java | 452 +- .../v1/FetchStaticIpsRequestOrBuilder.java | 47 +- .../datastream/v1/FetchStaticIpsResponse.java | 425 +- .../v1/FetchStaticIpsResponseOrBuilder.java | 45 +- .../v1/ForwardSshTunnelConnectivity.java | 659 ++- ...ForwardSshTunnelConnectivityOrBuilder.java | 66 +- .../datastream/v1/GcsDestinationConfig.java | 698 ++-- .../v1/GcsDestinationConfigOrBuilder.java | 54 +- .../cloud/datastream/v1/GcsProfile.java | 380 +- .../datastream/v1/GcsProfileOrBuilder.java | 36 +- .../v1/GetConnectionProfileRequest.java | 342 +- .../GetConnectionProfileRequestOrBuilder.java | 29 + .../v1/GetPrivateConnectionRequest.java | 342 +- .../GetPrivateConnectionRequestOrBuilder.java | 29 + .../cloud/datastream/v1/GetRouteRequest.java | 329 +- .../v1/GetRouteRequestOrBuilder.java | 29 + .../datastream/v1/GetStreamObjectRequest.java | 342 +- .../v1/GetStreamObjectRequestOrBuilder.java | 29 + .../cloud/datastream/v1/GetStreamRequest.java | 332 +- .../v1/GetStreamRequestOrBuilder.java | 29 + .../cloud/datastream/v1/JsonFileFormat.java | 521 +-- .../v1/JsonFileFormatOrBuilder.java | 36 +- .../v1/ListConnectionProfilesRequest.java | 622 ++- ...istConnectionProfilesRequestOrBuilder.java | 65 +- .../v1/ListConnectionProfilesResponse.java | 571 +-- ...stConnectionProfilesResponseOrBuilder.java | 60 +- .../v1/ListPrivateConnectionsRequest.java | 622 ++- ...istPrivateConnectionsRequestOrBuilder.java | 65 +- .../v1/ListPrivateConnectionsResponse.java | 571 +-- ...stPrivateConnectionsResponseOrBuilder.java | 60 +- .../datastream/v1/ListRoutesRequest.java | 609 ++- .../v1/ListRoutesRequestOrBuilder.java | 65 +- .../datastream/v1/ListRoutesResponse.java | 569 +-- .../v1/ListRoutesResponseOrBuilder.java | 64 +- .../v1/ListStreamObjectsRequest.java | 455 +- .../v1/ListStreamObjectsRequestOrBuilder.java | 47 +- .../v1/ListStreamObjectsResponse.java | 456 +- .../ListStreamObjectsResponseOrBuilder.java | 45 +- .../datastream/v1/ListStreamsRequest.java | 612 ++- .../v1/ListStreamsRequestOrBuilder.java | 65 +- .../datastream/v1/ListStreamsResponse.java | 569 +-- .../v1/ListStreamsResponseOrBuilder.java | 63 +- .../cloud/datastream/v1/LocationName.java | 0 .../v1/LookupStreamObjectRequest.java | 506 +-- .../LookupStreamObjectRequestOrBuilder.java | 56 + .../cloud/datastream/v1/MysqlColumn.java | 603 ++- .../datastream/v1/MysqlColumnOrBuilder.java | 57 +- .../cloud/datastream/v1/MysqlDatabase.java | 450 +- .../datastream/v1/MysqlDatabaseOrBuilder.java | 45 +- .../cloud/datastream/v1/MysqlProfile.java | 619 ++- .../datastream/v1/MysqlProfileOrBuilder.java | 64 +- .../cloud/datastream/v1/MysqlRdbms.java | 349 +- .../datastream/v1/MysqlRdbmsOrBuilder.java | 36 +- .../datastream/v1/MysqlSourceConfig.java | 514 ++- .../v1/MysqlSourceConfigOrBuilder.java | 45 +- .../cloud/datastream/v1/MysqlSslConfig.java | 600 ++- .../v1/MysqlSslConfigOrBuilder.java | 62 +- .../cloud/datastream/v1/MysqlTable.java | 497 +-- .../datastream/v1/MysqlTableOrBuilder.java | 55 +- .../datastream/v1/OperationMetadata.java | 995 ++--- .../v1/OperationMetadataOrBuilder.java | 111 +- .../cloud/datastream/v1/OracleColumn.java | 671 ++- .../datastream/v1/OracleColumnOrBuilder.java | 63 +- .../cloud/datastream/v1/OracleProfile.java | 815 ++-- .../datastream/v1/OracleProfileOrBuilder.java | 88 +- .../cloud/datastream/v1/OracleRdbms.java | 364 +- .../datastream/v1/OracleRdbmsOrBuilder.java | 36 +- .../cloud/datastream/v1/OracleSchema.java | 451 +- .../datastream/v1/OracleSchemaOrBuilder.java | 45 +- .../datastream/v1/OracleSourceConfig.java | 2436 +++++++++++ .../v1/OracleSourceConfigOrBuilder.java | 130 + .../cloud/datastream/v1/OracleTable.java | 489 +-- .../datastream/v1/OracleTableOrBuilder.java | 55 +- .../cloud/datastream/v1/PostgresqlColumn.java | 1243 ++++++ .../v1/PostgresqlColumnOrBuilder.java | 109 + .../datastream/v1/PostgresqlProfile.java | 1173 ++++++ .../v1/PostgresqlProfileOrBuilder.java | 99 + .../cloud/datastream/v1/PostgresqlRdbms.java | 872 ++++ .../v1/PostgresqlRdbmsOrBuilder.java | 53 + .../cloud/datastream/v1/PostgresqlSchema.java | 1038 +++++ .../v1/PostgresqlSchemaOrBuilder.java | 73 + .../datastream/v1/PostgresqlSourceConfig.java | 1247 ++++++ .../v1/PostgresqlSourceConfigOrBuilder.java | 107 + .../cloud/datastream/v1/PostgresqlTable.java | 1084 +++++ .../v1/PostgresqlTableOrBuilder.java | 83 + .../datastream/v1/PrivateConnection.java | 1384 +++---- .../datastream/v1/PrivateConnectionName.java | 0 .../v1/PrivateConnectionOrBuilder.java | 149 +- .../datastream/v1/PrivateConnectivity.java | 339 +- .../v1/PrivateConnectivityOrBuilder.java | 31 + .../com/google/cloud/datastream/v1/Route.java | 1030 ++--- .../google/cloud/datastream/v1/RouteName.java | 0 .../cloud/datastream/v1/RouteOrBuilder.java | 113 +- .../cloud/datastream/v1/SourceConfig.java | 926 +++-- .../datastream/v1/SourceConfigOrBuilder.java | 93 +- .../datastream/v1/SourceObjectIdentifier.java | 3687 +++++++++++++++++ .../v1/SourceObjectIdentifierOrBuilder.java | 92 + .../v1/StartBackfillJobRequest.java | 342 +- .../v1/StartBackfillJobRequestOrBuilder.java | 29 + .../v1/StartBackfillJobResponse.java | 341 +- .../v1/StartBackfillJobResponseOrBuilder.java | 26 +- .../v1/StaticServiceIpConnectivity.java | 238 +- .../StaticServiceIpConnectivityOrBuilder.java | 9 + .../datastream/v1/StopBackfillJobRequest.java | 342 +- .../v1/StopBackfillJobRequestOrBuilder.java | 29 + .../v1/StopBackfillJobResponse.java | 341 +- .../v1/StopBackfillJobResponseOrBuilder.java | 26 +- .../google/cloud/datastream/v1/Stream.java | 3059 ++++++-------- .../cloud/datastream/v1/StreamName.java | 0 .../cloud/datastream/v1/StreamObject.java | 1102 ++--- .../cloud/datastream/v1/StreamObjectName.java | 0 .../datastream/v1/StreamObjectOrBuilder.java | 125 +- .../cloud/datastream/v1/StreamOrBuilder.java | 226 +- .../v1/UpdateConnectionProfileRequest.java | 680 ++- ...dateConnectionProfileRequestOrBuilder.java | 70 +- .../datastream/v1/UpdateStreamRequest.java | 659 ++- .../v1/UpdateStreamRequestOrBuilder.java | 67 +- .../cloud/datastream/v1/Validation.java | 655 ++- .../datastream/v1/ValidationMessage.java | 785 ++-- .../v1/ValidationMessageOrBuilder.java | 73 +- .../datastream/v1/ValidationOrBuilder.java | 60 +- .../cloud/datastream/v1/ValidationResult.java | 374 +- .../v1/ValidationResultOrBuilder.java | 36 +- .../cloud/datastream/v1/VpcPeeringConfig.java | 411 +- .../v1/VpcPeeringConfigOrBuilder.java | 44 +- .../cloud/datastream/v1/datastream.proto | 6 + .../datastream/v1/datastream_resources.proto | 266 +- .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../AsyncCreateConnectionProfile.java | 0 .../AsyncCreateConnectionProfileLRO.java | 0 .../SyncCreateConnectionProfile.java | 0 ...leLocationnameConnectionprofileString.java | 0 ...nProfileStringConnectionprofileString.java | 0 .../AsyncCreatePrivateConnection.java | 0 .../AsyncCreatePrivateConnectionLRO.java | 0 .../SyncCreatePrivateConnection.java | 0 ...onLocationnamePrivateconnectionString.java | 0 ...nnectionStringPrivateconnectionString.java | 0 .../createroute/AsyncCreateRoute.java | 0 .../createroute/AsyncCreateRouteLRO.java | 0 .../createroute/SyncCreateRoute.java | 0 ...RoutePrivateconnectionnameRouteString.java | 0 .../SyncCreateRouteStringRouteString.java | 0 .../createstream/AsyncCreateStream.java | 0 .../createstream/AsyncCreateStreamLRO.java | 0 .../createstream/SyncCreateStream.java | 0 ...cCreateStreamLocationnameStreamString.java | 0 .../SyncCreateStreamStringStreamString.java | 0 .../AsyncDeleteConnectionProfile.java | 0 .../AsyncDeleteConnectionProfileLRO.java | 0 .../SyncDeleteConnectionProfile.java | 0 ...onnectionProfileConnectionprofilename.java | 0 .../SyncDeleteConnectionProfileString.java | 0 .../AsyncDeletePrivateConnection.java | 0 .../AsyncDeletePrivateConnectionLRO.java | 0 .../SyncDeletePrivateConnection.java | 0 ...rivateConnectionPrivateconnectionname.java | 0 .../SyncDeletePrivateConnectionString.java | 0 .../deleteroute/AsyncDeleteRoute.java | 0 .../deleteroute/AsyncDeleteRouteLRO.java | 0 .../deleteroute/SyncDeleteRoute.java | 0 .../deleteroute/SyncDeleteRouteRoutename.java | 0 .../deleteroute/SyncDeleteRouteString.java | 0 .../deletestream/AsyncDeleteStream.java | 0 .../deletestream/AsyncDeleteStreamLRO.java | 0 .../deletestream/SyncDeleteStream.java | 0 .../SyncDeleteStreamStreamname.java | 0 .../deletestream/SyncDeleteStreamString.java | 0 .../AsyncDiscoverConnectionProfile.java | 0 .../SyncDiscoverConnectionProfile.java | 0 .../fetchstaticips/AsyncFetchStaticIps.java | 0 .../AsyncFetchStaticIpsPaged.java | 0 .../fetchstaticips/SyncFetchStaticIps.java | 0 .../SyncFetchStaticIpsLocationname.java | 0 .../SyncFetchStaticIpsString.java | 0 .../AsyncGetConnectionProfile.java | 0 .../SyncGetConnectionProfile.java | 0 ...onnectionProfileConnectionprofilename.java | 0 .../SyncGetConnectionProfileString.java | 0 .../getlocation/AsyncGetLocation.java | 0 .../getlocation/SyncGetLocation.java | 0 .../AsyncGetPrivateConnection.java | 0 .../SyncGetPrivateConnection.java | 0 ...rivateConnectionPrivateconnectionname.java | 0 .../SyncGetPrivateConnectionString.java | 0 .../getroute/AsyncGetRoute.java | 0 .../getroute/SyncGetRoute.java | 0 .../getroute/SyncGetRouteRoutename.java | 0 .../getroute/SyncGetRouteString.java | 0 .../getstream/AsyncGetStream.java | 0 .../getstream/SyncGetStream.java | 0 .../getstream/SyncGetStreamStreamname.java | 0 .../getstream/SyncGetStreamString.java | 0 .../getstreamobject/AsyncGetStreamObject.java | 0 .../getstreamobject/SyncGetStreamObject.java | 0 .../SyncGetStreamObjectStreamobjectname.java | 0 .../SyncGetStreamObjectString.java | 0 .../AsyncListConnectionProfiles.java | 0 .../AsyncListConnectionProfilesPaged.java | 0 .../SyncListConnectionProfiles.java | 0 ...yncListConnectionProfilesLocationname.java | 0 .../SyncListConnectionProfilesString.java | 0 .../listlocations/AsyncListLocations.java | 0 .../AsyncListLocationsPaged.java | 0 .../listlocations/SyncListLocations.java | 0 .../AsyncListPrivateConnections.java | 0 .../AsyncListPrivateConnectionsPaged.java | 0 .../SyncListPrivateConnections.java | 0 ...yncListPrivateConnectionsLocationname.java | 0 .../SyncListPrivateConnectionsString.java | 0 .../listroutes/AsyncListRoutes.java | 0 .../listroutes/AsyncListRoutesPaged.java | 0 .../listroutes/SyncListRoutes.java | 0 .../SyncListRoutesPrivateconnectionname.java | 0 .../listroutes/SyncListRoutesString.java | 0 .../AsyncListStreamObjects.java | 0 .../AsyncListStreamObjectsPaged.java | 0 .../SyncListStreamObjects.java | 0 .../SyncListStreamObjectsStreamname.java | 0 .../SyncListStreamObjectsString.java | 0 .../liststreams/AsyncListStreams.java | 0 .../liststreams/AsyncListStreamsPaged.java | 0 .../liststreams/SyncListStreams.java | 0 .../SyncListStreamsLocationname.java | 0 .../liststreams/SyncListStreamsString.java | 0 .../AsyncLookupStreamObject.java | 0 .../SyncLookupStreamObject.java | 0 .../AsyncStartBackfillJob.java | 0 .../SyncStartBackfillJob.java | 0 .../SyncStartBackfillJobStreamobjectname.java | 0 .../SyncStartBackfillJobString.java | 0 .../stopbackfilljob/AsyncStopBackfillJob.java | 0 .../stopbackfilljob/SyncStopBackfillJob.java | 0 .../SyncStopBackfillJobStreamobjectname.java | 0 .../SyncStopBackfillJobString.java | 0 .../AsyncUpdateConnectionProfile.java | 0 .../AsyncUpdateConnectionProfileLRO.java | 0 .../SyncUpdateConnectionProfile.java | 0 ...tionProfileConnectionprofileFieldmask.java | 0 .../updatestream/AsyncUpdateStream.java | 0 .../updatestream/AsyncUpdateStreamLRO.java | 0 .../updatestream/SyncUpdateStream.java | 0 .../SyncUpdateStreamStreamFieldmask.java | 0 .../SyncGetConnectionProfile.java | 0 .../SyncGetConnectionProfile.java | 0 .../datastream/v1alpha1/DatastreamClient.java | 72 +- .../v1alpha1/DatastreamSettings.java | 19 +- .../datastream/v1alpha1/gapic_metadata.json | 0 .../datastream/v1alpha1/package-info.java | 0 .../v1alpha1/stub/DatastreamStub.java | 0 .../v1alpha1/stub/DatastreamStubSettings.java | 48 +- .../stub/GrpcDatastreamCallableFactory.java | 0 .../v1alpha1/stub/GrpcDatastreamStub.java | 1 + .../HttpJsonDatastreamCallableFactory.java | 0 .../v1alpha1/stub/HttpJsonDatastreamStub.java | 1 + .../DatastreamClientHttpJsonTest.java | 0 .../v1alpha1/DatastreamClientTest.java | 0 .../datastream/v1alpha1/MockDatastream.java | 0 .../v1alpha1/MockDatastreamImpl.java | 0 .../datastream/v1alpha1/DatastreamGrpc.java | 2059 +++++++++ .../datastream/v1alpha1/AvroFileFormat.java | 235 +- .../v1alpha1/AvroFileFormatOrBuilder.java | 9 + .../CloudDatastreamResourcesProto.java | 712 ++++ .../v1alpha1/CloudDatastreamServiceProto.java | 640 +++ .../v1alpha1/ConnectionProfile.java | 2051 ++++----- .../v1alpha1/ConnectionProfileName.java | 0 .../v1alpha1/ConnectionProfileOrBuilder.java | 193 +- .../CreateConnectionProfileRequest.java | 702 ++-- ...eateConnectionProfileRequestOrBuilder.java | 73 +- .../CreatePrivateConnectionRequest.java | 702 ++-- ...eatePrivateConnectionRequestOrBuilder.java | 73 +- .../v1alpha1/CreateRouteRequest.java | 649 ++- .../v1alpha1/CreateRouteRequestOrBuilder.java | 73 +- .../v1alpha1/CreateStreamRequest.java | 729 ++-- .../CreateStreamRequestOrBuilder.java | 79 +- .../DeleteConnectionProfileRequest.java | 461 +-- ...leteConnectionProfileRequestOrBuilder.java | 44 +- .../DeletePrivateConnectionRequest.java | 498 +-- ...letePrivateConnectionRequestOrBuilder.java | 47 +- .../v1alpha1/DeleteRouteRequest.java | 421 +- .../v1alpha1/DeleteRouteRequestOrBuilder.java | 44 +- .../v1alpha1/DeleteStreamRequest.java | 425 +- .../DeleteStreamRequestOrBuilder.java | 44 +- .../v1alpha1/DestinationConfig.java | 548 +-- .../v1alpha1/DestinationConfigOrBuilder.java | 50 +- .../DiscoverConnectionProfileRequest.java | 1032 ++--- ...overConnectionProfileRequestOrBuilder.java | 92 +- .../DiscoverConnectionProfileResponse.java | 540 +-- ...verConnectionProfileResponseOrBuilder.java | 37 +- .../cloud/datastream/v1alpha1/Error.java | 812 ++-- .../datastream/v1alpha1/ErrorOrBuilder.java | 84 +- .../v1alpha1/FetchErrorsRequest.java | 314 +- .../v1alpha1/FetchErrorsRequestOrBuilder.java | 27 +- .../v1alpha1/FetchErrorsResponse.java | 384 +- .../FetchErrorsResponseOrBuilder.java | 36 +- .../v1alpha1/FetchStaticIpsRequest.java | 455 +- .../FetchStaticIpsRequestOrBuilder.java | 47 +- .../v1alpha1/FetchStaticIpsResponse.java | 425 +- .../FetchStaticIpsResponseOrBuilder.java | 45 +- .../ForwardSshTunnelConnectivity.java | 688 ++- ...ForwardSshTunnelConnectivityOrBuilder.java | 66 +- .../v1alpha1/GcsDestinationConfig.java | 856 ++-- .../GcsDestinationConfigOrBuilder.java | 83 +- .../datastream/v1alpha1/GcsFileFormat.java | 80 +- .../cloud/datastream/v1alpha1/GcsProfile.java | 383 +- .../v1alpha1/GcsProfileOrBuilder.java | 36 +- .../v1alpha1/GetConnectionProfileRequest.java | 367 +- .../GetConnectionProfileRequestOrBuilder.java | 29 + .../v1alpha1/GetPrivateConnectionRequest.java | 367 +- .../GetPrivateConnectionRequestOrBuilder.java | 29 + .../datastream/v1alpha1/GetRouteRequest.java | 339 +- .../v1alpha1/GetRouteRequestOrBuilder.java | 29 + .../datastream/v1alpha1/GetStreamRequest.java | 346 +- .../v1alpha1/GetStreamRequestOrBuilder.java | 29 + .../datastream/v1alpha1/JsonFileFormat.java | 465 +-- .../v1alpha1/JsonFileFormatOrBuilder.java | 30 +- .../ListConnectionProfilesRequest.java | 652 ++- ...istConnectionProfilesRequestOrBuilder.java | 65 +- .../ListConnectionProfilesResponse.java | 701 ++-- ...stConnectionProfilesResponseOrBuilder.java | 74 +- .../ListPrivateConnectionsRequest.java | 652 ++- ...istPrivateConnectionsRequestOrBuilder.java | 65 +- .../ListPrivateConnectionsResponse.java | 701 ++-- ...stPrivateConnectionsResponseOrBuilder.java | 74 +- .../v1alpha1/ListRoutesRequest.java | 615 ++- .../v1alpha1/ListRoutesRequestOrBuilder.java | 65 +- .../v1alpha1/ListRoutesResponse.java | 573 +-- .../v1alpha1/ListRoutesResponseOrBuilder.java | 63 +- .../v1alpha1/ListStreamsRequest.java | 619 ++- .../v1alpha1/ListStreamsRequestOrBuilder.java | 65 +- .../v1alpha1/ListStreamsResponse.java | 577 +-- .../ListStreamsResponseOrBuilder.java | 63 +- .../datastream/v1alpha1/LocationName.java | 0 .../datastream/v1alpha1/MysqlColumn.java | 610 ++- .../v1alpha1/MysqlColumnOrBuilder.java | 57 +- .../datastream/v1alpha1/MysqlDatabase.java | 443 +- .../v1alpha1/MysqlDatabaseOrBuilder.java | 45 +- .../datastream/v1alpha1/MysqlProfile.java | 630 ++- .../v1alpha1/MysqlProfileOrBuilder.java | 64 +- .../cloud/datastream/v1alpha1/MysqlRdbms.java | 361 +- .../v1alpha1/MysqlRdbmsOrBuilder.java | 36 +- .../v1alpha1/MysqlSourceConfig.java | 438 +- .../v1alpha1/MysqlSourceConfigOrBuilder.java | 34 +- .../datastream/v1alpha1/MysqlSslConfig.java | 582 ++- .../v1alpha1/MysqlSslConfigOrBuilder.java | 54 +- .../cloud/datastream/v1alpha1/MysqlTable.java | 438 +- .../v1alpha1/MysqlTableOrBuilder.java | 45 +- .../v1alpha1/NoConnectivitySettings.java | 238 +- .../NoConnectivitySettingsOrBuilder.java | 9 + .../v1alpha1/OperationMetadata.java | 1017 ++--- .../v1alpha1/OperationMetadataOrBuilder.java | 111 +- .../datastream/v1alpha1/OracleColumn.java | 681 ++- .../v1alpha1/OracleColumnOrBuilder.java | 63 +- .../datastream/v1alpha1/OracleProfile.java | 825 ++-- .../v1alpha1/OracleProfileOrBuilder.java | 88 +- .../datastream/v1alpha1/OracleRdbms.java | 362 +- .../v1alpha1/OracleRdbmsOrBuilder.java | 36 +- .../datastream/v1alpha1/OracleSchema.java | 445 +- .../v1alpha1/OracleSchemaOrBuilder.java | 45 +- .../v1alpha1/OracleSourceConfig.java | 438 +- .../v1alpha1/OracleSourceConfigOrBuilder.java | 34 +- .../datastream/v1alpha1/OracleTable.java | 441 +- .../v1alpha1/OracleTableOrBuilder.java | 45 +- .../v1alpha1/PrivateConnection.java | 1379 +++--- .../v1alpha1/PrivateConnectionName.java | 0 .../v1alpha1/PrivateConnectionOrBuilder.java | 143 +- .../v1alpha1/PrivateConnectivity.java | 300 +- .../PrivateConnectivityOrBuilder.java | 21 + .../cloud/datastream/v1alpha1/Route.java | 1037 ++--- .../cloud/datastream/v1alpha1/RouteName.java | 0 .../datastream/v1alpha1/RouteOrBuilder.java | 113 +- .../datastream/v1alpha1/SchemaFileFormat.java | 86 +- .../datastream/v1alpha1/SourceConfig.java | 640 ++- .../v1alpha1/SourceConfigOrBuilder.java | 52 +- .../v1alpha1/StaticServiceIpConnectivity.java | 259 +- .../StaticServiceIpConnectivityOrBuilder.java | 9 + .../cloud/datastream/v1alpha1/Stream.java | 2828 +++++-------- .../cloud/datastream/v1alpha1/StreamName.java | 0 .../datastream/v1alpha1/StreamOrBuilder.java | 207 +- .../UpdateConnectionProfileRequest.java | 648 ++- ...dateConnectionProfileRequestOrBuilder.java | 64 +- .../v1alpha1/UpdateStreamRequest.java | 673 ++- .../UpdateStreamRequestOrBuilder.java | 70 +- .../cloud/datastream/v1alpha1/Validation.java | 667 ++- .../v1alpha1/ValidationMessage.java | 799 ++-- .../v1alpha1/ValidationMessageOrBuilder.java | 73 +- .../v1alpha1/ValidationOrBuilder.java | 60 +- .../datastream/v1alpha1/ValidationResult.java | 367 +- .../v1alpha1/ValidationResultOrBuilder.java | 36 +- .../datastream/v1alpha1/VpcPeeringConfig.java | 393 +- .../v1alpha1/VpcPeeringConfigOrBuilder.java | 36 +- .../datastream/v1alpha1/datastream.proto | 0 .../v1alpha1/datastream_resources.proto | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../AsyncCreateConnectionProfile.java | 0 .../AsyncCreateConnectionProfileLRO.java | 0 .../SyncCreateConnectionProfile.java | 0 ...leLocationnameConnectionprofileString.java | 0 ...nProfileStringConnectionprofileString.java | 0 .../AsyncCreatePrivateConnection.java | 0 .../AsyncCreatePrivateConnectionLRO.java | 0 .../SyncCreatePrivateConnection.java | 0 ...onLocationnamePrivateconnectionString.java | 0 ...nnectionStringPrivateconnectionString.java | 0 .../createroute/AsyncCreateRoute.java | 0 .../createroute/AsyncCreateRouteLRO.java | 0 .../createroute/SyncCreateRoute.java | 0 ...RoutePrivateconnectionnameRouteString.java | 0 .../SyncCreateRouteStringRouteString.java | 0 .../createstream/AsyncCreateStream.java | 0 .../createstream/AsyncCreateStreamLRO.java | 0 .../createstream/SyncCreateStream.java | 0 ...cCreateStreamLocationnameStreamString.java | 0 .../SyncCreateStreamStringStreamString.java | 0 .../AsyncDeleteConnectionProfile.java | 0 .../AsyncDeleteConnectionProfileLRO.java | 0 .../SyncDeleteConnectionProfile.java | 0 ...onnectionProfileConnectionprofilename.java | 0 .../SyncDeleteConnectionProfileString.java | 0 .../AsyncDeletePrivateConnection.java | 0 .../AsyncDeletePrivateConnectionLRO.java | 0 .../SyncDeletePrivateConnection.java | 0 ...rivateConnectionPrivateconnectionname.java | 0 .../SyncDeletePrivateConnectionString.java | 0 .../deleteroute/AsyncDeleteRoute.java | 0 .../deleteroute/AsyncDeleteRouteLRO.java | 0 .../deleteroute/SyncDeleteRoute.java | 0 .../deleteroute/SyncDeleteRouteRoutename.java | 0 .../deleteroute/SyncDeleteRouteString.java | 0 .../deletestream/AsyncDeleteStream.java | 0 .../deletestream/AsyncDeleteStreamLRO.java | 0 .../deletestream/SyncDeleteStream.java | 0 .../SyncDeleteStreamStreamname.java | 0 .../deletestream/SyncDeleteStreamString.java | 0 .../AsyncDiscoverConnectionProfile.java | 0 .../SyncDiscoverConnectionProfile.java | 0 .../fetcherrors/AsyncFetchErrors.java | 0 .../fetcherrors/AsyncFetchErrorsLRO.java | 0 .../fetcherrors/SyncFetchErrors.java | 0 .../fetchstaticips/AsyncFetchStaticIps.java | 0 .../AsyncFetchStaticIpsPaged.java | 0 .../fetchstaticips/SyncFetchStaticIps.java | 0 .../SyncFetchStaticIpsLocationname.java | 0 .../SyncFetchStaticIpsString.java | 0 .../AsyncGetConnectionProfile.java | 0 .../SyncGetConnectionProfile.java | 0 ...onnectionProfileConnectionprofilename.java | 0 .../SyncGetConnectionProfileString.java | 0 .../AsyncGetPrivateConnection.java | 0 .../SyncGetPrivateConnection.java | 0 ...rivateConnectionPrivateconnectionname.java | 0 .../SyncGetPrivateConnectionString.java | 0 .../getroute/AsyncGetRoute.java | 0 .../getroute/SyncGetRoute.java | 0 .../getroute/SyncGetRouteRoutename.java | 0 .../getroute/SyncGetRouteString.java | 0 .../getstream/AsyncGetStream.java | 0 .../getstream/SyncGetStream.java | 0 .../getstream/SyncGetStreamStreamname.java | 0 .../getstream/SyncGetStreamString.java | 0 .../AsyncListConnectionProfiles.java | 0 .../AsyncListConnectionProfilesPaged.java | 0 .../SyncListConnectionProfiles.java | 0 ...yncListConnectionProfilesLocationname.java | 0 .../SyncListConnectionProfilesString.java | 0 .../AsyncListPrivateConnections.java | 0 .../AsyncListPrivateConnectionsPaged.java | 0 .../SyncListPrivateConnections.java | 0 ...yncListPrivateConnectionsLocationname.java | 0 .../SyncListPrivateConnectionsString.java | 0 .../listroutes/AsyncListRoutes.java | 0 .../listroutes/AsyncListRoutesPaged.java | 0 .../listroutes/SyncListRoutes.java | 0 .../SyncListRoutesPrivateconnectionname.java | 0 .../listroutes/SyncListRoutesString.java | 0 .../liststreams/AsyncListStreams.java | 0 .../liststreams/AsyncListStreamsPaged.java | 0 .../liststreams/SyncListStreams.java | 0 .../SyncListStreamsLocationname.java | 0 .../liststreams/SyncListStreamsString.java | 0 .../AsyncUpdateConnectionProfile.java | 0 .../AsyncUpdateConnectionProfileLRO.java | 0 .../SyncUpdateConnectionProfile.java | 0 ...tionProfileConnectionprofileFieldmask.java | 0 .../updatestream/AsyncUpdateStream.java | 0 .../updatestream/AsyncUpdateStreamLRO.java | 0 .../updatestream/SyncUpdateStream.java | 0 .../SyncUpdateStreamStreamFieldmask.java | 0 .../SyncGetConnectionProfile.java | 0 .../SyncGetConnectionProfile.java | 0 .../v1/AvroFileFormatOrBuilder.java | 24 - .../cloud/datastream/v1/DatastreamProto.java | 805 ---- .../v1/DatastreamResourcesProto.java | 921 ---- .../GetConnectionProfileRequestOrBuilder.java | 54 - .../GetPrivateConnectionRequestOrBuilder.java | 54 - .../v1/GetRouteRequestOrBuilder.java | 54 - .../v1/GetStreamObjectRequestOrBuilder.java | 54 - .../v1/GetStreamRequestOrBuilder.java | 54 - .../LookupStreamObjectRequestOrBuilder.java | 96 - .../datastream/v1/OracleSourceConfig.java | 1014 ----- .../v1/OracleSourceConfigOrBuilder.java | 95 - .../v1/PrivateConnectivityOrBuilder.java | 56 - .../datastream/v1/SourceObjectIdentifier.java | 3042 -------------- .../v1/SourceObjectIdentifierOrBuilder.java | 113 - .../v1/StartBackfillJobRequestOrBuilder.java | 54 - .../StaticServiceIpConnectivityOrBuilder.java | 24 - .../v1/StopBackfillJobRequestOrBuilder.java | 54 - .../v1alpha1/AvroFileFormatOrBuilder.java | 24 - .../CloudDatastreamResourcesProto.java | 832 ---- .../v1alpha1/CloudDatastreamServiceProto.java | 699 ---- .../GetConnectionProfileRequestOrBuilder.java | 54 - .../GetPrivateConnectionRequestOrBuilder.java | 54 - .../v1alpha1/GetRouteRequestOrBuilder.java | 54 - .../v1alpha1/GetStreamRequestOrBuilder.java | 54 - .../NoConnectivitySettingsOrBuilder.java | 24 - .../PrivateConnectivityOrBuilder.java | 38 - .../StaticServiceIpConnectivityOrBuilder.java | 24 - 579 files changed, 60577 insertions(+), 69062 deletions(-) delete mode 100644 grpc-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DatastreamGrpc.java delete mode 100644 grpc-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DatastreamGrpc.java rename {google-cloud-datastream => owl-bot-staging/v1/google-cloud-datastream}/src/main/java/com/google/cloud/datastream/v1/DatastreamClient.java (98%) rename {google-cloud-datastream => owl-bot-staging/v1/google-cloud-datastream}/src/main/java/com/google/cloud/datastream/v1/DatastreamSettings.java (97%) rename {google-cloud-datastream => owl-bot-staging/v1/google-cloud-datastream}/src/main/java/com/google/cloud/datastream/v1/gapic_metadata.json (100%) rename {google-cloud-datastream => owl-bot-staging/v1/google-cloud-datastream}/src/main/java/com/google/cloud/datastream/v1/package-info.java (100%) rename {google-cloud-datastream => owl-bot-staging/v1/google-cloud-datastream}/src/main/java/com/google/cloud/datastream/v1/stub/DatastreamStub.java (100%) rename {google-cloud-datastream => owl-bot-staging/v1/google-cloud-datastream}/src/main/java/com/google/cloud/datastream/v1/stub/DatastreamStubSettings.java (98%) rename {google-cloud-datastream => owl-bot-staging/v1/google-cloud-datastream}/src/main/java/com/google/cloud/datastream/v1/stub/GrpcDatastreamCallableFactory.java (100%) rename {google-cloud-datastream => owl-bot-staging/v1/google-cloud-datastream}/src/main/java/com/google/cloud/datastream/v1/stub/GrpcDatastreamStub.java (99%) rename {google-cloud-datastream => owl-bot-staging/v1/google-cloud-datastream}/src/main/java/com/google/cloud/datastream/v1/stub/HttpJsonDatastreamCallableFactory.java (100%) rename {google-cloud-datastream => owl-bot-staging/v1/google-cloud-datastream}/src/main/java/com/google/cloud/datastream/v1/stub/HttpJsonDatastreamStub.java (99%) rename {google-cloud-datastream => owl-bot-staging/v1/google-cloud-datastream}/src/test/java/com/google/cloud/datastream/v1/DatastreamClientHttpJsonTest.java (100%) rename {google-cloud-datastream => owl-bot-staging/v1/google-cloud-datastream}/src/test/java/com/google/cloud/datastream/v1/DatastreamClientTest.java (99%) rename {google-cloud-datastream => owl-bot-staging/v1/google-cloud-datastream}/src/test/java/com/google/cloud/datastream/v1/MockDatastream.java (100%) rename {google-cloud-datastream => owl-bot-staging/v1/google-cloud-datastream}/src/test/java/com/google/cloud/datastream/v1/MockDatastreamImpl.java (100%) create mode 100644 owl-bot-staging/v1/google-cloud-datastream/src/test/java/com/google/cloud/datastream/v1/MockIAMPolicy.java create mode 100644 owl-bot-staging/v1/google-cloud-datastream/src/test/java/com/google/cloud/datastream/v1/MockIAMPolicyImpl.java rename {google-cloud-datastream => owl-bot-staging/v1/google-cloud-datastream}/src/test/java/com/google/cloud/datastream/v1/MockLocations.java (100%) rename {google-cloud-datastream => owl-bot-staging/v1/google-cloud-datastream}/src/test/java/com/google/cloud/datastream/v1/MockLocationsImpl.java (100%) create mode 100644 owl-bot-staging/v1/grpc-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DatastreamGrpc.java rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/AvroFileFormat.java (69%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/AvroFileFormatOrBuilder.java rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/BackfillJob.java (66%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/BackfillJobOrBuilder.java (55%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/BigQueryDestinationConfig.java create mode 100644 owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/BigQueryDestinationConfigOrBuilder.java create mode 100644 owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/BigQueryProfile.java create mode 100644 owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/BigQueryProfileOrBuilder.java rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/ConnectionProfile.java (59%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/ConnectionProfileName.java (100%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/ConnectionProfileOrBuilder.java (72%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/CreateConnectionProfileRequest.java (70%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/CreateConnectionProfileRequestOrBuilder.java (71%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/CreatePrivateConnectionRequest.java (69%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/CreatePrivateConnectionRequestOrBuilder.java (68%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/CreateRouteRequest.java (72%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/CreateRouteRequestOrBuilder.java (72%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/CreateStreamRequest.java (71%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/CreateStreamRequestOrBuilder.java (74%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DatastreamProto.java create mode 100644 owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DatastreamResourcesProto.java rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/DeleteConnectionProfileRequest.java (71%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/DeleteConnectionProfileRequestOrBuilder.java (70%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/DeletePrivateConnectionRequest.java (72%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/DeletePrivateConnectionRequestOrBuilder.java (72%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/DeleteRouteRequest.java (72%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/DeleteRouteRequestOrBuilder.java (70%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/DeleteStreamRequest.java (72%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/DeleteStreamRequestOrBuilder.java (70%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/DestinationConfig.java (54%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/DestinationConfigOrBuilder.java (57%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/DiscoverConnectionProfileRequest.java (65%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/DiscoverConnectionProfileRequestOrBuilder.java (78%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/DiscoverConnectionProfileResponse.java (56%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/DiscoverConnectionProfileResponseOrBuilder.java (67%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/Error.java (67%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/ErrorOrBuilder.java (69%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/FetchStaticIpsRequest.java (68%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/FetchStaticIpsRequestOrBuilder.java (56%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/FetchStaticIpsResponse.java (71%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/FetchStaticIpsResponseOrBuilder.java (65%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/ForwardSshTunnelConnectivity.java (73%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/ForwardSshTunnelConnectivityOrBuilder.java (71%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/GcsDestinationConfig.java (72%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/GcsDestinationConfigOrBuilder.java (79%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/GcsProfile.java (70%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/GcsProfileOrBuilder.java (57%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/GetConnectionProfileRequest.java (64%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/GetConnectionProfileRequestOrBuilder.java rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/GetPrivateConnectionRequest.java (64%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/GetPrivateConnectionRequestOrBuilder.java rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/GetRouteRequest.java (65%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/GetRouteRequestOrBuilder.java rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/GetStreamObjectRequest.java (64%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/GetStreamObjectRequestOrBuilder.java rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/GetStreamRequest.java (65%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/GetStreamRequestOrBuilder.java rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/JsonFileFormat.java (70%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/JsonFileFormatOrBuilder.java (63%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/ListConnectionProfilesRequest.java (69%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/ListConnectionProfilesRequestOrBuilder.java (64%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/ListConnectionProfilesResponse.java (74%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/ListConnectionProfilesResponseOrBuilder.java (74%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/ListPrivateConnectionsRequest.java (70%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/ListPrivateConnectionsRequestOrBuilder.java (65%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/ListPrivateConnectionsResponse.java (74%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/ListPrivateConnectionsResponseOrBuilder.java (75%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/ListRoutesRequest.java (70%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/ListRoutesRequestOrBuilder.java (64%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/ListRoutesResponse.java (73%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/ListRoutesResponseOrBuilder.java (70%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/ListStreamObjectsRequest.java (69%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/ListStreamObjectsRequestOrBuilder.java (60%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/ListStreamObjectsResponse.java (73%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/ListStreamObjectsResponseOrBuilder.java (65%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/ListStreamsRequest.java (70%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/ListStreamsRequestOrBuilder.java (64%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/ListStreamsResponse.java (74%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/ListStreamsResponseOrBuilder.java (71%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/LocationName.java (100%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/LookupStreamObjectRequest.java (62%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/LookupStreamObjectRequestOrBuilder.java rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/MysqlColumn.java (73%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/MysqlColumnOrBuilder.java (69%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/MysqlDatabase.java (74%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/MysqlDatabaseOrBuilder.java (64%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/MysqlProfile.java (70%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/MysqlProfileOrBuilder.java (66%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/MysqlRdbms.java (75%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/MysqlRdbmsOrBuilder.java (62%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/MysqlSourceConfig.java (67%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/MysqlSourceConfigOrBuilder.java (71%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/MysqlSslConfig.java (75%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/MysqlSslConfigOrBuilder.java (75%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/MysqlTable.java (70%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/MysqlTableOrBuilder.java (57%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/OperationMetadata.java (69%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/OperationMetadataOrBuilder.java (72%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/OracleColumn.java (73%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/OracleColumnOrBuilder.java (69%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/OracleProfile.java (69%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/OracleProfileOrBuilder.java (67%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/OracleRdbms.java (74%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/OracleRdbmsOrBuilder.java (64%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/OracleSchema.java (73%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/OracleSchemaOrBuilder.java (64%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/OracleSourceConfig.java create mode 100644 owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/OracleSourceConfigOrBuilder.java rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/OracleTable.java (71%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/OracleTableOrBuilder.java (57%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/PostgresqlColumn.java create mode 100644 owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/PostgresqlColumnOrBuilder.java create mode 100644 owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/PostgresqlProfile.java create mode 100644 owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/PostgresqlProfileOrBuilder.java create mode 100644 owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/PostgresqlRdbms.java create mode 100644 owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/PostgresqlRdbmsOrBuilder.java create mode 100644 owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/PostgresqlSchema.java create mode 100644 owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/PostgresqlSchemaOrBuilder.java create mode 100644 owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/PostgresqlSourceConfig.java create mode 100644 owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/PostgresqlSourceConfigOrBuilder.java create mode 100644 owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/PostgresqlTable.java create mode 100644 owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/PostgresqlTableOrBuilder.java rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/PrivateConnection.java (64%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/PrivateConnectionName.java (100%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/PrivateConnectionOrBuilder.java (69%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/PrivateConnectivity.java (66%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/PrivateConnectivityOrBuilder.java rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/Route.java (65%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/RouteName.java (100%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/RouteOrBuilder.java (69%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/SourceConfig.java (56%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/SourceConfigOrBuilder.java (59%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/SourceObjectIdentifier.java create mode 100644 owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/SourceObjectIdentifierOrBuilder.java rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/StartBackfillJobRequest.java (64%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StartBackfillJobRequestOrBuilder.java rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/StartBackfillJobResponse.java (67%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/StartBackfillJobResponseOrBuilder.java (60%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/StaticServiceIpConnectivity.java (67%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StaticServiceIpConnectivityOrBuilder.java rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/StopBackfillJobRequest.java (64%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StopBackfillJobRequestOrBuilder.java rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/StopBackfillJobResponse.java (67%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/StopBackfillJobResponseOrBuilder.java (60%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/Stream.java (66%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/StreamName.java (100%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/StreamObject.java (67%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/StreamObjectName.java (100%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/StreamObjectOrBuilder.java (69%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/StreamOrBuilder.java (68%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/UpdateConnectionProfileRequest.java (72%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/UpdateConnectionProfileRequestOrBuilder.java (77%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/UpdateStreamRequest.java (73%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/UpdateStreamRequestOrBuilder.java (81%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/Validation.java (74%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/ValidationMessage.java (66%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/ValidationMessageOrBuilder.java (64%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/ValidationOrBuilder.java (73%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/ValidationResult.java (75%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/ValidationResultOrBuilder.java (66%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/VpcPeeringConfig.java (69%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/java/com/google/cloud/datastream/v1/VpcPeeringConfigOrBuilder.java (52%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/proto/google/cloud/datastream/v1/datastream.proto (99%) rename {proto-google-cloud-datastream-v1 => owl-bot-staging/v1/proto-google-cloud-datastream-v1}/src/main/proto/google/cloud/datastream/v1/datastream_resources.proto (74%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/create/SyncCreateSetCredentialsProvider.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/create/SyncCreateSetCredentialsProvider1.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/create/SyncCreateSetEndpoint.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createconnectionprofile/AsyncCreateConnectionProfile.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createconnectionprofile/AsyncCreateConnectionProfileLRO.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createconnectionprofile/SyncCreateConnectionProfile.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createconnectionprofile/SyncCreateConnectionProfileLocationnameConnectionprofileString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createconnectionprofile/SyncCreateConnectionProfileStringConnectionprofileString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createprivateconnection/AsyncCreatePrivateConnection.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createprivateconnection/AsyncCreatePrivateConnectionLRO.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createprivateconnection/SyncCreatePrivateConnection.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createprivateconnection/SyncCreatePrivateConnectionLocationnamePrivateconnectionString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createprivateconnection/SyncCreatePrivateConnectionStringPrivateconnectionString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createroute/AsyncCreateRoute.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createroute/AsyncCreateRouteLRO.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createroute/SyncCreateRoute.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createroute/SyncCreateRoutePrivateconnectionnameRouteString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createroute/SyncCreateRouteStringRouteString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createstream/AsyncCreateStream.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createstream/AsyncCreateStreamLRO.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createstream/SyncCreateStream.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createstream/SyncCreateStreamLocationnameStreamString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createstream/SyncCreateStreamStringStreamString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteconnectionprofile/AsyncDeleteConnectionProfile.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteconnectionprofile/AsyncDeleteConnectionProfileLRO.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteconnectionprofile/SyncDeleteConnectionProfile.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteconnectionprofile/SyncDeleteConnectionProfileConnectionprofilename.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteconnectionprofile/SyncDeleteConnectionProfileString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteprivateconnection/AsyncDeletePrivateConnection.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteprivateconnection/AsyncDeletePrivateConnectionLRO.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteprivateconnection/SyncDeletePrivateConnection.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteprivateconnection/SyncDeletePrivateConnectionPrivateconnectionname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteprivateconnection/SyncDeletePrivateConnectionString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteroute/AsyncDeleteRoute.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteroute/AsyncDeleteRouteLRO.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteroute/SyncDeleteRoute.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteroute/SyncDeleteRouteRoutename.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteroute/SyncDeleteRouteString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deletestream/AsyncDeleteStream.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deletestream/AsyncDeleteStreamLRO.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deletestream/SyncDeleteStream.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deletestream/SyncDeleteStreamStreamname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deletestream/SyncDeleteStreamString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/discoverconnectionprofile/AsyncDiscoverConnectionProfile.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/discoverconnectionprofile/SyncDiscoverConnectionProfile.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/fetchstaticips/AsyncFetchStaticIps.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/fetchstaticips/AsyncFetchStaticIpsPaged.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/fetchstaticips/SyncFetchStaticIps.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/fetchstaticips/SyncFetchStaticIpsLocationname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/fetchstaticips/SyncFetchStaticIpsString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getconnectionprofile/AsyncGetConnectionProfile.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getconnectionprofile/SyncGetConnectionProfile.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getconnectionprofile/SyncGetConnectionProfileConnectionprofilename.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getconnectionprofile/SyncGetConnectionProfileString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getlocation/AsyncGetLocation.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getlocation/SyncGetLocation.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getprivateconnection/AsyncGetPrivateConnection.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getprivateconnection/SyncGetPrivateConnection.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getprivateconnection/SyncGetPrivateConnectionPrivateconnectionname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getprivateconnection/SyncGetPrivateConnectionString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getroute/AsyncGetRoute.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getroute/SyncGetRoute.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getroute/SyncGetRouteRoutename.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getroute/SyncGetRouteString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getstream/AsyncGetStream.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getstream/SyncGetStream.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getstream/SyncGetStreamStreamname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getstream/SyncGetStreamString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getstreamobject/AsyncGetStreamObject.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getstreamobject/SyncGetStreamObject.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getstreamobject/SyncGetStreamObjectStreamobjectname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getstreamobject/SyncGetStreamObjectString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listconnectionprofiles/AsyncListConnectionProfiles.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listconnectionprofiles/AsyncListConnectionProfilesPaged.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listconnectionprofiles/SyncListConnectionProfiles.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listconnectionprofiles/SyncListConnectionProfilesLocationname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listconnectionprofiles/SyncListConnectionProfilesString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listlocations/AsyncListLocations.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listlocations/AsyncListLocationsPaged.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listlocations/SyncListLocations.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listprivateconnections/AsyncListPrivateConnections.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listprivateconnections/AsyncListPrivateConnectionsPaged.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listprivateconnections/SyncListPrivateConnections.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listprivateconnections/SyncListPrivateConnectionsLocationname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listprivateconnections/SyncListPrivateConnectionsString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listroutes/AsyncListRoutes.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listroutes/AsyncListRoutesPaged.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listroutes/SyncListRoutes.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listroutes/SyncListRoutesPrivateconnectionname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listroutes/SyncListRoutesString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/liststreamobjects/AsyncListStreamObjects.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/liststreamobjects/AsyncListStreamObjectsPaged.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/liststreamobjects/SyncListStreamObjects.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/liststreamobjects/SyncListStreamObjectsStreamname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/liststreamobjects/SyncListStreamObjectsString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/liststreams/AsyncListStreams.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/liststreams/AsyncListStreamsPaged.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/liststreams/SyncListStreams.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/liststreams/SyncListStreamsLocationname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/liststreams/SyncListStreamsString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/lookupstreamobject/AsyncLookupStreamObject.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/lookupstreamobject/SyncLookupStreamObject.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/startbackfilljob/AsyncStartBackfillJob.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/startbackfilljob/SyncStartBackfillJob.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/startbackfilljob/SyncStartBackfillJobStreamobjectname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/startbackfilljob/SyncStartBackfillJobString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/stopbackfilljob/AsyncStopBackfillJob.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/stopbackfilljob/SyncStopBackfillJob.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/stopbackfilljob/SyncStopBackfillJobStreamobjectname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/stopbackfilljob/SyncStopBackfillJobString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/updateconnectionprofile/AsyncUpdateConnectionProfile.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/updateconnectionprofile/AsyncUpdateConnectionProfileLRO.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/updateconnectionprofile/SyncUpdateConnectionProfile.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/updateconnectionprofile/SyncUpdateConnectionProfileConnectionprofileFieldmask.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/updatestream/AsyncUpdateStream.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/updatestream/AsyncUpdateStreamLRO.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/updatestream/SyncUpdateStream.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/updatestream/SyncUpdateStreamStreamFieldmask.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/datastreamsettings/getconnectionprofile/SyncGetConnectionProfile.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/datastream/v1/stub/datastreamstubsettings/getconnectionprofile/SyncGetConnectionProfile.java (100%) rename {google-cloud-datastream => owl-bot-staging/v1alpha1/google-cloud-datastream}/src/main/java/com/google/cloud/datastream/v1alpha1/DatastreamClient.java (98%) rename {google-cloud-datastream => owl-bot-staging/v1alpha1/google-cloud-datastream}/src/main/java/com/google/cloud/datastream/v1alpha1/DatastreamSettings.java (97%) rename {google-cloud-datastream => owl-bot-staging/v1alpha1/google-cloud-datastream}/src/main/java/com/google/cloud/datastream/v1alpha1/gapic_metadata.json (100%) rename {google-cloud-datastream => owl-bot-staging/v1alpha1/google-cloud-datastream}/src/main/java/com/google/cloud/datastream/v1alpha1/package-info.java (100%) rename {google-cloud-datastream => owl-bot-staging/v1alpha1/google-cloud-datastream}/src/main/java/com/google/cloud/datastream/v1alpha1/stub/DatastreamStub.java (100%) rename {google-cloud-datastream => owl-bot-staging/v1alpha1/google-cloud-datastream}/src/main/java/com/google/cloud/datastream/v1alpha1/stub/DatastreamStubSettings.java (98%) rename {google-cloud-datastream => owl-bot-staging/v1alpha1/google-cloud-datastream}/src/main/java/com/google/cloud/datastream/v1alpha1/stub/GrpcDatastreamCallableFactory.java (100%) rename {google-cloud-datastream => owl-bot-staging/v1alpha1/google-cloud-datastream}/src/main/java/com/google/cloud/datastream/v1alpha1/stub/GrpcDatastreamStub.java (99%) rename {google-cloud-datastream => owl-bot-staging/v1alpha1/google-cloud-datastream}/src/main/java/com/google/cloud/datastream/v1alpha1/stub/HttpJsonDatastreamCallableFactory.java (100%) rename {google-cloud-datastream => owl-bot-staging/v1alpha1/google-cloud-datastream}/src/main/java/com/google/cloud/datastream/v1alpha1/stub/HttpJsonDatastreamStub.java (99%) rename {google-cloud-datastream => owl-bot-staging/v1alpha1/google-cloud-datastream}/src/test/java/com/google/cloud/datastream/v1alpha1/DatastreamClientHttpJsonTest.java (100%) rename {google-cloud-datastream => owl-bot-staging/v1alpha1/google-cloud-datastream}/src/test/java/com/google/cloud/datastream/v1alpha1/DatastreamClientTest.java (100%) rename {google-cloud-datastream => owl-bot-staging/v1alpha1/google-cloud-datastream}/src/test/java/com/google/cloud/datastream/v1alpha1/MockDatastream.java (100%) rename {google-cloud-datastream => owl-bot-staging/v1alpha1/google-cloud-datastream}/src/test/java/com/google/cloud/datastream/v1alpha1/MockDatastreamImpl.java (100%) create mode 100644 owl-bot-staging/v1alpha1/grpc-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DatastreamGrpc.java rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/AvroFileFormat.java (67%) create mode 100644 owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/AvroFileFormatOrBuilder.java create mode 100644 owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/CloudDatastreamResourcesProto.java create mode 100644 owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/CloudDatastreamServiceProto.java rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/ConnectionProfile.java (64%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/ConnectionProfileName.java (100%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/ConnectionProfileOrBuilder.java (74%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/CreateConnectionProfileRequest.java (67%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/CreateConnectionProfileRequestOrBuilder.java (68%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/CreatePrivateConnectionRequest.java (67%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/CreatePrivateConnectionRequestOrBuilder.java (68%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/CreateRouteRequest.java (69%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/CreateRouteRequestOrBuilder.java (68%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/CreateStreamRequest.java (70%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/CreateStreamRequestOrBuilder.java (71%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/DeleteConnectionProfileRequest.java (69%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/DeleteConnectionProfileRequestOrBuilder.java (70%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/DeletePrivateConnectionRequest.java (70%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/DeletePrivateConnectionRequestOrBuilder.java (72%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/DeleteRouteRequest.java (72%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/DeleteRouteRequestOrBuilder.java (70%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/DeleteStreamRequest.java (72%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/DeleteStreamRequestOrBuilder.java (70%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/DestinationConfig.java (64%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/DestinationConfigOrBuilder.java (55%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/DiscoverConnectionProfileRequest.java (70%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/DiscoverConnectionProfileRequestOrBuilder.java (77%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/DiscoverConnectionProfileResponse.java (67%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/DiscoverConnectionProfileResponseOrBuilder.java (69%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/Error.java (67%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/ErrorOrBuilder.java (69%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/FetchErrorsRequest.java (69%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/FetchErrorsRequestOrBuilder.java (51%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/FetchErrorsResponse.java (73%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/FetchErrorsResponseOrBuilder.java (62%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/FetchStaticIpsRequest.java (69%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/FetchStaticIpsRequestOrBuilder.java (55%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/FetchStaticIpsResponse.java (71%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/FetchStaticIpsResponseOrBuilder.java (65%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/ForwardSshTunnelConnectivity.java (71%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/ForwardSshTunnelConnectivityOrBuilder.java (71%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/GcsDestinationConfig.java (69%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/GcsDestinationConfigOrBuilder.java (74%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/GcsFileFormat.java (63%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/GcsProfile.java (71%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/GcsProfileOrBuilder.java (60%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/GetConnectionProfileRequest.java (62%) create mode 100644 owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/GetConnectionProfileRequestOrBuilder.java rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/GetPrivateConnectionRequest.java (62%) create mode 100644 owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/GetPrivateConnectionRequestOrBuilder.java rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/GetRouteRequest.java (66%) create mode 100644 owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/GetRouteRequestOrBuilder.java rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/GetStreamRequest.java (64%) create mode 100644 owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/GetStreamRequestOrBuilder.java rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/JsonFileFormat.java (68%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/JsonFileFormatOrBuilder.java (67%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/ListConnectionProfilesRequest.java (68%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/ListConnectionProfilesRequestOrBuilder.java (65%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/ListConnectionProfilesResponse.java (69%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/ListConnectionProfilesResponseOrBuilder.java (70%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/ListPrivateConnectionsRequest.java (68%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/ListPrivateConnectionsRequestOrBuilder.java (65%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/ListPrivateConnectionsResponse.java (69%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/ListPrivateConnectionsResponseOrBuilder.java (70%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/ListRoutesRequest.java (71%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/ListRoutesRequestOrBuilder.java (64%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/ListRoutesResponse.java (74%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/ListRoutesResponseOrBuilder.java (71%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/ListStreamsRequest.java (70%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/ListStreamsRequestOrBuilder.java (64%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/ListStreamsResponse.java (73%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/ListStreamsResponseOrBuilder.java (71%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/LocationName.java (100%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlColumn.java (73%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlColumnOrBuilder.java (69%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlDatabase.java (74%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlDatabaseOrBuilder.java (67%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlProfile.java (70%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlProfileOrBuilder.java (66%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlRdbms.java (75%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlRdbmsOrBuilder.java (65%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlSourceConfig.java (69%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlSourceConfigOrBuilder.java (71%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlSslConfig.java (75%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlSslConfigOrBuilder.java (77%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlTable.java (76%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlTableOrBuilder.java (72%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/NoConnectivitySettings.java (67%) create mode 100644 owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/NoConnectivitySettingsOrBuilder.java rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/OperationMetadata.java (69%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/OperationMetadataOrBuilder.java (72%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/OracleColumn.java (73%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/OracleColumnOrBuilder.java (69%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/OracleProfile.java (69%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/OracleProfileOrBuilder.java (67%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/OracleRdbms.java (75%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/OracleRdbmsOrBuilder.java (67%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/OracleSchema.java (74%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/OracleSchemaOrBuilder.java (67%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/OracleSourceConfig.java (69%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/OracleSourceConfigOrBuilder.java (71%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/OracleTable.java (76%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/OracleTableOrBuilder.java (72%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/PrivateConnection.java (63%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/PrivateConnectionName.java (100%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/PrivateConnectionOrBuilder.java (67%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/PrivateConnectivity.java (69%) create mode 100644 owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/PrivateConnectivityOrBuilder.java rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/Route.java (65%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/RouteName.java (100%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/RouteOrBuilder.java (69%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/SchemaFileFormat.java (65%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/SourceConfig.java (68%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/SourceConfigOrBuilder.java (72%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/StaticServiceIpConnectivity.java (64%) create mode 100644 owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/StaticServiceIpConnectivityOrBuilder.java rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/Stream.java (65%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/StreamName.java (100%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/StreamOrBuilder.java (67%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/UpdateConnectionProfileRequest.java (69%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/UpdateConnectionProfileRequestOrBuilder.java (75%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/UpdateStreamRequest.java (73%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/UpdateStreamRequestOrBuilder.java (78%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/Validation.java (74%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/ValidationMessage.java (65%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/ValidationMessageOrBuilder.java (65%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/ValidationOrBuilder.java (73%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/ValidationResult.java (75%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/ValidationResultOrBuilder.java (69%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/VpcPeeringConfig.java (71%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/java/com/google/cloud/datastream/v1alpha1/VpcPeeringConfigOrBuilder.java (60%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/proto/google/cloud/datastream/v1alpha1/datastream.proto (100%) rename {proto-google-cloud-datastream-v1alpha1 => owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1}/src/main/proto/google/cloud/datastream/v1alpha1/datastream_resources.proto (100%) rename {samples => owl-bot-staging/v1alpha1/samples}/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/create/SyncCreateSetCredentialsProvider.java (100%) rename {samples => owl-bot-staging/v1alpha1/samples}/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/create/SyncCreateSetCredentialsProvider1.java (100%) rename {samples => owl-bot-staging/v1alpha1/samples}/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/create/SyncCreateSetEndpoint.java (100%) rename {samples => owl-bot-staging/v1alpha1/samples}/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createconnectionprofile/AsyncCreateConnectionProfile.java (100%) rename {samples => owl-bot-staging/v1alpha1/samples}/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createconnectionprofile/AsyncCreateConnectionProfileLRO.java (100%) rename {samples => owl-bot-staging/v1alpha1/samples}/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createconnectionprofile/SyncCreateConnectionProfile.java (100%) rename {samples => owl-bot-staging/v1alpha1/samples}/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createconnectionprofile/SyncCreateConnectionProfileLocationnameConnectionprofileString.java (100%) rename {samples => owl-bot-staging/v1alpha1/samples}/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createconnectionprofile/SyncCreateConnectionProfileStringConnectionprofileString.java (100%) rename {samples => owl-bot-staging/v1alpha1/samples}/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createprivateconnection/AsyncCreatePrivateConnection.java (100%) rename {samples => owl-bot-staging/v1alpha1/samples}/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createprivateconnection/AsyncCreatePrivateConnectionLRO.java (100%) rename {samples => owl-bot-staging/v1alpha1/samples}/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createprivateconnection/SyncCreatePrivateConnection.java (100%) rename {samples => owl-bot-staging/v1alpha1/samples}/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createprivateconnection/SyncCreatePrivateConnectionLocationnamePrivateconnectionString.java (100%) rename {samples => owl-bot-staging/v1alpha1/samples}/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createprivateconnection/SyncCreatePrivateConnectionStringPrivateconnectionString.java (100%) rename {samples => owl-bot-staging/v1alpha1/samples}/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createroute/AsyncCreateRoute.java (100%) rename {samples => owl-bot-staging/v1alpha1/samples}/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createroute/AsyncCreateRouteLRO.java (100%) rename {samples => owl-bot-staging/v1alpha1/samples}/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createroute/SyncCreateRoute.java (100%) rename {samples => owl-bot-staging/v1alpha1/samples}/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createroute/SyncCreateRoutePrivateconnectionnameRouteString.java (100%) rename {samples => owl-bot-staging/v1alpha1/samples}/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createroute/SyncCreateRouteStringRouteString.java (100%) rename {samples => owl-bot-staging/v1alpha1/samples}/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createstream/AsyncCreateStream.java (100%) rename {samples => owl-bot-staging/v1alpha1/samples}/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createstream/AsyncCreateStreamLRO.java (100%) rename {samples => owl-bot-staging/v1alpha1/samples}/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createstream/SyncCreateStream.java (100%) rename {samples => owl-bot-staging/v1alpha1/samples}/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createstream/SyncCreateStreamLocationnameStreamString.java (100%) rename {samples => owl-bot-staging/v1alpha1/samples}/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createstream/SyncCreateStreamStringStreamString.java (100%) rename {samples => owl-bot-staging/v1alpha1/samples}/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteconnectionprofile/AsyncDeleteConnectionProfile.java (100%) rename {samples => owl-bot-staging/v1alpha1/samples}/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteconnectionprofile/AsyncDeleteConnectionProfileLRO.java (100%) rename {samples => owl-bot-staging/v1alpha1/samples}/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteconnectionprofile/SyncDeleteConnectionProfile.java (100%) rename {samples => owl-bot-staging/v1alpha1/samples}/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteconnectionprofile/SyncDeleteConnectionProfileConnectionprofilename.java (100%) rename {samples => owl-bot-staging/v1alpha1/samples}/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteconnectionprofile/SyncDeleteConnectionProfileString.java (100%) rename {samples => owl-bot-staging/v1alpha1/samples}/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteprivateconnection/AsyncDeletePrivateConnection.java (100%) rename {samples => owl-bot-staging/v1alpha1/samples}/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteprivateconnection/AsyncDeletePrivateConnectionLRO.java (100%) rename {samples => owl-bot-staging/v1alpha1/samples}/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteprivateconnection/SyncDeletePrivateConnection.java (100%) rename {samples => owl-bot-staging/v1alpha1/samples}/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteprivateconnection/SyncDeletePrivateConnectionPrivateconnectionname.java (100%) rename {samples => owl-bot-staging/v1alpha1/samples}/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteprivateconnection/SyncDeletePrivateConnectionString.java (100%) rename {samples => owl-bot-staging/v1alpha1/samples}/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteroute/AsyncDeleteRoute.java (100%) rename {samples => owl-bot-staging/v1alpha1/samples}/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteroute/AsyncDeleteRouteLRO.java (100%) rename {samples => owl-bot-staging/v1alpha1/samples}/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteroute/SyncDeleteRoute.java (100%) rename {samples => owl-bot-staging/v1alpha1/samples}/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteroute/SyncDeleteRouteRoutename.java (100%) rename {samples => owl-bot-staging/v1alpha1/samples}/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteroute/SyncDeleteRouteString.java (100%) rename {samples => owl-bot-staging/v1alpha1/samples}/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deletestream/AsyncDeleteStream.java (100%) rename {samples => owl-bot-staging/v1alpha1/samples}/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deletestream/AsyncDeleteStreamLRO.java (100%) rename {samples => owl-bot-staging/v1alpha1/samples}/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deletestream/SyncDeleteStream.java (100%) rename {samples => owl-bot-staging/v1alpha1/samples}/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deletestream/SyncDeleteStreamStreamname.java (100%) rename {samples => owl-bot-staging/v1alpha1/samples}/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deletestream/SyncDeleteStreamString.java (100%) rename {samples => owl-bot-staging/v1alpha1/samples}/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/discoverconnectionprofile/AsyncDiscoverConnectionProfile.java (100%) rename {samples => owl-bot-staging/v1alpha1/samples}/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/discoverconnectionprofile/SyncDiscoverConnectionProfile.java (100%) rename {samples => owl-bot-staging/v1alpha1/samples}/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/fetcherrors/AsyncFetchErrors.java (100%) rename {samples => owl-bot-staging/v1alpha1/samples}/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/fetcherrors/AsyncFetchErrorsLRO.java (100%) rename {samples => owl-bot-staging/v1alpha1/samples}/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/fetcherrors/SyncFetchErrors.java (100%) rename {samples => owl-bot-staging/v1alpha1/samples}/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/fetchstaticips/AsyncFetchStaticIps.java (100%) rename {samples => owl-bot-staging/v1alpha1/samples}/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/fetchstaticips/AsyncFetchStaticIpsPaged.java (100%) rename {samples => owl-bot-staging/v1alpha1/samples}/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/fetchstaticips/SyncFetchStaticIps.java (100%) rename {samples => owl-bot-staging/v1alpha1/samples}/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/fetchstaticips/SyncFetchStaticIpsLocationname.java (100%) rename {samples => owl-bot-staging/v1alpha1/samples}/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/fetchstaticips/SyncFetchStaticIpsString.java (100%) rename {samples => owl-bot-staging/v1alpha1/samples}/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getconnectionprofile/AsyncGetConnectionProfile.java (100%) rename {samples => owl-bot-staging/v1alpha1/samples}/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getconnectionprofile/SyncGetConnectionProfile.java (100%) rename {samples => owl-bot-staging/v1alpha1/samples}/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getconnectionprofile/SyncGetConnectionProfileConnectionprofilename.java (100%) rename {samples => owl-bot-staging/v1alpha1/samples}/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getconnectionprofile/SyncGetConnectionProfileString.java (100%) rename {samples => owl-bot-staging/v1alpha1/samples}/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getprivateconnection/AsyncGetPrivateConnection.java (100%) rename {samples => owl-bot-staging/v1alpha1/samples}/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getprivateconnection/SyncGetPrivateConnection.java (100%) rename {samples => owl-bot-staging/v1alpha1/samples}/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getprivateconnection/SyncGetPrivateConnectionPrivateconnectionname.java (100%) rename {samples => owl-bot-staging/v1alpha1/samples}/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getprivateconnection/SyncGetPrivateConnectionString.java (100%) rename {samples => owl-bot-staging/v1alpha1/samples}/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getroute/AsyncGetRoute.java (100%) rename {samples => owl-bot-staging/v1alpha1/samples}/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getroute/SyncGetRoute.java (100%) rename {samples => owl-bot-staging/v1alpha1/samples}/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getroute/SyncGetRouteRoutename.java (100%) rename {samples => owl-bot-staging/v1alpha1/samples}/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getroute/SyncGetRouteString.java (100%) rename {samples => owl-bot-staging/v1alpha1/samples}/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getstream/AsyncGetStream.java (100%) rename {samples => owl-bot-staging/v1alpha1/samples}/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getstream/SyncGetStream.java (100%) rename {samples => owl-bot-staging/v1alpha1/samples}/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getstream/SyncGetStreamStreamname.java (100%) rename {samples => owl-bot-staging/v1alpha1/samples}/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getstream/SyncGetStreamString.java (100%) rename {samples => owl-bot-staging/v1alpha1/samples}/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listconnectionprofiles/AsyncListConnectionProfiles.java (100%) rename {samples => owl-bot-staging/v1alpha1/samples}/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listconnectionprofiles/AsyncListConnectionProfilesPaged.java (100%) rename {samples => owl-bot-staging/v1alpha1/samples}/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listconnectionprofiles/SyncListConnectionProfiles.java (100%) rename {samples => owl-bot-staging/v1alpha1/samples}/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listconnectionprofiles/SyncListConnectionProfilesLocationname.java (100%) rename {samples => owl-bot-staging/v1alpha1/samples}/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listconnectionprofiles/SyncListConnectionProfilesString.java (100%) rename {samples => owl-bot-staging/v1alpha1/samples}/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listprivateconnections/AsyncListPrivateConnections.java (100%) rename {samples => owl-bot-staging/v1alpha1/samples}/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listprivateconnections/AsyncListPrivateConnectionsPaged.java (100%) rename {samples => owl-bot-staging/v1alpha1/samples}/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listprivateconnections/SyncListPrivateConnections.java (100%) rename {samples => owl-bot-staging/v1alpha1/samples}/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listprivateconnections/SyncListPrivateConnectionsLocationname.java (100%) rename {samples => owl-bot-staging/v1alpha1/samples}/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listprivateconnections/SyncListPrivateConnectionsString.java (100%) rename {samples => owl-bot-staging/v1alpha1/samples}/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listroutes/AsyncListRoutes.java (100%) rename {samples => owl-bot-staging/v1alpha1/samples}/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listroutes/AsyncListRoutesPaged.java (100%) rename {samples => owl-bot-staging/v1alpha1/samples}/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listroutes/SyncListRoutes.java (100%) rename {samples => owl-bot-staging/v1alpha1/samples}/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listroutes/SyncListRoutesPrivateconnectionname.java (100%) rename {samples => owl-bot-staging/v1alpha1/samples}/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listroutes/SyncListRoutesString.java (100%) rename {samples => owl-bot-staging/v1alpha1/samples}/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/liststreams/AsyncListStreams.java (100%) rename {samples => owl-bot-staging/v1alpha1/samples}/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/liststreams/AsyncListStreamsPaged.java (100%) rename {samples => owl-bot-staging/v1alpha1/samples}/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/liststreams/SyncListStreams.java (100%) rename {samples => owl-bot-staging/v1alpha1/samples}/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/liststreams/SyncListStreamsLocationname.java (100%) rename {samples => owl-bot-staging/v1alpha1/samples}/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/liststreams/SyncListStreamsString.java (100%) rename {samples => owl-bot-staging/v1alpha1/samples}/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/updateconnectionprofile/AsyncUpdateConnectionProfile.java (100%) rename {samples => owl-bot-staging/v1alpha1/samples}/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/updateconnectionprofile/AsyncUpdateConnectionProfileLRO.java (100%) rename {samples => owl-bot-staging/v1alpha1/samples}/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/updateconnectionprofile/SyncUpdateConnectionProfile.java (100%) rename {samples => owl-bot-staging/v1alpha1/samples}/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/updateconnectionprofile/SyncUpdateConnectionProfileConnectionprofileFieldmask.java (100%) rename {samples => owl-bot-staging/v1alpha1/samples}/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/updatestream/AsyncUpdateStream.java (100%) rename {samples => owl-bot-staging/v1alpha1/samples}/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/updatestream/AsyncUpdateStreamLRO.java (100%) rename {samples => owl-bot-staging/v1alpha1/samples}/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/updatestream/SyncUpdateStream.java (100%) rename {samples => owl-bot-staging/v1alpha1/samples}/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/updatestream/SyncUpdateStreamStreamFieldmask.java (100%) rename {samples => owl-bot-staging/v1alpha1/samples}/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamsettings/getconnectionprofile/SyncGetConnectionProfile.java (100%) rename {samples => owl-bot-staging/v1alpha1/samples}/snippets/generated/com/google/cloud/datastream/v1alpha1/stub/datastreamstubsettings/getconnectionprofile/SyncGetConnectionProfile.java (100%) delete mode 100644 proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/AvroFileFormatOrBuilder.java delete mode 100644 proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DatastreamProto.java delete mode 100644 proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DatastreamResourcesProto.java delete mode 100644 proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/GetConnectionProfileRequestOrBuilder.java delete mode 100644 proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/GetPrivateConnectionRequestOrBuilder.java delete mode 100644 proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/GetRouteRequestOrBuilder.java delete mode 100644 proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/GetStreamObjectRequestOrBuilder.java delete mode 100644 proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/GetStreamRequestOrBuilder.java delete mode 100644 proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/LookupStreamObjectRequestOrBuilder.java delete mode 100644 proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/OracleSourceConfig.java delete mode 100644 proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/OracleSourceConfigOrBuilder.java delete mode 100644 proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/PrivateConnectivityOrBuilder.java delete mode 100644 proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/SourceObjectIdentifier.java delete mode 100644 proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/SourceObjectIdentifierOrBuilder.java delete mode 100644 proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StartBackfillJobRequestOrBuilder.java delete mode 100644 proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StaticServiceIpConnectivityOrBuilder.java delete mode 100644 proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StopBackfillJobRequestOrBuilder.java delete mode 100644 proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/AvroFileFormatOrBuilder.java delete mode 100644 proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/CloudDatastreamResourcesProto.java delete mode 100644 proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/CloudDatastreamServiceProto.java delete mode 100644 proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/GetConnectionProfileRequestOrBuilder.java delete mode 100644 proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/GetPrivateConnectionRequestOrBuilder.java delete mode 100644 proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/GetRouteRequestOrBuilder.java delete mode 100644 proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/GetStreamRequestOrBuilder.java delete mode 100644 proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/NoConnectivitySettingsOrBuilder.java delete mode 100644 proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/PrivateConnectivityOrBuilder.java delete mode 100644 proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/StaticServiceIpConnectivityOrBuilder.java diff --git a/grpc-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DatastreamGrpc.java b/grpc-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DatastreamGrpc.java deleted file mode 100644 index c537dd31..00000000 --- a/grpc-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DatastreamGrpc.java +++ /dev/null @@ -1,3220 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.google.cloud.datastream.v1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * Datastream service
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/datastream/v1/datastream.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class DatastreamGrpc { - - private DatastreamGrpc() {} - - public static final String SERVICE_NAME = "google.cloud.datastream.v1.Datastream"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1.ListConnectionProfilesRequest, - com.google.cloud.datastream.v1.ListConnectionProfilesResponse> - getListConnectionProfilesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListConnectionProfiles", - requestType = com.google.cloud.datastream.v1.ListConnectionProfilesRequest.class, - responseType = com.google.cloud.datastream.v1.ListConnectionProfilesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1.ListConnectionProfilesRequest, - com.google.cloud.datastream.v1.ListConnectionProfilesResponse> - getListConnectionProfilesMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1.ListConnectionProfilesRequest, - com.google.cloud.datastream.v1.ListConnectionProfilesResponse> - getListConnectionProfilesMethod; - if ((getListConnectionProfilesMethod = DatastreamGrpc.getListConnectionProfilesMethod) - == null) { - synchronized (DatastreamGrpc.class) { - if ((getListConnectionProfilesMethod = DatastreamGrpc.getListConnectionProfilesMethod) - == null) { - DatastreamGrpc.getListConnectionProfilesMethod = - getListConnectionProfilesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ListConnectionProfiles")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datastream.v1.ListConnectionProfilesRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datastream.v1.ListConnectionProfilesResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new DatastreamMethodDescriptorSupplier("ListConnectionProfiles")) - .build(); - } - } - } - return getListConnectionProfilesMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1.GetConnectionProfileRequest, - com.google.cloud.datastream.v1.ConnectionProfile> - getGetConnectionProfileMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetConnectionProfile", - requestType = com.google.cloud.datastream.v1.GetConnectionProfileRequest.class, - responseType = com.google.cloud.datastream.v1.ConnectionProfile.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1.GetConnectionProfileRequest, - com.google.cloud.datastream.v1.ConnectionProfile> - getGetConnectionProfileMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1.GetConnectionProfileRequest, - com.google.cloud.datastream.v1.ConnectionProfile> - getGetConnectionProfileMethod; - if ((getGetConnectionProfileMethod = DatastreamGrpc.getGetConnectionProfileMethod) == null) { - synchronized (DatastreamGrpc.class) { - if ((getGetConnectionProfileMethod = DatastreamGrpc.getGetConnectionProfileMethod) - == null) { - DatastreamGrpc.getGetConnectionProfileMethod = - getGetConnectionProfileMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "GetConnectionProfile")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datastream.v1.GetConnectionProfileRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datastream.v1.ConnectionProfile - .getDefaultInstance())) - .setSchemaDescriptor( - new DatastreamMethodDescriptorSupplier("GetConnectionProfile")) - .build(); - } - } - } - return getGetConnectionProfileMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1.CreateConnectionProfileRequest, - com.google.longrunning.Operation> - getCreateConnectionProfileMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateConnectionProfile", - requestType = com.google.cloud.datastream.v1.CreateConnectionProfileRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1.CreateConnectionProfileRequest, - com.google.longrunning.Operation> - getCreateConnectionProfileMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1.CreateConnectionProfileRequest, - com.google.longrunning.Operation> - getCreateConnectionProfileMethod; - if ((getCreateConnectionProfileMethod = DatastreamGrpc.getCreateConnectionProfileMethod) - == null) { - synchronized (DatastreamGrpc.class) { - if ((getCreateConnectionProfileMethod = DatastreamGrpc.getCreateConnectionProfileMethod) - == null) { - DatastreamGrpc.getCreateConnectionProfileMethod = - getCreateConnectionProfileMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "CreateConnectionProfile")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datastream.v1.CreateConnectionProfileRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new DatastreamMethodDescriptorSupplier("CreateConnectionProfile")) - .build(); - } - } - } - return getCreateConnectionProfileMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1.UpdateConnectionProfileRequest, - com.google.longrunning.Operation> - getUpdateConnectionProfileMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateConnectionProfile", - requestType = com.google.cloud.datastream.v1.UpdateConnectionProfileRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1.UpdateConnectionProfileRequest, - com.google.longrunning.Operation> - getUpdateConnectionProfileMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1.UpdateConnectionProfileRequest, - com.google.longrunning.Operation> - getUpdateConnectionProfileMethod; - if ((getUpdateConnectionProfileMethod = DatastreamGrpc.getUpdateConnectionProfileMethod) - == null) { - synchronized (DatastreamGrpc.class) { - if ((getUpdateConnectionProfileMethod = DatastreamGrpc.getUpdateConnectionProfileMethod) - == null) { - DatastreamGrpc.getUpdateConnectionProfileMethod = - getUpdateConnectionProfileMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "UpdateConnectionProfile")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datastream.v1.UpdateConnectionProfileRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new DatastreamMethodDescriptorSupplier("UpdateConnectionProfile")) - .build(); - } - } - } - return getUpdateConnectionProfileMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1.DeleteConnectionProfileRequest, - com.google.longrunning.Operation> - getDeleteConnectionProfileMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteConnectionProfile", - requestType = com.google.cloud.datastream.v1.DeleteConnectionProfileRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1.DeleteConnectionProfileRequest, - com.google.longrunning.Operation> - getDeleteConnectionProfileMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1.DeleteConnectionProfileRequest, - com.google.longrunning.Operation> - getDeleteConnectionProfileMethod; - if ((getDeleteConnectionProfileMethod = DatastreamGrpc.getDeleteConnectionProfileMethod) - == null) { - synchronized (DatastreamGrpc.class) { - if ((getDeleteConnectionProfileMethod = DatastreamGrpc.getDeleteConnectionProfileMethod) - == null) { - DatastreamGrpc.getDeleteConnectionProfileMethod = - getDeleteConnectionProfileMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "DeleteConnectionProfile")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datastream.v1.DeleteConnectionProfileRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new DatastreamMethodDescriptorSupplier("DeleteConnectionProfile")) - .build(); - } - } - } - return getDeleteConnectionProfileMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1.DiscoverConnectionProfileRequest, - com.google.cloud.datastream.v1.DiscoverConnectionProfileResponse> - getDiscoverConnectionProfileMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DiscoverConnectionProfile", - requestType = com.google.cloud.datastream.v1.DiscoverConnectionProfileRequest.class, - responseType = com.google.cloud.datastream.v1.DiscoverConnectionProfileResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1.DiscoverConnectionProfileRequest, - com.google.cloud.datastream.v1.DiscoverConnectionProfileResponse> - getDiscoverConnectionProfileMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1.DiscoverConnectionProfileRequest, - com.google.cloud.datastream.v1.DiscoverConnectionProfileResponse> - getDiscoverConnectionProfileMethod; - if ((getDiscoverConnectionProfileMethod = DatastreamGrpc.getDiscoverConnectionProfileMethod) - == null) { - synchronized (DatastreamGrpc.class) { - if ((getDiscoverConnectionProfileMethod = DatastreamGrpc.getDiscoverConnectionProfileMethod) - == null) { - DatastreamGrpc.getDiscoverConnectionProfileMethod = - getDiscoverConnectionProfileMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "DiscoverConnectionProfile")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datastream.v1.DiscoverConnectionProfileRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datastream.v1.DiscoverConnectionProfileResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new DatastreamMethodDescriptorSupplier("DiscoverConnectionProfile")) - .build(); - } - } - } - return getDiscoverConnectionProfileMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1.ListStreamsRequest, - com.google.cloud.datastream.v1.ListStreamsResponse> - getListStreamsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListStreams", - requestType = com.google.cloud.datastream.v1.ListStreamsRequest.class, - responseType = com.google.cloud.datastream.v1.ListStreamsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1.ListStreamsRequest, - com.google.cloud.datastream.v1.ListStreamsResponse> - getListStreamsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1.ListStreamsRequest, - com.google.cloud.datastream.v1.ListStreamsResponse> - getListStreamsMethod; - if ((getListStreamsMethod = DatastreamGrpc.getListStreamsMethod) == null) { - synchronized (DatastreamGrpc.class) { - if ((getListStreamsMethod = DatastreamGrpc.getListStreamsMethod) == null) { - DatastreamGrpc.getListStreamsMethod = - getListStreamsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListStreams")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datastream.v1.ListStreamsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datastream.v1.ListStreamsResponse - .getDefaultInstance())) - .setSchemaDescriptor(new DatastreamMethodDescriptorSupplier("ListStreams")) - .build(); - } - } - } - return getListStreamsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1.GetStreamRequest, com.google.cloud.datastream.v1.Stream> - getGetStreamMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetStream", - requestType = com.google.cloud.datastream.v1.GetStreamRequest.class, - responseType = com.google.cloud.datastream.v1.Stream.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1.GetStreamRequest, com.google.cloud.datastream.v1.Stream> - getGetStreamMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1.GetStreamRequest, com.google.cloud.datastream.v1.Stream> - getGetStreamMethod; - if ((getGetStreamMethod = DatastreamGrpc.getGetStreamMethod) == null) { - synchronized (DatastreamGrpc.class) { - if ((getGetStreamMethod = DatastreamGrpc.getGetStreamMethod) == null) { - DatastreamGrpc.getGetStreamMethod = - getGetStreamMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetStream")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datastream.v1.GetStreamRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datastream.v1.Stream.getDefaultInstance())) - .setSchemaDescriptor(new DatastreamMethodDescriptorSupplier("GetStream")) - .build(); - } - } - } - return getGetStreamMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1.CreateStreamRequest, com.google.longrunning.Operation> - getCreateStreamMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateStream", - requestType = com.google.cloud.datastream.v1.CreateStreamRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1.CreateStreamRequest, com.google.longrunning.Operation> - getCreateStreamMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1.CreateStreamRequest, com.google.longrunning.Operation> - getCreateStreamMethod; - if ((getCreateStreamMethod = DatastreamGrpc.getCreateStreamMethod) == null) { - synchronized (DatastreamGrpc.class) { - if ((getCreateStreamMethod = DatastreamGrpc.getCreateStreamMethod) == null) { - DatastreamGrpc.getCreateStreamMethod = - getCreateStreamMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateStream")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datastream.v1.CreateStreamRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new DatastreamMethodDescriptorSupplier("CreateStream")) - .build(); - } - } - } - return getCreateStreamMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1.UpdateStreamRequest, com.google.longrunning.Operation> - getUpdateStreamMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateStream", - requestType = com.google.cloud.datastream.v1.UpdateStreamRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1.UpdateStreamRequest, com.google.longrunning.Operation> - getUpdateStreamMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1.UpdateStreamRequest, com.google.longrunning.Operation> - getUpdateStreamMethod; - if ((getUpdateStreamMethod = DatastreamGrpc.getUpdateStreamMethod) == null) { - synchronized (DatastreamGrpc.class) { - if ((getUpdateStreamMethod = DatastreamGrpc.getUpdateStreamMethod) == null) { - DatastreamGrpc.getUpdateStreamMethod = - getUpdateStreamMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateStream")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datastream.v1.UpdateStreamRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new DatastreamMethodDescriptorSupplier("UpdateStream")) - .build(); - } - } - } - return getUpdateStreamMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1.DeleteStreamRequest, com.google.longrunning.Operation> - getDeleteStreamMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteStream", - requestType = com.google.cloud.datastream.v1.DeleteStreamRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1.DeleteStreamRequest, com.google.longrunning.Operation> - getDeleteStreamMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1.DeleteStreamRequest, com.google.longrunning.Operation> - getDeleteStreamMethod; - if ((getDeleteStreamMethod = DatastreamGrpc.getDeleteStreamMethod) == null) { - synchronized (DatastreamGrpc.class) { - if ((getDeleteStreamMethod = DatastreamGrpc.getDeleteStreamMethod) == null) { - DatastreamGrpc.getDeleteStreamMethod = - getDeleteStreamMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteStream")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datastream.v1.DeleteStreamRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new DatastreamMethodDescriptorSupplier("DeleteStream")) - .build(); - } - } - } - return getDeleteStreamMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1.GetStreamObjectRequest, - com.google.cloud.datastream.v1.StreamObject> - getGetStreamObjectMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetStreamObject", - requestType = com.google.cloud.datastream.v1.GetStreamObjectRequest.class, - responseType = com.google.cloud.datastream.v1.StreamObject.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1.GetStreamObjectRequest, - com.google.cloud.datastream.v1.StreamObject> - getGetStreamObjectMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1.GetStreamObjectRequest, - com.google.cloud.datastream.v1.StreamObject> - getGetStreamObjectMethod; - if ((getGetStreamObjectMethod = DatastreamGrpc.getGetStreamObjectMethod) == null) { - synchronized (DatastreamGrpc.class) { - if ((getGetStreamObjectMethod = DatastreamGrpc.getGetStreamObjectMethod) == null) { - DatastreamGrpc.getGetStreamObjectMethod = - getGetStreamObjectMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetStreamObject")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datastream.v1.GetStreamObjectRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datastream.v1.StreamObject.getDefaultInstance())) - .setSchemaDescriptor( - new DatastreamMethodDescriptorSupplier("GetStreamObject")) - .build(); - } - } - } - return getGetStreamObjectMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1.LookupStreamObjectRequest, - com.google.cloud.datastream.v1.StreamObject> - getLookupStreamObjectMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "LookupStreamObject", - requestType = com.google.cloud.datastream.v1.LookupStreamObjectRequest.class, - responseType = com.google.cloud.datastream.v1.StreamObject.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1.LookupStreamObjectRequest, - com.google.cloud.datastream.v1.StreamObject> - getLookupStreamObjectMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1.LookupStreamObjectRequest, - com.google.cloud.datastream.v1.StreamObject> - getLookupStreamObjectMethod; - if ((getLookupStreamObjectMethod = DatastreamGrpc.getLookupStreamObjectMethod) == null) { - synchronized (DatastreamGrpc.class) { - if ((getLookupStreamObjectMethod = DatastreamGrpc.getLookupStreamObjectMethod) == null) { - DatastreamGrpc.getLookupStreamObjectMethod = - getLookupStreamObjectMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "LookupStreamObject")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datastream.v1.LookupStreamObjectRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datastream.v1.StreamObject.getDefaultInstance())) - .setSchemaDescriptor( - new DatastreamMethodDescriptorSupplier("LookupStreamObject")) - .build(); - } - } - } - return getLookupStreamObjectMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1.ListStreamObjectsRequest, - com.google.cloud.datastream.v1.ListStreamObjectsResponse> - getListStreamObjectsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListStreamObjects", - requestType = com.google.cloud.datastream.v1.ListStreamObjectsRequest.class, - responseType = com.google.cloud.datastream.v1.ListStreamObjectsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1.ListStreamObjectsRequest, - com.google.cloud.datastream.v1.ListStreamObjectsResponse> - getListStreamObjectsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1.ListStreamObjectsRequest, - com.google.cloud.datastream.v1.ListStreamObjectsResponse> - getListStreamObjectsMethod; - if ((getListStreamObjectsMethod = DatastreamGrpc.getListStreamObjectsMethod) == null) { - synchronized (DatastreamGrpc.class) { - if ((getListStreamObjectsMethod = DatastreamGrpc.getListStreamObjectsMethod) == null) { - DatastreamGrpc.getListStreamObjectsMethod = - getListStreamObjectsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListStreamObjects")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datastream.v1.ListStreamObjectsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datastream.v1.ListStreamObjectsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new DatastreamMethodDescriptorSupplier("ListStreamObjects")) - .build(); - } - } - } - return getListStreamObjectsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1.StartBackfillJobRequest, - com.google.cloud.datastream.v1.StartBackfillJobResponse> - getStartBackfillJobMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "StartBackfillJob", - requestType = com.google.cloud.datastream.v1.StartBackfillJobRequest.class, - responseType = com.google.cloud.datastream.v1.StartBackfillJobResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1.StartBackfillJobRequest, - com.google.cloud.datastream.v1.StartBackfillJobResponse> - getStartBackfillJobMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1.StartBackfillJobRequest, - com.google.cloud.datastream.v1.StartBackfillJobResponse> - getStartBackfillJobMethod; - if ((getStartBackfillJobMethod = DatastreamGrpc.getStartBackfillJobMethod) == null) { - synchronized (DatastreamGrpc.class) { - if ((getStartBackfillJobMethod = DatastreamGrpc.getStartBackfillJobMethod) == null) { - DatastreamGrpc.getStartBackfillJobMethod = - getStartBackfillJobMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "StartBackfillJob")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datastream.v1.StartBackfillJobRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datastream.v1.StartBackfillJobResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new DatastreamMethodDescriptorSupplier("StartBackfillJob")) - .build(); - } - } - } - return getStartBackfillJobMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1.StopBackfillJobRequest, - com.google.cloud.datastream.v1.StopBackfillJobResponse> - getStopBackfillJobMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "StopBackfillJob", - requestType = com.google.cloud.datastream.v1.StopBackfillJobRequest.class, - responseType = com.google.cloud.datastream.v1.StopBackfillJobResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1.StopBackfillJobRequest, - com.google.cloud.datastream.v1.StopBackfillJobResponse> - getStopBackfillJobMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1.StopBackfillJobRequest, - com.google.cloud.datastream.v1.StopBackfillJobResponse> - getStopBackfillJobMethod; - if ((getStopBackfillJobMethod = DatastreamGrpc.getStopBackfillJobMethod) == null) { - synchronized (DatastreamGrpc.class) { - if ((getStopBackfillJobMethod = DatastreamGrpc.getStopBackfillJobMethod) == null) { - DatastreamGrpc.getStopBackfillJobMethod = - getStopBackfillJobMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "StopBackfillJob")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datastream.v1.StopBackfillJobRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datastream.v1.StopBackfillJobResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new DatastreamMethodDescriptorSupplier("StopBackfillJob")) - .build(); - } - } - } - return getStopBackfillJobMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1.FetchStaticIpsRequest, - com.google.cloud.datastream.v1.FetchStaticIpsResponse> - getFetchStaticIpsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "FetchStaticIps", - requestType = com.google.cloud.datastream.v1.FetchStaticIpsRequest.class, - responseType = com.google.cloud.datastream.v1.FetchStaticIpsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1.FetchStaticIpsRequest, - com.google.cloud.datastream.v1.FetchStaticIpsResponse> - getFetchStaticIpsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1.FetchStaticIpsRequest, - com.google.cloud.datastream.v1.FetchStaticIpsResponse> - getFetchStaticIpsMethod; - if ((getFetchStaticIpsMethod = DatastreamGrpc.getFetchStaticIpsMethod) == null) { - synchronized (DatastreamGrpc.class) { - if ((getFetchStaticIpsMethod = DatastreamGrpc.getFetchStaticIpsMethod) == null) { - DatastreamGrpc.getFetchStaticIpsMethod = - getFetchStaticIpsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "FetchStaticIps")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datastream.v1.FetchStaticIpsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datastream.v1.FetchStaticIpsResponse - .getDefaultInstance())) - .setSchemaDescriptor(new DatastreamMethodDescriptorSupplier("FetchStaticIps")) - .build(); - } - } - } - return getFetchStaticIpsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1.CreatePrivateConnectionRequest, - com.google.longrunning.Operation> - getCreatePrivateConnectionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreatePrivateConnection", - requestType = com.google.cloud.datastream.v1.CreatePrivateConnectionRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1.CreatePrivateConnectionRequest, - com.google.longrunning.Operation> - getCreatePrivateConnectionMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1.CreatePrivateConnectionRequest, - com.google.longrunning.Operation> - getCreatePrivateConnectionMethod; - if ((getCreatePrivateConnectionMethod = DatastreamGrpc.getCreatePrivateConnectionMethod) - == null) { - synchronized (DatastreamGrpc.class) { - if ((getCreatePrivateConnectionMethod = DatastreamGrpc.getCreatePrivateConnectionMethod) - == null) { - DatastreamGrpc.getCreatePrivateConnectionMethod = - getCreatePrivateConnectionMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "CreatePrivateConnection")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datastream.v1.CreatePrivateConnectionRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new DatastreamMethodDescriptorSupplier("CreatePrivateConnection")) - .build(); - } - } - } - return getCreatePrivateConnectionMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1.GetPrivateConnectionRequest, - com.google.cloud.datastream.v1.PrivateConnection> - getGetPrivateConnectionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetPrivateConnection", - requestType = com.google.cloud.datastream.v1.GetPrivateConnectionRequest.class, - responseType = com.google.cloud.datastream.v1.PrivateConnection.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1.GetPrivateConnectionRequest, - com.google.cloud.datastream.v1.PrivateConnection> - getGetPrivateConnectionMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1.GetPrivateConnectionRequest, - com.google.cloud.datastream.v1.PrivateConnection> - getGetPrivateConnectionMethod; - if ((getGetPrivateConnectionMethod = DatastreamGrpc.getGetPrivateConnectionMethod) == null) { - synchronized (DatastreamGrpc.class) { - if ((getGetPrivateConnectionMethod = DatastreamGrpc.getGetPrivateConnectionMethod) - == null) { - DatastreamGrpc.getGetPrivateConnectionMethod = - getGetPrivateConnectionMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "GetPrivateConnection")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datastream.v1.GetPrivateConnectionRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datastream.v1.PrivateConnection - .getDefaultInstance())) - .setSchemaDescriptor( - new DatastreamMethodDescriptorSupplier("GetPrivateConnection")) - .build(); - } - } - } - return getGetPrivateConnectionMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1.ListPrivateConnectionsRequest, - com.google.cloud.datastream.v1.ListPrivateConnectionsResponse> - getListPrivateConnectionsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListPrivateConnections", - requestType = com.google.cloud.datastream.v1.ListPrivateConnectionsRequest.class, - responseType = com.google.cloud.datastream.v1.ListPrivateConnectionsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1.ListPrivateConnectionsRequest, - com.google.cloud.datastream.v1.ListPrivateConnectionsResponse> - getListPrivateConnectionsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1.ListPrivateConnectionsRequest, - com.google.cloud.datastream.v1.ListPrivateConnectionsResponse> - getListPrivateConnectionsMethod; - if ((getListPrivateConnectionsMethod = DatastreamGrpc.getListPrivateConnectionsMethod) - == null) { - synchronized (DatastreamGrpc.class) { - if ((getListPrivateConnectionsMethod = DatastreamGrpc.getListPrivateConnectionsMethod) - == null) { - DatastreamGrpc.getListPrivateConnectionsMethod = - getListPrivateConnectionsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ListPrivateConnections")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datastream.v1.ListPrivateConnectionsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datastream.v1.ListPrivateConnectionsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new DatastreamMethodDescriptorSupplier("ListPrivateConnections")) - .build(); - } - } - } - return getListPrivateConnectionsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1.DeletePrivateConnectionRequest, - com.google.longrunning.Operation> - getDeletePrivateConnectionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeletePrivateConnection", - requestType = com.google.cloud.datastream.v1.DeletePrivateConnectionRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1.DeletePrivateConnectionRequest, - com.google.longrunning.Operation> - getDeletePrivateConnectionMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1.DeletePrivateConnectionRequest, - com.google.longrunning.Operation> - getDeletePrivateConnectionMethod; - if ((getDeletePrivateConnectionMethod = DatastreamGrpc.getDeletePrivateConnectionMethod) - == null) { - synchronized (DatastreamGrpc.class) { - if ((getDeletePrivateConnectionMethod = DatastreamGrpc.getDeletePrivateConnectionMethod) - == null) { - DatastreamGrpc.getDeletePrivateConnectionMethod = - getDeletePrivateConnectionMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "DeletePrivateConnection")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datastream.v1.DeletePrivateConnectionRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new DatastreamMethodDescriptorSupplier("DeletePrivateConnection")) - .build(); - } - } - } - return getDeletePrivateConnectionMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1.CreateRouteRequest, com.google.longrunning.Operation> - getCreateRouteMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateRoute", - requestType = com.google.cloud.datastream.v1.CreateRouteRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1.CreateRouteRequest, com.google.longrunning.Operation> - getCreateRouteMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1.CreateRouteRequest, com.google.longrunning.Operation> - getCreateRouteMethod; - if ((getCreateRouteMethod = DatastreamGrpc.getCreateRouteMethod) == null) { - synchronized (DatastreamGrpc.class) { - if ((getCreateRouteMethod = DatastreamGrpc.getCreateRouteMethod) == null) { - DatastreamGrpc.getCreateRouteMethod = - getCreateRouteMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateRoute")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datastream.v1.CreateRouteRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new DatastreamMethodDescriptorSupplier("CreateRoute")) - .build(); - } - } - } - return getCreateRouteMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1.GetRouteRequest, com.google.cloud.datastream.v1.Route> - getGetRouteMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetRoute", - requestType = com.google.cloud.datastream.v1.GetRouteRequest.class, - responseType = com.google.cloud.datastream.v1.Route.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1.GetRouteRequest, com.google.cloud.datastream.v1.Route> - getGetRouteMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1.GetRouteRequest, com.google.cloud.datastream.v1.Route> - getGetRouteMethod; - if ((getGetRouteMethod = DatastreamGrpc.getGetRouteMethod) == null) { - synchronized (DatastreamGrpc.class) { - if ((getGetRouteMethod = DatastreamGrpc.getGetRouteMethod) == null) { - DatastreamGrpc.getGetRouteMethod = - getGetRouteMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetRoute")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datastream.v1.GetRouteRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datastream.v1.Route.getDefaultInstance())) - .setSchemaDescriptor(new DatastreamMethodDescriptorSupplier("GetRoute")) - .build(); - } - } - } - return getGetRouteMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1.ListRoutesRequest, - com.google.cloud.datastream.v1.ListRoutesResponse> - getListRoutesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListRoutes", - requestType = com.google.cloud.datastream.v1.ListRoutesRequest.class, - responseType = com.google.cloud.datastream.v1.ListRoutesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1.ListRoutesRequest, - com.google.cloud.datastream.v1.ListRoutesResponse> - getListRoutesMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1.ListRoutesRequest, - com.google.cloud.datastream.v1.ListRoutesResponse> - getListRoutesMethod; - if ((getListRoutesMethod = DatastreamGrpc.getListRoutesMethod) == null) { - synchronized (DatastreamGrpc.class) { - if ((getListRoutesMethod = DatastreamGrpc.getListRoutesMethod) == null) { - DatastreamGrpc.getListRoutesMethod = - getListRoutesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListRoutes")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datastream.v1.ListRoutesRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datastream.v1.ListRoutesResponse - .getDefaultInstance())) - .setSchemaDescriptor(new DatastreamMethodDescriptorSupplier("ListRoutes")) - .build(); - } - } - } - return getListRoutesMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1.DeleteRouteRequest, com.google.longrunning.Operation> - getDeleteRouteMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteRoute", - requestType = com.google.cloud.datastream.v1.DeleteRouteRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1.DeleteRouteRequest, com.google.longrunning.Operation> - getDeleteRouteMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1.DeleteRouteRequest, com.google.longrunning.Operation> - getDeleteRouteMethod; - if ((getDeleteRouteMethod = DatastreamGrpc.getDeleteRouteMethod) == null) { - synchronized (DatastreamGrpc.class) { - if ((getDeleteRouteMethod = DatastreamGrpc.getDeleteRouteMethod) == null) { - DatastreamGrpc.getDeleteRouteMethod = - getDeleteRouteMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteRoute")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datastream.v1.DeleteRouteRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new DatastreamMethodDescriptorSupplier("DeleteRoute")) - .build(); - } - } - } - return getDeleteRouteMethod; - } - - /** Creates a new async stub that supports all call types for the service */ - public static DatastreamStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public DatastreamStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DatastreamStub(channel, callOptions); - } - }; - return DatastreamStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static DatastreamBlockingStub newBlockingStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public DatastreamBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DatastreamBlockingStub(channel, callOptions); - } - }; - return DatastreamBlockingStub.newStub(factory, channel); - } - - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static DatastreamFutureStub newFutureStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public DatastreamFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DatastreamFutureStub(channel, callOptions); - } - }; - return DatastreamFutureStub.newStub(factory, channel); - } - - /** - * - * - *
-   * Datastream service
-   * 
- */ - public abstract static class DatastreamImplBase implements io.grpc.BindableService { - - /** - * - * - *
-     * Use this method to list connection profiles created in a project and
-     * location.
-     * 
- */ - public void listConnectionProfiles( - com.google.cloud.datastream.v1.ListConnectionProfilesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListConnectionProfilesMethod(), responseObserver); - } - - /** - * - * - *
-     * Use this method to get details about a connection profile.
-     * 
- */ - public void getConnectionProfile( - com.google.cloud.datastream.v1.GetConnectionProfileRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetConnectionProfileMethod(), responseObserver); - } - - /** - * - * - *
-     * Use this method to create a connection profile in a project and location.
-     * 
- */ - public void createConnectionProfile( - com.google.cloud.datastream.v1.CreateConnectionProfileRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateConnectionProfileMethod(), responseObserver); - } - - /** - * - * - *
-     * Use this method to update the parameters of a connection profile.
-     * 
- */ - public void updateConnectionProfile( - com.google.cloud.datastream.v1.UpdateConnectionProfileRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateConnectionProfileMethod(), responseObserver); - } - - /** - * - * - *
-     * Use this method to delete a connection profile.
-     * 
- */ - public void deleteConnectionProfile( - com.google.cloud.datastream.v1.DeleteConnectionProfileRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteConnectionProfileMethod(), responseObserver); - } - - /** - * - * - *
-     * Use this method to discover a connection profile.
-     * The discover API call exposes the data objects and metadata belonging to
-     * the profile. Typically, a request returns children data objects of a
-     * parent data object that's optionally supplied in the request.
-     * 
- */ - public void discoverConnectionProfile( - com.google.cloud.datastream.v1.DiscoverConnectionProfileRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.datastream.v1.DiscoverConnectionProfileResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDiscoverConnectionProfileMethod(), responseObserver); - } - - /** - * - * - *
-     * Use this method to list streams in a project and location.
-     * 
- */ - public void listStreams( - com.google.cloud.datastream.v1.ListStreamsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListStreamsMethod(), responseObserver); - } - - /** - * - * - *
-     * Use this method to get details about a stream.
-     * 
- */ - public void getStream( - com.google.cloud.datastream.v1.GetStreamRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetStreamMethod(), responseObserver); - } - - /** - * - * - *
-     * Use this method to create a stream.
-     * 
- */ - public void createStream( - com.google.cloud.datastream.v1.CreateStreamRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateStreamMethod(), responseObserver); - } - - /** - * - * - *
-     * Use this method to update the configuration of a stream.
-     * 
- */ - public void updateStream( - com.google.cloud.datastream.v1.UpdateStreamRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateStreamMethod(), responseObserver); - } - - /** - * - * - *
-     * Use this method to delete a stream.
-     * 
- */ - public void deleteStream( - com.google.cloud.datastream.v1.DeleteStreamRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteStreamMethod(), responseObserver); - } - - /** - * - * - *
-     * Use this method to get details about a stream object.
-     * 
- */ - public void getStreamObject( - com.google.cloud.datastream.v1.GetStreamObjectRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetStreamObjectMethod(), responseObserver); - } - - /** - * - * - *
-     * Use this method to look up a stream object by its source object identifier.
-     * 
- */ - public void lookupStreamObject( - com.google.cloud.datastream.v1.LookupStreamObjectRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getLookupStreamObjectMethod(), responseObserver); - } - - /** - * - * - *
-     * Use this method to list the objects of a specific stream.
-     * 
- */ - public void listStreamObjects( - com.google.cloud.datastream.v1.ListStreamObjectsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListStreamObjectsMethod(), responseObserver); - } - - /** - * - * - *
-     * Use this method to start a backfill job for the specified stream object.
-     * 
- */ - public void startBackfillJob( - com.google.cloud.datastream.v1.StartBackfillJobRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getStartBackfillJobMethod(), responseObserver); - } - - /** - * - * - *
-     * Use this method to stop a backfill job for the specified stream object.
-     * 
- */ - public void stopBackfillJob( - com.google.cloud.datastream.v1.StopBackfillJobRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getStopBackfillJobMethod(), responseObserver); - } - - /** - * - * - *
-     * The FetchStaticIps API call exposes the static IP addresses used by
-     * Datastream.
-     * 
- */ - public void fetchStaticIps( - com.google.cloud.datastream.v1.FetchStaticIpsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getFetchStaticIpsMethod(), responseObserver); - } - - /** - * - * - *
-     * Use this method to create a private connectivity configuration.
-     * 
- */ - public void createPrivateConnection( - com.google.cloud.datastream.v1.CreatePrivateConnectionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreatePrivateConnectionMethod(), responseObserver); - } - - /** - * - * - *
-     * Use this method to get details about a private connectivity configuration.
-     * 
- */ - public void getPrivateConnection( - com.google.cloud.datastream.v1.GetPrivateConnectionRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetPrivateConnectionMethod(), responseObserver); - } - - /** - * - * - *
-     * Use this method to list private connectivity configurations in a project
-     * and location.
-     * 
- */ - public void listPrivateConnections( - com.google.cloud.datastream.v1.ListPrivateConnectionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListPrivateConnectionsMethod(), responseObserver); - } - - /** - * - * - *
-     * Use this method to delete a private connectivity configuration.
-     * 
- */ - public void deletePrivateConnection( - com.google.cloud.datastream.v1.DeletePrivateConnectionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeletePrivateConnectionMethod(), responseObserver); - } - - /** - * - * - *
-     * Use this method to create a route for a private connectivity configuration
-     * in a project and location.
-     * 
- */ - public void createRoute( - com.google.cloud.datastream.v1.CreateRouteRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateRouteMethod(), responseObserver); - } - - /** - * - * - *
-     * Use this method to get details about a route.
-     * 
- */ - public void getRoute( - com.google.cloud.datastream.v1.GetRouteRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetRouteMethod(), responseObserver); - } - - /** - * - * - *
-     * Use this method to list routes created for a private connectivity
-     * configuration in a project and location.
-     * 
- */ - public void listRoutes( - com.google.cloud.datastream.v1.ListRoutesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListRoutesMethod(), responseObserver); - } - - /** - * - * - *
-     * Use this method to delete a route.
-     * 
- */ - public void deleteRoute( - com.google.cloud.datastream.v1.DeleteRouteRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteRouteMethod(), responseObserver); - } - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getListConnectionProfilesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datastream.v1.ListConnectionProfilesRequest, - com.google.cloud.datastream.v1.ListConnectionProfilesResponse>( - this, METHODID_LIST_CONNECTION_PROFILES))) - .addMethod( - getGetConnectionProfileMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datastream.v1.GetConnectionProfileRequest, - com.google.cloud.datastream.v1.ConnectionProfile>( - this, METHODID_GET_CONNECTION_PROFILE))) - .addMethod( - getCreateConnectionProfileMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datastream.v1.CreateConnectionProfileRequest, - com.google.longrunning.Operation>(this, METHODID_CREATE_CONNECTION_PROFILE))) - .addMethod( - getUpdateConnectionProfileMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datastream.v1.UpdateConnectionProfileRequest, - com.google.longrunning.Operation>(this, METHODID_UPDATE_CONNECTION_PROFILE))) - .addMethod( - getDeleteConnectionProfileMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datastream.v1.DeleteConnectionProfileRequest, - com.google.longrunning.Operation>(this, METHODID_DELETE_CONNECTION_PROFILE))) - .addMethod( - getDiscoverConnectionProfileMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datastream.v1.DiscoverConnectionProfileRequest, - com.google.cloud.datastream.v1.DiscoverConnectionProfileResponse>( - this, METHODID_DISCOVER_CONNECTION_PROFILE))) - .addMethod( - getListStreamsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datastream.v1.ListStreamsRequest, - com.google.cloud.datastream.v1.ListStreamsResponse>( - this, METHODID_LIST_STREAMS))) - .addMethod( - getGetStreamMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datastream.v1.GetStreamRequest, - com.google.cloud.datastream.v1.Stream>(this, METHODID_GET_STREAM))) - .addMethod( - getCreateStreamMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datastream.v1.CreateStreamRequest, - com.google.longrunning.Operation>(this, METHODID_CREATE_STREAM))) - .addMethod( - getUpdateStreamMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datastream.v1.UpdateStreamRequest, - com.google.longrunning.Operation>(this, METHODID_UPDATE_STREAM))) - .addMethod( - getDeleteStreamMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datastream.v1.DeleteStreamRequest, - com.google.longrunning.Operation>(this, METHODID_DELETE_STREAM))) - .addMethod( - getGetStreamObjectMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datastream.v1.GetStreamObjectRequest, - com.google.cloud.datastream.v1.StreamObject>( - this, METHODID_GET_STREAM_OBJECT))) - .addMethod( - getLookupStreamObjectMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datastream.v1.LookupStreamObjectRequest, - com.google.cloud.datastream.v1.StreamObject>( - this, METHODID_LOOKUP_STREAM_OBJECT))) - .addMethod( - getListStreamObjectsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datastream.v1.ListStreamObjectsRequest, - com.google.cloud.datastream.v1.ListStreamObjectsResponse>( - this, METHODID_LIST_STREAM_OBJECTS))) - .addMethod( - getStartBackfillJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datastream.v1.StartBackfillJobRequest, - com.google.cloud.datastream.v1.StartBackfillJobResponse>( - this, METHODID_START_BACKFILL_JOB))) - .addMethod( - getStopBackfillJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datastream.v1.StopBackfillJobRequest, - com.google.cloud.datastream.v1.StopBackfillJobResponse>( - this, METHODID_STOP_BACKFILL_JOB))) - .addMethod( - getFetchStaticIpsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datastream.v1.FetchStaticIpsRequest, - com.google.cloud.datastream.v1.FetchStaticIpsResponse>( - this, METHODID_FETCH_STATIC_IPS))) - .addMethod( - getCreatePrivateConnectionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datastream.v1.CreatePrivateConnectionRequest, - com.google.longrunning.Operation>(this, METHODID_CREATE_PRIVATE_CONNECTION))) - .addMethod( - getGetPrivateConnectionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datastream.v1.GetPrivateConnectionRequest, - com.google.cloud.datastream.v1.PrivateConnection>( - this, METHODID_GET_PRIVATE_CONNECTION))) - .addMethod( - getListPrivateConnectionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datastream.v1.ListPrivateConnectionsRequest, - com.google.cloud.datastream.v1.ListPrivateConnectionsResponse>( - this, METHODID_LIST_PRIVATE_CONNECTIONS))) - .addMethod( - getDeletePrivateConnectionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datastream.v1.DeletePrivateConnectionRequest, - com.google.longrunning.Operation>(this, METHODID_DELETE_PRIVATE_CONNECTION))) - .addMethod( - getCreateRouteMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datastream.v1.CreateRouteRequest, - com.google.longrunning.Operation>(this, METHODID_CREATE_ROUTE))) - .addMethod( - getGetRouteMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datastream.v1.GetRouteRequest, - com.google.cloud.datastream.v1.Route>(this, METHODID_GET_ROUTE))) - .addMethod( - getListRoutesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datastream.v1.ListRoutesRequest, - com.google.cloud.datastream.v1.ListRoutesResponse>( - this, METHODID_LIST_ROUTES))) - .addMethod( - getDeleteRouteMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datastream.v1.DeleteRouteRequest, - com.google.longrunning.Operation>(this, METHODID_DELETE_ROUTE))) - .build(); - } - } - - /** - * - * - *
-   * Datastream service
-   * 
- */ - public static final class DatastreamStub extends io.grpc.stub.AbstractAsyncStub { - private DatastreamStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected DatastreamStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DatastreamStub(channel, callOptions); - } - - /** - * - * - *
-     * Use this method to list connection profiles created in a project and
-     * location.
-     * 
- */ - public void listConnectionProfiles( - com.google.cloud.datastream.v1.ListConnectionProfilesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListConnectionProfilesMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Use this method to get details about a connection profile.
-     * 
- */ - public void getConnectionProfile( - com.google.cloud.datastream.v1.GetConnectionProfileRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetConnectionProfileMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Use this method to create a connection profile in a project and location.
-     * 
- */ - public void createConnectionProfile( - com.google.cloud.datastream.v1.CreateConnectionProfileRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateConnectionProfileMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Use this method to update the parameters of a connection profile.
-     * 
- */ - public void updateConnectionProfile( - com.google.cloud.datastream.v1.UpdateConnectionProfileRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateConnectionProfileMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Use this method to delete a connection profile.
-     * 
- */ - public void deleteConnectionProfile( - com.google.cloud.datastream.v1.DeleteConnectionProfileRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteConnectionProfileMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Use this method to discover a connection profile.
-     * The discover API call exposes the data objects and metadata belonging to
-     * the profile. Typically, a request returns children data objects of a
-     * parent data object that's optionally supplied in the request.
-     * 
- */ - public void discoverConnectionProfile( - com.google.cloud.datastream.v1.DiscoverConnectionProfileRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.datastream.v1.DiscoverConnectionProfileResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDiscoverConnectionProfileMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Use this method to list streams in a project and location.
-     * 
- */ - public void listStreams( - com.google.cloud.datastream.v1.ListStreamsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListStreamsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Use this method to get details about a stream.
-     * 
- */ - public void getStream( - com.google.cloud.datastream.v1.GetStreamRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetStreamMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Use this method to create a stream.
-     * 
- */ - public void createStream( - com.google.cloud.datastream.v1.CreateStreamRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateStreamMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Use this method to update the configuration of a stream.
-     * 
- */ - public void updateStream( - com.google.cloud.datastream.v1.UpdateStreamRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateStreamMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Use this method to delete a stream.
-     * 
- */ - public void deleteStream( - com.google.cloud.datastream.v1.DeleteStreamRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteStreamMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Use this method to get details about a stream object.
-     * 
- */ - public void getStreamObject( - com.google.cloud.datastream.v1.GetStreamObjectRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetStreamObjectMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Use this method to look up a stream object by its source object identifier.
-     * 
- */ - public void lookupStreamObject( - com.google.cloud.datastream.v1.LookupStreamObjectRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getLookupStreamObjectMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Use this method to list the objects of a specific stream.
-     * 
- */ - public void listStreamObjects( - com.google.cloud.datastream.v1.ListStreamObjectsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListStreamObjectsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Use this method to start a backfill job for the specified stream object.
-     * 
- */ - public void startBackfillJob( - com.google.cloud.datastream.v1.StartBackfillJobRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getStartBackfillJobMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Use this method to stop a backfill job for the specified stream object.
-     * 
- */ - public void stopBackfillJob( - com.google.cloud.datastream.v1.StopBackfillJobRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getStopBackfillJobMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * The FetchStaticIps API call exposes the static IP addresses used by
-     * Datastream.
-     * 
- */ - public void fetchStaticIps( - com.google.cloud.datastream.v1.FetchStaticIpsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getFetchStaticIpsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Use this method to create a private connectivity configuration.
-     * 
- */ - public void createPrivateConnection( - com.google.cloud.datastream.v1.CreatePrivateConnectionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreatePrivateConnectionMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Use this method to get details about a private connectivity configuration.
-     * 
- */ - public void getPrivateConnection( - com.google.cloud.datastream.v1.GetPrivateConnectionRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetPrivateConnectionMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Use this method to list private connectivity configurations in a project
-     * and location.
-     * 
- */ - public void listPrivateConnections( - com.google.cloud.datastream.v1.ListPrivateConnectionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListPrivateConnectionsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Use this method to delete a private connectivity configuration.
-     * 
- */ - public void deletePrivateConnection( - com.google.cloud.datastream.v1.DeletePrivateConnectionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeletePrivateConnectionMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Use this method to create a route for a private connectivity configuration
-     * in a project and location.
-     * 
- */ - public void createRoute( - com.google.cloud.datastream.v1.CreateRouteRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateRouteMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Use this method to get details about a route.
-     * 
- */ - public void getRoute( - com.google.cloud.datastream.v1.GetRouteRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetRouteMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Use this method to list routes created for a private connectivity
-     * configuration in a project and location.
-     * 
- */ - public void listRoutes( - com.google.cloud.datastream.v1.ListRoutesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListRoutesMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Use this method to delete a route.
-     * 
- */ - public void deleteRoute( - com.google.cloud.datastream.v1.DeleteRouteRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteRouteMethod(), getCallOptions()), - request, - responseObserver); - } - } - - /** - * - * - *
-   * Datastream service
-   * 
- */ - public static final class DatastreamBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private DatastreamBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected DatastreamBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DatastreamBlockingStub(channel, callOptions); - } - - /** - * - * - *
-     * Use this method to list connection profiles created in a project and
-     * location.
-     * 
- */ - public com.google.cloud.datastream.v1.ListConnectionProfilesResponse listConnectionProfiles( - com.google.cloud.datastream.v1.ListConnectionProfilesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListConnectionProfilesMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Use this method to get details about a connection profile.
-     * 
- */ - public com.google.cloud.datastream.v1.ConnectionProfile getConnectionProfile( - com.google.cloud.datastream.v1.GetConnectionProfileRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetConnectionProfileMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Use this method to create a connection profile in a project and location.
-     * 
- */ - public com.google.longrunning.Operation createConnectionProfile( - com.google.cloud.datastream.v1.CreateConnectionProfileRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateConnectionProfileMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Use this method to update the parameters of a connection profile.
-     * 
- */ - public com.google.longrunning.Operation updateConnectionProfile( - com.google.cloud.datastream.v1.UpdateConnectionProfileRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateConnectionProfileMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Use this method to delete a connection profile.
-     * 
- */ - public com.google.longrunning.Operation deleteConnectionProfile( - com.google.cloud.datastream.v1.DeleteConnectionProfileRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteConnectionProfileMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Use this method to discover a connection profile.
-     * The discover API call exposes the data objects and metadata belonging to
-     * the profile. Typically, a request returns children data objects of a
-     * parent data object that's optionally supplied in the request.
-     * 
- */ - public com.google.cloud.datastream.v1.DiscoverConnectionProfileResponse - discoverConnectionProfile( - com.google.cloud.datastream.v1.DiscoverConnectionProfileRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDiscoverConnectionProfileMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Use this method to list streams in a project and location.
-     * 
- */ - public com.google.cloud.datastream.v1.ListStreamsResponse listStreams( - com.google.cloud.datastream.v1.ListStreamsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListStreamsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Use this method to get details about a stream.
-     * 
- */ - public com.google.cloud.datastream.v1.Stream getStream( - com.google.cloud.datastream.v1.GetStreamRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetStreamMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Use this method to create a stream.
-     * 
- */ - public com.google.longrunning.Operation createStream( - com.google.cloud.datastream.v1.CreateStreamRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateStreamMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Use this method to update the configuration of a stream.
-     * 
- */ - public com.google.longrunning.Operation updateStream( - com.google.cloud.datastream.v1.UpdateStreamRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateStreamMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Use this method to delete a stream.
-     * 
- */ - public com.google.longrunning.Operation deleteStream( - com.google.cloud.datastream.v1.DeleteStreamRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteStreamMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Use this method to get details about a stream object.
-     * 
- */ - public com.google.cloud.datastream.v1.StreamObject getStreamObject( - com.google.cloud.datastream.v1.GetStreamObjectRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetStreamObjectMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Use this method to look up a stream object by its source object identifier.
-     * 
- */ - public com.google.cloud.datastream.v1.StreamObject lookupStreamObject( - com.google.cloud.datastream.v1.LookupStreamObjectRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getLookupStreamObjectMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Use this method to list the objects of a specific stream.
-     * 
- */ - public com.google.cloud.datastream.v1.ListStreamObjectsResponse listStreamObjects( - com.google.cloud.datastream.v1.ListStreamObjectsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListStreamObjectsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Use this method to start a backfill job for the specified stream object.
-     * 
- */ - public com.google.cloud.datastream.v1.StartBackfillJobResponse startBackfillJob( - com.google.cloud.datastream.v1.StartBackfillJobRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getStartBackfillJobMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Use this method to stop a backfill job for the specified stream object.
-     * 
- */ - public com.google.cloud.datastream.v1.StopBackfillJobResponse stopBackfillJob( - com.google.cloud.datastream.v1.StopBackfillJobRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getStopBackfillJobMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * The FetchStaticIps API call exposes the static IP addresses used by
-     * Datastream.
-     * 
- */ - public com.google.cloud.datastream.v1.FetchStaticIpsResponse fetchStaticIps( - com.google.cloud.datastream.v1.FetchStaticIpsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getFetchStaticIpsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Use this method to create a private connectivity configuration.
-     * 
- */ - public com.google.longrunning.Operation createPrivateConnection( - com.google.cloud.datastream.v1.CreatePrivateConnectionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreatePrivateConnectionMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Use this method to get details about a private connectivity configuration.
-     * 
- */ - public com.google.cloud.datastream.v1.PrivateConnection getPrivateConnection( - com.google.cloud.datastream.v1.GetPrivateConnectionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetPrivateConnectionMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Use this method to list private connectivity configurations in a project
-     * and location.
-     * 
- */ - public com.google.cloud.datastream.v1.ListPrivateConnectionsResponse listPrivateConnections( - com.google.cloud.datastream.v1.ListPrivateConnectionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListPrivateConnectionsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Use this method to delete a private connectivity configuration.
-     * 
- */ - public com.google.longrunning.Operation deletePrivateConnection( - com.google.cloud.datastream.v1.DeletePrivateConnectionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeletePrivateConnectionMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Use this method to create a route for a private connectivity configuration
-     * in a project and location.
-     * 
- */ - public com.google.longrunning.Operation createRoute( - com.google.cloud.datastream.v1.CreateRouteRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateRouteMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Use this method to get details about a route.
-     * 
- */ - public com.google.cloud.datastream.v1.Route getRoute( - com.google.cloud.datastream.v1.GetRouteRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetRouteMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Use this method to list routes created for a private connectivity
-     * configuration in a project and location.
-     * 
- */ - public com.google.cloud.datastream.v1.ListRoutesResponse listRoutes( - com.google.cloud.datastream.v1.ListRoutesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListRoutesMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Use this method to delete a route.
-     * 
- */ - public com.google.longrunning.Operation deleteRoute( - com.google.cloud.datastream.v1.DeleteRouteRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteRouteMethod(), getCallOptions(), request); - } - } - - /** - * - * - *
-   * Datastream service
-   * 
- */ - public static final class DatastreamFutureStub - extends io.grpc.stub.AbstractFutureStub { - private DatastreamFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected DatastreamFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DatastreamFutureStub(channel, callOptions); - } - - /** - * - * - *
-     * Use this method to list connection profiles created in a project and
-     * location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.datastream.v1.ListConnectionProfilesResponse> - listConnectionProfiles( - com.google.cloud.datastream.v1.ListConnectionProfilesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListConnectionProfilesMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Use this method to get details about a connection profile.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.datastream.v1.ConnectionProfile> - getConnectionProfile(com.google.cloud.datastream.v1.GetConnectionProfileRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetConnectionProfileMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Use this method to create a connection profile in a project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - createConnectionProfile( - com.google.cloud.datastream.v1.CreateConnectionProfileRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateConnectionProfileMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Use this method to update the parameters of a connection profile.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - updateConnectionProfile( - com.google.cloud.datastream.v1.UpdateConnectionProfileRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateConnectionProfileMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Use this method to delete a connection profile.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteConnectionProfile( - com.google.cloud.datastream.v1.DeleteConnectionProfileRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteConnectionProfileMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Use this method to discover a connection profile.
-     * The discover API call exposes the data objects and metadata belonging to
-     * the profile. Typically, a request returns children data objects of a
-     * parent data object that's optionally supplied in the request.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.datastream.v1.DiscoverConnectionProfileResponse> - discoverConnectionProfile( - com.google.cloud.datastream.v1.DiscoverConnectionProfileRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDiscoverConnectionProfileMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Use this method to list streams in a project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.datastream.v1.ListStreamsResponse> - listStreams(com.google.cloud.datastream.v1.ListStreamsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListStreamsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Use this method to get details about a stream.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - getStream(com.google.cloud.datastream.v1.GetStreamRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetStreamMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Use this method to create a stream.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - createStream(com.google.cloud.datastream.v1.CreateStreamRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateStreamMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Use this method to update the configuration of a stream.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - updateStream(com.google.cloud.datastream.v1.UpdateStreamRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateStreamMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Use this method to delete a stream.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteStream(com.google.cloud.datastream.v1.DeleteStreamRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteStreamMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Use this method to get details about a stream object.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.datastream.v1.StreamObject> - getStreamObject(com.google.cloud.datastream.v1.GetStreamObjectRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetStreamObjectMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Use this method to look up a stream object by its source object identifier.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.datastream.v1.StreamObject> - lookupStreamObject(com.google.cloud.datastream.v1.LookupStreamObjectRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getLookupStreamObjectMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Use this method to list the objects of a specific stream.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.datastream.v1.ListStreamObjectsResponse> - listStreamObjects(com.google.cloud.datastream.v1.ListStreamObjectsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListStreamObjectsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Use this method to start a backfill job for the specified stream object.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.datastream.v1.StartBackfillJobResponse> - startBackfillJob(com.google.cloud.datastream.v1.StartBackfillJobRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getStartBackfillJobMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Use this method to stop a backfill job for the specified stream object.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.datastream.v1.StopBackfillJobResponse> - stopBackfillJob(com.google.cloud.datastream.v1.StopBackfillJobRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getStopBackfillJobMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * The FetchStaticIps API call exposes the static IP addresses used by
-     * Datastream.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.datastream.v1.FetchStaticIpsResponse> - fetchStaticIps(com.google.cloud.datastream.v1.FetchStaticIpsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getFetchStaticIpsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Use this method to create a private connectivity configuration.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - createPrivateConnection( - com.google.cloud.datastream.v1.CreatePrivateConnectionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreatePrivateConnectionMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Use this method to get details about a private connectivity configuration.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.datastream.v1.PrivateConnection> - getPrivateConnection(com.google.cloud.datastream.v1.GetPrivateConnectionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetPrivateConnectionMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Use this method to list private connectivity configurations in a project
-     * and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.datastream.v1.ListPrivateConnectionsResponse> - listPrivateConnections( - com.google.cloud.datastream.v1.ListPrivateConnectionsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListPrivateConnectionsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Use this method to delete a private connectivity configuration.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deletePrivateConnection( - com.google.cloud.datastream.v1.DeletePrivateConnectionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeletePrivateConnectionMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Use this method to create a route for a private connectivity configuration
-     * in a project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - createRoute(com.google.cloud.datastream.v1.CreateRouteRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateRouteMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Use this method to get details about a route.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - getRoute(com.google.cloud.datastream.v1.GetRouteRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetRouteMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Use this method to list routes created for a private connectivity
-     * configuration in a project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.datastream.v1.ListRoutesResponse> - listRoutes(com.google.cloud.datastream.v1.ListRoutesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListRoutesMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Use this method to delete a route.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteRoute(com.google.cloud.datastream.v1.DeleteRouteRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteRouteMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_LIST_CONNECTION_PROFILES = 0; - private static final int METHODID_GET_CONNECTION_PROFILE = 1; - private static final int METHODID_CREATE_CONNECTION_PROFILE = 2; - private static final int METHODID_UPDATE_CONNECTION_PROFILE = 3; - private static final int METHODID_DELETE_CONNECTION_PROFILE = 4; - private static final int METHODID_DISCOVER_CONNECTION_PROFILE = 5; - private static final int METHODID_LIST_STREAMS = 6; - private static final int METHODID_GET_STREAM = 7; - private static final int METHODID_CREATE_STREAM = 8; - private static final int METHODID_UPDATE_STREAM = 9; - private static final int METHODID_DELETE_STREAM = 10; - private static final int METHODID_GET_STREAM_OBJECT = 11; - private static final int METHODID_LOOKUP_STREAM_OBJECT = 12; - private static final int METHODID_LIST_STREAM_OBJECTS = 13; - private static final int METHODID_START_BACKFILL_JOB = 14; - private static final int METHODID_STOP_BACKFILL_JOB = 15; - private static final int METHODID_FETCH_STATIC_IPS = 16; - private static final int METHODID_CREATE_PRIVATE_CONNECTION = 17; - private static final int METHODID_GET_PRIVATE_CONNECTION = 18; - private static final int METHODID_LIST_PRIVATE_CONNECTIONS = 19; - private static final int METHODID_DELETE_PRIVATE_CONNECTION = 20; - private static final int METHODID_CREATE_ROUTE = 21; - private static final int METHODID_GET_ROUTE = 22; - private static final int METHODID_LIST_ROUTES = 23; - private static final int METHODID_DELETE_ROUTE = 24; - - 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 DatastreamImplBase serviceImpl; - private final int methodId; - - MethodHandlers(DatastreamImplBase serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_LIST_CONNECTION_PROFILES: - serviceImpl.listConnectionProfiles( - (com.google.cloud.datastream.v1.ListConnectionProfilesRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.datastream.v1.ListConnectionProfilesResponse>) - responseObserver); - break; - case METHODID_GET_CONNECTION_PROFILE: - serviceImpl.getConnectionProfile( - (com.google.cloud.datastream.v1.GetConnectionProfileRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_CREATE_CONNECTION_PROFILE: - serviceImpl.createConnectionProfile( - (com.google.cloud.datastream.v1.CreateConnectionProfileRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_CONNECTION_PROFILE: - serviceImpl.updateConnectionProfile( - (com.google.cloud.datastream.v1.UpdateConnectionProfileRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_CONNECTION_PROFILE: - serviceImpl.deleteConnectionProfile( - (com.google.cloud.datastream.v1.DeleteConnectionProfileRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DISCOVER_CONNECTION_PROFILE: - serviceImpl.discoverConnectionProfile( - (com.google.cloud.datastream.v1.DiscoverConnectionProfileRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.datastream.v1.DiscoverConnectionProfileResponse>) - responseObserver); - break; - case METHODID_LIST_STREAMS: - serviceImpl.listStreams( - (com.google.cloud.datastream.v1.ListStreamsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_GET_STREAM: - serviceImpl.getStream( - (com.google.cloud.datastream.v1.GetStreamRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_CREATE_STREAM: - serviceImpl.createStream( - (com.google.cloud.datastream.v1.CreateStreamRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_STREAM: - serviceImpl.updateStream( - (com.google.cloud.datastream.v1.UpdateStreamRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_STREAM: - serviceImpl.deleteStream( - (com.google.cloud.datastream.v1.DeleteStreamRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_STREAM_OBJECT: - serviceImpl.getStreamObject( - (com.google.cloud.datastream.v1.GetStreamObjectRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LOOKUP_STREAM_OBJECT: - serviceImpl.lookupStreamObject( - (com.google.cloud.datastream.v1.LookupStreamObjectRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_STREAM_OBJECTS: - serviceImpl.listStreamObjects( - (com.google.cloud.datastream.v1.ListStreamObjectsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.datastream.v1.ListStreamObjectsResponse>) - responseObserver); - break; - case METHODID_START_BACKFILL_JOB: - serviceImpl.startBackfillJob( - (com.google.cloud.datastream.v1.StartBackfillJobRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_STOP_BACKFILL_JOB: - serviceImpl.stopBackfillJob( - (com.google.cloud.datastream.v1.StopBackfillJobRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_FETCH_STATIC_IPS: - serviceImpl.fetchStaticIps( - (com.google.cloud.datastream.v1.FetchStaticIpsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_CREATE_PRIVATE_CONNECTION: - serviceImpl.createPrivateConnection( - (com.google.cloud.datastream.v1.CreatePrivateConnectionRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_PRIVATE_CONNECTION: - serviceImpl.getPrivateConnection( - (com.google.cloud.datastream.v1.GetPrivateConnectionRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_PRIVATE_CONNECTIONS: - serviceImpl.listPrivateConnections( - (com.google.cloud.datastream.v1.ListPrivateConnectionsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.datastream.v1.ListPrivateConnectionsResponse>) - responseObserver); - break; - case METHODID_DELETE_PRIVATE_CONNECTION: - serviceImpl.deletePrivateConnection( - (com.google.cloud.datastream.v1.DeletePrivateConnectionRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_ROUTE: - serviceImpl.createRoute( - (com.google.cloud.datastream.v1.CreateRouteRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_ROUTE: - serviceImpl.getRoute( - (com.google.cloud.datastream.v1.GetRouteRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_ROUTES: - serviceImpl.listRoutes( - (com.google.cloud.datastream.v1.ListRoutesRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_DELETE_ROUTE: - serviceImpl.deleteRoute( - (com.google.cloud.datastream.v1.DeleteRouteRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - private abstract static class DatastreamBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - DatastreamBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.datastream.v1.DatastreamProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("Datastream"); - } - } - - private static final class DatastreamFileDescriptorSupplier - extends DatastreamBaseDescriptorSupplier { - DatastreamFileDescriptorSupplier() {} - } - - private static final class DatastreamMethodDescriptorSupplier - extends DatastreamBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - DatastreamMethodDescriptorSupplier(String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (DatastreamGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new DatastreamFileDescriptorSupplier()) - .addMethod(getListConnectionProfilesMethod()) - .addMethod(getGetConnectionProfileMethod()) - .addMethod(getCreateConnectionProfileMethod()) - .addMethod(getUpdateConnectionProfileMethod()) - .addMethod(getDeleteConnectionProfileMethod()) - .addMethod(getDiscoverConnectionProfileMethod()) - .addMethod(getListStreamsMethod()) - .addMethod(getGetStreamMethod()) - .addMethod(getCreateStreamMethod()) - .addMethod(getUpdateStreamMethod()) - .addMethod(getDeleteStreamMethod()) - .addMethod(getGetStreamObjectMethod()) - .addMethod(getLookupStreamObjectMethod()) - .addMethod(getListStreamObjectsMethod()) - .addMethod(getStartBackfillJobMethod()) - .addMethod(getStopBackfillJobMethod()) - .addMethod(getFetchStaticIpsMethod()) - .addMethod(getCreatePrivateConnectionMethod()) - .addMethod(getGetPrivateConnectionMethod()) - .addMethod(getListPrivateConnectionsMethod()) - .addMethod(getDeletePrivateConnectionMethod()) - .addMethod(getCreateRouteMethod()) - .addMethod(getGetRouteMethod()) - .addMethod(getListRoutesMethod()) - .addMethod(getDeleteRouteMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/grpc-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DatastreamGrpc.java b/grpc-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DatastreamGrpc.java deleted file mode 100644 index d1c53d48..00000000 --- a/grpc-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DatastreamGrpc.java +++ /dev/null @@ -1,2768 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.google.cloud.datastream.v1alpha1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * Datastream service
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/datastream/v1alpha1/datastream.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class DatastreamGrpc { - - private DatastreamGrpc() {} - - public static final String SERVICE_NAME = "google.cloud.datastream.v1alpha1.Datastream"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1alpha1.ListConnectionProfilesRequest, - com.google.cloud.datastream.v1alpha1.ListConnectionProfilesResponse> - getListConnectionProfilesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListConnectionProfiles", - requestType = com.google.cloud.datastream.v1alpha1.ListConnectionProfilesRequest.class, - responseType = com.google.cloud.datastream.v1alpha1.ListConnectionProfilesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1alpha1.ListConnectionProfilesRequest, - com.google.cloud.datastream.v1alpha1.ListConnectionProfilesResponse> - getListConnectionProfilesMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1alpha1.ListConnectionProfilesRequest, - com.google.cloud.datastream.v1alpha1.ListConnectionProfilesResponse> - getListConnectionProfilesMethod; - if ((getListConnectionProfilesMethod = DatastreamGrpc.getListConnectionProfilesMethod) - == null) { - synchronized (DatastreamGrpc.class) { - if ((getListConnectionProfilesMethod = DatastreamGrpc.getListConnectionProfilesMethod) - == null) { - DatastreamGrpc.getListConnectionProfilesMethod = - getListConnectionProfilesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ListConnectionProfiles")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datastream.v1alpha1.ListConnectionProfilesRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datastream.v1alpha1.ListConnectionProfilesResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new DatastreamMethodDescriptorSupplier("ListConnectionProfiles")) - .build(); - } - } - } - return getListConnectionProfilesMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1alpha1.GetConnectionProfileRequest, - com.google.cloud.datastream.v1alpha1.ConnectionProfile> - getGetConnectionProfileMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetConnectionProfile", - requestType = com.google.cloud.datastream.v1alpha1.GetConnectionProfileRequest.class, - responseType = com.google.cloud.datastream.v1alpha1.ConnectionProfile.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1alpha1.GetConnectionProfileRequest, - com.google.cloud.datastream.v1alpha1.ConnectionProfile> - getGetConnectionProfileMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1alpha1.GetConnectionProfileRequest, - com.google.cloud.datastream.v1alpha1.ConnectionProfile> - getGetConnectionProfileMethod; - if ((getGetConnectionProfileMethod = DatastreamGrpc.getGetConnectionProfileMethod) == null) { - synchronized (DatastreamGrpc.class) { - if ((getGetConnectionProfileMethod = DatastreamGrpc.getGetConnectionProfileMethod) - == null) { - DatastreamGrpc.getGetConnectionProfileMethod = - getGetConnectionProfileMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "GetConnectionProfile")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datastream.v1alpha1.GetConnectionProfileRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datastream.v1alpha1.ConnectionProfile - .getDefaultInstance())) - .setSchemaDescriptor( - new DatastreamMethodDescriptorSupplier("GetConnectionProfile")) - .build(); - } - } - } - return getGetConnectionProfileMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1alpha1.CreateConnectionProfileRequest, - com.google.longrunning.Operation> - getCreateConnectionProfileMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateConnectionProfile", - requestType = com.google.cloud.datastream.v1alpha1.CreateConnectionProfileRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1alpha1.CreateConnectionProfileRequest, - com.google.longrunning.Operation> - getCreateConnectionProfileMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1alpha1.CreateConnectionProfileRequest, - com.google.longrunning.Operation> - getCreateConnectionProfileMethod; - if ((getCreateConnectionProfileMethod = DatastreamGrpc.getCreateConnectionProfileMethod) - == null) { - synchronized (DatastreamGrpc.class) { - if ((getCreateConnectionProfileMethod = DatastreamGrpc.getCreateConnectionProfileMethod) - == null) { - DatastreamGrpc.getCreateConnectionProfileMethod = - getCreateConnectionProfileMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "CreateConnectionProfile")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datastream.v1alpha1.CreateConnectionProfileRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new DatastreamMethodDescriptorSupplier("CreateConnectionProfile")) - .build(); - } - } - } - return getCreateConnectionProfileMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1alpha1.UpdateConnectionProfileRequest, - com.google.longrunning.Operation> - getUpdateConnectionProfileMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateConnectionProfile", - requestType = com.google.cloud.datastream.v1alpha1.UpdateConnectionProfileRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1alpha1.UpdateConnectionProfileRequest, - com.google.longrunning.Operation> - getUpdateConnectionProfileMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1alpha1.UpdateConnectionProfileRequest, - com.google.longrunning.Operation> - getUpdateConnectionProfileMethod; - if ((getUpdateConnectionProfileMethod = DatastreamGrpc.getUpdateConnectionProfileMethod) - == null) { - synchronized (DatastreamGrpc.class) { - if ((getUpdateConnectionProfileMethod = DatastreamGrpc.getUpdateConnectionProfileMethod) - == null) { - DatastreamGrpc.getUpdateConnectionProfileMethod = - getUpdateConnectionProfileMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "UpdateConnectionProfile")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datastream.v1alpha1.UpdateConnectionProfileRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new DatastreamMethodDescriptorSupplier("UpdateConnectionProfile")) - .build(); - } - } - } - return getUpdateConnectionProfileMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1alpha1.DeleteConnectionProfileRequest, - com.google.longrunning.Operation> - getDeleteConnectionProfileMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteConnectionProfile", - requestType = com.google.cloud.datastream.v1alpha1.DeleteConnectionProfileRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1alpha1.DeleteConnectionProfileRequest, - com.google.longrunning.Operation> - getDeleteConnectionProfileMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1alpha1.DeleteConnectionProfileRequest, - com.google.longrunning.Operation> - getDeleteConnectionProfileMethod; - if ((getDeleteConnectionProfileMethod = DatastreamGrpc.getDeleteConnectionProfileMethod) - == null) { - synchronized (DatastreamGrpc.class) { - if ((getDeleteConnectionProfileMethod = DatastreamGrpc.getDeleteConnectionProfileMethod) - == null) { - DatastreamGrpc.getDeleteConnectionProfileMethod = - getDeleteConnectionProfileMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "DeleteConnectionProfile")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datastream.v1alpha1.DeleteConnectionProfileRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new DatastreamMethodDescriptorSupplier("DeleteConnectionProfile")) - .build(); - } - } - } - return getDeleteConnectionProfileMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileRequest, - com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileResponse> - getDiscoverConnectionProfileMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DiscoverConnectionProfile", - requestType = com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileRequest.class, - responseType = com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileRequest, - com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileResponse> - getDiscoverConnectionProfileMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileRequest, - com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileResponse> - getDiscoverConnectionProfileMethod; - if ((getDiscoverConnectionProfileMethod = DatastreamGrpc.getDiscoverConnectionProfileMethod) - == null) { - synchronized (DatastreamGrpc.class) { - if ((getDiscoverConnectionProfileMethod = DatastreamGrpc.getDiscoverConnectionProfileMethod) - == null) { - DatastreamGrpc.getDiscoverConnectionProfileMethod = - getDiscoverConnectionProfileMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "DiscoverConnectionProfile")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new DatastreamMethodDescriptorSupplier("DiscoverConnectionProfile")) - .build(); - } - } - } - return getDiscoverConnectionProfileMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1alpha1.ListStreamsRequest, - com.google.cloud.datastream.v1alpha1.ListStreamsResponse> - getListStreamsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListStreams", - requestType = com.google.cloud.datastream.v1alpha1.ListStreamsRequest.class, - responseType = com.google.cloud.datastream.v1alpha1.ListStreamsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1alpha1.ListStreamsRequest, - com.google.cloud.datastream.v1alpha1.ListStreamsResponse> - getListStreamsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1alpha1.ListStreamsRequest, - com.google.cloud.datastream.v1alpha1.ListStreamsResponse> - getListStreamsMethod; - if ((getListStreamsMethod = DatastreamGrpc.getListStreamsMethod) == null) { - synchronized (DatastreamGrpc.class) { - if ((getListStreamsMethod = DatastreamGrpc.getListStreamsMethod) == null) { - DatastreamGrpc.getListStreamsMethod = - getListStreamsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListStreams")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datastream.v1alpha1.ListStreamsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datastream.v1alpha1.ListStreamsResponse - .getDefaultInstance())) - .setSchemaDescriptor(new DatastreamMethodDescriptorSupplier("ListStreams")) - .build(); - } - } - } - return getListStreamsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1alpha1.GetStreamRequest, - com.google.cloud.datastream.v1alpha1.Stream> - getGetStreamMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetStream", - requestType = com.google.cloud.datastream.v1alpha1.GetStreamRequest.class, - responseType = com.google.cloud.datastream.v1alpha1.Stream.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1alpha1.GetStreamRequest, - com.google.cloud.datastream.v1alpha1.Stream> - getGetStreamMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1alpha1.GetStreamRequest, - com.google.cloud.datastream.v1alpha1.Stream> - getGetStreamMethod; - if ((getGetStreamMethod = DatastreamGrpc.getGetStreamMethod) == null) { - synchronized (DatastreamGrpc.class) { - if ((getGetStreamMethod = DatastreamGrpc.getGetStreamMethod) == null) { - DatastreamGrpc.getGetStreamMethod = - getGetStreamMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetStream")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datastream.v1alpha1.GetStreamRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datastream.v1alpha1.Stream.getDefaultInstance())) - .setSchemaDescriptor(new DatastreamMethodDescriptorSupplier("GetStream")) - .build(); - } - } - } - return getGetStreamMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1alpha1.CreateStreamRequest, - com.google.longrunning.Operation> - getCreateStreamMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateStream", - requestType = com.google.cloud.datastream.v1alpha1.CreateStreamRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1alpha1.CreateStreamRequest, - com.google.longrunning.Operation> - getCreateStreamMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1alpha1.CreateStreamRequest, - com.google.longrunning.Operation> - getCreateStreamMethod; - if ((getCreateStreamMethod = DatastreamGrpc.getCreateStreamMethod) == null) { - synchronized (DatastreamGrpc.class) { - if ((getCreateStreamMethod = DatastreamGrpc.getCreateStreamMethod) == null) { - DatastreamGrpc.getCreateStreamMethod = - getCreateStreamMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateStream")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datastream.v1alpha1.CreateStreamRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new DatastreamMethodDescriptorSupplier("CreateStream")) - .build(); - } - } - } - return getCreateStreamMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1alpha1.UpdateStreamRequest, - com.google.longrunning.Operation> - getUpdateStreamMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateStream", - requestType = com.google.cloud.datastream.v1alpha1.UpdateStreamRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1alpha1.UpdateStreamRequest, - com.google.longrunning.Operation> - getUpdateStreamMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1alpha1.UpdateStreamRequest, - com.google.longrunning.Operation> - getUpdateStreamMethod; - if ((getUpdateStreamMethod = DatastreamGrpc.getUpdateStreamMethod) == null) { - synchronized (DatastreamGrpc.class) { - if ((getUpdateStreamMethod = DatastreamGrpc.getUpdateStreamMethod) == null) { - DatastreamGrpc.getUpdateStreamMethod = - getUpdateStreamMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateStream")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datastream.v1alpha1.UpdateStreamRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new DatastreamMethodDescriptorSupplier("UpdateStream")) - .build(); - } - } - } - return getUpdateStreamMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1alpha1.DeleteStreamRequest, - com.google.longrunning.Operation> - getDeleteStreamMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteStream", - requestType = com.google.cloud.datastream.v1alpha1.DeleteStreamRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1alpha1.DeleteStreamRequest, - com.google.longrunning.Operation> - getDeleteStreamMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1alpha1.DeleteStreamRequest, - com.google.longrunning.Operation> - getDeleteStreamMethod; - if ((getDeleteStreamMethod = DatastreamGrpc.getDeleteStreamMethod) == null) { - synchronized (DatastreamGrpc.class) { - if ((getDeleteStreamMethod = DatastreamGrpc.getDeleteStreamMethod) == null) { - DatastreamGrpc.getDeleteStreamMethod = - getDeleteStreamMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteStream")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datastream.v1alpha1.DeleteStreamRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new DatastreamMethodDescriptorSupplier("DeleteStream")) - .build(); - } - } - } - return getDeleteStreamMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1alpha1.FetchErrorsRequest, com.google.longrunning.Operation> - getFetchErrorsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "FetchErrors", - requestType = com.google.cloud.datastream.v1alpha1.FetchErrorsRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1alpha1.FetchErrorsRequest, com.google.longrunning.Operation> - getFetchErrorsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1alpha1.FetchErrorsRequest, - com.google.longrunning.Operation> - getFetchErrorsMethod; - if ((getFetchErrorsMethod = DatastreamGrpc.getFetchErrorsMethod) == null) { - synchronized (DatastreamGrpc.class) { - if ((getFetchErrorsMethod = DatastreamGrpc.getFetchErrorsMethod) == null) { - DatastreamGrpc.getFetchErrorsMethod = - getFetchErrorsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "FetchErrors")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datastream.v1alpha1.FetchErrorsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new DatastreamMethodDescriptorSupplier("FetchErrors")) - .build(); - } - } - } - return getFetchErrorsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1alpha1.FetchStaticIpsRequest, - com.google.cloud.datastream.v1alpha1.FetchStaticIpsResponse> - getFetchStaticIpsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "FetchStaticIps", - requestType = com.google.cloud.datastream.v1alpha1.FetchStaticIpsRequest.class, - responseType = com.google.cloud.datastream.v1alpha1.FetchStaticIpsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1alpha1.FetchStaticIpsRequest, - com.google.cloud.datastream.v1alpha1.FetchStaticIpsResponse> - getFetchStaticIpsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1alpha1.FetchStaticIpsRequest, - com.google.cloud.datastream.v1alpha1.FetchStaticIpsResponse> - getFetchStaticIpsMethod; - if ((getFetchStaticIpsMethod = DatastreamGrpc.getFetchStaticIpsMethod) == null) { - synchronized (DatastreamGrpc.class) { - if ((getFetchStaticIpsMethod = DatastreamGrpc.getFetchStaticIpsMethod) == null) { - DatastreamGrpc.getFetchStaticIpsMethod = - getFetchStaticIpsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "FetchStaticIps")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datastream.v1alpha1.FetchStaticIpsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datastream.v1alpha1.FetchStaticIpsResponse - .getDefaultInstance())) - .setSchemaDescriptor(new DatastreamMethodDescriptorSupplier("FetchStaticIps")) - .build(); - } - } - } - return getFetchStaticIpsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1alpha1.CreatePrivateConnectionRequest, - com.google.longrunning.Operation> - getCreatePrivateConnectionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreatePrivateConnection", - requestType = com.google.cloud.datastream.v1alpha1.CreatePrivateConnectionRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1alpha1.CreatePrivateConnectionRequest, - com.google.longrunning.Operation> - getCreatePrivateConnectionMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1alpha1.CreatePrivateConnectionRequest, - com.google.longrunning.Operation> - getCreatePrivateConnectionMethod; - if ((getCreatePrivateConnectionMethod = DatastreamGrpc.getCreatePrivateConnectionMethod) - == null) { - synchronized (DatastreamGrpc.class) { - if ((getCreatePrivateConnectionMethod = DatastreamGrpc.getCreatePrivateConnectionMethod) - == null) { - DatastreamGrpc.getCreatePrivateConnectionMethod = - getCreatePrivateConnectionMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "CreatePrivateConnection")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datastream.v1alpha1.CreatePrivateConnectionRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new DatastreamMethodDescriptorSupplier("CreatePrivateConnection")) - .build(); - } - } - } - return getCreatePrivateConnectionMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1alpha1.GetPrivateConnectionRequest, - com.google.cloud.datastream.v1alpha1.PrivateConnection> - getGetPrivateConnectionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetPrivateConnection", - requestType = com.google.cloud.datastream.v1alpha1.GetPrivateConnectionRequest.class, - responseType = com.google.cloud.datastream.v1alpha1.PrivateConnection.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1alpha1.GetPrivateConnectionRequest, - com.google.cloud.datastream.v1alpha1.PrivateConnection> - getGetPrivateConnectionMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1alpha1.GetPrivateConnectionRequest, - com.google.cloud.datastream.v1alpha1.PrivateConnection> - getGetPrivateConnectionMethod; - if ((getGetPrivateConnectionMethod = DatastreamGrpc.getGetPrivateConnectionMethod) == null) { - synchronized (DatastreamGrpc.class) { - if ((getGetPrivateConnectionMethod = DatastreamGrpc.getGetPrivateConnectionMethod) - == null) { - DatastreamGrpc.getGetPrivateConnectionMethod = - getGetPrivateConnectionMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "GetPrivateConnection")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datastream.v1alpha1.GetPrivateConnectionRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datastream.v1alpha1.PrivateConnection - .getDefaultInstance())) - .setSchemaDescriptor( - new DatastreamMethodDescriptorSupplier("GetPrivateConnection")) - .build(); - } - } - } - return getGetPrivateConnectionMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsRequest, - com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsResponse> - getListPrivateConnectionsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListPrivateConnections", - requestType = com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsRequest.class, - responseType = com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsRequest, - com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsResponse> - getListPrivateConnectionsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsRequest, - com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsResponse> - getListPrivateConnectionsMethod; - if ((getListPrivateConnectionsMethod = DatastreamGrpc.getListPrivateConnectionsMethod) - == null) { - synchronized (DatastreamGrpc.class) { - if ((getListPrivateConnectionsMethod = DatastreamGrpc.getListPrivateConnectionsMethod) - == null) { - DatastreamGrpc.getListPrivateConnectionsMethod = - getListPrivateConnectionsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ListPrivateConnections")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new DatastreamMethodDescriptorSupplier("ListPrivateConnections")) - .build(); - } - } - } - return getListPrivateConnectionsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1alpha1.DeletePrivateConnectionRequest, - com.google.longrunning.Operation> - getDeletePrivateConnectionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeletePrivateConnection", - requestType = com.google.cloud.datastream.v1alpha1.DeletePrivateConnectionRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1alpha1.DeletePrivateConnectionRequest, - com.google.longrunning.Operation> - getDeletePrivateConnectionMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1alpha1.DeletePrivateConnectionRequest, - com.google.longrunning.Operation> - getDeletePrivateConnectionMethod; - if ((getDeletePrivateConnectionMethod = DatastreamGrpc.getDeletePrivateConnectionMethod) - == null) { - synchronized (DatastreamGrpc.class) { - if ((getDeletePrivateConnectionMethod = DatastreamGrpc.getDeletePrivateConnectionMethod) - == null) { - DatastreamGrpc.getDeletePrivateConnectionMethod = - getDeletePrivateConnectionMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "DeletePrivateConnection")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datastream.v1alpha1.DeletePrivateConnectionRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new DatastreamMethodDescriptorSupplier("DeletePrivateConnection")) - .build(); - } - } - } - return getDeletePrivateConnectionMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1alpha1.CreateRouteRequest, com.google.longrunning.Operation> - getCreateRouteMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateRoute", - requestType = com.google.cloud.datastream.v1alpha1.CreateRouteRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1alpha1.CreateRouteRequest, com.google.longrunning.Operation> - getCreateRouteMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1alpha1.CreateRouteRequest, - com.google.longrunning.Operation> - getCreateRouteMethod; - if ((getCreateRouteMethod = DatastreamGrpc.getCreateRouteMethod) == null) { - synchronized (DatastreamGrpc.class) { - if ((getCreateRouteMethod = DatastreamGrpc.getCreateRouteMethod) == null) { - DatastreamGrpc.getCreateRouteMethod = - getCreateRouteMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateRoute")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datastream.v1alpha1.CreateRouteRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new DatastreamMethodDescriptorSupplier("CreateRoute")) - .build(); - } - } - } - return getCreateRouteMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1alpha1.GetRouteRequest, - com.google.cloud.datastream.v1alpha1.Route> - getGetRouteMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetRoute", - requestType = com.google.cloud.datastream.v1alpha1.GetRouteRequest.class, - responseType = com.google.cloud.datastream.v1alpha1.Route.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1alpha1.GetRouteRequest, - com.google.cloud.datastream.v1alpha1.Route> - getGetRouteMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1alpha1.GetRouteRequest, - com.google.cloud.datastream.v1alpha1.Route> - getGetRouteMethod; - if ((getGetRouteMethod = DatastreamGrpc.getGetRouteMethod) == null) { - synchronized (DatastreamGrpc.class) { - if ((getGetRouteMethod = DatastreamGrpc.getGetRouteMethod) == null) { - DatastreamGrpc.getGetRouteMethod = - getGetRouteMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetRoute")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datastream.v1alpha1.GetRouteRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datastream.v1alpha1.Route.getDefaultInstance())) - .setSchemaDescriptor(new DatastreamMethodDescriptorSupplier("GetRoute")) - .build(); - } - } - } - return getGetRouteMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1alpha1.ListRoutesRequest, - com.google.cloud.datastream.v1alpha1.ListRoutesResponse> - getListRoutesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListRoutes", - requestType = com.google.cloud.datastream.v1alpha1.ListRoutesRequest.class, - responseType = com.google.cloud.datastream.v1alpha1.ListRoutesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1alpha1.ListRoutesRequest, - com.google.cloud.datastream.v1alpha1.ListRoutesResponse> - getListRoutesMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1alpha1.ListRoutesRequest, - com.google.cloud.datastream.v1alpha1.ListRoutesResponse> - getListRoutesMethod; - if ((getListRoutesMethod = DatastreamGrpc.getListRoutesMethod) == null) { - synchronized (DatastreamGrpc.class) { - if ((getListRoutesMethod = DatastreamGrpc.getListRoutesMethod) == null) { - DatastreamGrpc.getListRoutesMethod = - getListRoutesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListRoutes")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datastream.v1alpha1.ListRoutesRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datastream.v1alpha1.ListRoutesResponse - .getDefaultInstance())) - .setSchemaDescriptor(new DatastreamMethodDescriptorSupplier("ListRoutes")) - .build(); - } - } - } - return getListRoutesMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1alpha1.DeleteRouteRequest, com.google.longrunning.Operation> - getDeleteRouteMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteRoute", - requestType = com.google.cloud.datastream.v1alpha1.DeleteRouteRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1alpha1.DeleteRouteRequest, com.google.longrunning.Operation> - getDeleteRouteMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.datastream.v1alpha1.DeleteRouteRequest, - com.google.longrunning.Operation> - getDeleteRouteMethod; - if ((getDeleteRouteMethod = DatastreamGrpc.getDeleteRouteMethod) == null) { - synchronized (DatastreamGrpc.class) { - if ((getDeleteRouteMethod = DatastreamGrpc.getDeleteRouteMethod) == null) { - DatastreamGrpc.getDeleteRouteMethod = - getDeleteRouteMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteRoute")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.datastream.v1alpha1.DeleteRouteRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new DatastreamMethodDescriptorSupplier("DeleteRoute")) - .build(); - } - } - } - return getDeleteRouteMethod; - } - - /** Creates a new async stub that supports all call types for the service */ - public static DatastreamStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public DatastreamStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DatastreamStub(channel, callOptions); - } - }; - return DatastreamStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static DatastreamBlockingStub newBlockingStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public DatastreamBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DatastreamBlockingStub(channel, callOptions); - } - }; - return DatastreamBlockingStub.newStub(factory, channel); - } - - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static DatastreamFutureStub newFutureStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public DatastreamFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DatastreamFutureStub(channel, callOptions); - } - }; - return DatastreamFutureStub.newStub(factory, channel); - } - - /** - * - * - *
-   * Datastream service
-   * 
- */ - public abstract static class DatastreamImplBase implements io.grpc.BindableService { - - /** - * - * - *
-     * Use this method to list connection profiles created in a project and
-     * location.
-     * 
- */ - public void listConnectionProfiles( - com.google.cloud.datastream.v1alpha1.ListConnectionProfilesRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.datastream.v1alpha1.ListConnectionProfilesResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListConnectionProfilesMethod(), responseObserver); - } - - /** - * - * - *
-     * Use this method to get details about a connection profile.
-     * 
- */ - public void getConnectionProfile( - com.google.cloud.datastream.v1alpha1.GetConnectionProfileRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetConnectionProfileMethod(), responseObserver); - } - - /** - * - * - *
-     * Use this method to create a connection profile in a project and location.
-     * 
- */ - public void createConnectionProfile( - com.google.cloud.datastream.v1alpha1.CreateConnectionProfileRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateConnectionProfileMethod(), responseObserver); - } - - /** - * - * - *
-     * Use this method to update the parameters of a connection profile.
-     * 
- */ - public void updateConnectionProfile( - com.google.cloud.datastream.v1alpha1.UpdateConnectionProfileRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateConnectionProfileMethod(), responseObserver); - } - - /** - * - * - *
-     * Use this method to delete a connection profile..
-     * 
- */ - public void deleteConnectionProfile( - com.google.cloud.datastream.v1alpha1.DeleteConnectionProfileRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteConnectionProfileMethod(), responseObserver); - } - - /** - * - * - *
-     * Use this method to discover a connection profile.
-     * The discover API call exposes the data objects and metadata belonging to
-     * the profile. Typically, a request returns children data objects under a
-     * parent data object that's optionally supplied in the request.
-     * 
- */ - public void discoverConnectionProfile( - com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDiscoverConnectionProfileMethod(), responseObserver); - } - - /** - * - * - *
-     * Use this method to list streams in a project and location.
-     * 
- */ - public void listStreams( - com.google.cloud.datastream.v1alpha1.ListStreamsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListStreamsMethod(), responseObserver); - } - - /** - * - * - *
-     * Use this method to get details about a stream.
-     * 
- */ - public void getStream( - com.google.cloud.datastream.v1alpha1.GetStreamRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetStreamMethod(), responseObserver); - } - - /** - * - * - *
-     * Use this method to create a stream.
-     * 
- */ - public void createStream( - com.google.cloud.datastream.v1alpha1.CreateStreamRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateStreamMethod(), responseObserver); - } - - /** - * - * - *
-     * Use this method to update the configuration of a stream.
-     * 
- */ - public void updateStream( - com.google.cloud.datastream.v1alpha1.UpdateStreamRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateStreamMethod(), responseObserver); - } - - /** - * - * - *
-     * Use this method to delete a stream.
-     * 
- */ - public void deleteStream( - com.google.cloud.datastream.v1alpha1.DeleteStreamRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteStreamMethod(), responseObserver); - } - - /** - * - * - *
-     * Use this method to fetch any errors associated with a stream.
-     * 
- */ - public void fetchErrors( - com.google.cloud.datastream.v1alpha1.FetchErrorsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getFetchErrorsMethod(), responseObserver); - } - - /** - * - * - *
-     * The FetchStaticIps API call exposes the static ips used by Datastream.
-     * Typically, a request returns children data objects under
-     * a parent data object that's optionally supplied in the request.
-     * 
- */ - public void fetchStaticIps( - com.google.cloud.datastream.v1alpha1.FetchStaticIpsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getFetchStaticIpsMethod(), responseObserver); - } - - /** - * - * - *
-     * Use this method to create a private connectivity configuration.
-     * 
- */ - public void createPrivateConnection( - com.google.cloud.datastream.v1alpha1.CreatePrivateConnectionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreatePrivateConnectionMethod(), responseObserver); - } - - /** - * - * - *
-     * Use this method to get details about a private connectivity configuration.
-     * 
- */ - public void getPrivateConnection( - com.google.cloud.datastream.v1alpha1.GetPrivateConnectionRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetPrivateConnectionMethod(), responseObserver); - } - - /** - * - * - *
-     * Use this method to list private connectivity configurations in a project
-     * and location.
-     * 
- */ - public void listPrivateConnections( - com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListPrivateConnectionsMethod(), responseObserver); - } - - /** - * - * - *
-     * Use this method to delete a private connectivity configuration.
-     * 
- */ - public void deletePrivateConnection( - com.google.cloud.datastream.v1alpha1.DeletePrivateConnectionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeletePrivateConnectionMethod(), responseObserver); - } - - /** - * - * - *
-     * Use this method to create a route for a private connectivity in a project
-     * and location.
-     * 
- */ - public void createRoute( - com.google.cloud.datastream.v1alpha1.CreateRouteRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateRouteMethod(), responseObserver); - } - - /** - * - * - *
-     * Use this method to get details about a route.
-     * 
- */ - public void getRoute( - com.google.cloud.datastream.v1alpha1.GetRouteRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetRouteMethod(), responseObserver); - } - - /** - * - * - *
-     * Use this method to list routes created for a private connectivity in a
-     * project and location.
-     * 
- */ - public void listRoutes( - com.google.cloud.datastream.v1alpha1.ListRoutesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListRoutesMethod(), responseObserver); - } - - /** - * - * - *
-     * Use this method to delete a route.
-     * 
- */ - public void deleteRoute( - com.google.cloud.datastream.v1alpha1.DeleteRouteRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteRouteMethod(), responseObserver); - } - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getListConnectionProfilesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datastream.v1alpha1.ListConnectionProfilesRequest, - com.google.cloud.datastream.v1alpha1.ListConnectionProfilesResponse>( - this, METHODID_LIST_CONNECTION_PROFILES))) - .addMethod( - getGetConnectionProfileMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datastream.v1alpha1.GetConnectionProfileRequest, - com.google.cloud.datastream.v1alpha1.ConnectionProfile>( - this, METHODID_GET_CONNECTION_PROFILE))) - .addMethod( - getCreateConnectionProfileMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datastream.v1alpha1.CreateConnectionProfileRequest, - com.google.longrunning.Operation>(this, METHODID_CREATE_CONNECTION_PROFILE))) - .addMethod( - getUpdateConnectionProfileMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datastream.v1alpha1.UpdateConnectionProfileRequest, - com.google.longrunning.Operation>(this, METHODID_UPDATE_CONNECTION_PROFILE))) - .addMethod( - getDeleteConnectionProfileMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datastream.v1alpha1.DeleteConnectionProfileRequest, - com.google.longrunning.Operation>(this, METHODID_DELETE_CONNECTION_PROFILE))) - .addMethod( - getDiscoverConnectionProfileMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileRequest, - com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileResponse>( - this, METHODID_DISCOVER_CONNECTION_PROFILE))) - .addMethod( - getListStreamsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datastream.v1alpha1.ListStreamsRequest, - com.google.cloud.datastream.v1alpha1.ListStreamsResponse>( - this, METHODID_LIST_STREAMS))) - .addMethod( - getGetStreamMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datastream.v1alpha1.GetStreamRequest, - com.google.cloud.datastream.v1alpha1.Stream>(this, METHODID_GET_STREAM))) - .addMethod( - getCreateStreamMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datastream.v1alpha1.CreateStreamRequest, - com.google.longrunning.Operation>(this, METHODID_CREATE_STREAM))) - .addMethod( - getUpdateStreamMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datastream.v1alpha1.UpdateStreamRequest, - com.google.longrunning.Operation>(this, METHODID_UPDATE_STREAM))) - .addMethod( - getDeleteStreamMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datastream.v1alpha1.DeleteStreamRequest, - com.google.longrunning.Operation>(this, METHODID_DELETE_STREAM))) - .addMethod( - getFetchErrorsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datastream.v1alpha1.FetchErrorsRequest, - com.google.longrunning.Operation>(this, METHODID_FETCH_ERRORS))) - .addMethod( - getFetchStaticIpsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datastream.v1alpha1.FetchStaticIpsRequest, - com.google.cloud.datastream.v1alpha1.FetchStaticIpsResponse>( - this, METHODID_FETCH_STATIC_IPS))) - .addMethod( - getCreatePrivateConnectionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datastream.v1alpha1.CreatePrivateConnectionRequest, - com.google.longrunning.Operation>(this, METHODID_CREATE_PRIVATE_CONNECTION))) - .addMethod( - getGetPrivateConnectionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datastream.v1alpha1.GetPrivateConnectionRequest, - com.google.cloud.datastream.v1alpha1.PrivateConnection>( - this, METHODID_GET_PRIVATE_CONNECTION))) - .addMethod( - getListPrivateConnectionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsRequest, - com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsResponse>( - this, METHODID_LIST_PRIVATE_CONNECTIONS))) - .addMethod( - getDeletePrivateConnectionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datastream.v1alpha1.DeletePrivateConnectionRequest, - com.google.longrunning.Operation>(this, METHODID_DELETE_PRIVATE_CONNECTION))) - .addMethod( - getCreateRouteMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datastream.v1alpha1.CreateRouteRequest, - com.google.longrunning.Operation>(this, METHODID_CREATE_ROUTE))) - .addMethod( - getGetRouteMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datastream.v1alpha1.GetRouteRequest, - com.google.cloud.datastream.v1alpha1.Route>(this, METHODID_GET_ROUTE))) - .addMethod( - getListRoutesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datastream.v1alpha1.ListRoutesRequest, - com.google.cloud.datastream.v1alpha1.ListRoutesResponse>( - this, METHODID_LIST_ROUTES))) - .addMethod( - getDeleteRouteMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datastream.v1alpha1.DeleteRouteRequest, - com.google.longrunning.Operation>(this, METHODID_DELETE_ROUTE))) - .build(); - } - } - - /** - * - * - *
-   * Datastream service
-   * 
- */ - public static final class DatastreamStub extends io.grpc.stub.AbstractAsyncStub { - private DatastreamStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected DatastreamStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DatastreamStub(channel, callOptions); - } - - /** - * - * - *
-     * Use this method to list connection profiles created in a project and
-     * location.
-     * 
- */ - public void listConnectionProfiles( - com.google.cloud.datastream.v1alpha1.ListConnectionProfilesRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.datastream.v1alpha1.ListConnectionProfilesResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListConnectionProfilesMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Use this method to get details about a connection profile.
-     * 
- */ - public void getConnectionProfile( - com.google.cloud.datastream.v1alpha1.GetConnectionProfileRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetConnectionProfileMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Use this method to create a connection profile in a project and location.
-     * 
- */ - public void createConnectionProfile( - com.google.cloud.datastream.v1alpha1.CreateConnectionProfileRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateConnectionProfileMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Use this method to update the parameters of a connection profile.
-     * 
- */ - public void updateConnectionProfile( - com.google.cloud.datastream.v1alpha1.UpdateConnectionProfileRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateConnectionProfileMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Use this method to delete a connection profile..
-     * 
- */ - public void deleteConnectionProfile( - com.google.cloud.datastream.v1alpha1.DeleteConnectionProfileRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteConnectionProfileMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Use this method to discover a connection profile.
-     * The discover API call exposes the data objects and metadata belonging to
-     * the profile. Typically, a request returns children data objects under a
-     * parent data object that's optionally supplied in the request.
-     * 
- */ - public void discoverConnectionProfile( - com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDiscoverConnectionProfileMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Use this method to list streams in a project and location.
-     * 
- */ - public void listStreams( - com.google.cloud.datastream.v1alpha1.ListStreamsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListStreamsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Use this method to get details about a stream.
-     * 
- */ - public void getStream( - com.google.cloud.datastream.v1alpha1.GetStreamRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetStreamMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Use this method to create a stream.
-     * 
- */ - public void createStream( - com.google.cloud.datastream.v1alpha1.CreateStreamRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateStreamMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Use this method to update the configuration of a stream.
-     * 
- */ - public void updateStream( - com.google.cloud.datastream.v1alpha1.UpdateStreamRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateStreamMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Use this method to delete a stream.
-     * 
- */ - public void deleteStream( - com.google.cloud.datastream.v1alpha1.DeleteStreamRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteStreamMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Use this method to fetch any errors associated with a stream.
-     * 
- */ - public void fetchErrors( - com.google.cloud.datastream.v1alpha1.FetchErrorsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getFetchErrorsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * The FetchStaticIps API call exposes the static ips used by Datastream.
-     * Typically, a request returns children data objects under
-     * a parent data object that's optionally supplied in the request.
-     * 
- */ - public void fetchStaticIps( - com.google.cloud.datastream.v1alpha1.FetchStaticIpsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getFetchStaticIpsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Use this method to create a private connectivity configuration.
-     * 
- */ - public void createPrivateConnection( - com.google.cloud.datastream.v1alpha1.CreatePrivateConnectionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreatePrivateConnectionMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Use this method to get details about a private connectivity configuration.
-     * 
- */ - public void getPrivateConnection( - com.google.cloud.datastream.v1alpha1.GetPrivateConnectionRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetPrivateConnectionMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Use this method to list private connectivity configurations in a project
-     * and location.
-     * 
- */ - public void listPrivateConnections( - com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListPrivateConnectionsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Use this method to delete a private connectivity configuration.
-     * 
- */ - public void deletePrivateConnection( - com.google.cloud.datastream.v1alpha1.DeletePrivateConnectionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeletePrivateConnectionMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Use this method to create a route for a private connectivity in a project
-     * and location.
-     * 
- */ - public void createRoute( - com.google.cloud.datastream.v1alpha1.CreateRouteRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateRouteMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Use this method to get details about a route.
-     * 
- */ - public void getRoute( - com.google.cloud.datastream.v1alpha1.GetRouteRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetRouteMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Use this method to list routes created for a private connectivity in a
-     * project and location.
-     * 
- */ - public void listRoutes( - com.google.cloud.datastream.v1alpha1.ListRoutesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListRoutesMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Use this method to delete a route.
-     * 
- */ - public void deleteRoute( - com.google.cloud.datastream.v1alpha1.DeleteRouteRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteRouteMethod(), getCallOptions()), - request, - responseObserver); - } - } - - /** - * - * - *
-   * Datastream service
-   * 
- */ - public static final class DatastreamBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private DatastreamBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected DatastreamBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DatastreamBlockingStub(channel, callOptions); - } - - /** - * - * - *
-     * Use this method to list connection profiles created in a project and
-     * location.
-     * 
- */ - public com.google.cloud.datastream.v1alpha1.ListConnectionProfilesResponse - listConnectionProfiles( - com.google.cloud.datastream.v1alpha1.ListConnectionProfilesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListConnectionProfilesMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Use this method to get details about a connection profile.
-     * 
- */ - public com.google.cloud.datastream.v1alpha1.ConnectionProfile getConnectionProfile( - com.google.cloud.datastream.v1alpha1.GetConnectionProfileRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetConnectionProfileMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Use this method to create a connection profile in a project and location.
-     * 
- */ - public com.google.longrunning.Operation createConnectionProfile( - com.google.cloud.datastream.v1alpha1.CreateConnectionProfileRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateConnectionProfileMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Use this method to update the parameters of a connection profile.
-     * 
- */ - public com.google.longrunning.Operation updateConnectionProfile( - com.google.cloud.datastream.v1alpha1.UpdateConnectionProfileRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateConnectionProfileMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Use this method to delete a connection profile..
-     * 
- */ - public com.google.longrunning.Operation deleteConnectionProfile( - com.google.cloud.datastream.v1alpha1.DeleteConnectionProfileRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteConnectionProfileMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Use this method to discover a connection profile.
-     * The discover API call exposes the data objects and metadata belonging to
-     * the profile. Typically, a request returns children data objects under a
-     * parent data object that's optionally supplied in the request.
-     * 
- */ - public com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileResponse - discoverConnectionProfile( - com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDiscoverConnectionProfileMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Use this method to list streams in a project and location.
-     * 
- */ - public com.google.cloud.datastream.v1alpha1.ListStreamsResponse listStreams( - com.google.cloud.datastream.v1alpha1.ListStreamsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListStreamsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Use this method to get details about a stream.
-     * 
- */ - public com.google.cloud.datastream.v1alpha1.Stream getStream( - com.google.cloud.datastream.v1alpha1.GetStreamRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetStreamMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Use this method to create a stream.
-     * 
- */ - public com.google.longrunning.Operation createStream( - com.google.cloud.datastream.v1alpha1.CreateStreamRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateStreamMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Use this method to update the configuration of a stream.
-     * 
- */ - public com.google.longrunning.Operation updateStream( - com.google.cloud.datastream.v1alpha1.UpdateStreamRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateStreamMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Use this method to delete a stream.
-     * 
- */ - public com.google.longrunning.Operation deleteStream( - com.google.cloud.datastream.v1alpha1.DeleteStreamRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteStreamMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Use this method to fetch any errors associated with a stream.
-     * 
- */ - public com.google.longrunning.Operation fetchErrors( - com.google.cloud.datastream.v1alpha1.FetchErrorsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getFetchErrorsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * The FetchStaticIps API call exposes the static ips used by Datastream.
-     * Typically, a request returns children data objects under
-     * a parent data object that's optionally supplied in the request.
-     * 
- */ - public com.google.cloud.datastream.v1alpha1.FetchStaticIpsResponse fetchStaticIps( - com.google.cloud.datastream.v1alpha1.FetchStaticIpsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getFetchStaticIpsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Use this method to create a private connectivity configuration.
-     * 
- */ - public com.google.longrunning.Operation createPrivateConnection( - com.google.cloud.datastream.v1alpha1.CreatePrivateConnectionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreatePrivateConnectionMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Use this method to get details about a private connectivity configuration.
-     * 
- */ - public com.google.cloud.datastream.v1alpha1.PrivateConnection getPrivateConnection( - com.google.cloud.datastream.v1alpha1.GetPrivateConnectionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetPrivateConnectionMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Use this method to list private connectivity configurations in a project
-     * and location.
-     * 
- */ - public com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsResponse - listPrivateConnections( - com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListPrivateConnectionsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Use this method to delete a private connectivity configuration.
-     * 
- */ - public com.google.longrunning.Operation deletePrivateConnection( - com.google.cloud.datastream.v1alpha1.DeletePrivateConnectionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeletePrivateConnectionMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Use this method to create a route for a private connectivity in a project
-     * and location.
-     * 
- */ - public com.google.longrunning.Operation createRoute( - com.google.cloud.datastream.v1alpha1.CreateRouteRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateRouteMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Use this method to get details about a route.
-     * 
- */ - public com.google.cloud.datastream.v1alpha1.Route getRoute( - com.google.cloud.datastream.v1alpha1.GetRouteRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetRouteMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Use this method to list routes created for a private connectivity in a
-     * project and location.
-     * 
- */ - public com.google.cloud.datastream.v1alpha1.ListRoutesResponse listRoutes( - com.google.cloud.datastream.v1alpha1.ListRoutesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListRoutesMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Use this method to delete a route.
-     * 
- */ - public com.google.longrunning.Operation deleteRoute( - com.google.cloud.datastream.v1alpha1.DeleteRouteRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteRouteMethod(), getCallOptions(), request); - } - } - - /** - * - * - *
-   * Datastream service
-   * 
- */ - public static final class DatastreamFutureStub - extends io.grpc.stub.AbstractFutureStub { - private DatastreamFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected DatastreamFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DatastreamFutureStub(channel, callOptions); - } - - /** - * - * - *
-     * Use this method to list connection profiles created in a project and
-     * location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.datastream.v1alpha1.ListConnectionProfilesResponse> - listConnectionProfiles( - com.google.cloud.datastream.v1alpha1.ListConnectionProfilesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListConnectionProfilesMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Use this method to get details about a connection profile.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.datastream.v1alpha1.ConnectionProfile> - getConnectionProfile( - com.google.cloud.datastream.v1alpha1.GetConnectionProfileRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetConnectionProfileMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Use this method to create a connection profile in a project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - createConnectionProfile( - com.google.cloud.datastream.v1alpha1.CreateConnectionProfileRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateConnectionProfileMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Use this method to update the parameters of a connection profile.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - updateConnectionProfile( - com.google.cloud.datastream.v1alpha1.UpdateConnectionProfileRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateConnectionProfileMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Use this method to delete a connection profile..
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteConnectionProfile( - com.google.cloud.datastream.v1alpha1.DeleteConnectionProfileRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteConnectionProfileMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Use this method to discover a connection profile.
-     * The discover API call exposes the data objects and metadata belonging to
-     * the profile. Typically, a request returns children data objects under a
-     * parent data object that's optionally supplied in the request.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileResponse> - discoverConnectionProfile( - com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDiscoverConnectionProfileMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Use this method to list streams in a project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.datastream.v1alpha1.ListStreamsResponse> - listStreams(com.google.cloud.datastream.v1alpha1.ListStreamsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListStreamsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Use this method to get details about a stream.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.datastream.v1alpha1.Stream> - getStream(com.google.cloud.datastream.v1alpha1.GetStreamRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetStreamMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Use this method to create a stream.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - createStream(com.google.cloud.datastream.v1alpha1.CreateStreamRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateStreamMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Use this method to update the configuration of a stream.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - updateStream(com.google.cloud.datastream.v1alpha1.UpdateStreamRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateStreamMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Use this method to delete a stream.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteStream(com.google.cloud.datastream.v1alpha1.DeleteStreamRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteStreamMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Use this method to fetch any errors associated with a stream.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - fetchErrors(com.google.cloud.datastream.v1alpha1.FetchErrorsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getFetchErrorsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * The FetchStaticIps API call exposes the static ips used by Datastream.
-     * Typically, a request returns children data objects under
-     * a parent data object that's optionally supplied in the request.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.datastream.v1alpha1.FetchStaticIpsResponse> - fetchStaticIps(com.google.cloud.datastream.v1alpha1.FetchStaticIpsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getFetchStaticIpsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Use this method to create a private connectivity configuration.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - createPrivateConnection( - com.google.cloud.datastream.v1alpha1.CreatePrivateConnectionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreatePrivateConnectionMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Use this method to get details about a private connectivity configuration.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.datastream.v1alpha1.PrivateConnection> - getPrivateConnection( - com.google.cloud.datastream.v1alpha1.GetPrivateConnectionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetPrivateConnectionMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Use this method to list private connectivity configurations in a project
-     * and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsResponse> - listPrivateConnections( - com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListPrivateConnectionsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Use this method to delete a private connectivity configuration.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deletePrivateConnection( - com.google.cloud.datastream.v1alpha1.DeletePrivateConnectionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeletePrivateConnectionMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Use this method to create a route for a private connectivity in a project
-     * and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - createRoute(com.google.cloud.datastream.v1alpha1.CreateRouteRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateRouteMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Use this method to get details about a route.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.datastream.v1alpha1.Route> - getRoute(com.google.cloud.datastream.v1alpha1.GetRouteRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetRouteMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Use this method to list routes created for a private connectivity in a
-     * project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.datastream.v1alpha1.ListRoutesResponse> - listRoutes(com.google.cloud.datastream.v1alpha1.ListRoutesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListRoutesMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Use this method to delete a route.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteRoute(com.google.cloud.datastream.v1alpha1.DeleteRouteRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteRouteMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_LIST_CONNECTION_PROFILES = 0; - private static final int METHODID_GET_CONNECTION_PROFILE = 1; - private static final int METHODID_CREATE_CONNECTION_PROFILE = 2; - private static final int METHODID_UPDATE_CONNECTION_PROFILE = 3; - private static final int METHODID_DELETE_CONNECTION_PROFILE = 4; - private static final int METHODID_DISCOVER_CONNECTION_PROFILE = 5; - private static final int METHODID_LIST_STREAMS = 6; - private static final int METHODID_GET_STREAM = 7; - private static final int METHODID_CREATE_STREAM = 8; - private static final int METHODID_UPDATE_STREAM = 9; - private static final int METHODID_DELETE_STREAM = 10; - private static final int METHODID_FETCH_ERRORS = 11; - private static final int METHODID_FETCH_STATIC_IPS = 12; - private static final int METHODID_CREATE_PRIVATE_CONNECTION = 13; - private static final int METHODID_GET_PRIVATE_CONNECTION = 14; - private static final int METHODID_LIST_PRIVATE_CONNECTIONS = 15; - private static final int METHODID_DELETE_PRIVATE_CONNECTION = 16; - private static final int METHODID_CREATE_ROUTE = 17; - private static final int METHODID_GET_ROUTE = 18; - private static final int METHODID_LIST_ROUTES = 19; - private static final int METHODID_DELETE_ROUTE = 20; - - 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 DatastreamImplBase serviceImpl; - private final int methodId; - - MethodHandlers(DatastreamImplBase serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_LIST_CONNECTION_PROFILES: - serviceImpl.listConnectionProfiles( - (com.google.cloud.datastream.v1alpha1.ListConnectionProfilesRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.datastream.v1alpha1.ListConnectionProfilesResponse>) - responseObserver); - break; - case METHODID_GET_CONNECTION_PROFILE: - serviceImpl.getConnectionProfile( - (com.google.cloud.datastream.v1alpha1.GetConnectionProfileRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_CREATE_CONNECTION_PROFILE: - serviceImpl.createConnectionProfile( - (com.google.cloud.datastream.v1alpha1.CreateConnectionProfileRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_CONNECTION_PROFILE: - serviceImpl.updateConnectionProfile( - (com.google.cloud.datastream.v1alpha1.UpdateConnectionProfileRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_CONNECTION_PROFILE: - serviceImpl.deleteConnectionProfile( - (com.google.cloud.datastream.v1alpha1.DeleteConnectionProfileRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DISCOVER_CONNECTION_PROFILE: - serviceImpl.discoverConnectionProfile( - (com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileResponse>) - responseObserver); - break; - case METHODID_LIST_STREAMS: - serviceImpl.listStreams( - (com.google.cloud.datastream.v1alpha1.ListStreamsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.datastream.v1alpha1.ListStreamsResponse>) - responseObserver); - break; - case METHODID_GET_STREAM: - serviceImpl.getStream( - (com.google.cloud.datastream.v1alpha1.GetStreamRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_CREATE_STREAM: - serviceImpl.createStream( - (com.google.cloud.datastream.v1alpha1.CreateStreamRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_STREAM: - serviceImpl.updateStream( - (com.google.cloud.datastream.v1alpha1.UpdateStreamRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_STREAM: - serviceImpl.deleteStream( - (com.google.cloud.datastream.v1alpha1.DeleteStreamRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_FETCH_ERRORS: - serviceImpl.fetchErrors( - (com.google.cloud.datastream.v1alpha1.FetchErrorsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_FETCH_STATIC_IPS: - serviceImpl.fetchStaticIps( - (com.google.cloud.datastream.v1alpha1.FetchStaticIpsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.datastream.v1alpha1.FetchStaticIpsResponse>) - responseObserver); - break; - case METHODID_CREATE_PRIVATE_CONNECTION: - serviceImpl.createPrivateConnection( - (com.google.cloud.datastream.v1alpha1.CreatePrivateConnectionRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_PRIVATE_CONNECTION: - serviceImpl.getPrivateConnection( - (com.google.cloud.datastream.v1alpha1.GetPrivateConnectionRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_PRIVATE_CONNECTIONS: - serviceImpl.listPrivateConnections( - (com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsResponse>) - responseObserver); - break; - case METHODID_DELETE_PRIVATE_CONNECTION: - serviceImpl.deletePrivateConnection( - (com.google.cloud.datastream.v1alpha1.DeletePrivateConnectionRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_ROUTE: - serviceImpl.createRoute( - (com.google.cloud.datastream.v1alpha1.CreateRouteRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_ROUTE: - serviceImpl.getRoute( - (com.google.cloud.datastream.v1alpha1.GetRouteRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_ROUTES: - serviceImpl.listRoutes( - (com.google.cloud.datastream.v1alpha1.ListRoutesRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_DELETE_ROUTE: - serviceImpl.deleteRoute( - (com.google.cloud.datastream.v1alpha1.DeleteRouteRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - private abstract static class DatastreamBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - DatastreamBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("Datastream"); - } - } - - private static final class DatastreamFileDescriptorSupplier - extends DatastreamBaseDescriptorSupplier { - DatastreamFileDescriptorSupplier() {} - } - - private static final class DatastreamMethodDescriptorSupplier - extends DatastreamBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - DatastreamMethodDescriptorSupplier(String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (DatastreamGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new DatastreamFileDescriptorSupplier()) - .addMethod(getListConnectionProfilesMethod()) - .addMethod(getGetConnectionProfileMethod()) - .addMethod(getCreateConnectionProfileMethod()) - .addMethod(getUpdateConnectionProfileMethod()) - .addMethod(getDeleteConnectionProfileMethod()) - .addMethod(getDiscoverConnectionProfileMethod()) - .addMethod(getListStreamsMethod()) - .addMethod(getGetStreamMethod()) - .addMethod(getCreateStreamMethod()) - .addMethod(getUpdateStreamMethod()) - .addMethod(getDeleteStreamMethod()) - .addMethod(getFetchErrorsMethod()) - .addMethod(getFetchStaticIpsMethod()) - .addMethod(getCreatePrivateConnectionMethod()) - .addMethod(getGetPrivateConnectionMethod()) - .addMethod(getListPrivateConnectionsMethod()) - .addMethod(getDeletePrivateConnectionMethod()) - .addMethod(getCreateRouteMethod()) - .addMethod(getGetRouteMethod()) - .addMethod(getListRoutesMethod()) - .addMethod(getDeleteRouteMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/DatastreamClient.java b/owl-bot-staging/v1/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/DatastreamClient.java similarity index 98% rename from google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/DatastreamClient.java rename to owl-bot-staging/v1/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/DatastreamClient.java index d4b891db..c5bf414c 100644 --- a/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/DatastreamClient.java +++ b/owl-bot-staging/v1/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/DatastreamClient.java @@ -67,13 +67,13 @@ * methods: * *
    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* @@ -3564,11 +3564,8 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListConnectionProfilesPagedResponse extends AbstractPagedListResponse< - ListConnectionProfilesRequest, - ListConnectionProfilesResponse, - ConnectionProfile, - ListConnectionProfilesPage, - ListConnectionProfilesFixedSizeCollection> { + ListConnectionProfilesRequest, ListConnectionProfilesResponse, ConnectionProfile, + ListConnectionProfilesPage, ListConnectionProfilesFixedSizeCollection> { public static ApiFuture createAsync( PageContext< @@ -3590,9 +3587,7 @@ private ListConnectionProfilesPagedResponse(ListConnectionProfilesPage page) { public static class ListConnectionProfilesPage extends AbstractPage< - ListConnectionProfilesRequest, - ListConnectionProfilesResponse, - ConnectionProfile, + ListConnectionProfilesRequest, ListConnectionProfilesResponse, ConnectionProfile, ListConnectionProfilesPage> { private ListConnectionProfilesPage( @@ -3628,11 +3623,8 @@ public ApiFuture createPageAsync( public static class ListConnectionProfilesFixedSizeCollection extends AbstractFixedSizeCollection< - ListConnectionProfilesRequest, - ListConnectionProfilesResponse, - ConnectionProfile, - ListConnectionProfilesPage, - ListConnectionProfilesFixedSizeCollection> { + ListConnectionProfilesRequest, ListConnectionProfilesResponse, ConnectionProfile, + ListConnectionProfilesPage, ListConnectionProfilesFixedSizeCollection> { private ListConnectionProfilesFixedSizeCollection( List pages, int collectionSize) { @@ -3652,10 +3644,7 @@ protected ListConnectionProfilesFixedSizeCollection createCollection( public static class ListStreamsPagedResponse extends AbstractPagedListResponse< - ListStreamsRequest, - ListStreamsResponse, - Stream, - ListStreamsPage, + ListStreamsRequest, ListStreamsResponse, Stream, ListStreamsPage, ListStreamsFixedSizeCollection> { public static ApiFuture createAsync( @@ -3702,10 +3691,7 @@ public ApiFuture createPageAsync( public static class ListStreamsFixedSizeCollection extends AbstractFixedSizeCollection< - ListStreamsRequest, - ListStreamsResponse, - Stream, - ListStreamsPage, + ListStreamsRequest, ListStreamsResponse, Stream, ListStreamsPage, ListStreamsFixedSizeCollection> { private ListStreamsFixedSizeCollection(List pages, int collectionSize) { @@ -3725,10 +3711,7 @@ protected ListStreamsFixedSizeCollection createCollection( public static class ListStreamObjectsPagedResponse extends AbstractPagedListResponse< - ListStreamObjectsRequest, - ListStreamObjectsResponse, - StreamObject, - ListStreamObjectsPage, + ListStreamObjectsRequest, ListStreamObjectsResponse, StreamObject, ListStreamObjectsPage, ListStreamObjectsFixedSizeCollection> { public static ApiFuture createAsync( @@ -3749,9 +3732,7 @@ private ListStreamObjectsPagedResponse(ListStreamObjectsPage page) { public static class ListStreamObjectsPage extends AbstractPage< - ListStreamObjectsRequest, - ListStreamObjectsResponse, - StreamObject, + ListStreamObjectsRequest, ListStreamObjectsResponse, StreamObject, ListStreamObjectsPage> { private ListStreamObjectsPage( @@ -3781,10 +3762,7 @@ public ApiFuture createPageAsync( public static class ListStreamObjectsFixedSizeCollection extends AbstractFixedSizeCollection< - ListStreamObjectsRequest, - ListStreamObjectsResponse, - StreamObject, - ListStreamObjectsPage, + ListStreamObjectsRequest, ListStreamObjectsResponse, StreamObject, ListStreamObjectsPage, ListStreamObjectsFixedSizeCollection> { private ListStreamObjectsFixedSizeCollection( @@ -3805,10 +3783,7 @@ protected ListStreamObjectsFixedSizeCollection createCollection( public static class FetchStaticIpsPagedResponse extends AbstractPagedListResponse< - FetchStaticIpsRequest, - FetchStaticIpsResponse, - String, - FetchStaticIpsPage, + FetchStaticIpsRequest, FetchStaticIpsResponse, String, FetchStaticIpsPage, FetchStaticIpsFixedSizeCollection> { public static ApiFuture createAsync( @@ -3858,10 +3833,7 @@ public ApiFuture createPageAsync( public static class FetchStaticIpsFixedSizeCollection extends AbstractFixedSizeCollection< - FetchStaticIpsRequest, - FetchStaticIpsResponse, - String, - FetchStaticIpsPage, + FetchStaticIpsRequest, FetchStaticIpsResponse, String, FetchStaticIpsPage, FetchStaticIpsFixedSizeCollection> { private FetchStaticIpsFixedSizeCollection(List pages, int collectionSize) { @@ -3881,11 +3853,8 @@ protected FetchStaticIpsFixedSizeCollection createCollection( public static class ListPrivateConnectionsPagedResponse extends AbstractPagedListResponse< - ListPrivateConnectionsRequest, - ListPrivateConnectionsResponse, - PrivateConnection, - ListPrivateConnectionsPage, - ListPrivateConnectionsFixedSizeCollection> { + ListPrivateConnectionsRequest, ListPrivateConnectionsResponse, PrivateConnection, + ListPrivateConnectionsPage, ListPrivateConnectionsFixedSizeCollection> { public static ApiFuture createAsync( PageContext< @@ -3907,9 +3876,7 @@ private ListPrivateConnectionsPagedResponse(ListPrivateConnectionsPage page) { public static class ListPrivateConnectionsPage extends AbstractPage< - ListPrivateConnectionsRequest, - ListPrivateConnectionsResponse, - PrivateConnection, + ListPrivateConnectionsRequest, ListPrivateConnectionsResponse, PrivateConnection, ListPrivateConnectionsPage> { private ListPrivateConnectionsPage( @@ -3945,11 +3912,8 @@ public ApiFuture createPageAsync( public static class ListPrivateConnectionsFixedSizeCollection extends AbstractFixedSizeCollection< - ListPrivateConnectionsRequest, - ListPrivateConnectionsResponse, - PrivateConnection, - ListPrivateConnectionsPage, - ListPrivateConnectionsFixedSizeCollection> { + ListPrivateConnectionsRequest, ListPrivateConnectionsResponse, PrivateConnection, + ListPrivateConnectionsPage, ListPrivateConnectionsFixedSizeCollection> { private ListPrivateConnectionsFixedSizeCollection( List pages, int collectionSize) { @@ -3969,10 +3933,7 @@ protected ListPrivateConnectionsFixedSizeCollection createCollection( public static class ListRoutesPagedResponse extends AbstractPagedListResponse< - ListRoutesRequest, - ListRoutesResponse, - Route, - ListRoutesPage, + ListRoutesRequest, ListRoutesResponse, Route, ListRoutesPage, ListRoutesFixedSizeCollection> { public static ApiFuture createAsync( @@ -4019,10 +3980,7 @@ public ApiFuture createPageAsync( public static class ListRoutesFixedSizeCollection extends AbstractFixedSizeCollection< - ListRoutesRequest, - ListRoutesResponse, - Route, - ListRoutesPage, + ListRoutesRequest, ListRoutesResponse, Route, ListRoutesPage, ListRoutesFixedSizeCollection> { private ListRoutesFixedSizeCollection(List pages, int collectionSize) { @@ -4042,10 +4000,7 @@ protected ListRoutesFixedSizeCollection createCollection( public static class ListLocationsPagedResponse extends AbstractPagedListResponse< - ListLocationsRequest, - ListLocationsResponse, - Location, - ListLocationsPage, + ListLocationsRequest, ListLocationsResponse, Location, ListLocationsPage, ListLocationsFixedSizeCollection> { public static ApiFuture createAsync( @@ -4095,10 +4050,7 @@ public ApiFuture createPageAsync( public static class ListLocationsFixedSizeCollection extends AbstractFixedSizeCollection< - ListLocationsRequest, - ListLocationsResponse, - Location, - ListLocationsPage, + ListLocationsRequest, ListLocationsResponse, Location, ListLocationsPage, ListLocationsFixedSizeCollection> { private ListLocationsFixedSizeCollection(List pages, int collectionSize) { diff --git a/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/DatastreamSettings.java b/owl-bot-staging/v1/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/DatastreamSettings.java similarity index 97% rename from google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/DatastreamSettings.java rename to owl-bot-staging/v1/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/DatastreamSettings.java index c300817a..f7262b1a 100644 --- a/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/DatastreamSettings.java +++ b/owl-bot-staging/v1/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/DatastreamSettings.java @@ -35,6 +35,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.datastream.v1.stub.DatastreamStubSettings; @@ -55,9 +56,9 @@ *

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

    - *
  • The default service address (datastream.googleapis.com) and default port (443) are used. - *
  • Credentials are acquired automatically through Application Default Credentials. - *
  • Retries are configured for idempotent methods but not for non-idempotent methods. + *
  • The default service address (datastream.googleapis.com) and default port (443) are used. + *
  • Credentials are acquired automatically through Application Default Credentials. + *
  • Retries are configured for idempotent methods but not for non-idempotent methods. *
* *

The builder of this class is recursive, so contained classes are themselves builders. When @@ -86,8 +87,7 @@ public class DatastreamSettings extends ClientSettings { /** Returns the object with the settings used for calls to listConnectionProfiles. */ public PagedCallSettings< - ListConnectionProfilesRequest, - ListConnectionProfilesResponse, + ListConnectionProfilesRequest, ListConnectionProfilesResponse, ListConnectionProfilesPagedResponse> listConnectionProfilesSettings() { return ((DatastreamStubSettings) getStubSettings()).listConnectionProfilesSettings(); @@ -241,8 +241,7 @@ public UnaryCallSettings lookupStreamOb /** Returns the object with the settings used for calls to listPrivateConnections. */ public PagedCallSettings< - ListPrivateConnectionsRequest, - ListPrivateConnectionsResponse, + ListPrivateConnectionsRequest, ListPrivateConnectionsResponse, ListPrivateConnectionsPagedResponse> listPrivateConnectionsSettings() { return ((DatastreamStubSettings) getStubSettings()).listPrivateConnectionsSettings(); @@ -420,8 +419,7 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to listConnectionProfiles. */ public PagedCallSettings.Builder< - ListConnectionProfilesRequest, - ListConnectionProfilesResponse, + ListConnectionProfilesRequest, ListConnectionProfilesResponse, ListConnectionProfilesPagedResponse> listConnectionProfilesSettings() { return getStubSettingsBuilder().listConnectionProfilesSettings(); @@ -582,8 +580,7 @@ public UnaryCallSettings.Builder deleteStreamSet /** Returns the builder for the settings used for calls to listPrivateConnections. */ public PagedCallSettings.Builder< - ListPrivateConnectionsRequest, - ListPrivateConnectionsResponse, + ListPrivateConnectionsRequest, ListPrivateConnectionsResponse, ListPrivateConnectionsPagedResponse> listPrivateConnectionsSettings() { return getStubSettingsBuilder().listPrivateConnectionsSettings(); diff --git a/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/gapic_metadata.json b/owl-bot-staging/v1/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/gapic_metadata.json similarity index 100% rename from google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/gapic_metadata.json rename to owl-bot-staging/v1/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/gapic_metadata.json diff --git a/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/package-info.java b/owl-bot-staging/v1/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/package-info.java similarity index 100% rename from google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/package-info.java rename to owl-bot-staging/v1/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/package-info.java diff --git a/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/stub/DatastreamStub.java b/owl-bot-staging/v1/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/stub/DatastreamStub.java similarity index 100% rename from google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/stub/DatastreamStub.java rename to owl-bot-staging/v1/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/stub/DatastreamStub.java diff --git a/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/stub/DatastreamStubSettings.java b/owl-bot-staging/v1/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/stub/DatastreamStubSettings.java similarity index 98% rename from google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/stub/DatastreamStubSettings.java rename to owl-bot-staging/v1/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/stub/DatastreamStubSettings.java index 6114d9a9..7d2bde58 100644 --- a/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/stub/DatastreamStubSettings.java +++ b/owl-bot-staging/v1/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/stub/DatastreamStubSettings.java @@ -115,9 +115,9 @@ *

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

    - *
  • The default service address (datastream.googleapis.com) and default port (443) are used. - *
  • Credentials are acquired automatically through Application Default Credentials. - *
  • Retries are configured for idempotent methods but not for non-idempotent methods. + *
  • The default service address (datastream.googleapis.com) and default port (443) are used. + *
  • Credentials are acquired automatically through Application Default Credentials. + *
  • Retries are configured for idempotent methods but not for non-idempotent methods. *
* *

The builder of this class is recursive, so contained classes are themselves builders. When @@ -148,8 +148,7 @@ public class DatastreamStubSettings extends StubSettings ImmutableList.builder().add("https://www.googleapis.com/auth/cloud-platform").build(); private final PagedCallSettings< - ListConnectionProfilesRequest, - ListConnectionProfilesResponse, + ListConnectionProfilesRequest, ListConnectionProfilesResponse, ListConnectionProfilesPagedResponse> listConnectionProfilesSettings; private final UnaryCallSettings @@ -204,8 +203,7 @@ public class DatastreamStubSettings extends StubSettings private final UnaryCallSettings getPrivateConnectionSettings; private final PagedCallSettings< - ListPrivateConnectionsRequest, - ListPrivateConnectionsResponse, + ListPrivateConnectionsRequest, ListPrivateConnectionsResponse, ListPrivateConnectionsPagedResponse> listPrivateConnectionsSettings; private final UnaryCallSettings @@ -498,13 +496,11 @@ public Iterable extractResources(ListLocationsResponse payload) { }; private static final PagedListResponseFactory< - ListConnectionProfilesRequest, - ListConnectionProfilesResponse, + ListConnectionProfilesRequest, ListConnectionProfilesResponse, ListConnectionProfilesPagedResponse> LIST_CONNECTION_PROFILES_PAGE_STR_FACT = new PagedListResponseFactory< - ListConnectionProfilesRequest, - ListConnectionProfilesResponse, + ListConnectionProfilesRequest, ListConnectionProfilesResponse, ListConnectionProfilesPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -514,8 +510,7 @@ public ApiFuture getFuturePagedResponse( ApiCallContext context, ApiFuture futureResponse) { PageContext< - ListConnectionProfilesRequest, - ListConnectionProfilesResponse, + ListConnectionProfilesRequest, ListConnectionProfilesResponse, ConnectionProfile> pageContext = PageContext.create( @@ -545,8 +540,7 @@ public ApiFuture getFuturePagedResponse( ListStreamObjectsRequest, ListStreamObjectsResponse, ListStreamObjectsPagedResponse> LIST_STREAM_OBJECTS_PAGE_STR_FACT = new PagedListResponseFactory< - ListStreamObjectsRequest, - ListStreamObjectsResponse, + ListStreamObjectsRequest, ListStreamObjectsResponse, ListStreamObjectsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -580,13 +574,11 @@ public ApiFuture getFuturePagedResponse( }; private static final PagedListResponseFactory< - ListPrivateConnectionsRequest, - ListPrivateConnectionsResponse, + ListPrivateConnectionsRequest, ListPrivateConnectionsResponse, ListPrivateConnectionsPagedResponse> LIST_PRIVATE_CONNECTIONS_PAGE_STR_FACT = new PagedListResponseFactory< - ListPrivateConnectionsRequest, - ListPrivateConnectionsResponse, + ListPrivateConnectionsRequest, ListPrivateConnectionsResponse, ListPrivateConnectionsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -596,8 +588,7 @@ public ApiFuture getFuturePagedResponse( ApiCallContext context, ApiFuture futureResponse) { PageContext< - ListPrivateConnectionsRequest, - ListPrivateConnectionsResponse, + ListPrivateConnectionsRequest, ListPrivateConnectionsResponse, PrivateConnection> pageContext = PageContext.create( @@ -642,8 +633,7 @@ public ApiFuture getFuturePagedResponse( /** Returns the object with the settings used for calls to listConnectionProfiles. */ public PagedCallSettings< - ListConnectionProfilesRequest, - ListConnectionProfilesResponse, + ListConnectionProfilesRequest, ListConnectionProfilesResponse, ListConnectionProfilesPagedResponse> listConnectionProfilesSettings() { return listConnectionProfilesSettings; @@ -797,8 +787,7 @@ public UnaryCallSettings lookupStreamOb /** Returns the object with the settings used for calls to listPrivateConnections. */ public PagedCallSettings< - ListPrivateConnectionsRequest, - ListPrivateConnectionsResponse, + ListPrivateConnectionsRequest, ListPrivateConnectionsResponse, ListPrivateConnectionsPagedResponse> listPrivateConnectionsSettings() { return listPrivateConnectionsSettings; @@ -1014,8 +1003,7 @@ protected DatastreamStubSettings(Builder settingsBuilder) throws IOException { public static class Builder extends StubSettings.Builder { private final ImmutableList> unaryMethodSettingsBuilders; private final PagedCallSettings.Builder< - ListConnectionProfilesRequest, - ListConnectionProfilesResponse, + ListConnectionProfilesRequest, ListConnectionProfilesResponse, ListConnectionProfilesPagedResponse> listConnectionProfilesSettings; private final UnaryCallSettings.Builder @@ -1073,8 +1061,7 @@ public static class Builder extends StubSettings.Builder getPrivateConnectionSettings; private final PagedCallSettings.Builder< - ListPrivateConnectionsRequest, - ListPrivateConnectionsResponse, + ListPrivateConnectionsRequest, ListPrivateConnectionsResponse, ListPrivateConnectionsPagedResponse> listPrivateConnectionsSettings; private final UnaryCallSettings.Builder @@ -1713,8 +1700,7 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to listConnectionProfiles. */ public PagedCallSettings.Builder< - ListConnectionProfilesRequest, - ListConnectionProfilesResponse, + ListConnectionProfilesRequest, ListConnectionProfilesResponse, ListConnectionProfilesPagedResponse> listConnectionProfilesSettings() { return listConnectionProfilesSettings; @@ -1889,8 +1875,7 @@ public UnaryCallSettings.Builder deleteStreamSet /** Returns the builder for the settings used for calls to listPrivateConnections. */ public PagedCallSettings.Builder< - ListPrivateConnectionsRequest, - ListPrivateConnectionsResponse, + ListPrivateConnectionsRequest, ListPrivateConnectionsResponse, ListPrivateConnectionsPagedResponse> listPrivateConnectionsSettings() { return listPrivateConnectionsSettings; diff --git a/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/stub/GrpcDatastreamCallableFactory.java b/owl-bot-staging/v1/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/stub/GrpcDatastreamCallableFactory.java similarity index 100% rename from google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/stub/GrpcDatastreamCallableFactory.java rename to owl-bot-staging/v1/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/stub/GrpcDatastreamCallableFactory.java diff --git a/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/stub/GrpcDatastreamStub.java b/owl-bot-staging/v1/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/stub/GrpcDatastreamStub.java similarity index 99% rename from google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/stub/GrpcDatastreamStub.java rename to owl-bot-staging/v1/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/stub/GrpcDatastreamStub.java index 35aae842..0bb962fa 100644 --- a/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/stub/GrpcDatastreamStub.java +++ b/owl-bot-staging/v1/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/stub/GrpcDatastreamStub.java @@ -82,6 +82,7 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; +import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/stub/HttpJsonDatastreamCallableFactory.java b/owl-bot-staging/v1/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/stub/HttpJsonDatastreamCallableFactory.java similarity index 100% rename from google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/stub/HttpJsonDatastreamCallableFactory.java rename to owl-bot-staging/v1/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/stub/HttpJsonDatastreamCallableFactory.java diff --git a/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/stub/HttpJsonDatastreamStub.java b/owl-bot-staging/v1/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/stub/HttpJsonDatastreamStub.java similarity index 99% rename from google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/stub/HttpJsonDatastreamStub.java rename to owl-bot-staging/v1/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/stub/HttpJsonDatastreamStub.java index 93b28d2e..5500115e 100644 --- a/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/stub/HttpJsonDatastreamStub.java +++ b/owl-bot-staging/v1/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/stub/HttpJsonDatastreamStub.java @@ -36,6 +36,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/google-cloud-datastream/src/test/java/com/google/cloud/datastream/v1/DatastreamClientHttpJsonTest.java b/owl-bot-staging/v1/google-cloud-datastream/src/test/java/com/google/cloud/datastream/v1/DatastreamClientHttpJsonTest.java similarity index 100% rename from google-cloud-datastream/src/test/java/com/google/cloud/datastream/v1/DatastreamClientHttpJsonTest.java rename to owl-bot-staging/v1/google-cloud-datastream/src/test/java/com/google/cloud/datastream/v1/DatastreamClientHttpJsonTest.java diff --git a/google-cloud-datastream/src/test/java/com/google/cloud/datastream/v1/DatastreamClientTest.java b/owl-bot-staging/v1/google-cloud-datastream/src/test/java/com/google/cloud/datastream/v1/DatastreamClientTest.java similarity index 99% rename from google-cloud-datastream/src/test/java/com/google/cloud/datastream/v1/DatastreamClientTest.java rename to owl-bot-staging/v1/google-cloud-datastream/src/test/java/com/google/cloud/datastream/v1/DatastreamClientTest.java index aab64675..28a3ac7c 100644 --- a/google-cloud-datastream/src/test/java/com/google/cloud/datastream/v1/DatastreamClientTest.java +++ b/owl-bot-staging/v1/google-cloud-datastream/src/test/java/com/google/cloud/datastream/v1/DatastreamClientTest.java @@ -62,6 +62,7 @@ @Generated("by gapic-generator-java") public class DatastreamClientTest { private static MockDatastream mockDatastream; + private static MockIAMPolicy mockIAMPolicy; private static MockLocations mockLocations; private static MockServiceHelper mockServiceHelper; private LocalChannelProvider channelProvider; @@ -71,10 +72,11 @@ public class DatastreamClientTest { public static void startStaticServer() { mockDatastream = new MockDatastream(); mockLocations = new MockLocations(); + mockIAMPolicy = new MockIAMPolicy(); mockServiceHelper = new MockServiceHelper( UUID.randomUUID().toString(), - Arrays.asList(mockDatastream, mockLocations)); + Arrays.asList(mockDatastream, mockLocations, mockIAMPolicy)); mockServiceHelper.start(); } @@ -574,6 +576,7 @@ public void discoverConnectionProfileTest() throws Exception { Assert.assertEquals(request.getHierarchyDepth(), actualRequest.getHierarchyDepth()); Assert.assertEquals(request.getOracleRdbms(), actualRequest.getOracleRdbms()); Assert.assertEquals(request.getMysqlRdbms(), actualRequest.getMysqlRdbms()); + Assert.assertEquals(request.getPostgresqlRdbms(), actualRequest.getPostgresqlRdbms()); Assert.assertTrue( channelProvider.isHeaderSent( ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), diff --git a/google-cloud-datastream/src/test/java/com/google/cloud/datastream/v1/MockDatastream.java b/owl-bot-staging/v1/google-cloud-datastream/src/test/java/com/google/cloud/datastream/v1/MockDatastream.java similarity index 100% rename from google-cloud-datastream/src/test/java/com/google/cloud/datastream/v1/MockDatastream.java rename to owl-bot-staging/v1/google-cloud-datastream/src/test/java/com/google/cloud/datastream/v1/MockDatastream.java diff --git a/google-cloud-datastream/src/test/java/com/google/cloud/datastream/v1/MockDatastreamImpl.java b/owl-bot-staging/v1/google-cloud-datastream/src/test/java/com/google/cloud/datastream/v1/MockDatastreamImpl.java similarity index 100% rename from google-cloud-datastream/src/test/java/com/google/cloud/datastream/v1/MockDatastreamImpl.java rename to owl-bot-staging/v1/google-cloud-datastream/src/test/java/com/google/cloud/datastream/v1/MockDatastreamImpl.java diff --git a/owl-bot-staging/v1/google-cloud-datastream/src/test/java/com/google/cloud/datastream/v1/MockIAMPolicy.java b/owl-bot-staging/v1/google-cloud-datastream/src/test/java/com/google/cloud/datastream/v1/MockIAMPolicy.java new file mode 100644 index 00000000..bb2fd718 --- /dev/null +++ b/owl-bot-staging/v1/google-cloud-datastream/src/test/java/com/google/cloud/datastream/v1/MockIAMPolicy.java @@ -0,0 +1,59 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.datastream.v1; + +import com.google.api.core.BetaApi; +import com.google.api.gax.grpc.testing.MockGrpcService; +import com.google.protobuf.AbstractMessage; +import io.grpc.ServerServiceDefinition; +import java.util.List; +import javax.annotation.Generated; + +@BetaApi +@Generated("by gapic-generator-java") +public class MockIAMPolicy implements MockGrpcService { + private final MockIAMPolicyImpl serviceImpl; + + public MockIAMPolicy() { + serviceImpl = new MockIAMPolicyImpl(); + } + + @Override + public List getRequests() { + return serviceImpl.getRequests(); + } + + @Override + public void addResponse(AbstractMessage response) { + serviceImpl.addResponse(response); + } + + @Override + public void addException(Exception exception) { + serviceImpl.addException(exception); + } + + @Override + public ServerServiceDefinition getServiceDefinition() { + return serviceImpl.bindService(); + } + + @Override + public void reset() { + serviceImpl.reset(); + } +} diff --git a/owl-bot-staging/v1/google-cloud-datastream/src/test/java/com/google/cloud/datastream/v1/MockIAMPolicyImpl.java b/owl-bot-staging/v1/google-cloud-datastream/src/test/java/com/google/cloud/datastream/v1/MockIAMPolicyImpl.java new file mode 100644 index 00000000..a50601d2 --- /dev/null +++ b/owl-bot-staging/v1/google-cloud-datastream/src/test/java/com/google/cloud/datastream/v1/MockIAMPolicyImpl.java @@ -0,0 +1,59 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.datastream.v1; + +import com.google.api.core.BetaApi; +import com.google.iam.v1.IAMPolicyGrpc.IAMPolicyImplBase; +import com.google.protobuf.AbstractMessage; +import java.util.ArrayList; +import java.util.LinkedList; +import java.util.List; +import java.util.Queue; +import javax.annotation.Generated; + +@BetaApi +@Generated("by gapic-generator-java") +public class MockIAMPolicyImpl extends IAMPolicyImplBase { + private List requests; + private Queue responses; + + public MockIAMPolicyImpl() { + requests = new ArrayList<>(); + responses = new LinkedList<>(); + } + + public List getRequests() { + return requests; + } + + public void addResponse(AbstractMessage response) { + responses.add(response); + } + + public void setResponses(List responses) { + this.responses = new LinkedList(responses); + } + + public void addException(Exception exception) { + responses.add(exception); + } + + public void reset() { + requests = new ArrayList<>(); + responses = new LinkedList<>(); + } +} diff --git a/google-cloud-datastream/src/test/java/com/google/cloud/datastream/v1/MockLocations.java b/owl-bot-staging/v1/google-cloud-datastream/src/test/java/com/google/cloud/datastream/v1/MockLocations.java similarity index 100% rename from google-cloud-datastream/src/test/java/com/google/cloud/datastream/v1/MockLocations.java rename to owl-bot-staging/v1/google-cloud-datastream/src/test/java/com/google/cloud/datastream/v1/MockLocations.java diff --git a/google-cloud-datastream/src/test/java/com/google/cloud/datastream/v1/MockLocationsImpl.java b/owl-bot-staging/v1/google-cloud-datastream/src/test/java/com/google/cloud/datastream/v1/MockLocationsImpl.java similarity index 100% rename from google-cloud-datastream/src/test/java/com/google/cloud/datastream/v1/MockLocationsImpl.java rename to owl-bot-staging/v1/google-cloud-datastream/src/test/java/com/google/cloud/datastream/v1/MockLocationsImpl.java diff --git a/owl-bot-staging/v1/grpc-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DatastreamGrpc.java b/owl-bot-staging/v1/grpc-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DatastreamGrpc.java new file mode 100644 index 00000000..87980183 --- /dev/null +++ b/owl-bot-staging/v1/grpc-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DatastreamGrpc.java @@ -0,0 +1,2399 @@ +package com.google.cloud.datastream.v1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + *
+ * Datastream service
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/datastream/v1/datastream.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class DatastreamGrpc { + + private DatastreamGrpc() {} + + public static final String SERVICE_NAME = "google.cloud.datastream.v1.Datastream"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor getListConnectionProfilesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListConnectionProfiles", + requestType = com.google.cloud.datastream.v1.ListConnectionProfilesRequest.class, + responseType = com.google.cloud.datastream.v1.ListConnectionProfilesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListConnectionProfilesMethod() { + io.grpc.MethodDescriptor getListConnectionProfilesMethod; + if ((getListConnectionProfilesMethod = DatastreamGrpc.getListConnectionProfilesMethod) == null) { + synchronized (DatastreamGrpc.class) { + if ((getListConnectionProfilesMethod = DatastreamGrpc.getListConnectionProfilesMethod) == null) { + DatastreamGrpc.getListConnectionProfilesMethod = getListConnectionProfilesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListConnectionProfiles")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datastream.v1.ListConnectionProfilesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datastream.v1.ListConnectionProfilesResponse.getDefaultInstance())) + .setSchemaDescriptor(new DatastreamMethodDescriptorSupplier("ListConnectionProfiles")) + .build(); + } + } + } + return getListConnectionProfilesMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetConnectionProfileMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetConnectionProfile", + requestType = com.google.cloud.datastream.v1.GetConnectionProfileRequest.class, + responseType = com.google.cloud.datastream.v1.ConnectionProfile.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetConnectionProfileMethod() { + io.grpc.MethodDescriptor getGetConnectionProfileMethod; + if ((getGetConnectionProfileMethod = DatastreamGrpc.getGetConnectionProfileMethod) == null) { + synchronized (DatastreamGrpc.class) { + if ((getGetConnectionProfileMethod = DatastreamGrpc.getGetConnectionProfileMethod) == null) { + DatastreamGrpc.getGetConnectionProfileMethod = getGetConnectionProfileMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetConnectionProfile")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datastream.v1.GetConnectionProfileRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datastream.v1.ConnectionProfile.getDefaultInstance())) + .setSchemaDescriptor(new DatastreamMethodDescriptorSupplier("GetConnectionProfile")) + .build(); + } + } + } + return getGetConnectionProfileMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateConnectionProfileMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateConnectionProfile", + requestType = com.google.cloud.datastream.v1.CreateConnectionProfileRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateConnectionProfileMethod() { + io.grpc.MethodDescriptor getCreateConnectionProfileMethod; + if ((getCreateConnectionProfileMethod = DatastreamGrpc.getCreateConnectionProfileMethod) == null) { + synchronized (DatastreamGrpc.class) { + if ((getCreateConnectionProfileMethod = DatastreamGrpc.getCreateConnectionProfileMethod) == null) { + DatastreamGrpc.getCreateConnectionProfileMethod = getCreateConnectionProfileMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateConnectionProfile")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datastream.v1.CreateConnectionProfileRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DatastreamMethodDescriptorSupplier("CreateConnectionProfile")) + .build(); + } + } + } + return getCreateConnectionProfileMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateConnectionProfileMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateConnectionProfile", + requestType = com.google.cloud.datastream.v1.UpdateConnectionProfileRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateConnectionProfileMethod() { + io.grpc.MethodDescriptor getUpdateConnectionProfileMethod; + if ((getUpdateConnectionProfileMethod = DatastreamGrpc.getUpdateConnectionProfileMethod) == null) { + synchronized (DatastreamGrpc.class) { + if ((getUpdateConnectionProfileMethod = DatastreamGrpc.getUpdateConnectionProfileMethod) == null) { + DatastreamGrpc.getUpdateConnectionProfileMethod = getUpdateConnectionProfileMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateConnectionProfile")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datastream.v1.UpdateConnectionProfileRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DatastreamMethodDescriptorSupplier("UpdateConnectionProfile")) + .build(); + } + } + } + return getUpdateConnectionProfileMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteConnectionProfileMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteConnectionProfile", + requestType = com.google.cloud.datastream.v1.DeleteConnectionProfileRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteConnectionProfileMethod() { + io.grpc.MethodDescriptor getDeleteConnectionProfileMethod; + if ((getDeleteConnectionProfileMethod = DatastreamGrpc.getDeleteConnectionProfileMethod) == null) { + synchronized (DatastreamGrpc.class) { + if ((getDeleteConnectionProfileMethod = DatastreamGrpc.getDeleteConnectionProfileMethod) == null) { + DatastreamGrpc.getDeleteConnectionProfileMethod = getDeleteConnectionProfileMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteConnectionProfile")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datastream.v1.DeleteConnectionProfileRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DatastreamMethodDescriptorSupplier("DeleteConnectionProfile")) + .build(); + } + } + } + return getDeleteConnectionProfileMethod; + } + + private static volatile io.grpc.MethodDescriptor getDiscoverConnectionProfileMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DiscoverConnectionProfile", + requestType = com.google.cloud.datastream.v1.DiscoverConnectionProfileRequest.class, + responseType = com.google.cloud.datastream.v1.DiscoverConnectionProfileResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDiscoverConnectionProfileMethod() { + io.grpc.MethodDescriptor getDiscoverConnectionProfileMethod; + if ((getDiscoverConnectionProfileMethod = DatastreamGrpc.getDiscoverConnectionProfileMethod) == null) { + synchronized (DatastreamGrpc.class) { + if ((getDiscoverConnectionProfileMethod = DatastreamGrpc.getDiscoverConnectionProfileMethod) == null) { + DatastreamGrpc.getDiscoverConnectionProfileMethod = getDiscoverConnectionProfileMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DiscoverConnectionProfile")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datastream.v1.DiscoverConnectionProfileRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datastream.v1.DiscoverConnectionProfileResponse.getDefaultInstance())) + .setSchemaDescriptor(new DatastreamMethodDescriptorSupplier("DiscoverConnectionProfile")) + .build(); + } + } + } + return getDiscoverConnectionProfileMethod; + } + + private static volatile io.grpc.MethodDescriptor getListStreamsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListStreams", + requestType = com.google.cloud.datastream.v1.ListStreamsRequest.class, + responseType = com.google.cloud.datastream.v1.ListStreamsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListStreamsMethod() { + io.grpc.MethodDescriptor getListStreamsMethod; + if ((getListStreamsMethod = DatastreamGrpc.getListStreamsMethod) == null) { + synchronized (DatastreamGrpc.class) { + if ((getListStreamsMethod = DatastreamGrpc.getListStreamsMethod) == null) { + DatastreamGrpc.getListStreamsMethod = getListStreamsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListStreams")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datastream.v1.ListStreamsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datastream.v1.ListStreamsResponse.getDefaultInstance())) + .setSchemaDescriptor(new DatastreamMethodDescriptorSupplier("ListStreams")) + .build(); + } + } + } + return getListStreamsMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetStreamMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetStream", + requestType = com.google.cloud.datastream.v1.GetStreamRequest.class, + responseType = com.google.cloud.datastream.v1.Stream.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetStreamMethod() { + io.grpc.MethodDescriptor getGetStreamMethod; + if ((getGetStreamMethod = DatastreamGrpc.getGetStreamMethod) == null) { + synchronized (DatastreamGrpc.class) { + if ((getGetStreamMethod = DatastreamGrpc.getGetStreamMethod) == null) { + DatastreamGrpc.getGetStreamMethod = getGetStreamMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetStream")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datastream.v1.GetStreamRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datastream.v1.Stream.getDefaultInstance())) + .setSchemaDescriptor(new DatastreamMethodDescriptorSupplier("GetStream")) + .build(); + } + } + } + return getGetStreamMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateStreamMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateStream", + requestType = com.google.cloud.datastream.v1.CreateStreamRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateStreamMethod() { + io.grpc.MethodDescriptor getCreateStreamMethod; + if ((getCreateStreamMethod = DatastreamGrpc.getCreateStreamMethod) == null) { + synchronized (DatastreamGrpc.class) { + if ((getCreateStreamMethod = DatastreamGrpc.getCreateStreamMethod) == null) { + DatastreamGrpc.getCreateStreamMethod = getCreateStreamMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateStream")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datastream.v1.CreateStreamRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DatastreamMethodDescriptorSupplier("CreateStream")) + .build(); + } + } + } + return getCreateStreamMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateStreamMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateStream", + requestType = com.google.cloud.datastream.v1.UpdateStreamRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateStreamMethod() { + io.grpc.MethodDescriptor getUpdateStreamMethod; + if ((getUpdateStreamMethod = DatastreamGrpc.getUpdateStreamMethod) == null) { + synchronized (DatastreamGrpc.class) { + if ((getUpdateStreamMethod = DatastreamGrpc.getUpdateStreamMethod) == null) { + DatastreamGrpc.getUpdateStreamMethod = getUpdateStreamMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateStream")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datastream.v1.UpdateStreamRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DatastreamMethodDescriptorSupplier("UpdateStream")) + .build(); + } + } + } + return getUpdateStreamMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteStreamMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteStream", + requestType = com.google.cloud.datastream.v1.DeleteStreamRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteStreamMethod() { + io.grpc.MethodDescriptor getDeleteStreamMethod; + if ((getDeleteStreamMethod = DatastreamGrpc.getDeleteStreamMethod) == null) { + synchronized (DatastreamGrpc.class) { + if ((getDeleteStreamMethod = DatastreamGrpc.getDeleteStreamMethod) == null) { + DatastreamGrpc.getDeleteStreamMethod = getDeleteStreamMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteStream")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datastream.v1.DeleteStreamRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DatastreamMethodDescriptorSupplier("DeleteStream")) + .build(); + } + } + } + return getDeleteStreamMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetStreamObjectMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetStreamObject", + requestType = com.google.cloud.datastream.v1.GetStreamObjectRequest.class, + responseType = com.google.cloud.datastream.v1.StreamObject.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetStreamObjectMethod() { + io.grpc.MethodDescriptor getGetStreamObjectMethod; + if ((getGetStreamObjectMethod = DatastreamGrpc.getGetStreamObjectMethod) == null) { + synchronized (DatastreamGrpc.class) { + if ((getGetStreamObjectMethod = DatastreamGrpc.getGetStreamObjectMethod) == null) { + DatastreamGrpc.getGetStreamObjectMethod = getGetStreamObjectMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetStreamObject")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datastream.v1.GetStreamObjectRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datastream.v1.StreamObject.getDefaultInstance())) + .setSchemaDescriptor(new DatastreamMethodDescriptorSupplier("GetStreamObject")) + .build(); + } + } + } + return getGetStreamObjectMethod; + } + + private static volatile io.grpc.MethodDescriptor getLookupStreamObjectMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "LookupStreamObject", + requestType = com.google.cloud.datastream.v1.LookupStreamObjectRequest.class, + responseType = com.google.cloud.datastream.v1.StreamObject.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getLookupStreamObjectMethod() { + io.grpc.MethodDescriptor getLookupStreamObjectMethod; + if ((getLookupStreamObjectMethod = DatastreamGrpc.getLookupStreamObjectMethod) == null) { + synchronized (DatastreamGrpc.class) { + if ((getLookupStreamObjectMethod = DatastreamGrpc.getLookupStreamObjectMethod) == null) { + DatastreamGrpc.getLookupStreamObjectMethod = getLookupStreamObjectMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "LookupStreamObject")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datastream.v1.LookupStreamObjectRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datastream.v1.StreamObject.getDefaultInstance())) + .setSchemaDescriptor(new DatastreamMethodDescriptorSupplier("LookupStreamObject")) + .build(); + } + } + } + return getLookupStreamObjectMethod; + } + + private static volatile io.grpc.MethodDescriptor getListStreamObjectsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListStreamObjects", + requestType = com.google.cloud.datastream.v1.ListStreamObjectsRequest.class, + responseType = com.google.cloud.datastream.v1.ListStreamObjectsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListStreamObjectsMethod() { + io.grpc.MethodDescriptor getListStreamObjectsMethod; + if ((getListStreamObjectsMethod = DatastreamGrpc.getListStreamObjectsMethod) == null) { + synchronized (DatastreamGrpc.class) { + if ((getListStreamObjectsMethod = DatastreamGrpc.getListStreamObjectsMethod) == null) { + DatastreamGrpc.getListStreamObjectsMethod = getListStreamObjectsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListStreamObjects")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datastream.v1.ListStreamObjectsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datastream.v1.ListStreamObjectsResponse.getDefaultInstance())) + .setSchemaDescriptor(new DatastreamMethodDescriptorSupplier("ListStreamObjects")) + .build(); + } + } + } + return getListStreamObjectsMethod; + } + + private static volatile io.grpc.MethodDescriptor getStartBackfillJobMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "StartBackfillJob", + requestType = com.google.cloud.datastream.v1.StartBackfillJobRequest.class, + responseType = com.google.cloud.datastream.v1.StartBackfillJobResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getStartBackfillJobMethod() { + io.grpc.MethodDescriptor getStartBackfillJobMethod; + if ((getStartBackfillJobMethod = DatastreamGrpc.getStartBackfillJobMethod) == null) { + synchronized (DatastreamGrpc.class) { + if ((getStartBackfillJobMethod = DatastreamGrpc.getStartBackfillJobMethod) == null) { + DatastreamGrpc.getStartBackfillJobMethod = getStartBackfillJobMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "StartBackfillJob")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datastream.v1.StartBackfillJobRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datastream.v1.StartBackfillJobResponse.getDefaultInstance())) + .setSchemaDescriptor(new DatastreamMethodDescriptorSupplier("StartBackfillJob")) + .build(); + } + } + } + return getStartBackfillJobMethod; + } + + private static volatile io.grpc.MethodDescriptor getStopBackfillJobMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "StopBackfillJob", + requestType = com.google.cloud.datastream.v1.StopBackfillJobRequest.class, + responseType = com.google.cloud.datastream.v1.StopBackfillJobResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getStopBackfillJobMethod() { + io.grpc.MethodDescriptor getStopBackfillJobMethod; + if ((getStopBackfillJobMethod = DatastreamGrpc.getStopBackfillJobMethod) == null) { + synchronized (DatastreamGrpc.class) { + if ((getStopBackfillJobMethod = DatastreamGrpc.getStopBackfillJobMethod) == null) { + DatastreamGrpc.getStopBackfillJobMethod = getStopBackfillJobMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "StopBackfillJob")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datastream.v1.StopBackfillJobRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datastream.v1.StopBackfillJobResponse.getDefaultInstance())) + .setSchemaDescriptor(new DatastreamMethodDescriptorSupplier("StopBackfillJob")) + .build(); + } + } + } + return getStopBackfillJobMethod; + } + + private static volatile io.grpc.MethodDescriptor getFetchStaticIpsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "FetchStaticIps", + requestType = com.google.cloud.datastream.v1.FetchStaticIpsRequest.class, + responseType = com.google.cloud.datastream.v1.FetchStaticIpsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getFetchStaticIpsMethod() { + io.grpc.MethodDescriptor getFetchStaticIpsMethod; + if ((getFetchStaticIpsMethod = DatastreamGrpc.getFetchStaticIpsMethod) == null) { + synchronized (DatastreamGrpc.class) { + if ((getFetchStaticIpsMethod = DatastreamGrpc.getFetchStaticIpsMethod) == null) { + DatastreamGrpc.getFetchStaticIpsMethod = getFetchStaticIpsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "FetchStaticIps")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datastream.v1.FetchStaticIpsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datastream.v1.FetchStaticIpsResponse.getDefaultInstance())) + .setSchemaDescriptor(new DatastreamMethodDescriptorSupplier("FetchStaticIps")) + .build(); + } + } + } + return getFetchStaticIpsMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreatePrivateConnectionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreatePrivateConnection", + requestType = com.google.cloud.datastream.v1.CreatePrivateConnectionRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreatePrivateConnectionMethod() { + io.grpc.MethodDescriptor getCreatePrivateConnectionMethod; + if ((getCreatePrivateConnectionMethod = DatastreamGrpc.getCreatePrivateConnectionMethod) == null) { + synchronized (DatastreamGrpc.class) { + if ((getCreatePrivateConnectionMethod = DatastreamGrpc.getCreatePrivateConnectionMethod) == null) { + DatastreamGrpc.getCreatePrivateConnectionMethod = getCreatePrivateConnectionMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreatePrivateConnection")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datastream.v1.CreatePrivateConnectionRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DatastreamMethodDescriptorSupplier("CreatePrivateConnection")) + .build(); + } + } + } + return getCreatePrivateConnectionMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetPrivateConnectionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetPrivateConnection", + requestType = com.google.cloud.datastream.v1.GetPrivateConnectionRequest.class, + responseType = com.google.cloud.datastream.v1.PrivateConnection.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetPrivateConnectionMethod() { + io.grpc.MethodDescriptor getGetPrivateConnectionMethod; + if ((getGetPrivateConnectionMethod = DatastreamGrpc.getGetPrivateConnectionMethod) == null) { + synchronized (DatastreamGrpc.class) { + if ((getGetPrivateConnectionMethod = DatastreamGrpc.getGetPrivateConnectionMethod) == null) { + DatastreamGrpc.getGetPrivateConnectionMethod = getGetPrivateConnectionMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetPrivateConnection")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datastream.v1.GetPrivateConnectionRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datastream.v1.PrivateConnection.getDefaultInstance())) + .setSchemaDescriptor(new DatastreamMethodDescriptorSupplier("GetPrivateConnection")) + .build(); + } + } + } + return getGetPrivateConnectionMethod; + } + + private static volatile io.grpc.MethodDescriptor getListPrivateConnectionsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListPrivateConnections", + requestType = com.google.cloud.datastream.v1.ListPrivateConnectionsRequest.class, + responseType = com.google.cloud.datastream.v1.ListPrivateConnectionsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListPrivateConnectionsMethod() { + io.grpc.MethodDescriptor getListPrivateConnectionsMethod; + if ((getListPrivateConnectionsMethod = DatastreamGrpc.getListPrivateConnectionsMethod) == null) { + synchronized (DatastreamGrpc.class) { + if ((getListPrivateConnectionsMethod = DatastreamGrpc.getListPrivateConnectionsMethod) == null) { + DatastreamGrpc.getListPrivateConnectionsMethod = getListPrivateConnectionsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListPrivateConnections")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datastream.v1.ListPrivateConnectionsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datastream.v1.ListPrivateConnectionsResponse.getDefaultInstance())) + .setSchemaDescriptor(new DatastreamMethodDescriptorSupplier("ListPrivateConnections")) + .build(); + } + } + } + return getListPrivateConnectionsMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeletePrivateConnectionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeletePrivateConnection", + requestType = com.google.cloud.datastream.v1.DeletePrivateConnectionRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeletePrivateConnectionMethod() { + io.grpc.MethodDescriptor getDeletePrivateConnectionMethod; + if ((getDeletePrivateConnectionMethod = DatastreamGrpc.getDeletePrivateConnectionMethod) == null) { + synchronized (DatastreamGrpc.class) { + if ((getDeletePrivateConnectionMethod = DatastreamGrpc.getDeletePrivateConnectionMethod) == null) { + DatastreamGrpc.getDeletePrivateConnectionMethod = getDeletePrivateConnectionMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeletePrivateConnection")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datastream.v1.DeletePrivateConnectionRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DatastreamMethodDescriptorSupplier("DeletePrivateConnection")) + .build(); + } + } + } + return getDeletePrivateConnectionMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateRouteMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateRoute", + requestType = com.google.cloud.datastream.v1.CreateRouteRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateRouteMethod() { + io.grpc.MethodDescriptor getCreateRouteMethod; + if ((getCreateRouteMethod = DatastreamGrpc.getCreateRouteMethod) == null) { + synchronized (DatastreamGrpc.class) { + if ((getCreateRouteMethod = DatastreamGrpc.getCreateRouteMethod) == null) { + DatastreamGrpc.getCreateRouteMethod = getCreateRouteMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateRoute")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datastream.v1.CreateRouteRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DatastreamMethodDescriptorSupplier("CreateRoute")) + .build(); + } + } + } + return getCreateRouteMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetRouteMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetRoute", + requestType = com.google.cloud.datastream.v1.GetRouteRequest.class, + responseType = com.google.cloud.datastream.v1.Route.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetRouteMethod() { + io.grpc.MethodDescriptor getGetRouteMethod; + if ((getGetRouteMethod = DatastreamGrpc.getGetRouteMethod) == null) { + synchronized (DatastreamGrpc.class) { + if ((getGetRouteMethod = DatastreamGrpc.getGetRouteMethod) == null) { + DatastreamGrpc.getGetRouteMethod = getGetRouteMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetRoute")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datastream.v1.GetRouteRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datastream.v1.Route.getDefaultInstance())) + .setSchemaDescriptor(new DatastreamMethodDescriptorSupplier("GetRoute")) + .build(); + } + } + } + return getGetRouteMethod; + } + + private static volatile io.grpc.MethodDescriptor getListRoutesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListRoutes", + requestType = com.google.cloud.datastream.v1.ListRoutesRequest.class, + responseType = com.google.cloud.datastream.v1.ListRoutesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListRoutesMethod() { + io.grpc.MethodDescriptor getListRoutesMethod; + if ((getListRoutesMethod = DatastreamGrpc.getListRoutesMethod) == null) { + synchronized (DatastreamGrpc.class) { + if ((getListRoutesMethod = DatastreamGrpc.getListRoutesMethod) == null) { + DatastreamGrpc.getListRoutesMethod = getListRoutesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListRoutes")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datastream.v1.ListRoutesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datastream.v1.ListRoutesResponse.getDefaultInstance())) + .setSchemaDescriptor(new DatastreamMethodDescriptorSupplier("ListRoutes")) + .build(); + } + } + } + return getListRoutesMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteRouteMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteRoute", + requestType = com.google.cloud.datastream.v1.DeleteRouteRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteRouteMethod() { + io.grpc.MethodDescriptor getDeleteRouteMethod; + if ((getDeleteRouteMethod = DatastreamGrpc.getDeleteRouteMethod) == null) { + synchronized (DatastreamGrpc.class) { + if ((getDeleteRouteMethod = DatastreamGrpc.getDeleteRouteMethod) == null) { + DatastreamGrpc.getDeleteRouteMethod = getDeleteRouteMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteRoute")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datastream.v1.DeleteRouteRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DatastreamMethodDescriptorSupplier("DeleteRoute")) + .build(); + } + } + } + return getDeleteRouteMethod; + } + + /** + * Creates a new async stub that supports all call types for the service + */ + public static DatastreamStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public DatastreamStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DatastreamStub(channel, callOptions); + } + }; + return DatastreamStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static DatastreamBlockingStub newBlockingStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public DatastreamBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DatastreamBlockingStub(channel, callOptions); + } + }; + return DatastreamBlockingStub.newStub(factory, channel); + } + + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static DatastreamFutureStub newFutureStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public DatastreamFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DatastreamFutureStub(channel, callOptions); + } + }; + return DatastreamFutureStub.newStub(factory, channel); + } + + /** + *
+   * Datastream service
+   * 
+ */ + public static abstract class DatastreamImplBase implements io.grpc.BindableService { + + /** + *
+     * Use this method to list connection profiles created in a project and
+     * location.
+     * 
+ */ + public void listConnectionProfiles(com.google.cloud.datastream.v1.ListConnectionProfilesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListConnectionProfilesMethod(), responseObserver); + } + + /** + *
+     * Use this method to get details about a connection profile.
+     * 
+ */ + public void getConnectionProfile(com.google.cloud.datastream.v1.GetConnectionProfileRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetConnectionProfileMethod(), responseObserver); + } + + /** + *
+     * Use this method to create a connection profile in a project and location.
+     * 
+ */ + public void createConnectionProfile(com.google.cloud.datastream.v1.CreateConnectionProfileRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateConnectionProfileMethod(), responseObserver); + } + + /** + *
+     * Use this method to update the parameters of a connection profile.
+     * 
+ */ + public void updateConnectionProfile(com.google.cloud.datastream.v1.UpdateConnectionProfileRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateConnectionProfileMethod(), responseObserver); + } + + /** + *
+     * Use this method to delete a connection profile.
+     * 
+ */ + public void deleteConnectionProfile(com.google.cloud.datastream.v1.DeleteConnectionProfileRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteConnectionProfileMethod(), responseObserver); + } + + /** + *
+     * Use this method to discover a connection profile.
+     * The discover API call exposes the data objects and metadata belonging to
+     * the profile. Typically, a request returns children data objects of a
+     * parent data object that's optionally supplied in the request.
+     * 
+ */ + public void discoverConnectionProfile(com.google.cloud.datastream.v1.DiscoverConnectionProfileRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDiscoverConnectionProfileMethod(), responseObserver); + } + + /** + *
+     * Use this method to list streams in a project and location.
+     * 
+ */ + public void listStreams(com.google.cloud.datastream.v1.ListStreamsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListStreamsMethod(), responseObserver); + } + + /** + *
+     * Use this method to get details about a stream.
+     * 
+ */ + public void getStream(com.google.cloud.datastream.v1.GetStreamRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetStreamMethod(), responseObserver); + } + + /** + *
+     * Use this method to create a stream.
+     * 
+ */ + public void createStream(com.google.cloud.datastream.v1.CreateStreamRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateStreamMethod(), responseObserver); + } + + /** + *
+     * Use this method to update the configuration of a stream.
+     * 
+ */ + public void updateStream(com.google.cloud.datastream.v1.UpdateStreamRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateStreamMethod(), responseObserver); + } + + /** + *
+     * Use this method to delete a stream.
+     * 
+ */ + public void deleteStream(com.google.cloud.datastream.v1.DeleteStreamRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteStreamMethod(), responseObserver); + } + + /** + *
+     * Use this method to get details about a stream object.
+     * 
+ */ + public void getStreamObject(com.google.cloud.datastream.v1.GetStreamObjectRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetStreamObjectMethod(), responseObserver); + } + + /** + *
+     * Use this method to look up a stream object by its source object identifier.
+     * 
+ */ + public void lookupStreamObject(com.google.cloud.datastream.v1.LookupStreamObjectRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getLookupStreamObjectMethod(), responseObserver); + } + + /** + *
+     * Use this method to list the objects of a specific stream.
+     * 
+ */ + public void listStreamObjects(com.google.cloud.datastream.v1.ListStreamObjectsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListStreamObjectsMethod(), responseObserver); + } + + /** + *
+     * Use this method to start a backfill job for the specified stream object.
+     * 
+ */ + public void startBackfillJob(com.google.cloud.datastream.v1.StartBackfillJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getStartBackfillJobMethod(), responseObserver); + } + + /** + *
+     * Use this method to stop a backfill job for the specified stream object.
+     * 
+ */ + public void stopBackfillJob(com.google.cloud.datastream.v1.StopBackfillJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getStopBackfillJobMethod(), responseObserver); + } + + /** + *
+     * The FetchStaticIps API call exposes the static IP addresses used by
+     * Datastream.
+     * 
+ */ + public void fetchStaticIps(com.google.cloud.datastream.v1.FetchStaticIpsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getFetchStaticIpsMethod(), responseObserver); + } + + /** + *
+     * Use this method to create a private connectivity configuration.
+     * 
+ */ + public void createPrivateConnection(com.google.cloud.datastream.v1.CreatePrivateConnectionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreatePrivateConnectionMethod(), responseObserver); + } + + /** + *
+     * Use this method to get details about a private connectivity configuration.
+     * 
+ */ + public void getPrivateConnection(com.google.cloud.datastream.v1.GetPrivateConnectionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetPrivateConnectionMethod(), responseObserver); + } + + /** + *
+     * Use this method to list private connectivity configurations in a project
+     * and location.
+     * 
+ */ + public void listPrivateConnections(com.google.cloud.datastream.v1.ListPrivateConnectionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListPrivateConnectionsMethod(), responseObserver); + } + + /** + *
+     * Use this method to delete a private connectivity configuration.
+     * 
+ */ + public void deletePrivateConnection(com.google.cloud.datastream.v1.DeletePrivateConnectionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeletePrivateConnectionMethod(), responseObserver); + } + + /** + *
+     * Use this method to create a route for a private connectivity configuration
+     * in a project and location.
+     * 
+ */ + public void createRoute(com.google.cloud.datastream.v1.CreateRouteRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateRouteMethod(), responseObserver); + } + + /** + *
+     * Use this method to get details about a route.
+     * 
+ */ + public void getRoute(com.google.cloud.datastream.v1.GetRouteRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetRouteMethod(), responseObserver); + } + + /** + *
+     * Use this method to list routes created for a private connectivity
+     * configuration in a project and location.
+     * 
+ */ + public void listRoutes(com.google.cloud.datastream.v1.ListRoutesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListRoutesMethod(), responseObserver); + } + + /** + *
+     * Use this method to delete a route.
+     * 
+ */ + public void deleteRoute(com.google.cloud.datastream.v1.DeleteRouteRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteRouteMethod(), responseObserver); + } + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getListConnectionProfilesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datastream.v1.ListConnectionProfilesRequest, + com.google.cloud.datastream.v1.ListConnectionProfilesResponse>( + this, METHODID_LIST_CONNECTION_PROFILES))) + .addMethod( + getGetConnectionProfileMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datastream.v1.GetConnectionProfileRequest, + com.google.cloud.datastream.v1.ConnectionProfile>( + this, METHODID_GET_CONNECTION_PROFILE))) + .addMethod( + getCreateConnectionProfileMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datastream.v1.CreateConnectionProfileRequest, + com.google.longrunning.Operation>( + this, METHODID_CREATE_CONNECTION_PROFILE))) + .addMethod( + getUpdateConnectionProfileMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datastream.v1.UpdateConnectionProfileRequest, + com.google.longrunning.Operation>( + this, METHODID_UPDATE_CONNECTION_PROFILE))) + .addMethod( + getDeleteConnectionProfileMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datastream.v1.DeleteConnectionProfileRequest, + com.google.longrunning.Operation>( + this, METHODID_DELETE_CONNECTION_PROFILE))) + .addMethod( + getDiscoverConnectionProfileMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datastream.v1.DiscoverConnectionProfileRequest, + com.google.cloud.datastream.v1.DiscoverConnectionProfileResponse>( + this, METHODID_DISCOVER_CONNECTION_PROFILE))) + .addMethod( + getListStreamsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datastream.v1.ListStreamsRequest, + com.google.cloud.datastream.v1.ListStreamsResponse>( + this, METHODID_LIST_STREAMS))) + .addMethod( + getGetStreamMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datastream.v1.GetStreamRequest, + com.google.cloud.datastream.v1.Stream>( + this, METHODID_GET_STREAM))) + .addMethod( + getCreateStreamMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datastream.v1.CreateStreamRequest, + com.google.longrunning.Operation>( + this, METHODID_CREATE_STREAM))) + .addMethod( + getUpdateStreamMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datastream.v1.UpdateStreamRequest, + com.google.longrunning.Operation>( + this, METHODID_UPDATE_STREAM))) + .addMethod( + getDeleteStreamMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datastream.v1.DeleteStreamRequest, + com.google.longrunning.Operation>( + this, METHODID_DELETE_STREAM))) + .addMethod( + getGetStreamObjectMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datastream.v1.GetStreamObjectRequest, + com.google.cloud.datastream.v1.StreamObject>( + this, METHODID_GET_STREAM_OBJECT))) + .addMethod( + getLookupStreamObjectMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datastream.v1.LookupStreamObjectRequest, + com.google.cloud.datastream.v1.StreamObject>( + this, METHODID_LOOKUP_STREAM_OBJECT))) + .addMethod( + getListStreamObjectsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datastream.v1.ListStreamObjectsRequest, + com.google.cloud.datastream.v1.ListStreamObjectsResponse>( + this, METHODID_LIST_STREAM_OBJECTS))) + .addMethod( + getStartBackfillJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datastream.v1.StartBackfillJobRequest, + com.google.cloud.datastream.v1.StartBackfillJobResponse>( + this, METHODID_START_BACKFILL_JOB))) + .addMethod( + getStopBackfillJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datastream.v1.StopBackfillJobRequest, + com.google.cloud.datastream.v1.StopBackfillJobResponse>( + this, METHODID_STOP_BACKFILL_JOB))) + .addMethod( + getFetchStaticIpsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datastream.v1.FetchStaticIpsRequest, + com.google.cloud.datastream.v1.FetchStaticIpsResponse>( + this, METHODID_FETCH_STATIC_IPS))) + .addMethod( + getCreatePrivateConnectionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datastream.v1.CreatePrivateConnectionRequest, + com.google.longrunning.Operation>( + this, METHODID_CREATE_PRIVATE_CONNECTION))) + .addMethod( + getGetPrivateConnectionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datastream.v1.GetPrivateConnectionRequest, + com.google.cloud.datastream.v1.PrivateConnection>( + this, METHODID_GET_PRIVATE_CONNECTION))) + .addMethod( + getListPrivateConnectionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datastream.v1.ListPrivateConnectionsRequest, + com.google.cloud.datastream.v1.ListPrivateConnectionsResponse>( + this, METHODID_LIST_PRIVATE_CONNECTIONS))) + .addMethod( + getDeletePrivateConnectionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datastream.v1.DeletePrivateConnectionRequest, + com.google.longrunning.Operation>( + this, METHODID_DELETE_PRIVATE_CONNECTION))) + .addMethod( + getCreateRouteMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datastream.v1.CreateRouteRequest, + com.google.longrunning.Operation>( + this, METHODID_CREATE_ROUTE))) + .addMethod( + getGetRouteMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datastream.v1.GetRouteRequest, + com.google.cloud.datastream.v1.Route>( + this, METHODID_GET_ROUTE))) + .addMethod( + getListRoutesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datastream.v1.ListRoutesRequest, + com.google.cloud.datastream.v1.ListRoutesResponse>( + this, METHODID_LIST_ROUTES))) + .addMethod( + getDeleteRouteMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datastream.v1.DeleteRouteRequest, + com.google.longrunning.Operation>( + this, METHODID_DELETE_ROUTE))) + .build(); + } + } + + /** + *
+   * Datastream service
+   * 
+ */ + public static final class DatastreamStub extends io.grpc.stub.AbstractAsyncStub { + private DatastreamStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected DatastreamStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DatastreamStub(channel, callOptions); + } + + /** + *
+     * Use this method to list connection profiles created in a project and
+     * location.
+     * 
+ */ + public void listConnectionProfiles(com.google.cloud.datastream.v1.ListConnectionProfilesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListConnectionProfilesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Use this method to get details about a connection profile.
+     * 
+ */ + public void getConnectionProfile(com.google.cloud.datastream.v1.GetConnectionProfileRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetConnectionProfileMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Use this method to create a connection profile in a project and location.
+     * 
+ */ + public void createConnectionProfile(com.google.cloud.datastream.v1.CreateConnectionProfileRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateConnectionProfileMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Use this method to update the parameters of a connection profile.
+     * 
+ */ + public void updateConnectionProfile(com.google.cloud.datastream.v1.UpdateConnectionProfileRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateConnectionProfileMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Use this method to delete a connection profile.
+     * 
+ */ + public void deleteConnectionProfile(com.google.cloud.datastream.v1.DeleteConnectionProfileRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteConnectionProfileMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Use this method to discover a connection profile.
+     * The discover API call exposes the data objects and metadata belonging to
+     * the profile. Typically, a request returns children data objects of a
+     * parent data object that's optionally supplied in the request.
+     * 
+ */ + public void discoverConnectionProfile(com.google.cloud.datastream.v1.DiscoverConnectionProfileRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDiscoverConnectionProfileMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Use this method to list streams in a project and location.
+     * 
+ */ + public void listStreams(com.google.cloud.datastream.v1.ListStreamsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListStreamsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Use this method to get details about a stream.
+     * 
+ */ + public void getStream(com.google.cloud.datastream.v1.GetStreamRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetStreamMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Use this method to create a stream.
+     * 
+ */ + public void createStream(com.google.cloud.datastream.v1.CreateStreamRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateStreamMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Use this method to update the configuration of a stream.
+     * 
+ */ + public void updateStream(com.google.cloud.datastream.v1.UpdateStreamRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateStreamMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Use this method to delete a stream.
+     * 
+ */ + public void deleteStream(com.google.cloud.datastream.v1.DeleteStreamRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteStreamMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Use this method to get details about a stream object.
+     * 
+ */ + public void getStreamObject(com.google.cloud.datastream.v1.GetStreamObjectRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetStreamObjectMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Use this method to look up a stream object by its source object identifier.
+     * 
+ */ + public void lookupStreamObject(com.google.cloud.datastream.v1.LookupStreamObjectRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getLookupStreamObjectMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Use this method to list the objects of a specific stream.
+     * 
+ */ + public void listStreamObjects(com.google.cloud.datastream.v1.ListStreamObjectsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListStreamObjectsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Use this method to start a backfill job for the specified stream object.
+     * 
+ */ + public void startBackfillJob(com.google.cloud.datastream.v1.StartBackfillJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getStartBackfillJobMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Use this method to stop a backfill job for the specified stream object.
+     * 
+ */ + public void stopBackfillJob(com.google.cloud.datastream.v1.StopBackfillJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getStopBackfillJobMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * The FetchStaticIps API call exposes the static IP addresses used by
+     * Datastream.
+     * 
+ */ + public void fetchStaticIps(com.google.cloud.datastream.v1.FetchStaticIpsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getFetchStaticIpsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Use this method to create a private connectivity configuration.
+     * 
+ */ + public void createPrivateConnection(com.google.cloud.datastream.v1.CreatePrivateConnectionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreatePrivateConnectionMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Use this method to get details about a private connectivity configuration.
+     * 
+ */ + public void getPrivateConnection(com.google.cloud.datastream.v1.GetPrivateConnectionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetPrivateConnectionMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Use this method to list private connectivity configurations in a project
+     * and location.
+     * 
+ */ + public void listPrivateConnections(com.google.cloud.datastream.v1.ListPrivateConnectionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListPrivateConnectionsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Use this method to delete a private connectivity configuration.
+     * 
+ */ + public void deletePrivateConnection(com.google.cloud.datastream.v1.DeletePrivateConnectionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeletePrivateConnectionMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Use this method to create a route for a private connectivity configuration
+     * in a project and location.
+     * 
+ */ + public void createRoute(com.google.cloud.datastream.v1.CreateRouteRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateRouteMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Use this method to get details about a route.
+     * 
+ */ + public void getRoute(com.google.cloud.datastream.v1.GetRouteRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetRouteMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Use this method to list routes created for a private connectivity
+     * configuration in a project and location.
+     * 
+ */ + public void listRoutes(com.google.cloud.datastream.v1.ListRoutesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListRoutesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Use this method to delete a route.
+     * 
+ */ + public void deleteRoute(com.google.cloud.datastream.v1.DeleteRouteRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteRouteMethod(), getCallOptions()), request, responseObserver); + } + } + + /** + *
+   * Datastream service
+   * 
+ */ + public static final class DatastreamBlockingStub extends io.grpc.stub.AbstractBlockingStub { + private DatastreamBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected DatastreamBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DatastreamBlockingStub(channel, callOptions); + } + + /** + *
+     * Use this method to list connection profiles created in a project and
+     * location.
+     * 
+ */ + public com.google.cloud.datastream.v1.ListConnectionProfilesResponse listConnectionProfiles(com.google.cloud.datastream.v1.ListConnectionProfilesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListConnectionProfilesMethod(), getCallOptions(), request); + } + + /** + *
+     * Use this method to get details about a connection profile.
+     * 
+ */ + public com.google.cloud.datastream.v1.ConnectionProfile getConnectionProfile(com.google.cloud.datastream.v1.GetConnectionProfileRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetConnectionProfileMethod(), getCallOptions(), request); + } + + /** + *
+     * Use this method to create a connection profile in a project and location.
+     * 
+ */ + public com.google.longrunning.Operation createConnectionProfile(com.google.cloud.datastream.v1.CreateConnectionProfileRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateConnectionProfileMethod(), getCallOptions(), request); + } + + /** + *
+     * Use this method to update the parameters of a connection profile.
+     * 
+ */ + public com.google.longrunning.Operation updateConnectionProfile(com.google.cloud.datastream.v1.UpdateConnectionProfileRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateConnectionProfileMethod(), getCallOptions(), request); + } + + /** + *
+     * Use this method to delete a connection profile.
+     * 
+ */ + public com.google.longrunning.Operation deleteConnectionProfile(com.google.cloud.datastream.v1.DeleteConnectionProfileRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteConnectionProfileMethod(), getCallOptions(), request); + } + + /** + *
+     * Use this method to discover a connection profile.
+     * The discover API call exposes the data objects and metadata belonging to
+     * the profile. Typically, a request returns children data objects of a
+     * parent data object that's optionally supplied in the request.
+     * 
+ */ + public com.google.cloud.datastream.v1.DiscoverConnectionProfileResponse discoverConnectionProfile(com.google.cloud.datastream.v1.DiscoverConnectionProfileRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDiscoverConnectionProfileMethod(), getCallOptions(), request); + } + + /** + *
+     * Use this method to list streams in a project and location.
+     * 
+ */ + public com.google.cloud.datastream.v1.ListStreamsResponse listStreams(com.google.cloud.datastream.v1.ListStreamsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListStreamsMethod(), getCallOptions(), request); + } + + /** + *
+     * Use this method to get details about a stream.
+     * 
+ */ + public com.google.cloud.datastream.v1.Stream getStream(com.google.cloud.datastream.v1.GetStreamRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetStreamMethod(), getCallOptions(), request); + } + + /** + *
+     * Use this method to create a stream.
+     * 
+ */ + public com.google.longrunning.Operation createStream(com.google.cloud.datastream.v1.CreateStreamRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateStreamMethod(), getCallOptions(), request); + } + + /** + *
+     * Use this method to update the configuration of a stream.
+     * 
+ */ + public com.google.longrunning.Operation updateStream(com.google.cloud.datastream.v1.UpdateStreamRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateStreamMethod(), getCallOptions(), request); + } + + /** + *
+     * Use this method to delete a stream.
+     * 
+ */ + public com.google.longrunning.Operation deleteStream(com.google.cloud.datastream.v1.DeleteStreamRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteStreamMethod(), getCallOptions(), request); + } + + /** + *
+     * Use this method to get details about a stream object.
+     * 
+ */ + public com.google.cloud.datastream.v1.StreamObject getStreamObject(com.google.cloud.datastream.v1.GetStreamObjectRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetStreamObjectMethod(), getCallOptions(), request); + } + + /** + *
+     * Use this method to look up a stream object by its source object identifier.
+     * 
+ */ + public com.google.cloud.datastream.v1.StreamObject lookupStreamObject(com.google.cloud.datastream.v1.LookupStreamObjectRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getLookupStreamObjectMethod(), getCallOptions(), request); + } + + /** + *
+     * Use this method to list the objects of a specific stream.
+     * 
+ */ + public com.google.cloud.datastream.v1.ListStreamObjectsResponse listStreamObjects(com.google.cloud.datastream.v1.ListStreamObjectsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListStreamObjectsMethod(), getCallOptions(), request); + } + + /** + *
+     * Use this method to start a backfill job for the specified stream object.
+     * 
+ */ + public com.google.cloud.datastream.v1.StartBackfillJobResponse startBackfillJob(com.google.cloud.datastream.v1.StartBackfillJobRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getStartBackfillJobMethod(), getCallOptions(), request); + } + + /** + *
+     * Use this method to stop a backfill job for the specified stream object.
+     * 
+ */ + public com.google.cloud.datastream.v1.StopBackfillJobResponse stopBackfillJob(com.google.cloud.datastream.v1.StopBackfillJobRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getStopBackfillJobMethod(), getCallOptions(), request); + } + + /** + *
+     * The FetchStaticIps API call exposes the static IP addresses used by
+     * Datastream.
+     * 
+ */ + public com.google.cloud.datastream.v1.FetchStaticIpsResponse fetchStaticIps(com.google.cloud.datastream.v1.FetchStaticIpsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getFetchStaticIpsMethod(), getCallOptions(), request); + } + + /** + *
+     * Use this method to create a private connectivity configuration.
+     * 
+ */ + public com.google.longrunning.Operation createPrivateConnection(com.google.cloud.datastream.v1.CreatePrivateConnectionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreatePrivateConnectionMethod(), getCallOptions(), request); + } + + /** + *
+     * Use this method to get details about a private connectivity configuration.
+     * 
+ */ + public com.google.cloud.datastream.v1.PrivateConnection getPrivateConnection(com.google.cloud.datastream.v1.GetPrivateConnectionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetPrivateConnectionMethod(), getCallOptions(), request); + } + + /** + *
+     * Use this method to list private connectivity configurations in a project
+     * and location.
+     * 
+ */ + public com.google.cloud.datastream.v1.ListPrivateConnectionsResponse listPrivateConnections(com.google.cloud.datastream.v1.ListPrivateConnectionsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListPrivateConnectionsMethod(), getCallOptions(), request); + } + + /** + *
+     * Use this method to delete a private connectivity configuration.
+     * 
+ */ + public com.google.longrunning.Operation deletePrivateConnection(com.google.cloud.datastream.v1.DeletePrivateConnectionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeletePrivateConnectionMethod(), getCallOptions(), request); + } + + /** + *
+     * Use this method to create a route for a private connectivity configuration
+     * in a project and location.
+     * 
+ */ + public com.google.longrunning.Operation createRoute(com.google.cloud.datastream.v1.CreateRouteRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateRouteMethod(), getCallOptions(), request); + } + + /** + *
+     * Use this method to get details about a route.
+     * 
+ */ + public com.google.cloud.datastream.v1.Route getRoute(com.google.cloud.datastream.v1.GetRouteRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetRouteMethod(), getCallOptions(), request); + } + + /** + *
+     * Use this method to list routes created for a private connectivity
+     * configuration in a project and location.
+     * 
+ */ + public com.google.cloud.datastream.v1.ListRoutesResponse listRoutes(com.google.cloud.datastream.v1.ListRoutesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListRoutesMethod(), getCallOptions(), request); + } + + /** + *
+     * Use this method to delete a route.
+     * 
+ */ + public com.google.longrunning.Operation deleteRoute(com.google.cloud.datastream.v1.DeleteRouteRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteRouteMethod(), getCallOptions(), request); + } + } + + /** + *
+   * Datastream service
+   * 
+ */ + public static final class DatastreamFutureStub extends io.grpc.stub.AbstractFutureStub { + private DatastreamFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected DatastreamFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DatastreamFutureStub(channel, callOptions); + } + + /** + *
+     * Use this method to list connection profiles created in a project and
+     * location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listConnectionProfiles( + com.google.cloud.datastream.v1.ListConnectionProfilesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListConnectionProfilesMethod(), getCallOptions()), request); + } + + /** + *
+     * Use this method to get details about a connection profile.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getConnectionProfile( + com.google.cloud.datastream.v1.GetConnectionProfileRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetConnectionProfileMethod(), getCallOptions()), request); + } + + /** + *
+     * Use this method to create a connection profile in a project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createConnectionProfile( + com.google.cloud.datastream.v1.CreateConnectionProfileRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateConnectionProfileMethod(), getCallOptions()), request); + } + + /** + *
+     * Use this method to update the parameters of a connection profile.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateConnectionProfile( + com.google.cloud.datastream.v1.UpdateConnectionProfileRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateConnectionProfileMethod(), getCallOptions()), request); + } + + /** + *
+     * Use this method to delete a connection profile.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteConnectionProfile( + com.google.cloud.datastream.v1.DeleteConnectionProfileRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteConnectionProfileMethod(), getCallOptions()), request); + } + + /** + *
+     * Use this method to discover a connection profile.
+     * The discover API call exposes the data objects and metadata belonging to
+     * the profile. Typically, a request returns children data objects of a
+     * parent data object that's optionally supplied in the request.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture discoverConnectionProfile( + com.google.cloud.datastream.v1.DiscoverConnectionProfileRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDiscoverConnectionProfileMethod(), getCallOptions()), request); + } + + /** + *
+     * Use this method to list streams in a project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listStreams( + com.google.cloud.datastream.v1.ListStreamsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListStreamsMethod(), getCallOptions()), request); + } + + /** + *
+     * Use this method to get details about a stream.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getStream( + com.google.cloud.datastream.v1.GetStreamRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetStreamMethod(), getCallOptions()), request); + } + + /** + *
+     * Use this method to create a stream.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createStream( + com.google.cloud.datastream.v1.CreateStreamRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateStreamMethod(), getCallOptions()), request); + } + + /** + *
+     * Use this method to update the configuration of a stream.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateStream( + com.google.cloud.datastream.v1.UpdateStreamRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateStreamMethod(), getCallOptions()), request); + } + + /** + *
+     * Use this method to delete a stream.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteStream( + com.google.cloud.datastream.v1.DeleteStreamRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteStreamMethod(), getCallOptions()), request); + } + + /** + *
+     * Use this method to get details about a stream object.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getStreamObject( + com.google.cloud.datastream.v1.GetStreamObjectRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetStreamObjectMethod(), getCallOptions()), request); + } + + /** + *
+     * Use this method to look up a stream object by its source object identifier.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture lookupStreamObject( + com.google.cloud.datastream.v1.LookupStreamObjectRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getLookupStreamObjectMethod(), getCallOptions()), request); + } + + /** + *
+     * Use this method to list the objects of a specific stream.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listStreamObjects( + com.google.cloud.datastream.v1.ListStreamObjectsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListStreamObjectsMethod(), getCallOptions()), request); + } + + /** + *
+     * Use this method to start a backfill job for the specified stream object.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture startBackfillJob( + com.google.cloud.datastream.v1.StartBackfillJobRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getStartBackfillJobMethod(), getCallOptions()), request); + } + + /** + *
+     * Use this method to stop a backfill job for the specified stream object.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture stopBackfillJob( + com.google.cloud.datastream.v1.StopBackfillJobRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getStopBackfillJobMethod(), getCallOptions()), request); + } + + /** + *
+     * The FetchStaticIps API call exposes the static IP addresses used by
+     * Datastream.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture fetchStaticIps( + com.google.cloud.datastream.v1.FetchStaticIpsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getFetchStaticIpsMethod(), getCallOptions()), request); + } + + /** + *
+     * Use this method to create a private connectivity configuration.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createPrivateConnection( + com.google.cloud.datastream.v1.CreatePrivateConnectionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreatePrivateConnectionMethod(), getCallOptions()), request); + } + + /** + *
+     * Use this method to get details about a private connectivity configuration.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getPrivateConnection( + com.google.cloud.datastream.v1.GetPrivateConnectionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetPrivateConnectionMethod(), getCallOptions()), request); + } + + /** + *
+     * Use this method to list private connectivity configurations in a project
+     * and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listPrivateConnections( + com.google.cloud.datastream.v1.ListPrivateConnectionsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListPrivateConnectionsMethod(), getCallOptions()), request); + } + + /** + *
+     * Use this method to delete a private connectivity configuration.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deletePrivateConnection( + com.google.cloud.datastream.v1.DeletePrivateConnectionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeletePrivateConnectionMethod(), getCallOptions()), request); + } + + /** + *
+     * Use this method to create a route for a private connectivity configuration
+     * in a project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createRoute( + com.google.cloud.datastream.v1.CreateRouteRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateRouteMethod(), getCallOptions()), request); + } + + /** + *
+     * Use this method to get details about a route.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getRoute( + com.google.cloud.datastream.v1.GetRouteRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetRouteMethod(), getCallOptions()), request); + } + + /** + *
+     * Use this method to list routes created for a private connectivity
+     * configuration in a project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listRoutes( + com.google.cloud.datastream.v1.ListRoutesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListRoutesMethod(), getCallOptions()), request); + } + + /** + *
+     * Use this method to delete a route.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteRoute( + com.google.cloud.datastream.v1.DeleteRouteRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteRouteMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_LIST_CONNECTION_PROFILES = 0; + private static final int METHODID_GET_CONNECTION_PROFILE = 1; + private static final int METHODID_CREATE_CONNECTION_PROFILE = 2; + private static final int METHODID_UPDATE_CONNECTION_PROFILE = 3; + private static final int METHODID_DELETE_CONNECTION_PROFILE = 4; + private static final int METHODID_DISCOVER_CONNECTION_PROFILE = 5; + private static final int METHODID_LIST_STREAMS = 6; + private static final int METHODID_GET_STREAM = 7; + private static final int METHODID_CREATE_STREAM = 8; + private static final int METHODID_UPDATE_STREAM = 9; + private static final int METHODID_DELETE_STREAM = 10; + private static final int METHODID_GET_STREAM_OBJECT = 11; + private static final int METHODID_LOOKUP_STREAM_OBJECT = 12; + private static final int METHODID_LIST_STREAM_OBJECTS = 13; + private static final int METHODID_START_BACKFILL_JOB = 14; + private static final int METHODID_STOP_BACKFILL_JOB = 15; + private static final int METHODID_FETCH_STATIC_IPS = 16; + private static final int METHODID_CREATE_PRIVATE_CONNECTION = 17; + private static final int METHODID_GET_PRIVATE_CONNECTION = 18; + private static final int METHODID_LIST_PRIVATE_CONNECTIONS = 19; + private static final int METHODID_DELETE_PRIVATE_CONNECTION = 20; + private static final int METHODID_CREATE_ROUTE = 21; + private static final int METHODID_GET_ROUTE = 22; + private static final int METHODID_LIST_ROUTES = 23; + private static final int METHODID_DELETE_ROUTE = 24; + + 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 DatastreamImplBase serviceImpl; + private final int methodId; + + MethodHandlers(DatastreamImplBase serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_LIST_CONNECTION_PROFILES: + serviceImpl.listConnectionProfiles((com.google.cloud.datastream.v1.ListConnectionProfilesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_CONNECTION_PROFILE: + serviceImpl.getConnectionProfile((com.google.cloud.datastream.v1.GetConnectionProfileRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_CONNECTION_PROFILE: + serviceImpl.createConnectionProfile((com.google.cloud.datastream.v1.CreateConnectionProfileRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_CONNECTION_PROFILE: + serviceImpl.updateConnectionProfile((com.google.cloud.datastream.v1.UpdateConnectionProfileRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_CONNECTION_PROFILE: + serviceImpl.deleteConnectionProfile((com.google.cloud.datastream.v1.DeleteConnectionProfileRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DISCOVER_CONNECTION_PROFILE: + serviceImpl.discoverConnectionProfile((com.google.cloud.datastream.v1.DiscoverConnectionProfileRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_STREAMS: + serviceImpl.listStreams((com.google.cloud.datastream.v1.ListStreamsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_STREAM: + serviceImpl.getStream((com.google.cloud.datastream.v1.GetStreamRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_STREAM: + serviceImpl.createStream((com.google.cloud.datastream.v1.CreateStreamRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_STREAM: + serviceImpl.updateStream((com.google.cloud.datastream.v1.UpdateStreamRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_STREAM: + serviceImpl.deleteStream((com.google.cloud.datastream.v1.DeleteStreamRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_STREAM_OBJECT: + serviceImpl.getStreamObject((com.google.cloud.datastream.v1.GetStreamObjectRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LOOKUP_STREAM_OBJECT: + serviceImpl.lookupStreamObject((com.google.cloud.datastream.v1.LookupStreamObjectRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_STREAM_OBJECTS: + serviceImpl.listStreamObjects((com.google.cloud.datastream.v1.ListStreamObjectsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_START_BACKFILL_JOB: + serviceImpl.startBackfillJob((com.google.cloud.datastream.v1.StartBackfillJobRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_STOP_BACKFILL_JOB: + serviceImpl.stopBackfillJob((com.google.cloud.datastream.v1.StopBackfillJobRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_FETCH_STATIC_IPS: + serviceImpl.fetchStaticIps((com.google.cloud.datastream.v1.FetchStaticIpsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_PRIVATE_CONNECTION: + serviceImpl.createPrivateConnection((com.google.cloud.datastream.v1.CreatePrivateConnectionRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_PRIVATE_CONNECTION: + serviceImpl.getPrivateConnection((com.google.cloud.datastream.v1.GetPrivateConnectionRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_PRIVATE_CONNECTIONS: + serviceImpl.listPrivateConnections((com.google.cloud.datastream.v1.ListPrivateConnectionsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_PRIVATE_CONNECTION: + serviceImpl.deletePrivateConnection((com.google.cloud.datastream.v1.DeletePrivateConnectionRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_ROUTE: + serviceImpl.createRoute((com.google.cloud.datastream.v1.CreateRouteRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_ROUTE: + serviceImpl.getRoute((com.google.cloud.datastream.v1.GetRouteRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_ROUTES: + serviceImpl.listRoutes((com.google.cloud.datastream.v1.ListRoutesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_ROUTE: + serviceImpl.deleteRoute((com.google.cloud.datastream.v1.DeleteRouteRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + private static abstract class DatastreamBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + DatastreamBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.datastream.v1.DatastreamProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("Datastream"); + } + } + + private static final class DatastreamFileDescriptorSupplier + extends DatastreamBaseDescriptorSupplier { + DatastreamFileDescriptorSupplier() {} + } + + private static final class DatastreamMethodDescriptorSupplier + extends DatastreamBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + DatastreamMethodDescriptorSupplier(String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (DatastreamGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new DatastreamFileDescriptorSupplier()) + .addMethod(getListConnectionProfilesMethod()) + .addMethod(getGetConnectionProfileMethod()) + .addMethod(getCreateConnectionProfileMethod()) + .addMethod(getUpdateConnectionProfileMethod()) + .addMethod(getDeleteConnectionProfileMethod()) + .addMethod(getDiscoverConnectionProfileMethod()) + .addMethod(getListStreamsMethod()) + .addMethod(getGetStreamMethod()) + .addMethod(getCreateStreamMethod()) + .addMethod(getUpdateStreamMethod()) + .addMethod(getDeleteStreamMethod()) + .addMethod(getGetStreamObjectMethod()) + .addMethod(getLookupStreamObjectMethod()) + .addMethod(getListStreamObjectsMethod()) + .addMethod(getStartBackfillJobMethod()) + .addMethod(getStopBackfillJobMethod()) + .addMethod(getFetchStaticIpsMethod()) + .addMethod(getCreatePrivateConnectionMethod()) + .addMethod(getGetPrivateConnectionMethod()) + .addMethod(getListPrivateConnectionsMethod()) + .addMethod(getDeletePrivateConnectionMethod()) + .addMethod(getCreateRouteMethod()) + .addMethod(getGetRouteMethod()) + .addMethod(getListRoutesMethod()) + .addMethod(getDeleteRouteMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/AvroFileFormat.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/AvroFileFormat.java similarity index 69% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/AvroFileFormat.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/AvroFileFormat.java index 3d47c177..ffe5100c 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/AvroFileFormat.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/AvroFileFormat.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1/datastream_resources.proto package com.google.cloud.datastream.v1; /** - * - * *
  * AVRO file format configuration.
  * 
* * Protobuf type {@code google.cloud.datastream.v1.AvroFileFormat} */ -public final class AvroFileFormat extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AvroFileFormat extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1.AvroFileFormat) AvroFileFormatOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AvroFileFormat.newBuilder() to construct. private AvroFileFormat(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private AvroFileFormat() {} + private AvroFileFormat() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AvroFileFormat(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private AvroFileFormat( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,13 +52,13 @@ private AvroFileFormat( case 0: done = true; break; - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -82,30 +66,27 @@ private AvroFileFormat( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_AvroFileFormat_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_AvroFileFormat_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_AvroFileFormat_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_AvroFileFormat_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.AvroFileFormat.class, - com.google.cloud.datastream.v1.AvroFileFormat.Builder.class); + com.google.cloud.datastream.v1.AvroFileFormat.class, com.google.cloud.datastream.v1.AvroFileFormat.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -117,7 +98,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { unknownFields.writeTo(output); } @@ -135,13 +117,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datastream.v1.AvroFileFormat)) { return super.equals(obj); } - com.google.cloud.datastream.v1.AvroFileFormat other = - (com.google.cloud.datastream.v1.AvroFileFormat) obj; + com.google.cloud.datastream.v1.AvroFileFormat other = (com.google.cloud.datastream.v1.AvroFileFormat) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -159,127 +140,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.datastream.v1.AvroFileFormat parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.datastream.v1.AvroFileFormat parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.AvroFileFormat parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.AvroFileFormat parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.AvroFileFormat parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.AvroFileFormat parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.AvroFileFormat parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.AvroFileFormat 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.datastream.v1.AvroFileFormat parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1.AvroFileFormat parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.AvroFileFormat parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.AvroFileFormat 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.datastream.v1.AvroFileFormat parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.AvroFileFormat parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datastream.v1.AvroFileFormat prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * AVRO file format configuration.
    * 
* * Protobuf type {@code google.cloud.datastream.v1.AvroFileFormat} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1.AvroFileFormat) com.google.cloud.datastream.v1.AvroFileFormatOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_AvroFileFormat_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_AvroFileFormat_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_AvroFileFormat_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_AvroFileFormat_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.AvroFileFormat.class, - com.google.cloud.datastream.v1.AvroFileFormat.Builder.class); + com.google.cloud.datastream.v1.AvroFileFormat.class, com.google.cloud.datastream.v1.AvroFileFormat.Builder.class); } // Construct using com.google.cloud.datastream.v1.AvroFileFormat.newBuilder() @@ -287,15 +259,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -303,9 +276,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_AvroFileFormat_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_AvroFileFormat_descriptor; } @java.lang.Override @@ -324,8 +297,7 @@ public com.google.cloud.datastream.v1.AvroFileFormat build() { @java.lang.Override public com.google.cloud.datastream.v1.AvroFileFormat buildPartial() { - com.google.cloud.datastream.v1.AvroFileFormat result = - new com.google.cloud.datastream.v1.AvroFileFormat(this); + com.google.cloud.datastream.v1.AvroFileFormat result = new com.google.cloud.datastream.v1.AvroFileFormat(this); onBuilt(); return result; } @@ -334,39 +306,38 @@ public com.google.cloud.datastream.v1.AvroFileFormat buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1.AvroFileFormat) { - return mergeFrom((com.google.cloud.datastream.v1.AvroFileFormat) other); + return mergeFrom((com.google.cloud.datastream.v1.AvroFileFormat)other); } else { super.mergeFrom(other); return this; @@ -403,9 +374,9 @@ public Builder mergeFrom( } return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -415,12 +386,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1.AvroFileFormat) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1.AvroFileFormat) private static final com.google.cloud.datastream.v1.AvroFileFormat DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1.AvroFileFormat(); } @@ -429,16 +400,16 @@ public static com.google.cloud.datastream.v1.AvroFileFormat getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AvroFileFormat parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AvroFileFormat(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AvroFileFormat parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AvroFileFormat(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -453,4 +424,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datastream.v1.AvroFileFormat getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/AvroFileFormatOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/AvroFileFormatOrBuilder.java new file mode 100644 index 00000000..8dd2d0db --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/AvroFileFormatOrBuilder.java @@ -0,0 +1,9 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datastream/v1/datastream_resources.proto + +package com.google.cloud.datastream.v1; + +public interface AvroFileFormatOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1.AvroFileFormat) + com.google.protobuf.MessageOrBuilder { +} diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/BackfillJob.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/BackfillJob.java similarity index 66% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/BackfillJob.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/BackfillJob.java index 2f4905d4..a3086c96 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/BackfillJob.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/BackfillJob.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/datastream/v1/datastream_resources.proto package com.google.cloud.datastream.v1; /** - * - * *
  * Represents a backfill job on a specific stream object.
  * 
* * Protobuf type {@code google.cloud.datastream.v1.BackfillJob} */ -public final class BackfillJob extends com.google.protobuf.GeneratedMessageV3 - implements +public final class BackfillJob extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1.BackfillJob) BackfillJobOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use BackfillJob.newBuilder() to construct. private BackfillJob(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BackfillJob() { state_ = 0; trigger_ = 0; @@ -45,15 +27,16 @@ private BackfillJob() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BackfillJob(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private BackfillJob( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,68 +56,60 @@ private BackfillJob( case 0: done = true; break; - case 8: - { - int rawValue = input.readEnum(); + case 8: { + int rawValue = input.readEnum(); - state_ = rawValue; - break; - } - case 16: - { - int rawValue = input.readEnum(); + state_ = rawValue; + break; + } + case 16: { + int rawValue = input.readEnum(); - trigger_ = rawValue; - break; + trigger_ = rawValue; + break; + } + case 26: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (lastStartTime_ != null) { + subBuilder = lastStartTime_.toBuilder(); } - case 26: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (lastStartTime_ != null) { - subBuilder = lastStartTime_.toBuilder(); - } - lastStartTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(lastStartTime_); - lastStartTime_ = subBuilder.buildPartial(); - } - - break; + lastStartTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(lastStartTime_); + lastStartTime_ = subBuilder.buildPartial(); } - case 34: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (lastEndTime_ != null) { - subBuilder = lastEndTime_.toBuilder(); - } - lastEndTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(lastEndTime_); - lastEndTime_ = subBuilder.buildPartial(); - } - - break; + + break; + } + case 34: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (lastEndTime_ != null) { + subBuilder = lastEndTime_.toBuilder(); + } + lastEndTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(lastEndTime_); + lastEndTime_ = subBuilder.buildPartial(); } - case 42: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - errors_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - errors_.add( - input.readMessage( - com.google.cloud.datastream.v1.Error.parser(), extensionRegistry)); - break; + + break; + } + case 42: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + errors_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + errors_.add( + input.readMessage(com.google.cloud.datastream.v1.Error.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -142,7 +117,8 @@ private BackfillJob( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { errors_ = java.util.Collections.unmodifiableList(errors_); @@ -151,35 +127,29 @@ private BackfillJob( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_BackfillJob_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_BackfillJob_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_BackfillJob_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_BackfillJob_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.BackfillJob.class, - com.google.cloud.datastream.v1.BackfillJob.Builder.class); + com.google.cloud.datastream.v1.BackfillJob.class, com.google.cloud.datastream.v1.BackfillJob.Builder.class); } /** - * - * *
    * State of the stream object's backfill job.
    * 
* * Protobuf enum {@code google.cloud.datastream.v1.BackfillJob.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { + public enum State + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Default value.
      * 
@@ -188,8 +158,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
      * Backfill job was never started for the stream object (stream has backfill
      * strategy defined as manual or object was explicitly excluded from
@@ -200,8 +168,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     NOT_STARTED(1),
     /**
-     *
-     *
      * 
      * Backfill job will start pending available resources.
      * 
@@ -210,8 +176,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ PENDING(2), /** - * - * *
      * Backfill job is running.
      * 
@@ -220,8 +184,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ ACTIVE(3), /** - * - * *
      * Backfill job stopped (next job run will start from beginning).
      * 
@@ -230,8 +192,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STOPPED(4), /** - * - * *
      * Backfill job failed (due to an error).
      * 
@@ -240,8 +200,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ FAILED(5), /** - * - * *
      * Backfill completed successfully.
      * 
@@ -250,8 +208,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ COMPLETED(6), /** - * - * *
      * Backfill job failed since the table structure is currently unsupported
      * for backfill.
@@ -264,8 +220,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Default value.
      * 
@@ -274,8 +228,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Backfill job was never started for the stream object (stream has backfill
      * strategy defined as manual or object was explicitly excluded from
@@ -286,8 +238,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int NOT_STARTED_VALUE = 1;
     /**
-     *
-     *
      * 
      * Backfill job will start pending available resources.
      * 
@@ -296,8 +246,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PENDING_VALUE = 2; /** - * - * *
      * Backfill job is running.
      * 
@@ -306,8 +254,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ACTIVE_VALUE = 3; /** - * - * *
      * Backfill job stopped (next job run will start from beginning).
      * 
@@ -316,8 +262,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STOPPED_VALUE = 4; /** - * - * *
      * Backfill job failed (due to an error).
      * 
@@ -326,8 +270,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FAILED_VALUE = 5; /** - * - * *
      * Backfill completed successfully.
      * 
@@ -336,8 +278,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int COMPLETED_VALUE = 6; /** - * - * *
      * Backfill job failed since the table structure is currently unsupported
      * for backfill.
@@ -347,6 +287,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int UNSUPPORTED_VALUE = 7;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -371,59 +312,54 @@ public static State valueOf(int value) {
      */
     public static State forNumber(int value) {
       switch (value) {
-        case 0:
-          return STATE_UNSPECIFIED;
-        case 1:
-          return NOT_STARTED;
-        case 2:
-          return PENDING;
-        case 3:
-          return ACTIVE;
-        case 4:
-          return STOPPED;
-        case 5:
-          return FAILED;
-        case 6:
-          return COMPLETED;
-        case 7:
-          return UNSUPPORTED;
-        default:
-          return null;
+        case 0: return STATE_UNSPECIFIED;
+        case 1: return NOT_STARTED;
+        case 2: return PENDING;
+        case 3: return ACTIVE;
+        case 4: return STOPPED;
+        case 5: return FAILED;
+        case 6: return COMPLETED;
+        case 7: 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<
+        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.datastream.v1.BackfillJob.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;
@@ -441,18 +377,15 @@ private State(int value) {
   }
 
   /**
-   *
-   *
    * 
    * Triggering reason for a backfill job.
    * 
* * Protobuf enum {@code google.cloud.datastream.v1.BackfillJob.Trigger} */ - public enum Trigger implements com.google.protobuf.ProtocolMessageEnum { + public enum Trigger + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Default value.
      * 
@@ -461,8 +394,6 @@ public enum Trigger implements com.google.protobuf.ProtocolMessageEnum { */ TRIGGER_UNSPECIFIED(0), /** - * - * *
      * Object backfill job was triggered automatically according to the stream's
      * backfill strategy.
@@ -472,8 +403,6 @@ public enum Trigger implements com.google.protobuf.ProtocolMessageEnum {
      */
     AUTOMATIC(1),
     /**
-     *
-     *
      * 
      * Object backfill job was triggered manually using the dedicated API.
      * 
@@ -485,8 +414,6 @@ public enum Trigger implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Default value.
      * 
@@ -495,8 +422,6 @@ public enum Trigger implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TRIGGER_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Object backfill job was triggered automatically according to the stream's
      * backfill strategy.
@@ -506,8 +431,6 @@ public enum Trigger implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int AUTOMATIC_VALUE = 1;
     /**
-     *
-     *
      * 
      * Object backfill job was triggered manually using the dedicated API.
      * 
@@ -516,6 +439,7 @@ public enum Trigger implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MANUAL_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -540,49 +464,49 @@ public static Trigger valueOf(int value) { */ public static Trigger forNumber(int value) { switch (value) { - case 0: - return TRIGGER_UNSPECIFIED; - case 1: - return AUTOMATIC; - case 2: - return MANUAL; - default: - return null; + case 0: return TRIGGER_UNSPECIFIED; + case 1: return AUTOMATIC; + case 2: return MANUAL; + 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< + Trigger> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Trigger findValueByNumber(int number) { + return Trigger.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Trigger findValueByNumber(int number) { - return Trigger.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.datastream.v1.BackfillJob.getDescriptor().getEnumTypes().get(1); } private static final Trigger[] VALUES = values(); - public static Trigger valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Trigger 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; @@ -602,90 +526,65 @@ private Trigger(int value) { public static final int STATE_FIELD_NUMBER = 1; private int state_; /** - * - * *
    * Backfill job state.
    * 
* * .google.cloud.datastream.v1.BackfillJob.State state = 1; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
    * Backfill job state.
    * 
* * .google.cloud.datastream.v1.BackfillJob.State state = 1; - * * @return The state. */ - @java.lang.Override - public com.google.cloud.datastream.v1.BackfillJob.State getState() { + @java.lang.Override public com.google.cloud.datastream.v1.BackfillJob.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.datastream.v1.BackfillJob.State result = - com.google.cloud.datastream.v1.BackfillJob.State.valueOf(state_); + com.google.cloud.datastream.v1.BackfillJob.State result = com.google.cloud.datastream.v1.BackfillJob.State.valueOf(state_); return result == null ? com.google.cloud.datastream.v1.BackfillJob.State.UNRECOGNIZED : result; } public static final int TRIGGER_FIELD_NUMBER = 2; private int trigger_; /** - * - * *
    * Backfill job's triggering reason.
    * 
* * .google.cloud.datastream.v1.BackfillJob.Trigger trigger = 2; - * * @return The enum numeric value on the wire for trigger. */ - @java.lang.Override - public int getTriggerValue() { + @java.lang.Override public int getTriggerValue() { return trigger_; } /** - * - * *
    * Backfill job's triggering reason.
    * 
* * .google.cloud.datastream.v1.BackfillJob.Trigger trigger = 2; - * * @return The trigger. */ - @java.lang.Override - public com.google.cloud.datastream.v1.BackfillJob.Trigger getTrigger() { + @java.lang.Override public com.google.cloud.datastream.v1.BackfillJob.Trigger getTrigger() { @SuppressWarnings("deprecation") - com.google.cloud.datastream.v1.BackfillJob.Trigger result = - com.google.cloud.datastream.v1.BackfillJob.Trigger.valueOf(trigger_); - return result == null - ? com.google.cloud.datastream.v1.BackfillJob.Trigger.UNRECOGNIZED - : result; + com.google.cloud.datastream.v1.BackfillJob.Trigger result = com.google.cloud.datastream.v1.BackfillJob.Trigger.valueOf(trigger_); + return result == null ? com.google.cloud.datastream.v1.BackfillJob.Trigger.UNRECOGNIZED : result; } public static final int LAST_START_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp lastStartTime_; /** - * - * *
    * Output only. Backfill job's start time.
    * 
* - * - * .google.protobuf.Timestamp last_start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp last_start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the lastStartTime field is set. */ @java.lang.Override @@ -693,34 +592,23 @@ public boolean hasLastStartTime() { return lastStartTime_ != null; } /** - * - * *
    * Output only. Backfill job's start time.
    * 
* - * - * .google.protobuf.Timestamp last_start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp last_start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The lastStartTime. */ @java.lang.Override public com.google.protobuf.Timestamp getLastStartTime() { - return lastStartTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : lastStartTime_; + return lastStartTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastStartTime_; } /** - * - * *
    * Output only. Backfill job's start time.
    * 
* - * - * .google.protobuf.Timestamp last_start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp last_start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getLastStartTimeOrBuilder() { @@ -730,16 +618,11 @@ public com.google.protobuf.TimestampOrBuilder getLastStartTimeOrBuilder() { public static final int LAST_END_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp lastEndTime_; /** - * - * *
    * Output only. Backfill job's end time.
    * 
* - * - * .google.protobuf.Timestamp last_end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp last_end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the lastEndTime field is set. */ @java.lang.Override @@ -747,16 +630,11 @@ public boolean hasLastEndTime() { return lastEndTime_ != null; } /** - * - * *
    * Output only. Backfill job's end time.
    * 
* - * - * .google.protobuf.Timestamp last_end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp last_end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The lastEndTime. */ @java.lang.Override @@ -764,15 +642,11 @@ public com.google.protobuf.Timestamp getLastEndTime() { return lastEndTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastEndTime_; } /** - * - * *
    * Output only. Backfill job's end time.
    * 
* - * - * .google.protobuf.Timestamp last_end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp last_end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getLastEndTimeOrBuilder() { @@ -782,84 +656,64 @@ public com.google.protobuf.TimestampOrBuilder getLastEndTimeOrBuilder() { public static final int ERRORS_FIELD_NUMBER = 5; private java.util.List errors_; /** - * - * *
    * Output only. Errors which caused the backfill job to fail.
    * 
* - * - * repeated .google.cloud.datastream.v1.Error errors = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1.Error errors = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public java.util.List getErrorsList() { return errors_; } /** - * - * *
    * Output only. Errors which caused the backfill job to fail.
    * 
* - * - * repeated .google.cloud.datastream.v1.Error errors = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1.Error errors = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public java.util.List + public java.util.List getErrorsOrBuilderList() { return errors_; } /** - * - * *
    * Output only. Errors which caused the backfill job to fail.
    * 
* - * - * repeated .google.cloud.datastream.v1.Error errors = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1.Error errors = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public int getErrorsCount() { return errors_.size(); } /** - * - * *
    * Output only. Errors which caused the backfill job to fail.
    * 
* - * - * repeated .google.cloud.datastream.v1.Error errors = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1.Error errors = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.datastream.v1.Error getErrors(int index) { return errors_.get(index); } /** - * - * *
    * Output only. Errors which caused the backfill job to fail.
    * 
* - * - * repeated .google.cloud.datastream.v1.Error errors = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1.Error errors = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.datastream.v1.ErrorOrBuilder getErrorsOrBuilder(int index) { + public com.google.cloud.datastream.v1.ErrorOrBuilder getErrorsOrBuilder( + int index) { return errors_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -871,12 +725,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 (state_ != com.google.cloud.datastream.v1.BackfillJob.State.STATE_UNSPECIFIED.getNumber()) { output.writeEnum(1, state_); } - if (trigger_ - != com.google.cloud.datastream.v1.BackfillJob.Trigger.TRIGGER_UNSPECIFIED.getNumber()) { + if (trigger_ != com.google.cloud.datastream.v1.BackfillJob.Trigger.TRIGGER_UNSPECIFIED.getNumber()) { output.writeEnum(2, trigger_); } if (lastStartTime_ != null) { @@ -898,20 +752,24 @@ public int getSerializedSize() { size = 0; if (state_ != com.google.cloud.datastream.v1.BackfillJob.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, state_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, state_); } - if (trigger_ - != com.google.cloud.datastream.v1.BackfillJob.Trigger.TRIGGER_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, trigger_); + if (trigger_ != com.google.cloud.datastream.v1.BackfillJob.Trigger.TRIGGER_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, trigger_); } if (lastStartTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getLastStartTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getLastStartTime()); } if (lastEndTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getLastEndTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getLastEndTime()); } for (int i = 0; i < errors_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, errors_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, errors_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -921,25 +779,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.datastream.v1.BackfillJob)) { return super.equals(obj); } - com.google.cloud.datastream.v1.BackfillJob other = - (com.google.cloud.datastream.v1.BackfillJob) obj; + com.google.cloud.datastream.v1.BackfillJob other = (com.google.cloud.datastream.v1.BackfillJob) obj; if (state_ != other.state_) return false; if (trigger_ != other.trigger_) return false; if (hasLastStartTime() != other.hasLastStartTime()) return false; if (hasLastStartTime()) { - if (!getLastStartTime().equals(other.getLastStartTime())) return false; + if (!getLastStartTime() + .equals(other.getLastStartTime())) return false; } if (hasLastEndTime() != other.hasLastEndTime()) return false; if (hasLastEndTime()) { - if (!getLastEndTime().equals(other.getLastEndTime())) return false; + if (!getLastEndTime() + .equals(other.getLastEndTime())) return false; } - if (!getErrorsList().equals(other.getErrorsList())) return false; + if (!getErrorsList() + .equals(other.getErrorsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -972,127 +832,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.datastream.v1.BackfillJob parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.datastream.v1.BackfillJob parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.BackfillJob parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.BackfillJob parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.BackfillJob parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.BackfillJob parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.BackfillJob parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.BackfillJob 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.datastream.v1.BackfillJob parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1.BackfillJob parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.BackfillJob parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.BackfillJob 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.datastream.v1.BackfillJob parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.BackfillJob parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datastream.v1.BackfillJob prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Represents a backfill job on a specific stream object.
    * 
* * Protobuf type {@code google.cloud.datastream.v1.BackfillJob} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1.BackfillJob) com.google.cloud.datastream.v1.BackfillJobOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_BackfillJob_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_BackfillJob_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_BackfillJob_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_BackfillJob_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.BackfillJob.class, - com.google.cloud.datastream.v1.BackfillJob.Builder.class); + com.google.cloud.datastream.v1.BackfillJob.class, com.google.cloud.datastream.v1.BackfillJob.Builder.class); } // Construct using com.google.cloud.datastream.v1.BackfillJob.newBuilder() @@ -1100,17 +951,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getErrorsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1140,9 +991,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_BackfillJob_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_BackfillJob_descriptor; } @java.lang.Override @@ -1161,8 +1012,7 @@ public com.google.cloud.datastream.v1.BackfillJob build() { @java.lang.Override public com.google.cloud.datastream.v1.BackfillJob buildPartial() { - com.google.cloud.datastream.v1.BackfillJob result = - new com.google.cloud.datastream.v1.BackfillJob(this); + com.google.cloud.datastream.v1.BackfillJob result = new com.google.cloud.datastream.v1.BackfillJob(this); int from_bitField0_ = bitField0_; result.state_ = state_; result.trigger_ = trigger_; @@ -1193,39 +1043,38 @@ public com.google.cloud.datastream.v1.BackfillJob buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1.BackfillJob) { - return mergeFrom((com.google.cloud.datastream.v1.BackfillJob) other); + return mergeFrom((com.google.cloud.datastream.v1.BackfillJob)other); } else { super.mergeFrom(other); return this; @@ -1264,10 +1113,9 @@ public Builder mergeFrom(com.google.cloud.datastream.v1.BackfillJob other) { errorsBuilder_ = null; errors_ = other.errors_; bitField0_ = (bitField0_ & ~0x00000001); - errorsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getErrorsFieldBuilder() - : null; + errorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getErrorsFieldBuilder() : null; } else { errorsBuilder_.addAllMessages(other.errors_); } @@ -1301,72 +1149,55 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private int state_ = 0; /** - * - * *
      * Backfill job state.
      * 
* * .google.cloud.datastream.v1.BackfillJob.State state = 1; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * Backfill job state.
      * 
* * .google.cloud.datastream.v1.BackfillJob.State state = 1; - * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** - * - * *
      * Backfill job state.
      * 
* * .google.cloud.datastream.v1.BackfillJob.State state = 1; - * * @return The state. */ @java.lang.Override public com.google.cloud.datastream.v1.BackfillJob.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.datastream.v1.BackfillJob.State result = - com.google.cloud.datastream.v1.BackfillJob.State.valueOf(state_); - return result == null - ? com.google.cloud.datastream.v1.BackfillJob.State.UNRECOGNIZED - : result; + com.google.cloud.datastream.v1.BackfillJob.State result = com.google.cloud.datastream.v1.BackfillJob.State.valueOf(state_); + return result == null ? com.google.cloud.datastream.v1.BackfillJob.State.UNRECOGNIZED : result; } /** - * - * *
      * Backfill job state.
      * 
* * .google.cloud.datastream.v1.BackfillJob.State state = 1; - * * @param value The state to set. * @return This builder for chaining. */ @@ -1374,24 +1205,21 @@ public Builder setState(com.google.cloud.datastream.v1.BackfillJob.State value) if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Backfill job state.
      * 
* * .google.cloud.datastream.v1.BackfillJob.State state = 1; - * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -1399,67 +1227,51 @@ public Builder clearState() { private int trigger_ = 0; /** - * - * *
      * Backfill job's triggering reason.
      * 
* * .google.cloud.datastream.v1.BackfillJob.Trigger trigger = 2; - * * @return The enum numeric value on the wire for trigger. */ - @java.lang.Override - public int getTriggerValue() { + @java.lang.Override public int getTriggerValue() { return trigger_; } /** - * - * *
      * Backfill job's triggering reason.
      * 
* * .google.cloud.datastream.v1.BackfillJob.Trigger trigger = 2; - * * @param value The enum numeric value on the wire for trigger to set. * @return This builder for chaining. */ public Builder setTriggerValue(int value) { - + trigger_ = value; onChanged(); return this; } /** - * - * *
      * Backfill job's triggering reason.
      * 
* * .google.cloud.datastream.v1.BackfillJob.Trigger trigger = 2; - * * @return The trigger. */ @java.lang.Override public com.google.cloud.datastream.v1.BackfillJob.Trigger getTrigger() { @SuppressWarnings("deprecation") - com.google.cloud.datastream.v1.BackfillJob.Trigger result = - com.google.cloud.datastream.v1.BackfillJob.Trigger.valueOf(trigger_); - return result == null - ? com.google.cloud.datastream.v1.BackfillJob.Trigger.UNRECOGNIZED - : result; + com.google.cloud.datastream.v1.BackfillJob.Trigger result = com.google.cloud.datastream.v1.BackfillJob.Trigger.valueOf(trigger_); + return result == null ? com.google.cloud.datastream.v1.BackfillJob.Trigger.UNRECOGNIZED : result; } /** - * - * *
      * Backfill job's triggering reason.
      * 
* * .google.cloud.datastream.v1.BackfillJob.Trigger trigger = 2; - * * @param value The trigger to set. * @return This builder for chaining. */ @@ -1467,24 +1279,21 @@ public Builder setTrigger(com.google.cloud.datastream.v1.BackfillJob.Trigger val if (value == null) { throw new NullPointerException(); } - + trigger_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Backfill job's triggering reason.
      * 
* * .google.cloud.datastream.v1.BackfillJob.Trigger trigger = 2; - * * @return This builder for chaining. */ public Builder clearTrigger() { - + trigger_ = 0; onChanged(); return this; @@ -1492,58 +1301,39 @@ public Builder clearTrigger() { private com.google.protobuf.Timestamp lastStartTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - lastStartTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> lastStartTimeBuilder_; /** - * - * *
      * Output only. Backfill job's start time.
      * 
* - * - * .google.protobuf.Timestamp last_start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp last_start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the lastStartTime field is set. */ public boolean hasLastStartTime() { return lastStartTimeBuilder_ != null || lastStartTime_ != null; } /** - * - * *
      * Output only. Backfill job's start time.
      * 
* - * - * .google.protobuf.Timestamp last_start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp last_start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The lastStartTime. */ public com.google.protobuf.Timestamp getLastStartTime() { if (lastStartTimeBuilder_ == null) { - return lastStartTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : lastStartTime_; + return lastStartTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastStartTime_; } else { return lastStartTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. Backfill job's start time.
      * 
* - * - * .google.protobuf.Timestamp last_start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp last_start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setLastStartTime(com.google.protobuf.Timestamp value) { if (lastStartTimeBuilder_ == null) { @@ -1559,17 +1349,14 @@ public Builder setLastStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Backfill job's start time.
      * 
* - * - * .google.protobuf.Timestamp last_start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp last_start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setLastStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setLastStartTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (lastStartTimeBuilder_ == null) { lastStartTime_ = builderForValue.build(); onChanged(); @@ -1580,23 +1367,17 @@ public Builder setLastStartTime(com.google.protobuf.Timestamp.Builder builderFor return this; } /** - * - * *
      * Output only. Backfill job's start time.
      * 
* - * - * .google.protobuf.Timestamp last_start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp last_start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeLastStartTime(com.google.protobuf.Timestamp value) { if (lastStartTimeBuilder_ == null) { if (lastStartTime_ != null) { lastStartTime_ = - com.google.protobuf.Timestamp.newBuilder(lastStartTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(lastStartTime_).mergeFrom(value).buildPartial(); } else { lastStartTime_ = value; } @@ -1608,15 +1389,11 @@ public Builder mergeLastStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Backfill job's start time.
      * 
* - * - * .google.protobuf.Timestamp last_start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp last_start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearLastStartTime() { if (lastStartTimeBuilder_ == null) { @@ -1630,64 +1407,48 @@ public Builder clearLastStartTime() { return this; } /** - * - * *
      * Output only. Backfill job's start time.
      * 
* - * - * .google.protobuf.Timestamp last_start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp last_start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getLastStartTimeBuilder() { - + onChanged(); return getLastStartTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Backfill job's start time.
      * 
* - * - * .google.protobuf.Timestamp last_start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp last_start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getLastStartTimeOrBuilder() { if (lastStartTimeBuilder_ != null) { return lastStartTimeBuilder_.getMessageOrBuilder(); } else { - return lastStartTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : lastStartTime_; + return lastStartTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : lastStartTime_; } } /** - * - * *
      * Output only. Backfill job's start time.
      * 
* - * - * .google.protobuf.Timestamp last_start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp last_start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getLastStartTimeFieldBuilder() { if (lastStartTimeBuilder_ == null) { - lastStartTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getLastStartTime(), getParentForChildren(), isClean()); + lastStartTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getLastStartTime(), + getParentForChildren(), + isClean()); lastStartTime_ = null; } return lastStartTimeBuilder_; @@ -1695,58 +1456,39 @@ public com.google.protobuf.TimestampOrBuilder getLastStartTimeOrBuilder() { private com.google.protobuf.Timestamp lastEndTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - lastEndTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> lastEndTimeBuilder_; /** - * - * *
      * Output only. Backfill job's end time.
      * 
* - * - * .google.protobuf.Timestamp last_end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp last_end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the lastEndTime field is set. */ public boolean hasLastEndTime() { return lastEndTimeBuilder_ != null || lastEndTime_ != null; } /** - * - * *
      * Output only. Backfill job's end time.
      * 
* - * - * .google.protobuf.Timestamp last_end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp last_end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The lastEndTime. */ public com.google.protobuf.Timestamp getLastEndTime() { if (lastEndTimeBuilder_ == null) { - return lastEndTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : lastEndTime_; + return lastEndTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastEndTime_; } else { return lastEndTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. Backfill job's end time.
      * 
* - * - * .google.protobuf.Timestamp last_end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp last_end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setLastEndTime(com.google.protobuf.Timestamp value) { if (lastEndTimeBuilder_ == null) { @@ -1762,17 +1504,14 @@ public Builder setLastEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Backfill job's end time.
      * 
* - * - * .google.protobuf.Timestamp last_end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp last_end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setLastEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setLastEndTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (lastEndTimeBuilder_ == null) { lastEndTime_ = builderForValue.build(); onChanged(); @@ -1783,23 +1522,17 @@ public Builder setLastEndTime(com.google.protobuf.Timestamp.Builder builderForVa return this; } /** - * - * *
      * Output only. Backfill job's end time.
      * 
* - * - * .google.protobuf.Timestamp last_end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp last_end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeLastEndTime(com.google.protobuf.Timestamp value) { if (lastEndTimeBuilder_ == null) { if (lastEndTime_ != null) { lastEndTime_ = - com.google.protobuf.Timestamp.newBuilder(lastEndTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(lastEndTime_).mergeFrom(value).buildPartial(); } else { lastEndTime_ = value; } @@ -1811,15 +1544,11 @@ public Builder mergeLastEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Backfill job's end time.
      * 
* - * - * .google.protobuf.Timestamp last_end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp last_end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearLastEndTime() { if (lastEndTimeBuilder_ == null) { @@ -1833,95 +1562,71 @@ public Builder clearLastEndTime() { return this; } /** - * - * *
      * Output only. Backfill job's end time.
      * 
* - * - * .google.protobuf.Timestamp last_end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp last_end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getLastEndTimeBuilder() { - + onChanged(); return getLastEndTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Backfill job's end time.
      * 
* - * - * .google.protobuf.Timestamp last_end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp last_end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getLastEndTimeOrBuilder() { if (lastEndTimeBuilder_ != null) { return lastEndTimeBuilder_.getMessageOrBuilder(); } else { - return lastEndTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : lastEndTime_; + return lastEndTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : lastEndTime_; } } /** - * - * *
      * Output only. Backfill job's end time.
      * 
* - * - * .google.protobuf.Timestamp last_end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp last_end_time = 4 [(.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> getLastEndTimeFieldBuilder() { if (lastEndTimeBuilder_ == null) { - lastEndTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getLastEndTime(), getParentForChildren(), isClean()); + lastEndTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getLastEndTime(), + getParentForChildren(), + isClean()); lastEndTime_ = null; } return lastEndTimeBuilder_; } private java.util.List errors_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureErrorsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { errors_ = new java.util.ArrayList(errors_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datastream.v1.Error, - com.google.cloud.datastream.v1.Error.Builder, - com.google.cloud.datastream.v1.ErrorOrBuilder> - errorsBuilder_; + com.google.cloud.datastream.v1.Error, com.google.cloud.datastream.v1.Error.Builder, com.google.cloud.datastream.v1.ErrorOrBuilder> errorsBuilder_; /** - * - * *
      * Output only. Errors which caused the backfill job to fail.
      * 
* - * - * repeated .google.cloud.datastream.v1.Error errors = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1.Error errors = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public java.util.List getErrorsList() { if (errorsBuilder_ == null) { @@ -1931,15 +1636,11 @@ public java.util.List getErrorsList() { } } /** - * - * *
      * Output only. Errors which caused the backfill job to fail.
      * 
* - * - * repeated .google.cloud.datastream.v1.Error errors = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1.Error errors = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public int getErrorsCount() { if (errorsBuilder_ == null) { @@ -1949,15 +1650,11 @@ public int getErrorsCount() { } } /** - * - * *
      * Output only. Errors which caused the backfill job to fail.
      * 
* - * - * repeated .google.cloud.datastream.v1.Error errors = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1.Error errors = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.datastream.v1.Error getErrors(int index) { if (errorsBuilder_ == null) { @@ -1967,17 +1664,14 @@ public com.google.cloud.datastream.v1.Error getErrors(int index) { } } /** - * - * *
      * Output only. Errors which caused the backfill job to fail.
      * 
* - * - * repeated .google.cloud.datastream.v1.Error errors = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1.Error errors = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setErrors(int index, com.google.cloud.datastream.v1.Error value) { + public Builder setErrors( + int index, com.google.cloud.datastream.v1.Error value) { if (errorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1991,15 +1685,11 @@ public Builder setErrors(int index, com.google.cloud.datastream.v1.Error value) return this; } /** - * - * *
      * Output only. Errors which caused the backfill job to fail.
      * 
* - * - * repeated .google.cloud.datastream.v1.Error errors = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1.Error errors = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setErrors( int index, com.google.cloud.datastream.v1.Error.Builder builderForValue) { @@ -2013,15 +1703,11 @@ public Builder setErrors( return this; } /** - * - * *
      * Output only. Errors which caused the backfill job to fail.
      * 
* - * - * repeated .google.cloud.datastream.v1.Error errors = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1.Error errors = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addErrors(com.google.cloud.datastream.v1.Error value) { if (errorsBuilder_ == null) { @@ -2037,17 +1723,14 @@ public Builder addErrors(com.google.cloud.datastream.v1.Error value) { return this; } /** - * - * *
      * Output only. Errors which caused the backfill job to fail.
      * 
* - * - * repeated .google.cloud.datastream.v1.Error errors = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1.Error errors = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder addErrors(int index, com.google.cloud.datastream.v1.Error value) { + public Builder addErrors( + int index, com.google.cloud.datastream.v1.Error value) { if (errorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2061,17 +1744,14 @@ public Builder addErrors(int index, com.google.cloud.datastream.v1.Error value) return this; } /** - * - * *
      * Output only. Errors which caused the backfill job to fail.
      * 
* - * - * repeated .google.cloud.datastream.v1.Error errors = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1.Error errors = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder addErrors(com.google.cloud.datastream.v1.Error.Builder builderForValue) { + public Builder addErrors( + com.google.cloud.datastream.v1.Error.Builder builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.add(builderForValue.build()); @@ -2082,15 +1762,11 @@ public Builder addErrors(com.google.cloud.datastream.v1.Error.Builder builderFor return this; } /** - * - * *
      * Output only. Errors which caused the backfill job to fail.
      * 
* - * - * repeated .google.cloud.datastream.v1.Error errors = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1.Error errors = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addErrors( int index, com.google.cloud.datastream.v1.Error.Builder builderForValue) { @@ -2104,21 +1780,18 @@ public Builder addErrors( return this; } /** - * - * *
      * Output only. Errors which caused the backfill job to fail.
      * 
* - * - * repeated .google.cloud.datastream.v1.Error errors = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1.Error errors = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addAllErrors( java.lang.Iterable values) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, errors_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, errors_); onChanged(); } else { errorsBuilder_.addAllMessages(values); @@ -2126,15 +1799,11 @@ public Builder addAllErrors( return this; } /** - * - * *
      * Output only. Errors which caused the backfill job to fail.
      * 
* - * - * repeated .google.cloud.datastream.v1.Error errors = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1.Error errors = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearErrors() { if (errorsBuilder_ == null) { @@ -2147,15 +1816,11 @@ public Builder clearErrors() { return this; } /** - * - * *
      * Output only. Errors which caused the backfill job to fail.
      * 
* - * - * repeated .google.cloud.datastream.v1.Error errors = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1.Error errors = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder removeErrors(int index) { if (errorsBuilder_ == null) { @@ -2168,50 +1833,39 @@ public Builder removeErrors(int index) { return this; } /** - * - * *
      * Output only. Errors which caused the backfill job to fail.
      * 
* - * - * repeated .google.cloud.datastream.v1.Error errors = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1.Error errors = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.datastream.v1.Error.Builder getErrorsBuilder(int index) { + public com.google.cloud.datastream.v1.Error.Builder getErrorsBuilder( + int index) { return getErrorsFieldBuilder().getBuilder(index); } /** - * - * *
      * Output only. Errors which caused the backfill job to fail.
      * 
* - * - * repeated .google.cloud.datastream.v1.Error errors = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1.Error errors = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.datastream.v1.ErrorOrBuilder getErrorsOrBuilder(int index) { + public com.google.cloud.datastream.v1.ErrorOrBuilder getErrorsOrBuilder( + int index) { if (errorsBuilder_ == null) { - return errors_.get(index); - } else { + return errors_.get(index); } else { return errorsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Output only. Errors which caused the backfill job to fail.
      * 
* - * - * repeated .google.cloud.datastream.v1.Error errors = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1.Error errors = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List - getErrorsOrBuilderList() { + public java.util.List + getErrorsOrBuilderList() { if (errorsBuilder_ != null) { return errorsBuilder_.getMessageOrBuilderList(); } else { @@ -2219,69 +1873,56 @@ public com.google.cloud.datastream.v1.ErrorOrBuilder getErrorsOrBuilder(int inde } } /** - * - * *
      * Output only. Errors which caused the backfill job to fail.
      * 
* - * - * repeated .google.cloud.datastream.v1.Error errors = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1.Error errors = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.datastream.v1.Error.Builder addErrorsBuilder() { - return getErrorsFieldBuilder() - .addBuilder(com.google.cloud.datastream.v1.Error.getDefaultInstance()); + return getErrorsFieldBuilder().addBuilder( + com.google.cloud.datastream.v1.Error.getDefaultInstance()); } /** - * - * *
      * Output only. Errors which caused the backfill job to fail.
      * 
* - * - * repeated .google.cloud.datastream.v1.Error errors = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1.Error errors = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.datastream.v1.Error.Builder addErrorsBuilder(int index) { - return getErrorsFieldBuilder() - .addBuilder(index, com.google.cloud.datastream.v1.Error.getDefaultInstance()); + public com.google.cloud.datastream.v1.Error.Builder addErrorsBuilder( + int index) { + return getErrorsFieldBuilder().addBuilder( + index, com.google.cloud.datastream.v1.Error.getDefaultInstance()); } /** - * - * *
      * Output only. Errors which caused the backfill job to fail.
      * 
* - * - * repeated .google.cloud.datastream.v1.Error errors = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1.Error errors = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List getErrorsBuilderList() { + public java.util.List + getErrorsBuilderList() { return getErrorsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datastream.v1.Error, - com.google.cloud.datastream.v1.Error.Builder, - com.google.cloud.datastream.v1.ErrorOrBuilder> + com.google.cloud.datastream.v1.Error, com.google.cloud.datastream.v1.Error.Builder, com.google.cloud.datastream.v1.ErrorOrBuilder> getErrorsFieldBuilder() { if (errorsBuilder_ == null) { - errorsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datastream.v1.Error, - com.google.cloud.datastream.v1.Error.Builder, - com.google.cloud.datastream.v1.ErrorOrBuilder>( - errors_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + errorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datastream.v1.Error, com.google.cloud.datastream.v1.Error.Builder, com.google.cloud.datastream.v1.ErrorOrBuilder>( + errors_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); errors_ = null; } return errorsBuilder_; } - @java.lang.Override - 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 +1932,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1.BackfillJob) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1.BackfillJob) private static final com.google.cloud.datastream.v1.BackfillJob DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1.BackfillJob(); } @@ -2305,16 +1946,16 @@ public static com.google.cloud.datastream.v1.BackfillJob getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BackfillJob parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new BackfillJob(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BackfillJob parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new BackfillJob(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2329,4 +1970,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datastream.v1.BackfillJob getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/BackfillJobOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/BackfillJobOrBuilder.java similarity index 55% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/BackfillJobOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/BackfillJobOrBuilder.java index 58eab00c..b5dc43d5 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/BackfillJobOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/BackfillJobOrBuilder.java @@ -1,218 +1,145 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1/datastream_resources.proto package com.google.cloud.datastream.v1; -public interface BackfillJobOrBuilder - extends +public interface BackfillJobOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1.BackfillJob) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Backfill job state.
    * 
* * .google.cloud.datastream.v1.BackfillJob.State state = 1; - * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * Backfill job state.
    * 
* * .google.cloud.datastream.v1.BackfillJob.State state = 1; - * * @return The state. */ com.google.cloud.datastream.v1.BackfillJob.State getState(); /** - * - * *
    * Backfill job's triggering reason.
    * 
* * .google.cloud.datastream.v1.BackfillJob.Trigger trigger = 2; - * * @return The enum numeric value on the wire for trigger. */ int getTriggerValue(); /** - * - * *
    * Backfill job's triggering reason.
    * 
* * .google.cloud.datastream.v1.BackfillJob.Trigger trigger = 2; - * * @return The trigger. */ com.google.cloud.datastream.v1.BackfillJob.Trigger getTrigger(); /** - * - * *
    * Output only. Backfill job's start time.
    * 
* - * - * .google.protobuf.Timestamp last_start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp last_start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the lastStartTime field is set. */ boolean hasLastStartTime(); /** - * - * *
    * Output only. Backfill job's start time.
    * 
* - * - * .google.protobuf.Timestamp last_start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp last_start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The lastStartTime. */ com.google.protobuf.Timestamp getLastStartTime(); /** - * - * *
    * Output only. Backfill job's start time.
    * 
* - * - * .google.protobuf.Timestamp last_start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp last_start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getLastStartTimeOrBuilder(); /** - * - * *
    * Output only. Backfill job's end time.
    * 
* - * - * .google.protobuf.Timestamp last_end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp last_end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the lastEndTime field is set. */ boolean hasLastEndTime(); /** - * - * *
    * Output only. Backfill job's end time.
    * 
* - * - * .google.protobuf.Timestamp last_end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp last_end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The lastEndTime. */ com.google.protobuf.Timestamp getLastEndTime(); /** - * - * *
    * Output only. Backfill job's end time.
    * 
* - * - * .google.protobuf.Timestamp last_end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp last_end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getLastEndTimeOrBuilder(); /** - * - * *
    * Output only. Errors which caused the backfill job to fail.
    * 
* - * - * repeated .google.cloud.datastream.v1.Error errors = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1.Error errors = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List getErrorsList(); + java.util.List + getErrorsList(); /** - * - * *
    * Output only. Errors which caused the backfill job to fail.
    * 
* - * - * repeated .google.cloud.datastream.v1.Error errors = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1.Error errors = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.datastream.v1.Error getErrors(int index); /** - * - * *
    * Output only. Errors which caused the backfill job to fail.
    * 
* - * - * repeated .google.cloud.datastream.v1.Error errors = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1.Error errors = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ int getErrorsCount(); /** - * - * *
    * Output only. Errors which caused the backfill job to fail.
    * 
* - * - * repeated .google.cloud.datastream.v1.Error errors = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1.Error errors = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List getErrorsOrBuilderList(); + java.util.List + getErrorsOrBuilderList(); /** - * - * *
    * Output only. Errors which caused the backfill job to fail.
    * 
* - * - * repeated .google.cloud.datastream.v1.Error errors = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1.Error errors = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - com.google.cloud.datastream.v1.ErrorOrBuilder getErrorsOrBuilder(int index); + com.google.cloud.datastream.v1.ErrorOrBuilder getErrorsOrBuilder( + int index); } diff --git a/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/BigQueryDestinationConfig.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/BigQueryDestinationConfig.java new file mode 100644 index 00000000..2a2f15d2 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/BigQueryDestinationConfig.java @@ -0,0 +1,3575 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datastream/v1/datastream_resources.proto + +package com.google.cloud.datastream.v1; + +/** + * Protobuf type {@code google.cloud.datastream.v1.BigQueryDestinationConfig} + */ +public final class BigQueryDestinationConfig extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1.BigQueryDestinationConfig) + BigQueryDestinationConfigOrBuilder { +private static final long serialVersionUID = 0L; + // Use BigQueryDestinationConfig.newBuilder() to construct. + private BigQueryDestinationConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private BigQueryDestinationConfig() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new BigQueryDestinationConfig(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private BigQueryDestinationConfig( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 1610: { + com.google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset.Builder subBuilder = null; + if (datasetConfigCase_ == 201) { + subBuilder = ((com.google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset) datasetConfig_).toBuilder(); + } + datasetConfig_ = + input.readMessage(com.google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset) datasetConfig_); + datasetConfig_ = subBuilder.buildPartial(); + } + datasetConfigCase_ = 201; + break; + } + case 1618: { + com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.Builder subBuilder = null; + if (datasetConfigCase_ == 202) { + subBuilder = ((com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets) datasetConfig_).toBuilder(); + } + datasetConfig_ = + input.readMessage(com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets) datasetConfig_); + datasetConfig_ = subBuilder.buildPartial(); + } + datasetConfigCase_ = 202; + break; + } + case 2402: { + com.google.protobuf.Duration.Builder subBuilder = null; + if (dataFreshness_ != null) { + subBuilder = dataFreshness_.toBuilder(); + } + dataFreshness_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(dataFreshness_); + dataFreshness_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_BigQueryDestinationConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_BigQueryDestinationConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.datastream.v1.BigQueryDestinationConfig.class, com.google.cloud.datastream.v1.BigQueryDestinationConfig.Builder.class); + } + + public interface SingleTargetDatasetOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset) + com.google.protobuf.MessageOrBuilder { + + /** + * string dataset_id = 1; + * @return The datasetId. + */ + java.lang.String getDatasetId(); + /** + * string dataset_id = 1; + * @return The bytes for datasetId. + */ + com.google.protobuf.ByteString + getDatasetIdBytes(); + } + /** + *
+   * A single target dataset to which all data will be streamed.
+   * 
+ * + * Protobuf type {@code google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset} + */ + public static final class SingleTargetDataset extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset) + SingleTargetDatasetOrBuilder { + private static final long serialVersionUID = 0L; + // Use SingleTargetDataset.newBuilder() to construct. + private SingleTargetDataset(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private SingleTargetDataset() { + datasetId_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new SingleTargetDataset(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private SingleTargetDataset( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + datasetId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_BigQueryDestinationConfig_SingleTargetDataset_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_BigQueryDestinationConfig_SingleTargetDataset_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset.class, com.google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset.Builder.class); + } + + public static final int DATASET_ID_FIELD_NUMBER = 1; + private volatile java.lang.Object datasetId_; + /** + * string dataset_id = 1; + * @return The datasetId. + */ + @java.lang.Override + public java.lang.String getDatasetId() { + java.lang.Object ref = datasetId_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + datasetId_ = s; + return s; + } + } + /** + * string dataset_id = 1; + * @return The bytes for datasetId. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getDatasetIdBytes() { + java.lang.Object ref = datasetId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + datasetId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(datasetId_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, datasetId_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(datasetId_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, datasetId_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset)) { + return super.equals(obj); + } + com.google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset other = (com.google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset) obj; + + if (!getDatasetId() + .equals(other.getDatasetId())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + DATASET_ID_FIELD_NUMBER; + hash = (53 * hash) + getDatasetId().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset 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.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset 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.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset 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 static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * A single target dataset to which all data will be streamed.
+     * 
+ * + * Protobuf type {@code google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset) + com.google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDatasetOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_BigQueryDestinationConfig_SingleTargetDataset_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_BigQueryDestinationConfig_SingleTargetDataset_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset.class, com.google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset.Builder.class); + } + + // Construct using com.google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + datasetId_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_BigQueryDestinationConfig_SingleTargetDataset_descriptor; + } + + @java.lang.Override + public com.google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset getDefaultInstanceForType() { + return com.google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset build() { + com.google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset buildPartial() { + com.google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset result = new com.google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset(this); + result.datasetId_ = datasetId_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset) { + return mergeFrom((com.google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset other) { + if (other == com.google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset.getDefaultInstance()) return this; + if (!other.getDatasetId().isEmpty()) { + datasetId_ = other.datasetId_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object datasetId_ = ""; + /** + * string dataset_id = 1; + * @return The datasetId. + */ + public java.lang.String getDatasetId() { + java.lang.Object ref = datasetId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + datasetId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string dataset_id = 1; + * @return The bytes for datasetId. + */ + public com.google.protobuf.ByteString + getDatasetIdBytes() { + java.lang.Object ref = datasetId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + datasetId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string dataset_id = 1; + * @param value The datasetId to set. + * @return This builder for chaining. + */ + public Builder setDatasetId( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + datasetId_ = value; + onChanged(); + return this; + } + /** + * string dataset_id = 1; + * @return This builder for chaining. + */ + public Builder clearDatasetId() { + + datasetId_ = getDefaultInstance().getDatasetId(); + onChanged(); + return this; + } + /** + * string dataset_id = 1; + * @param value The bytes for datasetId to set. + * @return This builder for chaining. + */ + public Builder setDatasetIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + datasetId_ = value; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset) + } + + // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset) + private static final com.google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset(); + } + + public static com.google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SingleTargetDataset parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SingleTargetDataset(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface SourceHierarchyDatasetsOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets) + com.google.protobuf.MessageOrBuilder { + + /** + * .google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate dataset_template = 2; + * @return Whether the datasetTemplate field is set. + */ + boolean hasDatasetTemplate(); + /** + * .google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate dataset_template = 2; + * @return The datasetTemplate. + */ + com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate getDatasetTemplate(); + /** + * .google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate dataset_template = 2; + */ + com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplateOrBuilder getDatasetTemplateOrBuilder(); + } + /** + *
+   * Destination datasets are created so that hierarchy of the destination data
+   * objects matches the source hierarchy.
+   * 
+ * + * Protobuf type {@code google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets} + */ + public static final class SourceHierarchyDatasets extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets) + SourceHierarchyDatasetsOrBuilder { + private static final long serialVersionUID = 0L; + // Use SourceHierarchyDatasets.newBuilder() to construct. + private SourceHierarchyDatasets(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private SourceHierarchyDatasets() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new SourceHierarchyDatasets(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private SourceHierarchyDatasets( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 18: { + com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate.Builder subBuilder = null; + if (datasetTemplate_ != null) { + subBuilder = datasetTemplate_.toBuilder(); + } + datasetTemplate_ = input.readMessage(com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(datasetTemplate_); + datasetTemplate_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_BigQueryDestinationConfig_SourceHierarchyDatasets_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_BigQueryDestinationConfig_SourceHierarchyDatasets_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.class, com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.Builder.class); + } + + public interface DatasetTemplateOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate) + com.google.protobuf.MessageOrBuilder { + + /** + *
+       * Required. The geographic location where the dataset should reside. See
+       * https://cloud.google.com/bigquery/docs/locations for supported
+       * locations.
+       * 
+ * + * string location = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return The location. + */ + java.lang.String getLocation(); + /** + *
+       * Required. The geographic location where the dataset should reside. See
+       * https://cloud.google.com/bigquery/docs/locations for supported
+       * locations.
+       * 
+ * + * string location = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for location. + */ + com.google.protobuf.ByteString + getLocationBytes(); + + /** + *
+       * If supplied, every created dataset will have its name prefixed by the
+       * provided value. The prefix and name will be separated by an underscore.
+       * i.e. <prefix>_<dataset_name>.
+       * 
+ * + * string dataset_id_prefix = 2; + * @return The datasetIdPrefix. + */ + java.lang.String getDatasetIdPrefix(); + /** + *
+       * If supplied, every created dataset will have its name prefixed by the
+       * provided value. The prefix and name will be separated by an underscore.
+       * i.e. <prefix>_<dataset_name>.
+       * 
+ * + * string dataset_id_prefix = 2; + * @return The bytes for datasetIdPrefix. + */ + com.google.protobuf.ByteString + getDatasetIdPrefixBytes(); + + /** + *
+       * Describes the Cloud KMS encryption key that will be used to
+       * protect destination BigQuery table. The BigQuery Service Account
+       * associated with your project requires access to this encryption key.
+       * i.e.
+       * projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{cryptoKey}.
+       * See https://cloud.google.com/bigquery/docs/customer-managed-encryption
+       * for more information.
+       * 
+ * + * string kms_key_name = 3; + * @return The kmsKeyName. + */ + java.lang.String getKmsKeyName(); + /** + *
+       * Describes the Cloud KMS encryption key that will be used to
+       * protect destination BigQuery table. The BigQuery Service Account
+       * associated with your project requires access to this encryption key.
+       * i.e.
+       * projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{cryptoKey}.
+       * See https://cloud.google.com/bigquery/docs/customer-managed-encryption
+       * for more information.
+       * 
+ * + * string kms_key_name = 3; + * @return The bytes for kmsKeyName. + */ + com.google.protobuf.ByteString + getKmsKeyNameBytes(); + } + /** + *
+     * Dataset template used for dynamic dataset creation.
+     * 
+ * + * Protobuf type {@code google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate} + */ + public static final class DatasetTemplate extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate) + DatasetTemplateOrBuilder { + private static final long serialVersionUID = 0L; + // Use DatasetTemplate.newBuilder() to construct. + private DatasetTemplate(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private DatasetTemplate() { + location_ = ""; + datasetIdPrefix_ = ""; + kmsKeyName_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new DatasetTemplate(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private DatasetTemplate( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + location_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + datasetIdPrefix_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + kmsKeyName_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_BigQueryDestinationConfig_SourceHierarchyDatasets_DatasetTemplate_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_BigQueryDestinationConfig_SourceHierarchyDatasets_DatasetTemplate_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate.class, com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate.Builder.class); + } + + public static final int LOCATION_FIELD_NUMBER = 1; + private volatile java.lang.Object location_; + /** + *
+       * Required. The geographic location where the dataset should reside. See
+       * https://cloud.google.com/bigquery/docs/locations for supported
+       * locations.
+       * 
+ * + * string location = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return The location. + */ + @java.lang.Override + public java.lang.String getLocation() { + java.lang.Object ref = location_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + location_ = s; + return s; + } + } + /** + *
+       * Required. The geographic location where the dataset should reside. See
+       * https://cloud.google.com/bigquery/docs/locations for supported
+       * locations.
+       * 
+ * + * string location = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for location. + */ + @java.lang.Override + 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); + location_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int DATASET_ID_PREFIX_FIELD_NUMBER = 2; + private volatile java.lang.Object datasetIdPrefix_; + /** + *
+       * If supplied, every created dataset will have its name prefixed by the
+       * provided value. The prefix and name will be separated by an underscore.
+       * i.e. <prefix>_<dataset_name>.
+       * 
+ * + * string dataset_id_prefix = 2; + * @return The datasetIdPrefix. + */ + @java.lang.Override + public java.lang.String getDatasetIdPrefix() { + java.lang.Object ref = datasetIdPrefix_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + datasetIdPrefix_ = s; + return s; + } + } + /** + *
+       * If supplied, every created dataset will have its name prefixed by the
+       * provided value. The prefix and name will be separated by an underscore.
+       * i.e. <prefix>_<dataset_name>.
+       * 
+ * + * string dataset_id_prefix = 2; + * @return The bytes for datasetIdPrefix. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getDatasetIdPrefixBytes() { + java.lang.Object ref = datasetIdPrefix_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + datasetIdPrefix_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int KMS_KEY_NAME_FIELD_NUMBER = 3; + private volatile java.lang.Object kmsKeyName_; + /** + *
+       * Describes the Cloud KMS encryption key that will be used to
+       * protect destination BigQuery table. The BigQuery Service Account
+       * associated with your project requires access to this encryption key.
+       * i.e.
+       * projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{cryptoKey}.
+       * See https://cloud.google.com/bigquery/docs/customer-managed-encryption
+       * for more information.
+       * 
+ * + * string kms_key_name = 3; + * @return The kmsKeyName. + */ + @java.lang.Override + public java.lang.String getKmsKeyName() { + java.lang.Object ref = kmsKeyName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + kmsKeyName_ = s; + return s; + } + } + /** + *
+       * Describes the Cloud KMS encryption key that will be used to
+       * protect destination BigQuery table. The BigQuery Service Account
+       * associated with your project requires access to this encryption key.
+       * i.e.
+       * projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{cryptoKey}.
+       * See https://cloud.google.com/bigquery/docs/customer-managed-encryption
+       * for more information.
+       * 
+ * + * string kms_key_name = 3; + * @return The bytes for kmsKeyName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getKmsKeyNameBytes() { + java.lang.Object ref = kmsKeyName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + kmsKeyName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(location_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, location_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(datasetIdPrefix_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, datasetIdPrefix_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kmsKeyName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, kmsKeyName_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(location_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, location_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(datasetIdPrefix_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, datasetIdPrefix_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kmsKeyName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, kmsKeyName_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate)) { + return super.equals(obj); + } + com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate other = (com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate) obj; + + if (!getLocation() + .equals(other.getLocation())) return false; + if (!getDatasetIdPrefix() + .equals(other.getDatasetIdPrefix())) return false; + if (!getKmsKeyName() + .equals(other.getKmsKeyName())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + LOCATION_FIELD_NUMBER; + hash = (53 * hash) + getLocation().hashCode(); + hash = (37 * hash) + DATASET_ID_PREFIX_FIELD_NUMBER; + hash = (53 * hash) + getDatasetIdPrefix().hashCode(); + hash = (37 * hash) + KMS_KEY_NAME_FIELD_NUMBER; + hash = (53 * hash) + getKmsKeyName().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate 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.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate 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.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate 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 static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+       * Dataset template used for dynamic dataset creation.
+       * 
+ * + * Protobuf type {@code google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate) + com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplateOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_BigQueryDestinationConfig_SourceHierarchyDatasets_DatasetTemplate_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_BigQueryDestinationConfig_SourceHierarchyDatasets_DatasetTemplate_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate.class, com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate.Builder.class); + } + + // Construct using com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + location_ = ""; + + datasetIdPrefix_ = ""; + + kmsKeyName_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_BigQueryDestinationConfig_SourceHierarchyDatasets_DatasetTemplate_descriptor; + } + + @java.lang.Override + public com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate getDefaultInstanceForType() { + return com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate build() { + com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate buildPartial() { + com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate result = new com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate(this); + result.location_ = location_; + result.datasetIdPrefix_ = datasetIdPrefix_; + result.kmsKeyName_ = kmsKeyName_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate) { + return mergeFrom((com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate other) { + if (other == com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate.getDefaultInstance()) return this; + if (!other.getLocation().isEmpty()) { + location_ = other.location_; + onChanged(); + } + if (!other.getDatasetIdPrefix().isEmpty()) { + datasetIdPrefix_ = other.datasetIdPrefix_; + onChanged(); + } + if (!other.getKmsKeyName().isEmpty()) { + kmsKeyName_ = other.kmsKeyName_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object location_ = ""; + /** + *
+         * Required. The geographic location where the dataset should reside. See
+         * https://cloud.google.com/bigquery/docs/locations for supported
+         * locations.
+         * 
+ * + * string location = 1 [(.google.api.field_behavior) = REQUIRED]; + * @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; + java.lang.String s = bs.toStringUtf8(); + location_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+         * Required. The geographic location where the dataset should reside. See
+         * https://cloud.google.com/bigquery/docs/locations for supported
+         * locations.
+         * 
+ * + * string location = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for location. + */ + 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); + location_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+         * Required. The geographic location where the dataset should reside. See
+         * https://cloud.google.com/bigquery/docs/locations for supported
+         * locations.
+         * 
+ * + * string location = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param value The location to set. + * @return This builder for chaining. + */ + public Builder setLocation( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + location_ = value; + onChanged(); + return this; + } + /** + *
+         * Required. The geographic location where the dataset should reside. See
+         * https://cloud.google.com/bigquery/docs/locations for supported
+         * locations.
+         * 
+ * + * string location = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return This builder for chaining. + */ + public Builder clearLocation() { + + location_ = getDefaultInstance().getLocation(); + onChanged(); + return this; + } + /** + *
+         * Required. The geographic location where the dataset should reside. See
+         * https://cloud.google.com/bigquery/docs/locations for supported
+         * locations.
+         * 
+ * + * string location = 1 [(.google.api.field_behavior) = REQUIRED]; + * @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(); + } + checkByteStringIsUtf8(value); + + location_ = value; + onChanged(); + return this; + } + + private java.lang.Object datasetIdPrefix_ = ""; + /** + *
+         * If supplied, every created dataset will have its name prefixed by the
+         * provided value. The prefix and name will be separated by an underscore.
+         * i.e. <prefix>_<dataset_name>.
+         * 
+ * + * string dataset_id_prefix = 2; + * @return The datasetIdPrefix. + */ + public java.lang.String getDatasetIdPrefix() { + java.lang.Object ref = datasetIdPrefix_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + datasetIdPrefix_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+         * If supplied, every created dataset will have its name prefixed by the
+         * provided value. The prefix and name will be separated by an underscore.
+         * i.e. <prefix>_<dataset_name>.
+         * 
+ * + * string dataset_id_prefix = 2; + * @return The bytes for datasetIdPrefix. + */ + public com.google.protobuf.ByteString + getDatasetIdPrefixBytes() { + java.lang.Object ref = datasetIdPrefix_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + datasetIdPrefix_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+         * If supplied, every created dataset will have its name prefixed by the
+         * provided value. The prefix and name will be separated by an underscore.
+         * i.e. <prefix>_<dataset_name>.
+         * 
+ * + * string dataset_id_prefix = 2; + * @param value The datasetIdPrefix to set. + * @return This builder for chaining. + */ + public Builder setDatasetIdPrefix( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + datasetIdPrefix_ = value; + onChanged(); + return this; + } + /** + *
+         * If supplied, every created dataset will have its name prefixed by the
+         * provided value. The prefix and name will be separated by an underscore.
+         * i.e. <prefix>_<dataset_name>.
+         * 
+ * + * string dataset_id_prefix = 2; + * @return This builder for chaining. + */ + public Builder clearDatasetIdPrefix() { + + datasetIdPrefix_ = getDefaultInstance().getDatasetIdPrefix(); + onChanged(); + return this; + } + /** + *
+         * If supplied, every created dataset will have its name prefixed by the
+         * provided value. The prefix and name will be separated by an underscore.
+         * i.e. <prefix>_<dataset_name>.
+         * 
+ * + * string dataset_id_prefix = 2; + * @param value The bytes for datasetIdPrefix to set. + * @return This builder for chaining. + */ + public Builder setDatasetIdPrefixBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + datasetIdPrefix_ = value; + onChanged(); + return this; + } + + private java.lang.Object kmsKeyName_ = ""; + /** + *
+         * Describes the Cloud KMS encryption key that will be used to
+         * protect destination BigQuery table. The BigQuery Service Account
+         * associated with your project requires access to this encryption key.
+         * i.e.
+         * projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{cryptoKey}.
+         * See https://cloud.google.com/bigquery/docs/customer-managed-encryption
+         * for more information.
+         * 
+ * + * string kms_key_name = 3; + * @return The kmsKeyName. + */ + public java.lang.String getKmsKeyName() { + java.lang.Object ref = kmsKeyName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + kmsKeyName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+         * Describes the Cloud KMS encryption key that will be used to
+         * protect destination BigQuery table. The BigQuery Service Account
+         * associated with your project requires access to this encryption key.
+         * i.e.
+         * projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{cryptoKey}.
+         * See https://cloud.google.com/bigquery/docs/customer-managed-encryption
+         * for more information.
+         * 
+ * + * string kms_key_name = 3; + * @return The bytes for kmsKeyName. + */ + public com.google.protobuf.ByteString + getKmsKeyNameBytes() { + java.lang.Object ref = kmsKeyName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + kmsKeyName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+         * Describes the Cloud KMS encryption key that will be used to
+         * protect destination BigQuery table. The BigQuery Service Account
+         * associated with your project requires access to this encryption key.
+         * i.e.
+         * projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{cryptoKey}.
+         * See https://cloud.google.com/bigquery/docs/customer-managed-encryption
+         * for more information.
+         * 
+ * + * string kms_key_name = 3; + * @param value The kmsKeyName to set. + * @return This builder for chaining. + */ + public Builder setKmsKeyName( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + kmsKeyName_ = value; + onChanged(); + return this; + } + /** + *
+         * Describes the Cloud KMS encryption key that will be used to
+         * protect destination BigQuery table. The BigQuery Service Account
+         * associated with your project requires access to this encryption key.
+         * i.e.
+         * projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{cryptoKey}.
+         * See https://cloud.google.com/bigquery/docs/customer-managed-encryption
+         * for more information.
+         * 
+ * + * string kms_key_name = 3; + * @return This builder for chaining. + */ + public Builder clearKmsKeyName() { + + kmsKeyName_ = getDefaultInstance().getKmsKeyName(); + onChanged(); + return this; + } + /** + *
+         * Describes the Cloud KMS encryption key that will be used to
+         * protect destination BigQuery table. The BigQuery Service Account
+         * associated with your project requires access to this encryption key.
+         * i.e.
+         * projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{cryptoKey}.
+         * See https://cloud.google.com/bigquery/docs/customer-managed-encryption
+         * for more information.
+         * 
+ * + * string kms_key_name = 3; + * @param value The bytes for kmsKeyName to set. + * @return This builder for chaining. + */ + public Builder setKmsKeyNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + kmsKeyName_ = value; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate) + } + + // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate) + private static final com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate(); + } + + public static com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DatasetTemplate parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DatasetTemplate(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public static final int DATASET_TEMPLATE_FIELD_NUMBER = 2; + private com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate datasetTemplate_; + /** + * .google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate dataset_template = 2; + * @return Whether the datasetTemplate field is set. + */ + @java.lang.Override + public boolean hasDatasetTemplate() { + return datasetTemplate_ != null; + } + /** + * .google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate dataset_template = 2; + * @return The datasetTemplate. + */ + @java.lang.Override + public com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate getDatasetTemplate() { + return datasetTemplate_ == null ? com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate.getDefaultInstance() : datasetTemplate_; + } + /** + * .google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate dataset_template = 2; + */ + @java.lang.Override + public com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplateOrBuilder getDatasetTemplateOrBuilder() { + return getDatasetTemplate(); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (datasetTemplate_ != null) { + output.writeMessage(2, getDatasetTemplate()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (datasetTemplate_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getDatasetTemplate()); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets)) { + return super.equals(obj); + } + com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets other = (com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets) obj; + + if (hasDatasetTemplate() != other.hasDatasetTemplate()) return false; + if (hasDatasetTemplate()) { + if (!getDatasetTemplate() + .equals(other.getDatasetTemplate())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasDatasetTemplate()) { + hash = (37 * hash) + DATASET_TEMPLATE_FIELD_NUMBER; + hash = (53 * hash) + getDatasetTemplate().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets 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.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets 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.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets 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 static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Destination datasets are created so that hierarchy of the destination data
+     * objects matches the source hierarchy.
+     * 
+ * + * Protobuf type {@code google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets) + com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasetsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_BigQueryDestinationConfig_SourceHierarchyDatasets_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_BigQueryDestinationConfig_SourceHierarchyDatasets_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.class, com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.Builder.class); + } + + // Construct using com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (datasetTemplateBuilder_ == null) { + datasetTemplate_ = null; + } else { + datasetTemplate_ = null; + datasetTemplateBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_BigQueryDestinationConfig_SourceHierarchyDatasets_descriptor; + } + + @java.lang.Override + public com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets getDefaultInstanceForType() { + return com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets build() { + com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets buildPartial() { + com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets result = new com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets(this); + if (datasetTemplateBuilder_ == null) { + result.datasetTemplate_ = datasetTemplate_; + } else { + result.datasetTemplate_ = datasetTemplateBuilder_.build(); + } + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets) { + return mergeFrom((com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets other) { + if (other == com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.getDefaultInstance()) return this; + if (other.hasDatasetTemplate()) { + mergeDatasetTemplate(other.getDatasetTemplate()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate datasetTemplate_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate, com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate.Builder, com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplateOrBuilder> datasetTemplateBuilder_; + /** + * .google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate dataset_template = 2; + * @return Whether the datasetTemplate field is set. + */ + public boolean hasDatasetTemplate() { + return datasetTemplateBuilder_ != null || datasetTemplate_ != null; + } + /** + * .google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate dataset_template = 2; + * @return The datasetTemplate. + */ + public com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate getDatasetTemplate() { + if (datasetTemplateBuilder_ == null) { + return datasetTemplate_ == null ? com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate.getDefaultInstance() : datasetTemplate_; + } else { + return datasetTemplateBuilder_.getMessage(); + } + } + /** + * .google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate dataset_template = 2; + */ + public Builder setDatasetTemplate(com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate value) { + if (datasetTemplateBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + datasetTemplate_ = value; + onChanged(); + } else { + datasetTemplateBuilder_.setMessage(value); + } + + return this; + } + /** + * .google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate dataset_template = 2; + */ + public Builder setDatasetTemplate( + com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate.Builder builderForValue) { + if (datasetTemplateBuilder_ == null) { + datasetTemplate_ = builderForValue.build(); + onChanged(); + } else { + datasetTemplateBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate dataset_template = 2; + */ + public Builder mergeDatasetTemplate(com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate value) { + if (datasetTemplateBuilder_ == null) { + if (datasetTemplate_ != null) { + datasetTemplate_ = + com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate.newBuilder(datasetTemplate_).mergeFrom(value).buildPartial(); + } else { + datasetTemplate_ = value; + } + onChanged(); + } else { + datasetTemplateBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate dataset_template = 2; + */ + public Builder clearDatasetTemplate() { + if (datasetTemplateBuilder_ == null) { + datasetTemplate_ = null; + onChanged(); + } else { + datasetTemplate_ = null; + datasetTemplateBuilder_ = null; + } + + return this; + } + /** + * .google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate dataset_template = 2; + */ + public com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate.Builder getDatasetTemplateBuilder() { + + onChanged(); + return getDatasetTemplateFieldBuilder().getBuilder(); + } + /** + * .google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate dataset_template = 2; + */ + public com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplateOrBuilder getDatasetTemplateOrBuilder() { + if (datasetTemplateBuilder_ != null) { + return datasetTemplateBuilder_.getMessageOrBuilder(); + } else { + return datasetTemplate_ == null ? + com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate.getDefaultInstance() : datasetTemplate_; + } + } + /** + * .google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate dataset_template = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate, com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate.Builder, com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplateOrBuilder> + getDatasetTemplateFieldBuilder() { + if (datasetTemplateBuilder_ == null) { + datasetTemplateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate, com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate.Builder, com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplateOrBuilder>( + getDatasetTemplate(), + getParentForChildren(), + isClean()); + datasetTemplate_ = null; + } + return datasetTemplateBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets) + } + + // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets) + private static final com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets(); + } + + public static com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SourceHierarchyDatasets parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SourceHierarchyDatasets(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + private int datasetConfigCase_ = 0; + private java.lang.Object datasetConfig_; + public enum DatasetConfigCase + implements com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { + SINGLE_TARGET_DATASET(201), + SOURCE_HIERARCHY_DATASETS(202), + DATASETCONFIG_NOT_SET(0); + private final int value; + private DatasetConfigCase(int value) { + this.value = value; + } + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static DatasetConfigCase valueOf(int value) { + return forNumber(value); + } + + public static DatasetConfigCase forNumber(int value) { + switch (value) { + case 201: return SINGLE_TARGET_DATASET; + case 202: return SOURCE_HIERARCHY_DATASETS; + case 0: return DATASETCONFIG_NOT_SET; + default: return null; + } + } + public int getNumber() { + return this.value; + } + }; + + public DatasetConfigCase + getDatasetConfigCase() { + return DatasetConfigCase.forNumber( + datasetConfigCase_); + } + + public static final int SINGLE_TARGET_DATASET_FIELD_NUMBER = 201; + /** + *
+   * Single destination dataset.
+   * 
+ * + * .google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset single_target_dataset = 201; + * @return Whether the singleTargetDataset field is set. + */ + @java.lang.Override + public boolean hasSingleTargetDataset() { + return datasetConfigCase_ == 201; + } + /** + *
+   * Single destination dataset.
+   * 
+ * + * .google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset single_target_dataset = 201; + * @return The singleTargetDataset. + */ + @java.lang.Override + public com.google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset getSingleTargetDataset() { + if (datasetConfigCase_ == 201) { + return (com.google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset) datasetConfig_; + } + return com.google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset.getDefaultInstance(); + } + /** + *
+   * Single destination dataset.
+   * 
+ * + * .google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset single_target_dataset = 201; + */ + @java.lang.Override + public com.google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDatasetOrBuilder getSingleTargetDatasetOrBuilder() { + if (datasetConfigCase_ == 201) { + return (com.google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset) datasetConfig_; + } + return com.google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset.getDefaultInstance(); + } + + public static final int SOURCE_HIERARCHY_DATASETS_FIELD_NUMBER = 202; + /** + *
+   * Source hierarchy datasets.
+   * 
+ * + * .google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets source_hierarchy_datasets = 202; + * @return Whether the sourceHierarchyDatasets field is set. + */ + @java.lang.Override + public boolean hasSourceHierarchyDatasets() { + return datasetConfigCase_ == 202; + } + /** + *
+   * Source hierarchy datasets.
+   * 
+ * + * .google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets source_hierarchy_datasets = 202; + * @return The sourceHierarchyDatasets. + */ + @java.lang.Override + public com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets getSourceHierarchyDatasets() { + if (datasetConfigCase_ == 202) { + return (com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets) datasetConfig_; + } + return com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.getDefaultInstance(); + } + /** + *
+   * Source hierarchy datasets.
+   * 
+ * + * .google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets source_hierarchy_datasets = 202; + */ + @java.lang.Override + public com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasetsOrBuilder getSourceHierarchyDatasetsOrBuilder() { + if (datasetConfigCase_ == 202) { + return (com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets) datasetConfig_; + } + return com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.getDefaultInstance(); + } + + public static final int DATA_FRESHNESS_FIELD_NUMBER = 300; + private com.google.protobuf.Duration dataFreshness_; + /** + *
+   * The guaranteed data freshness (in seconds) when querying tables created by
+   * the stream. Editing this field will only affect new tables created in the
+   * future, but existing tables will not be impacted. Lower values mean that
+   * queries will return fresher data, but may result in higher cost.
+   * 
+ * + * .google.protobuf.Duration data_freshness = 300; + * @return Whether the dataFreshness field is set. + */ + @java.lang.Override + public boolean hasDataFreshness() { + return dataFreshness_ != null; + } + /** + *
+   * The guaranteed data freshness (in seconds) when querying tables created by
+   * the stream. Editing this field will only affect new tables created in the
+   * future, but existing tables will not be impacted. Lower values mean that
+   * queries will return fresher data, but may result in higher cost.
+   * 
+ * + * .google.protobuf.Duration data_freshness = 300; + * @return The dataFreshness. + */ + @java.lang.Override + public com.google.protobuf.Duration getDataFreshness() { + return dataFreshness_ == null ? com.google.protobuf.Duration.getDefaultInstance() : dataFreshness_; + } + /** + *
+   * The guaranteed data freshness (in seconds) when querying tables created by
+   * the stream. Editing this field will only affect new tables created in the
+   * future, but existing tables will not be impacted. Lower values mean that
+   * queries will return fresher data, but may result in higher cost.
+   * 
+ * + * .google.protobuf.Duration data_freshness = 300; + */ + @java.lang.Override + public com.google.protobuf.DurationOrBuilder getDataFreshnessOrBuilder() { + return getDataFreshness(); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (datasetConfigCase_ == 201) { + output.writeMessage(201, (com.google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset) datasetConfig_); + } + if (datasetConfigCase_ == 202) { + output.writeMessage(202, (com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets) datasetConfig_); + } + if (dataFreshness_ != null) { + output.writeMessage(300, getDataFreshness()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (datasetConfigCase_ == 201) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(201, (com.google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset) datasetConfig_); + } + if (datasetConfigCase_ == 202) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(202, (com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets) datasetConfig_); + } + if (dataFreshness_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(300, getDataFreshness()); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.datastream.v1.BigQueryDestinationConfig)) { + return super.equals(obj); + } + com.google.cloud.datastream.v1.BigQueryDestinationConfig other = (com.google.cloud.datastream.v1.BigQueryDestinationConfig) obj; + + if (hasDataFreshness() != other.hasDataFreshness()) return false; + if (hasDataFreshness()) { + if (!getDataFreshness() + .equals(other.getDataFreshness())) return false; + } + if (!getDatasetConfigCase().equals(other.getDatasetConfigCase())) return false; + switch (datasetConfigCase_) { + case 201: + if (!getSingleTargetDataset() + .equals(other.getSingleTargetDataset())) return false; + break; + case 202: + if (!getSourceHierarchyDatasets() + .equals(other.getSourceHierarchyDatasets())) return false; + break; + case 0: + default: + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasDataFreshness()) { + hash = (37 * hash) + DATA_FRESHNESS_FIELD_NUMBER; + hash = (53 * hash) + getDataFreshness().hashCode(); + } + switch (datasetConfigCase_) { + case 201: + hash = (37 * hash) + SINGLE_TARGET_DATASET_FIELD_NUMBER; + hash = (53 * hash) + getSingleTargetDataset().hashCode(); + break; + case 202: + hash = (37 * hash) + SOURCE_HIERARCHY_DATASETS_FIELD_NUMBER; + hash = (53 * hash) + getSourceHierarchyDatasets().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.datastream.v1.BigQueryDestinationConfig parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.datastream.v1.BigQueryDestinationConfig 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.datastream.v1.BigQueryDestinationConfig parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.datastream.v1.BigQueryDestinationConfig parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.datastream.v1.BigQueryDestinationConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.datastream.v1.BigQueryDestinationConfig parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.datastream.v1.BigQueryDestinationConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.datastream.v1.BigQueryDestinationConfig 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.datastream.v1.BigQueryDestinationConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.datastream.v1.BigQueryDestinationConfig parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.datastream.v1.BigQueryDestinationConfig parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.datastream.v1.BigQueryDestinationConfig 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 static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.datastream.v1.BigQueryDestinationConfig prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code google.cloud.datastream.v1.BigQueryDestinationConfig} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1.BigQueryDestinationConfig) + com.google.cloud.datastream.v1.BigQueryDestinationConfigOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_BigQueryDestinationConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_BigQueryDestinationConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.datastream.v1.BigQueryDestinationConfig.class, com.google.cloud.datastream.v1.BigQueryDestinationConfig.Builder.class); + } + + // Construct using com.google.cloud.datastream.v1.BigQueryDestinationConfig.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (dataFreshnessBuilder_ == null) { + dataFreshness_ = null; + } else { + dataFreshness_ = null; + dataFreshnessBuilder_ = null; + } + datasetConfigCase_ = 0; + datasetConfig_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_BigQueryDestinationConfig_descriptor; + } + + @java.lang.Override + public com.google.cloud.datastream.v1.BigQueryDestinationConfig getDefaultInstanceForType() { + return com.google.cloud.datastream.v1.BigQueryDestinationConfig.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.datastream.v1.BigQueryDestinationConfig build() { + com.google.cloud.datastream.v1.BigQueryDestinationConfig result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.datastream.v1.BigQueryDestinationConfig buildPartial() { + com.google.cloud.datastream.v1.BigQueryDestinationConfig result = new com.google.cloud.datastream.v1.BigQueryDestinationConfig(this); + if (datasetConfigCase_ == 201) { + if (singleTargetDatasetBuilder_ == null) { + result.datasetConfig_ = datasetConfig_; + } else { + result.datasetConfig_ = singleTargetDatasetBuilder_.build(); + } + } + if (datasetConfigCase_ == 202) { + if (sourceHierarchyDatasetsBuilder_ == null) { + result.datasetConfig_ = datasetConfig_; + } else { + result.datasetConfig_ = sourceHierarchyDatasetsBuilder_.build(); + } + } + if (dataFreshnessBuilder_ == null) { + result.dataFreshness_ = dataFreshness_; + } else { + result.dataFreshness_ = dataFreshnessBuilder_.build(); + } + result.datasetConfigCase_ = datasetConfigCase_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.datastream.v1.BigQueryDestinationConfig) { + return mergeFrom((com.google.cloud.datastream.v1.BigQueryDestinationConfig)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.datastream.v1.BigQueryDestinationConfig other) { + if (other == com.google.cloud.datastream.v1.BigQueryDestinationConfig.getDefaultInstance()) return this; + if (other.hasDataFreshness()) { + mergeDataFreshness(other.getDataFreshness()); + } + switch (other.getDatasetConfigCase()) { + case SINGLE_TARGET_DATASET: { + mergeSingleTargetDataset(other.getSingleTargetDataset()); + break; + } + case SOURCE_HIERARCHY_DATASETS: { + mergeSourceHierarchyDatasets(other.getSourceHierarchyDatasets()); + break; + } + case DATASETCONFIG_NOT_SET: { + break; + } + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.datastream.v1.BigQueryDestinationConfig parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.datastream.v1.BigQueryDestinationConfig) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int datasetConfigCase_ = 0; + private java.lang.Object datasetConfig_; + public DatasetConfigCase + getDatasetConfigCase() { + return DatasetConfigCase.forNumber( + datasetConfigCase_); + } + + public Builder clearDatasetConfig() { + datasetConfigCase_ = 0; + datasetConfig_ = null; + onChanged(); + return this; + } + + + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset, com.google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset.Builder, com.google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDatasetOrBuilder> singleTargetDatasetBuilder_; + /** + *
+     * Single destination dataset.
+     * 
+ * + * .google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset single_target_dataset = 201; + * @return Whether the singleTargetDataset field is set. + */ + @java.lang.Override + public boolean hasSingleTargetDataset() { + return datasetConfigCase_ == 201; + } + /** + *
+     * Single destination dataset.
+     * 
+ * + * .google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset single_target_dataset = 201; + * @return The singleTargetDataset. + */ + @java.lang.Override + public com.google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset getSingleTargetDataset() { + if (singleTargetDatasetBuilder_ == null) { + if (datasetConfigCase_ == 201) { + return (com.google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset) datasetConfig_; + } + return com.google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset.getDefaultInstance(); + } else { + if (datasetConfigCase_ == 201) { + return singleTargetDatasetBuilder_.getMessage(); + } + return com.google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset.getDefaultInstance(); + } + } + /** + *
+     * Single destination dataset.
+     * 
+ * + * .google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset single_target_dataset = 201; + */ + public Builder setSingleTargetDataset(com.google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset value) { + if (singleTargetDatasetBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + datasetConfig_ = value; + onChanged(); + } else { + singleTargetDatasetBuilder_.setMessage(value); + } + datasetConfigCase_ = 201; + return this; + } + /** + *
+     * Single destination dataset.
+     * 
+ * + * .google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset single_target_dataset = 201; + */ + public Builder setSingleTargetDataset( + com.google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset.Builder builderForValue) { + if (singleTargetDatasetBuilder_ == null) { + datasetConfig_ = builderForValue.build(); + onChanged(); + } else { + singleTargetDatasetBuilder_.setMessage(builderForValue.build()); + } + datasetConfigCase_ = 201; + return this; + } + /** + *
+     * Single destination dataset.
+     * 
+ * + * .google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset single_target_dataset = 201; + */ + public Builder mergeSingleTargetDataset(com.google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset value) { + if (singleTargetDatasetBuilder_ == null) { + if (datasetConfigCase_ == 201 && + datasetConfig_ != com.google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset.getDefaultInstance()) { + datasetConfig_ = com.google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset.newBuilder((com.google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset) datasetConfig_) + .mergeFrom(value).buildPartial(); + } else { + datasetConfig_ = value; + } + onChanged(); + } else { + if (datasetConfigCase_ == 201) { + singleTargetDatasetBuilder_.mergeFrom(value); + } else { + singleTargetDatasetBuilder_.setMessage(value); + } + } + datasetConfigCase_ = 201; + return this; + } + /** + *
+     * Single destination dataset.
+     * 
+ * + * .google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset single_target_dataset = 201; + */ + public Builder clearSingleTargetDataset() { + if (singleTargetDatasetBuilder_ == null) { + if (datasetConfigCase_ == 201) { + datasetConfigCase_ = 0; + datasetConfig_ = null; + onChanged(); + } + } else { + if (datasetConfigCase_ == 201) { + datasetConfigCase_ = 0; + datasetConfig_ = null; + } + singleTargetDatasetBuilder_.clear(); + } + return this; + } + /** + *
+     * Single destination dataset.
+     * 
+ * + * .google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset single_target_dataset = 201; + */ + public com.google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset.Builder getSingleTargetDatasetBuilder() { + return getSingleTargetDatasetFieldBuilder().getBuilder(); + } + /** + *
+     * Single destination dataset.
+     * 
+ * + * .google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset single_target_dataset = 201; + */ + @java.lang.Override + public com.google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDatasetOrBuilder getSingleTargetDatasetOrBuilder() { + if ((datasetConfigCase_ == 201) && (singleTargetDatasetBuilder_ != null)) { + return singleTargetDatasetBuilder_.getMessageOrBuilder(); + } else { + if (datasetConfigCase_ == 201) { + return (com.google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset) datasetConfig_; + } + return com.google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset.getDefaultInstance(); + } + } + /** + *
+     * Single destination dataset.
+     * 
+ * + * .google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset single_target_dataset = 201; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset, com.google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset.Builder, com.google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDatasetOrBuilder> + getSingleTargetDatasetFieldBuilder() { + if (singleTargetDatasetBuilder_ == null) { + if (!(datasetConfigCase_ == 201)) { + datasetConfig_ = com.google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset.getDefaultInstance(); + } + singleTargetDatasetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset, com.google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset.Builder, com.google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDatasetOrBuilder>( + (com.google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset) datasetConfig_, + getParentForChildren(), + isClean()); + datasetConfig_ = null; + } + datasetConfigCase_ = 201; + onChanged();; + return singleTargetDatasetBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets, com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.Builder, com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasetsOrBuilder> sourceHierarchyDatasetsBuilder_; + /** + *
+     * Source hierarchy datasets.
+     * 
+ * + * .google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets source_hierarchy_datasets = 202; + * @return Whether the sourceHierarchyDatasets field is set. + */ + @java.lang.Override + public boolean hasSourceHierarchyDatasets() { + return datasetConfigCase_ == 202; + } + /** + *
+     * Source hierarchy datasets.
+     * 
+ * + * .google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets source_hierarchy_datasets = 202; + * @return The sourceHierarchyDatasets. + */ + @java.lang.Override + public com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets getSourceHierarchyDatasets() { + if (sourceHierarchyDatasetsBuilder_ == null) { + if (datasetConfigCase_ == 202) { + return (com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets) datasetConfig_; + } + return com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.getDefaultInstance(); + } else { + if (datasetConfigCase_ == 202) { + return sourceHierarchyDatasetsBuilder_.getMessage(); + } + return com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.getDefaultInstance(); + } + } + /** + *
+     * Source hierarchy datasets.
+     * 
+ * + * .google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets source_hierarchy_datasets = 202; + */ + public Builder setSourceHierarchyDatasets(com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets value) { + if (sourceHierarchyDatasetsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + datasetConfig_ = value; + onChanged(); + } else { + sourceHierarchyDatasetsBuilder_.setMessage(value); + } + datasetConfigCase_ = 202; + return this; + } + /** + *
+     * Source hierarchy datasets.
+     * 
+ * + * .google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets source_hierarchy_datasets = 202; + */ + public Builder setSourceHierarchyDatasets( + com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.Builder builderForValue) { + if (sourceHierarchyDatasetsBuilder_ == null) { + datasetConfig_ = builderForValue.build(); + onChanged(); + } else { + sourceHierarchyDatasetsBuilder_.setMessage(builderForValue.build()); + } + datasetConfigCase_ = 202; + return this; + } + /** + *
+     * Source hierarchy datasets.
+     * 
+ * + * .google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets source_hierarchy_datasets = 202; + */ + public Builder mergeSourceHierarchyDatasets(com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets value) { + if (sourceHierarchyDatasetsBuilder_ == null) { + if (datasetConfigCase_ == 202 && + datasetConfig_ != com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.getDefaultInstance()) { + datasetConfig_ = com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.newBuilder((com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets) datasetConfig_) + .mergeFrom(value).buildPartial(); + } else { + datasetConfig_ = value; + } + onChanged(); + } else { + if (datasetConfigCase_ == 202) { + sourceHierarchyDatasetsBuilder_.mergeFrom(value); + } else { + sourceHierarchyDatasetsBuilder_.setMessage(value); + } + } + datasetConfigCase_ = 202; + return this; + } + /** + *
+     * Source hierarchy datasets.
+     * 
+ * + * .google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets source_hierarchy_datasets = 202; + */ + public Builder clearSourceHierarchyDatasets() { + if (sourceHierarchyDatasetsBuilder_ == null) { + if (datasetConfigCase_ == 202) { + datasetConfigCase_ = 0; + datasetConfig_ = null; + onChanged(); + } + } else { + if (datasetConfigCase_ == 202) { + datasetConfigCase_ = 0; + datasetConfig_ = null; + } + sourceHierarchyDatasetsBuilder_.clear(); + } + return this; + } + /** + *
+     * Source hierarchy datasets.
+     * 
+ * + * .google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets source_hierarchy_datasets = 202; + */ + public com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.Builder getSourceHierarchyDatasetsBuilder() { + return getSourceHierarchyDatasetsFieldBuilder().getBuilder(); + } + /** + *
+     * Source hierarchy datasets.
+     * 
+ * + * .google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets source_hierarchy_datasets = 202; + */ + @java.lang.Override + public com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasetsOrBuilder getSourceHierarchyDatasetsOrBuilder() { + if ((datasetConfigCase_ == 202) && (sourceHierarchyDatasetsBuilder_ != null)) { + return sourceHierarchyDatasetsBuilder_.getMessageOrBuilder(); + } else { + if (datasetConfigCase_ == 202) { + return (com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets) datasetConfig_; + } + return com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.getDefaultInstance(); + } + } + /** + *
+     * Source hierarchy datasets.
+     * 
+ * + * .google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets source_hierarchy_datasets = 202; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets, com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.Builder, com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasetsOrBuilder> + getSourceHierarchyDatasetsFieldBuilder() { + if (sourceHierarchyDatasetsBuilder_ == null) { + if (!(datasetConfigCase_ == 202)) { + datasetConfig_ = com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.getDefaultInstance(); + } + sourceHierarchyDatasetsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets, com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.Builder, com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasetsOrBuilder>( + (com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets) datasetConfig_, + getParentForChildren(), + isClean()); + datasetConfig_ = null; + } + datasetConfigCase_ = 202; + onChanged();; + return sourceHierarchyDatasetsBuilder_; + } + + private com.google.protobuf.Duration dataFreshness_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> dataFreshnessBuilder_; + /** + *
+     * The guaranteed data freshness (in seconds) when querying tables created by
+     * the stream. Editing this field will only affect new tables created in the
+     * future, but existing tables will not be impacted. Lower values mean that
+     * queries will return fresher data, but may result in higher cost.
+     * 
+ * + * .google.protobuf.Duration data_freshness = 300; + * @return Whether the dataFreshness field is set. + */ + public boolean hasDataFreshness() { + return dataFreshnessBuilder_ != null || dataFreshness_ != null; + } + /** + *
+     * The guaranteed data freshness (in seconds) when querying tables created by
+     * the stream. Editing this field will only affect new tables created in the
+     * future, but existing tables will not be impacted. Lower values mean that
+     * queries will return fresher data, but may result in higher cost.
+     * 
+ * + * .google.protobuf.Duration data_freshness = 300; + * @return The dataFreshness. + */ + public com.google.protobuf.Duration getDataFreshness() { + if (dataFreshnessBuilder_ == null) { + return dataFreshness_ == null ? com.google.protobuf.Duration.getDefaultInstance() : dataFreshness_; + } else { + return dataFreshnessBuilder_.getMessage(); + } + } + /** + *
+     * The guaranteed data freshness (in seconds) when querying tables created by
+     * the stream. Editing this field will only affect new tables created in the
+     * future, but existing tables will not be impacted. Lower values mean that
+     * queries will return fresher data, but may result in higher cost.
+     * 
+ * + * .google.protobuf.Duration data_freshness = 300; + */ + public Builder setDataFreshness(com.google.protobuf.Duration value) { + if (dataFreshnessBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + dataFreshness_ = value; + onChanged(); + } else { + dataFreshnessBuilder_.setMessage(value); + } + + return this; + } + /** + *
+     * The guaranteed data freshness (in seconds) when querying tables created by
+     * the stream. Editing this field will only affect new tables created in the
+     * future, but existing tables will not be impacted. Lower values mean that
+     * queries will return fresher data, but may result in higher cost.
+     * 
+ * + * .google.protobuf.Duration data_freshness = 300; + */ + public Builder setDataFreshness( + com.google.protobuf.Duration.Builder builderForValue) { + if (dataFreshnessBuilder_ == null) { + dataFreshness_ = builderForValue.build(); + onChanged(); + } else { + dataFreshnessBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+     * The guaranteed data freshness (in seconds) when querying tables created by
+     * the stream. Editing this field will only affect new tables created in the
+     * future, but existing tables will not be impacted. Lower values mean that
+     * queries will return fresher data, but may result in higher cost.
+     * 
+ * + * .google.protobuf.Duration data_freshness = 300; + */ + public Builder mergeDataFreshness(com.google.protobuf.Duration value) { + if (dataFreshnessBuilder_ == null) { + if (dataFreshness_ != null) { + dataFreshness_ = + com.google.protobuf.Duration.newBuilder(dataFreshness_).mergeFrom(value).buildPartial(); + } else { + dataFreshness_ = value; + } + onChanged(); + } else { + dataFreshnessBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+     * The guaranteed data freshness (in seconds) when querying tables created by
+     * the stream. Editing this field will only affect new tables created in the
+     * future, but existing tables will not be impacted. Lower values mean that
+     * queries will return fresher data, but may result in higher cost.
+     * 
+ * + * .google.protobuf.Duration data_freshness = 300; + */ + public Builder clearDataFreshness() { + if (dataFreshnessBuilder_ == null) { + dataFreshness_ = null; + onChanged(); + } else { + dataFreshness_ = null; + dataFreshnessBuilder_ = null; + } + + return this; + } + /** + *
+     * The guaranteed data freshness (in seconds) when querying tables created by
+     * the stream. Editing this field will only affect new tables created in the
+     * future, but existing tables will not be impacted. Lower values mean that
+     * queries will return fresher data, but may result in higher cost.
+     * 
+ * + * .google.protobuf.Duration data_freshness = 300; + */ + public com.google.protobuf.Duration.Builder getDataFreshnessBuilder() { + + onChanged(); + return getDataFreshnessFieldBuilder().getBuilder(); + } + /** + *
+     * The guaranteed data freshness (in seconds) when querying tables created by
+     * the stream. Editing this field will only affect new tables created in the
+     * future, but existing tables will not be impacted. Lower values mean that
+     * queries will return fresher data, but may result in higher cost.
+     * 
+ * + * .google.protobuf.Duration data_freshness = 300; + */ + public com.google.protobuf.DurationOrBuilder getDataFreshnessOrBuilder() { + if (dataFreshnessBuilder_ != null) { + return dataFreshnessBuilder_.getMessageOrBuilder(); + } else { + return dataFreshness_ == null ? + com.google.protobuf.Duration.getDefaultInstance() : dataFreshness_; + } + } + /** + *
+     * The guaranteed data freshness (in seconds) when querying tables created by
+     * the stream. Editing this field will only affect new tables created in the
+     * future, but existing tables will not be impacted. Lower values mean that
+     * queries will return fresher data, but may result in higher cost.
+     * 
+ * + * .google.protobuf.Duration data_freshness = 300; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> + getDataFreshnessFieldBuilder() { + if (dataFreshnessBuilder_ == null) { + dataFreshnessBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( + getDataFreshness(), + getParentForChildren(), + isClean()); + dataFreshness_ = null; + } + return dataFreshnessBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1.BigQueryDestinationConfig) + } + + // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1.BigQueryDestinationConfig) + private static final com.google.cloud.datastream.v1.BigQueryDestinationConfig DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.datastream.v1.BigQueryDestinationConfig(); + } + + public static com.google.cloud.datastream.v1.BigQueryDestinationConfig getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BigQueryDestinationConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new BigQueryDestinationConfig(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.datastream.v1.BigQueryDestinationConfig getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/BigQueryDestinationConfigOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/BigQueryDestinationConfigOrBuilder.java new file mode 100644 index 00000000..94651151 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/BigQueryDestinationConfigOrBuilder.java @@ -0,0 +1,101 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datastream/v1/datastream_resources.proto + +package com.google.cloud.datastream.v1; + +public interface BigQueryDestinationConfigOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1.BigQueryDestinationConfig) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Single destination dataset.
+   * 
+ * + * .google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset single_target_dataset = 201; + * @return Whether the singleTargetDataset field is set. + */ + boolean hasSingleTargetDataset(); + /** + *
+   * Single destination dataset.
+   * 
+ * + * .google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset single_target_dataset = 201; + * @return The singleTargetDataset. + */ + com.google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset getSingleTargetDataset(); + /** + *
+   * Single destination dataset.
+   * 
+ * + * .google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset single_target_dataset = 201; + */ + com.google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDatasetOrBuilder getSingleTargetDatasetOrBuilder(); + + /** + *
+   * Source hierarchy datasets.
+   * 
+ * + * .google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets source_hierarchy_datasets = 202; + * @return Whether the sourceHierarchyDatasets field is set. + */ + boolean hasSourceHierarchyDatasets(); + /** + *
+   * Source hierarchy datasets.
+   * 
+ * + * .google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets source_hierarchy_datasets = 202; + * @return The sourceHierarchyDatasets. + */ + com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets getSourceHierarchyDatasets(); + /** + *
+   * Source hierarchy datasets.
+   * 
+ * + * .google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets source_hierarchy_datasets = 202; + */ + com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasetsOrBuilder getSourceHierarchyDatasetsOrBuilder(); + + /** + *
+   * The guaranteed data freshness (in seconds) when querying tables created by
+   * the stream. Editing this field will only affect new tables created in the
+   * future, but existing tables will not be impacted. Lower values mean that
+   * queries will return fresher data, but may result in higher cost.
+   * 
+ * + * .google.protobuf.Duration data_freshness = 300; + * @return Whether the dataFreshness field is set. + */ + boolean hasDataFreshness(); + /** + *
+   * The guaranteed data freshness (in seconds) when querying tables created by
+   * the stream. Editing this field will only affect new tables created in the
+   * future, but existing tables will not be impacted. Lower values mean that
+   * queries will return fresher data, but may result in higher cost.
+   * 
+ * + * .google.protobuf.Duration data_freshness = 300; + * @return The dataFreshness. + */ + com.google.protobuf.Duration getDataFreshness(); + /** + *
+   * The guaranteed data freshness (in seconds) when querying tables created by
+   * the stream. Editing this field will only affect new tables created in the
+   * future, but existing tables will not be impacted. Lower values mean that
+   * queries will return fresher data, but may result in higher cost.
+   * 
+ * + * .google.protobuf.Duration data_freshness = 300; + */ + com.google.protobuf.DurationOrBuilder getDataFreshnessOrBuilder(); + + public com.google.cloud.datastream.v1.BigQueryDestinationConfig.DatasetConfigCase getDatasetConfigCase(); +} diff --git a/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/BigQueryProfile.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/BigQueryProfile.java new file mode 100644 index 00000000..ab0c4a44 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/BigQueryProfile.java @@ -0,0 +1,429 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datastream/v1/datastream_resources.proto + +package com.google.cloud.datastream.v1; + +/** + *
+ * BigQuery warehouse profile.
+ * 
+ * + * Protobuf type {@code google.cloud.datastream.v1.BigQueryProfile} + */ +public final class BigQueryProfile extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1.BigQueryProfile) + BigQueryProfileOrBuilder { +private static final long serialVersionUID = 0L; + // Use BigQueryProfile.newBuilder() to construct. + private BigQueryProfile(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private BigQueryProfile() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new BigQueryProfile(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private BigQueryProfile( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_BigQueryProfile_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_BigQueryProfile_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.datastream.v1.BigQueryProfile.class, com.google.cloud.datastream.v1.BigQueryProfile.Builder.class); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.datastream.v1.BigQueryProfile)) { + return super.equals(obj); + } + com.google.cloud.datastream.v1.BigQueryProfile other = (com.google.cloud.datastream.v1.BigQueryProfile) obj; + + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.datastream.v1.BigQueryProfile parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.datastream.v1.BigQueryProfile 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.datastream.v1.BigQueryProfile parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.datastream.v1.BigQueryProfile parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.datastream.v1.BigQueryProfile parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.datastream.v1.BigQueryProfile parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.datastream.v1.BigQueryProfile parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.datastream.v1.BigQueryProfile 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.datastream.v1.BigQueryProfile parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.datastream.v1.BigQueryProfile parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.datastream.v1.BigQueryProfile parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.datastream.v1.BigQueryProfile 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 static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.datastream.v1.BigQueryProfile prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * BigQuery warehouse profile.
+   * 
+ * + * Protobuf type {@code google.cloud.datastream.v1.BigQueryProfile} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1.BigQueryProfile) + com.google.cloud.datastream.v1.BigQueryProfileOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_BigQueryProfile_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_BigQueryProfile_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.datastream.v1.BigQueryProfile.class, com.google.cloud.datastream.v1.BigQueryProfile.Builder.class); + } + + // Construct using com.google.cloud.datastream.v1.BigQueryProfile.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_BigQueryProfile_descriptor; + } + + @java.lang.Override + public com.google.cloud.datastream.v1.BigQueryProfile getDefaultInstanceForType() { + return com.google.cloud.datastream.v1.BigQueryProfile.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.datastream.v1.BigQueryProfile build() { + com.google.cloud.datastream.v1.BigQueryProfile result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.datastream.v1.BigQueryProfile buildPartial() { + com.google.cloud.datastream.v1.BigQueryProfile result = new com.google.cloud.datastream.v1.BigQueryProfile(this); + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.datastream.v1.BigQueryProfile) { + return mergeFrom((com.google.cloud.datastream.v1.BigQueryProfile)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.datastream.v1.BigQueryProfile other) { + if (other == com.google.cloud.datastream.v1.BigQueryProfile.getDefaultInstance()) return this; + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.datastream.v1.BigQueryProfile parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.datastream.v1.BigQueryProfile) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1.BigQueryProfile) + } + + // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1.BigQueryProfile) + private static final com.google.cloud.datastream.v1.BigQueryProfile DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.datastream.v1.BigQueryProfile(); + } + + public static com.google.cloud.datastream.v1.BigQueryProfile getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BigQueryProfile parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new BigQueryProfile(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.datastream.v1.BigQueryProfile getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/BigQueryProfileOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/BigQueryProfileOrBuilder.java new file mode 100644 index 00000000..011e5d1f --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/BigQueryProfileOrBuilder.java @@ -0,0 +1,9 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datastream/v1/datastream_resources.proto + +package com.google.cloud.datastream.v1; + +public interface BigQueryProfileOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1.BigQueryProfile) + com.google.protobuf.MessageOrBuilder { +} diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ConnectionProfile.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ConnectionProfile.java similarity index 59% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ConnectionProfile.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ConnectionProfile.java index d6519750..d1db0b1b 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ConnectionProfile.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ConnectionProfile.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/datastream/v1/datastream_resources.proto package com.google.cloud.datastream.v1; /** - * - * *
  * A set of reusable connection configurations to be used as a source or
  * destination for a stream.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.datastream.v1.ConnectionProfile}
  */
-public final class ConnectionProfile extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ConnectionProfile extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1.ConnectionProfile)
     ConnectionProfileOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ConnectionProfile.newBuilder() to construct.
   private ConnectionProfile(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ConnectionProfile() {
     name_ = "";
     displayName_ = "";
@@ -45,15 +27,16 @@ private ConnectionProfile() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ConnectionProfile();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private ConnectionProfile(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -73,178 +56,176 @@ private ConnectionProfile(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
+            name_ = s;
+            break;
+          }
+          case 18: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (createTime_ != null) {
+              subBuilder = createTime_.toBuilder();
             }
-          case 18:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (createTime_ != null) {
-                subBuilder = createTime_.toBuilder();
-              }
-              createTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(createTime_);
-                createTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+            createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(createTime_);
+              createTime_ = subBuilder.buildPartial();
+            }
+
+            break;
+          }
+          case 26: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (updateTime_ != null) {
+              subBuilder = updateTime_.toBuilder();
             }
-          case 26:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (updateTime_ != null) {
-                subBuilder = updateTime_.toBuilder();
-              }
-              updateTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(updateTime_);
-                updateTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+            updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(updateTime_);
+              updateTime_ = subBuilder.buildPartial();
             }
-          case 34:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                labels_ =
-                    com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry);
-                mutable_bitField0_ |= 0x00000001;
-              }
-              com.google.protobuf.MapEntry labels__ =
-                  input.readMessage(
-                      LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              labels_.getMutableMap().put(labels__.getKey(), labels__.getValue());
-              break;
+
+            break;
+          }
+          case 34: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              labels_ = com.google.protobuf.MapField.newMapField(
+                  LabelsDefaultEntryHolder.defaultEntry);
+              mutable_bitField0_ |= 0x00000001;
             }
-          case 42:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            com.google.protobuf.MapEntry
+            labels__ = input.readMessage(
+                LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+            labels_.getMutableMap().put(
+                labels__.getKey(), labels__.getValue());
+            break;
+          }
+          case 42: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              displayName_ = s;
-              break;
+            displayName_ = s;
+            break;
+          }
+          case 802: {
+            com.google.cloud.datastream.v1.OracleProfile.Builder subBuilder = null;
+            if (profileCase_ == 100) {
+              subBuilder = ((com.google.cloud.datastream.v1.OracleProfile) profile_).toBuilder();
+            }
+            profile_ =
+                input.readMessage(com.google.cloud.datastream.v1.OracleProfile.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.cloud.datastream.v1.OracleProfile) profile_);
+              profile_ = subBuilder.buildPartial();
+            }
+            profileCase_ = 100;
+            break;
+          }
+          case 810: {
+            com.google.cloud.datastream.v1.GcsProfile.Builder subBuilder = null;
+            if (profileCase_ == 101) {
+              subBuilder = ((com.google.cloud.datastream.v1.GcsProfile) profile_).toBuilder();
+            }
+            profile_ =
+                input.readMessage(com.google.cloud.datastream.v1.GcsProfile.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.cloud.datastream.v1.GcsProfile) profile_);
+              profile_ = subBuilder.buildPartial();
+            }
+            profileCase_ = 101;
+            break;
+          }
+          case 818: {
+            com.google.cloud.datastream.v1.MysqlProfile.Builder subBuilder = null;
+            if (profileCase_ == 102) {
+              subBuilder = ((com.google.cloud.datastream.v1.MysqlProfile) profile_).toBuilder();
+            }
+            profile_ =
+                input.readMessage(com.google.cloud.datastream.v1.MysqlProfile.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.cloud.datastream.v1.MysqlProfile) profile_);
+              profile_ = subBuilder.buildPartial();
+            }
+            profileCase_ = 102;
+            break;
+          }
+          case 826: {
+            com.google.cloud.datastream.v1.BigQueryProfile.Builder subBuilder = null;
+            if (profileCase_ == 103) {
+              subBuilder = ((com.google.cloud.datastream.v1.BigQueryProfile) profile_).toBuilder();
+            }
+            profile_ =
+                input.readMessage(com.google.cloud.datastream.v1.BigQueryProfile.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.cloud.datastream.v1.BigQueryProfile) profile_);
+              profile_ = subBuilder.buildPartial();
+            }
+            profileCase_ = 103;
+            break;
+          }
+          case 834: {
+            com.google.cloud.datastream.v1.PostgresqlProfile.Builder subBuilder = null;
+            if (profileCase_ == 104) {
+              subBuilder = ((com.google.cloud.datastream.v1.PostgresqlProfile) profile_).toBuilder();
+            }
+            profile_ =
+                input.readMessage(com.google.cloud.datastream.v1.PostgresqlProfile.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.cloud.datastream.v1.PostgresqlProfile) profile_);
+              profile_ = subBuilder.buildPartial();
             }
-          case 802:
-            {
-              com.google.cloud.datastream.v1.OracleProfile.Builder subBuilder = null;
-              if (profileCase_ == 100) {
-                subBuilder = ((com.google.cloud.datastream.v1.OracleProfile) profile_).toBuilder();
-              }
-              profile_ =
-                  input.readMessage(
-                      com.google.cloud.datastream.v1.OracleProfile.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.cloud.datastream.v1.OracleProfile) profile_);
-                profile_ = subBuilder.buildPartial();
-              }
-              profileCase_ = 100;
-              break;
+            profileCase_ = 104;
+            break;
+          }
+          case 1602: {
+            com.google.cloud.datastream.v1.StaticServiceIpConnectivity.Builder subBuilder = null;
+            if (connectivityCase_ == 200) {
+              subBuilder = ((com.google.cloud.datastream.v1.StaticServiceIpConnectivity) connectivity_).toBuilder();
             }
-          case 810:
-            {
-              com.google.cloud.datastream.v1.GcsProfile.Builder subBuilder = null;
-              if (profileCase_ == 101) {
-                subBuilder = ((com.google.cloud.datastream.v1.GcsProfile) profile_).toBuilder();
-              }
-              profile_ =
-                  input.readMessage(
-                      com.google.cloud.datastream.v1.GcsProfile.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.cloud.datastream.v1.GcsProfile) profile_);
-                profile_ = subBuilder.buildPartial();
-              }
-              profileCase_ = 101;
-              break;
+            connectivity_ =
+                input.readMessage(com.google.cloud.datastream.v1.StaticServiceIpConnectivity.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.cloud.datastream.v1.StaticServiceIpConnectivity) connectivity_);
+              connectivity_ = subBuilder.buildPartial();
             }
-          case 818:
-            {
-              com.google.cloud.datastream.v1.MysqlProfile.Builder subBuilder = null;
-              if (profileCase_ == 102) {
-                subBuilder = ((com.google.cloud.datastream.v1.MysqlProfile) profile_).toBuilder();
-              }
-              profile_ =
-                  input.readMessage(
-                      com.google.cloud.datastream.v1.MysqlProfile.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.cloud.datastream.v1.MysqlProfile) profile_);
-                profile_ = subBuilder.buildPartial();
-              }
-              profileCase_ = 102;
-              break;
+            connectivityCase_ = 200;
+            break;
+          }
+          case 1610: {
+            com.google.cloud.datastream.v1.ForwardSshTunnelConnectivity.Builder subBuilder = null;
+            if (connectivityCase_ == 201) {
+              subBuilder = ((com.google.cloud.datastream.v1.ForwardSshTunnelConnectivity) connectivity_).toBuilder();
             }
-          case 1602:
-            {
-              com.google.cloud.datastream.v1.StaticServiceIpConnectivity.Builder subBuilder = null;
-              if (connectivityCase_ == 200) {
-                subBuilder =
-                    ((com.google.cloud.datastream.v1.StaticServiceIpConnectivity) connectivity_)
-                        .toBuilder();
-              }
-              connectivity_ =
-                  input.readMessage(
-                      com.google.cloud.datastream.v1.StaticServiceIpConnectivity.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(
-                    (com.google.cloud.datastream.v1.StaticServiceIpConnectivity) connectivity_);
-                connectivity_ = subBuilder.buildPartial();
-              }
-              connectivityCase_ = 200;
-              break;
+            connectivity_ =
+                input.readMessage(com.google.cloud.datastream.v1.ForwardSshTunnelConnectivity.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.cloud.datastream.v1.ForwardSshTunnelConnectivity) connectivity_);
+              connectivity_ = subBuilder.buildPartial();
             }
-          case 1610:
-            {
-              com.google.cloud.datastream.v1.ForwardSshTunnelConnectivity.Builder subBuilder = null;
-              if (connectivityCase_ == 201) {
-                subBuilder =
-                    ((com.google.cloud.datastream.v1.ForwardSshTunnelConnectivity) connectivity_)
-                        .toBuilder();
-              }
-              connectivity_ =
-                  input.readMessage(
-                      com.google.cloud.datastream.v1.ForwardSshTunnelConnectivity.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(
-                    (com.google.cloud.datastream.v1.ForwardSshTunnelConnectivity) connectivity_);
-                connectivity_ = subBuilder.buildPartial();
-              }
-              connectivityCase_ = 201;
-              break;
+            connectivityCase_ = 201;
+            break;
+          }
+          case 1618: {
+            com.google.cloud.datastream.v1.PrivateConnectivity.Builder subBuilder = null;
+            if (connectivityCase_ == 202) {
+              subBuilder = ((com.google.cloud.datastream.v1.PrivateConnectivity) connectivity_).toBuilder();
             }
-          case 1618:
-            {
-              com.google.cloud.datastream.v1.PrivateConnectivity.Builder subBuilder = null;
-              if (connectivityCase_ == 202) {
-                subBuilder =
-                    ((com.google.cloud.datastream.v1.PrivateConnectivity) connectivity_)
-                        .toBuilder();
-              }
-              connectivity_ =
-                  input.readMessage(
-                      com.google.cloud.datastream.v1.PrivateConnectivity.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(
-                    (com.google.cloud.datastream.v1.PrivateConnectivity) connectivity_);
-                connectivity_ = subBuilder.buildPartial();
-              }
-              connectivityCase_ = 202;
-              break;
+            connectivity_ =
+                input.readMessage(com.google.cloud.datastream.v1.PrivateConnectivity.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.cloud.datastream.v1.PrivateConnectivity) connectivity_);
+              connectivity_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            connectivityCase_ = 202;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -252,52 +233,50 @@ private ConnectionProfile(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datastream.v1.DatastreamResourcesProto
-        .internal_static_google_cloud_datastream_v1_ConnectionProfile_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_ConnectionProfile_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 4:
         return internalGetLabels();
       default:
-        throw new RuntimeException("Invalid map field number: " + number);
+        throw new RuntimeException(
+            "Invalid map field number: " + number);
     }
   }
-
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datastream.v1.DatastreamResourcesProto
-        .internal_static_google_cloud_datastream_v1_ConnectionProfile_fieldAccessorTable
+    return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_ConnectionProfile_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datastream.v1.ConnectionProfile.class,
-            com.google.cloud.datastream.v1.ConnectionProfile.Builder.class);
+            com.google.cloud.datastream.v1.ConnectionProfile.class, com.google.cloud.datastream.v1.ConnectionProfile.Builder.class);
   }
 
   private int profileCase_ = 0;
   private java.lang.Object profile_;
-
   public enum ProfileCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     ORACLE_PROFILE(100),
     GCS_PROFILE(101),
     MYSQL_PROFILE(102),
+    BIGQUERY_PROFILE(103),
+    POSTGRESQL_PROFILE(104),
     PROFILE_NOT_SET(0);
     private final int value;
-
     private ProfileCase(int value) {
       this.value = value;
     }
@@ -313,41 +292,36 @@ public static ProfileCase valueOf(int value) {
 
     public static ProfileCase forNumber(int value) {
       switch (value) {
-        case 100:
-          return ORACLE_PROFILE;
-        case 101:
-          return GCS_PROFILE;
-        case 102:
-          return MYSQL_PROFILE;
-        case 0:
-          return PROFILE_NOT_SET;
-        default:
-          return null;
+        case 100: return ORACLE_PROFILE;
+        case 101: return GCS_PROFILE;
+        case 102: return MYSQL_PROFILE;
+        case 103: return BIGQUERY_PROFILE;
+        case 104: return POSTGRESQL_PROFILE;
+        case 0: return PROFILE_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public ProfileCase getProfileCase() {
-    return ProfileCase.forNumber(profileCase_);
+  public ProfileCase
+  getProfileCase() {
+    return ProfileCase.forNumber(
+        profileCase_);
   }
 
   private int connectivityCase_ = 0;
   private java.lang.Object connectivity_;
-
   public enum ConnectivityCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     STATIC_SERVICE_IP_CONNECTIVITY(200),
     FORWARD_SSH_CONNECTIVITY(201),
     PRIVATE_CONNECTIVITY(202),
     CONNECTIVITY_NOT_SET(0);
     private final int value;
-
     private ConnectivityCase(int value) {
       this.value = value;
     }
@@ -363,39 +337,32 @@ public static ConnectivityCase valueOf(int value) {
 
     public static ConnectivityCase forNumber(int value) {
       switch (value) {
-        case 200:
-          return STATIC_SERVICE_IP_CONNECTIVITY;
-        case 201:
-          return FORWARD_SSH_CONNECTIVITY;
-        case 202:
-          return PRIVATE_CONNECTIVITY;
-        case 0:
-          return CONNECTIVITY_NOT_SET;
-        default:
-          return null;
+        case 200: return STATIC_SERVICE_IP_CONNECTIVITY;
+        case 201: return FORWARD_SSH_CONNECTIVITY;
+        case 202: return PRIVATE_CONNECTIVITY;
+        case 0: return CONNECTIVITY_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public ConnectivityCase getConnectivityCase() {
-    return ConnectivityCase.forNumber(connectivityCase_);
+  public ConnectivityCase
+  getConnectivityCase() {
+    return ConnectivityCase.forNumber(
+        connectivityCase_);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Output only. The resource's name.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -404,29 +371,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Output only. The resource's name.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -437,15 +404,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Output only. The create time of the resource.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -453,15 +416,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. The create time of the resource.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -469,14 +428,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. The create time of the resource.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -486,15 +442,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * Output only. The update time of the resource.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ @java.lang.Override @@ -502,15 +454,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * Output only. The update time of the resource.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ @java.lang.Override @@ -518,14 +466,11 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * Output only. The update time of the resource.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -533,23 +478,24 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } public static final int LABELS_FIELD_NUMBER = 4; - private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_ConnectionProfile_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_ConnectionProfile_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } @@ -558,30 +504,28 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
    * Labels.
    * 
* * map<string, string> labels = 4; */ + @java.lang.Override - public boolean containsLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } - /** Use {@link #getLabelsMap()} instead. */ + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** - * - * *
    * Labels.
    * 
@@ -589,12 +533,11 @@ public java.util.Map getLabels() { * map<string, string> labels = 4; */ @java.lang.Override + public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
    * Labels.
    * 
@@ -602,16 +545,16 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 4; */ @java.lang.Override - public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + + public java.lang.String getLabelsOrDefault( + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * Labels.
    * 
@@ -619,11 +562,12 @@ public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.Strin * map<string, string> labels = 4; */ @java.lang.Override - public java.lang.String getLabelsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + + public java.lang.String getLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -633,14 +577,11 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { public static final int DISPLAY_NAME_FIELD_NUMBER = 5; private volatile java.lang.Object displayName_; /** - * - * *
    * Required. Display name.
    * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The displayName. */ @java.lang.Override @@ -649,29 +590,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; } } /** - * - * *
    * Required. Display name.
    * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -681,14 +622,11 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int ORACLE_PROFILE_FIELD_NUMBER = 100; /** - * - * *
    * Oracle ConnectionProfile configuration.
    * 
* * .google.cloud.datastream.v1.OracleProfile oracle_profile = 100; - * * @return Whether the oracleProfile field is set. */ @java.lang.Override @@ -696,26 +634,21 @@ public boolean hasOracleProfile() { return profileCase_ == 100; } /** - * - * *
    * Oracle ConnectionProfile configuration.
    * 
* * .google.cloud.datastream.v1.OracleProfile oracle_profile = 100; - * * @return The oracleProfile. */ @java.lang.Override public com.google.cloud.datastream.v1.OracleProfile getOracleProfile() { if (profileCase_ == 100) { - return (com.google.cloud.datastream.v1.OracleProfile) profile_; + return (com.google.cloud.datastream.v1.OracleProfile) profile_; } return com.google.cloud.datastream.v1.OracleProfile.getDefaultInstance(); } /** - * - * *
    * Oracle ConnectionProfile configuration.
    * 
@@ -725,21 +658,18 @@ public com.google.cloud.datastream.v1.OracleProfile getOracleProfile() { @java.lang.Override public com.google.cloud.datastream.v1.OracleProfileOrBuilder getOracleProfileOrBuilder() { if (profileCase_ == 100) { - return (com.google.cloud.datastream.v1.OracleProfile) profile_; + return (com.google.cloud.datastream.v1.OracleProfile) profile_; } return com.google.cloud.datastream.v1.OracleProfile.getDefaultInstance(); } public static final int GCS_PROFILE_FIELD_NUMBER = 101; /** - * - * *
    * Cloud Storage ConnectionProfile configuration.
    * 
* * .google.cloud.datastream.v1.GcsProfile gcs_profile = 101; - * * @return Whether the gcsProfile field is set. */ @java.lang.Override @@ -747,26 +677,21 @@ public boolean hasGcsProfile() { return profileCase_ == 101; } /** - * - * *
    * Cloud Storage ConnectionProfile configuration.
    * 
* * .google.cloud.datastream.v1.GcsProfile gcs_profile = 101; - * * @return The gcsProfile. */ @java.lang.Override public com.google.cloud.datastream.v1.GcsProfile getGcsProfile() { if (profileCase_ == 101) { - return (com.google.cloud.datastream.v1.GcsProfile) profile_; + return (com.google.cloud.datastream.v1.GcsProfile) profile_; } return com.google.cloud.datastream.v1.GcsProfile.getDefaultInstance(); } /** - * - * *
    * Cloud Storage ConnectionProfile configuration.
    * 
@@ -776,21 +701,18 @@ public com.google.cloud.datastream.v1.GcsProfile getGcsProfile() { @java.lang.Override public com.google.cloud.datastream.v1.GcsProfileOrBuilder getGcsProfileOrBuilder() { if (profileCase_ == 101) { - return (com.google.cloud.datastream.v1.GcsProfile) profile_; + return (com.google.cloud.datastream.v1.GcsProfile) profile_; } return com.google.cloud.datastream.v1.GcsProfile.getDefaultInstance(); } public static final int MYSQL_PROFILE_FIELD_NUMBER = 102; /** - * - * *
    * MySQL ConnectionProfile configuration.
    * 
* * .google.cloud.datastream.v1.MysqlProfile mysql_profile = 102; - * * @return Whether the mysqlProfile field is set. */ @java.lang.Override @@ -798,26 +720,21 @@ public boolean hasMysqlProfile() { return profileCase_ == 102; } /** - * - * *
    * MySQL ConnectionProfile configuration.
    * 
* * .google.cloud.datastream.v1.MysqlProfile mysql_profile = 102; - * * @return The mysqlProfile. */ @java.lang.Override public com.google.cloud.datastream.v1.MysqlProfile getMysqlProfile() { if (profileCase_ == 102) { - return (com.google.cloud.datastream.v1.MysqlProfile) profile_; + return (com.google.cloud.datastream.v1.MysqlProfile) profile_; } return com.google.cloud.datastream.v1.MysqlProfile.getDefaultInstance(); } /** - * - * *
    * MySQL ConnectionProfile configuration.
    * 
@@ -827,81 +744,147 @@ public com.google.cloud.datastream.v1.MysqlProfile getMysqlProfile() { @java.lang.Override public com.google.cloud.datastream.v1.MysqlProfileOrBuilder getMysqlProfileOrBuilder() { if (profileCase_ == 102) { - return (com.google.cloud.datastream.v1.MysqlProfile) profile_; + return (com.google.cloud.datastream.v1.MysqlProfile) profile_; } return com.google.cloud.datastream.v1.MysqlProfile.getDefaultInstance(); } - public static final int STATIC_SERVICE_IP_CONNECTIVITY_FIELD_NUMBER = 200; + public static final int BIGQUERY_PROFILE_FIELD_NUMBER = 103; /** + *
+   * BigQuery Connection Profile configuration.
+   * 
* + * .google.cloud.datastream.v1.BigQueryProfile bigquery_profile = 103; + * @return Whether the bigqueryProfile field is set. + */ + @java.lang.Override + public boolean hasBigqueryProfile() { + return profileCase_ == 103; + } + /** + *
+   * BigQuery Connection Profile configuration.
+   * 
* + * .google.cloud.datastream.v1.BigQueryProfile bigquery_profile = 103; + * @return The bigqueryProfile. + */ + @java.lang.Override + public com.google.cloud.datastream.v1.BigQueryProfile getBigqueryProfile() { + if (profileCase_ == 103) { + return (com.google.cloud.datastream.v1.BigQueryProfile) profile_; + } + return com.google.cloud.datastream.v1.BigQueryProfile.getDefaultInstance(); + } + /** *
-   * Static Service IP connectivity.
+   * BigQuery Connection Profile configuration.
    * 
* - * - * .google.cloud.datastream.v1.StaticServiceIpConnectivity static_service_ip_connectivity = 200; - * + * .google.cloud.datastream.v1.BigQueryProfile bigquery_profile = 103; + */ + @java.lang.Override + public com.google.cloud.datastream.v1.BigQueryProfileOrBuilder getBigqueryProfileOrBuilder() { + if (profileCase_ == 103) { + return (com.google.cloud.datastream.v1.BigQueryProfile) profile_; + } + return com.google.cloud.datastream.v1.BigQueryProfile.getDefaultInstance(); + } + + public static final int POSTGRESQL_PROFILE_FIELD_NUMBER = 104; + /** + *
+   * PostgreSQL Connection Profile configuration.
+   * 
* - * @return Whether the staticServiceIpConnectivity field is set. + * .google.cloud.datastream.v1.PostgresqlProfile postgresql_profile = 104; + * @return Whether the postgresqlProfile field is set. */ @java.lang.Override - public boolean hasStaticServiceIpConnectivity() { - return connectivityCase_ == 200; + public boolean hasPostgresqlProfile() { + return profileCase_ == 104; } /** + *
+   * PostgreSQL Connection Profile configuration.
+   * 
* + * .google.cloud.datastream.v1.PostgresqlProfile postgresql_profile = 104; + * @return The postgresqlProfile. + */ + @java.lang.Override + public com.google.cloud.datastream.v1.PostgresqlProfile getPostgresqlProfile() { + if (profileCase_ == 104) { + return (com.google.cloud.datastream.v1.PostgresqlProfile) profile_; + } + return com.google.cloud.datastream.v1.PostgresqlProfile.getDefaultInstance(); + } + /** + *
+   * PostgreSQL Connection Profile configuration.
+   * 
* + * .google.cloud.datastream.v1.PostgresqlProfile postgresql_profile = 104; + */ + @java.lang.Override + public com.google.cloud.datastream.v1.PostgresqlProfileOrBuilder getPostgresqlProfileOrBuilder() { + if (profileCase_ == 104) { + return (com.google.cloud.datastream.v1.PostgresqlProfile) profile_; + } + return com.google.cloud.datastream.v1.PostgresqlProfile.getDefaultInstance(); + } + + public static final int STATIC_SERVICE_IP_CONNECTIVITY_FIELD_NUMBER = 200; + /** *
    * Static Service IP connectivity.
    * 
* - * - * .google.cloud.datastream.v1.StaticServiceIpConnectivity static_service_ip_connectivity = 200; - * + * .google.cloud.datastream.v1.StaticServiceIpConnectivity static_service_ip_connectivity = 200; + * @return Whether the staticServiceIpConnectivity field is set. + */ + @java.lang.Override + public boolean hasStaticServiceIpConnectivity() { + return connectivityCase_ == 200; + } + /** + *
+   * Static Service IP connectivity.
+   * 
* + * .google.cloud.datastream.v1.StaticServiceIpConnectivity static_service_ip_connectivity = 200; * @return The staticServiceIpConnectivity. */ @java.lang.Override - public com.google.cloud.datastream.v1.StaticServiceIpConnectivity - getStaticServiceIpConnectivity() { + public com.google.cloud.datastream.v1.StaticServiceIpConnectivity getStaticServiceIpConnectivity() { if (connectivityCase_ == 200) { - return (com.google.cloud.datastream.v1.StaticServiceIpConnectivity) connectivity_; + return (com.google.cloud.datastream.v1.StaticServiceIpConnectivity) connectivity_; } return com.google.cloud.datastream.v1.StaticServiceIpConnectivity.getDefaultInstance(); } /** - * - * *
    * Static Service IP connectivity.
    * 
* - * - * .google.cloud.datastream.v1.StaticServiceIpConnectivity static_service_ip_connectivity = 200; - * + * .google.cloud.datastream.v1.StaticServiceIpConnectivity static_service_ip_connectivity = 200; */ @java.lang.Override - public com.google.cloud.datastream.v1.StaticServiceIpConnectivityOrBuilder - getStaticServiceIpConnectivityOrBuilder() { + public com.google.cloud.datastream.v1.StaticServiceIpConnectivityOrBuilder getStaticServiceIpConnectivityOrBuilder() { if (connectivityCase_ == 200) { - return (com.google.cloud.datastream.v1.StaticServiceIpConnectivity) connectivity_; + return (com.google.cloud.datastream.v1.StaticServiceIpConnectivity) connectivity_; } return com.google.cloud.datastream.v1.StaticServiceIpConnectivity.getDefaultInstance(); } public static final int FORWARD_SSH_CONNECTIVITY_FIELD_NUMBER = 201; /** - * - * *
    * Forward SSH tunnel connectivity.
    * 
* - * .google.cloud.datastream.v1.ForwardSshTunnelConnectivity forward_ssh_connectivity = 201; - * - * + * .google.cloud.datastream.v1.ForwardSshTunnelConnectivity forward_ssh_connectivity = 201; * @return Whether the forwardSshConnectivity field is set. */ @java.lang.Override @@ -909,53 +892,42 @@ public boolean hasForwardSshConnectivity() { return connectivityCase_ == 201; } /** - * - * *
    * Forward SSH tunnel connectivity.
    * 
* - * .google.cloud.datastream.v1.ForwardSshTunnelConnectivity forward_ssh_connectivity = 201; - * - * + * .google.cloud.datastream.v1.ForwardSshTunnelConnectivity forward_ssh_connectivity = 201; * @return The forwardSshConnectivity. */ @java.lang.Override public com.google.cloud.datastream.v1.ForwardSshTunnelConnectivity getForwardSshConnectivity() { if (connectivityCase_ == 201) { - return (com.google.cloud.datastream.v1.ForwardSshTunnelConnectivity) connectivity_; + return (com.google.cloud.datastream.v1.ForwardSshTunnelConnectivity) connectivity_; } return com.google.cloud.datastream.v1.ForwardSshTunnelConnectivity.getDefaultInstance(); } /** - * - * *
    * Forward SSH tunnel connectivity.
    * 
* - * .google.cloud.datastream.v1.ForwardSshTunnelConnectivity forward_ssh_connectivity = 201; - * + * .google.cloud.datastream.v1.ForwardSshTunnelConnectivity forward_ssh_connectivity = 201; */ @java.lang.Override - public com.google.cloud.datastream.v1.ForwardSshTunnelConnectivityOrBuilder - getForwardSshConnectivityOrBuilder() { + public com.google.cloud.datastream.v1.ForwardSshTunnelConnectivityOrBuilder getForwardSshConnectivityOrBuilder() { if (connectivityCase_ == 201) { - return (com.google.cloud.datastream.v1.ForwardSshTunnelConnectivity) connectivity_; + return (com.google.cloud.datastream.v1.ForwardSshTunnelConnectivity) connectivity_; } return com.google.cloud.datastream.v1.ForwardSshTunnelConnectivity.getDefaultInstance(); } public static final int PRIVATE_CONNECTIVITY_FIELD_NUMBER = 202; /** - * - * *
    * Private connectivity.
    * 
* * .google.cloud.datastream.v1.PrivateConnectivity private_connectivity = 202; - * * @return Whether the privateConnectivity field is set. */ @java.lang.Override @@ -963,26 +935,21 @@ public boolean hasPrivateConnectivity() { return connectivityCase_ == 202; } /** - * - * *
    * Private connectivity.
    * 
* * .google.cloud.datastream.v1.PrivateConnectivity private_connectivity = 202; - * * @return The privateConnectivity. */ @java.lang.Override public com.google.cloud.datastream.v1.PrivateConnectivity getPrivateConnectivity() { if (connectivityCase_ == 202) { - return (com.google.cloud.datastream.v1.PrivateConnectivity) connectivity_; + return (com.google.cloud.datastream.v1.PrivateConnectivity) connectivity_; } return com.google.cloud.datastream.v1.PrivateConnectivity.getDefaultInstance(); } /** - * - * *
    * Private connectivity.
    * 
@@ -990,16 +957,14 @@ public com.google.cloud.datastream.v1.PrivateConnectivity getPrivateConnectivity * .google.cloud.datastream.v1.PrivateConnectivity private_connectivity = 202; */ @java.lang.Override - public com.google.cloud.datastream.v1.PrivateConnectivityOrBuilder - getPrivateConnectivityOrBuilder() { + public com.google.cloud.datastream.v1.PrivateConnectivityOrBuilder getPrivateConnectivityOrBuilder() { if (connectivityCase_ == 202) { - return (com.google.cloud.datastream.v1.PrivateConnectivity) connectivity_; + return (com.google.cloud.datastream.v1.PrivateConnectivity) connectivity_; } return com.google.cloud.datastream.v1.PrivateConnectivity.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1011,7 +976,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_); } @@ -1021,8 +987,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (updateTime_ != null) { output.writeMessage(3, getUpdateTime()); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 4); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetLabels(), + LabelsDefaultEntryHolder.defaultEntry, + 4); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, displayName_); } @@ -1035,13 +1005,17 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (profileCase_ == 102) { output.writeMessage(102, (com.google.cloud.datastream.v1.MysqlProfile) profile_); } + if (profileCase_ == 103) { + output.writeMessage(103, (com.google.cloud.datastream.v1.BigQueryProfile) profile_); + } + if (profileCase_ == 104) { + output.writeMessage(104, (com.google.cloud.datastream.v1.PostgresqlProfile) profile_); + } if (connectivityCase_ == 200) { - output.writeMessage( - 200, (com.google.cloud.datastream.v1.StaticServiceIpConnectivity) connectivity_); + output.writeMessage(200, (com.google.cloud.datastream.v1.StaticServiceIpConnectivity) connectivity_); } if (connectivityCase_ == 201) { - output.writeMessage( - 201, (com.google.cloud.datastream.v1.ForwardSshTunnelConnectivity) connectivity_); + output.writeMessage(201, (com.google.cloud.datastream.v1.ForwardSshTunnelConnectivity) connectivity_); } if (connectivityCase_ == 202) { output.writeMessage(202, (com.google.cloud.datastream.v1.PrivateConnectivity) connectivity_); @@ -1059,53 +1033,57 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateTime()); - } - for (java.util.Map.Entry entry : - internalGetLabels().getMap().entrySet()) { - com.google.protobuf.MapEntry labels__ = - LabelsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, labels__); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getUpdateTime()); + } + for (java.util.Map.Entry entry + : internalGetLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry + labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, labels__); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, displayName_); } if (profileCase_ == 100) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 100, (com.google.cloud.datastream.v1.OracleProfile) profile_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(100, (com.google.cloud.datastream.v1.OracleProfile) profile_); } if (profileCase_ == 101) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 101, (com.google.cloud.datastream.v1.GcsProfile) profile_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(101, (com.google.cloud.datastream.v1.GcsProfile) profile_); } if (profileCase_ == 102) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 102, (com.google.cloud.datastream.v1.MysqlProfile) profile_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(102, (com.google.cloud.datastream.v1.MysqlProfile) profile_); + } + if (profileCase_ == 103) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(103, (com.google.cloud.datastream.v1.BigQueryProfile) profile_); + } + if (profileCase_ == 104) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(104, (com.google.cloud.datastream.v1.PostgresqlProfile) profile_); } if (connectivityCase_ == 200) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 200, (com.google.cloud.datastream.v1.StaticServiceIpConnectivity) connectivity_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(200, (com.google.cloud.datastream.v1.StaticServiceIpConnectivity) connectivity_); } if (connectivityCase_ == 201) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 201, (com.google.cloud.datastream.v1.ForwardSshTunnelConnectivity) connectivity_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(201, (com.google.cloud.datastream.v1.ForwardSshTunnelConnectivity) connectivity_); } if (connectivityCase_ == 202) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 202, (com.google.cloud.datastream.v1.PrivateConnectivity) connectivity_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(202, (com.google.cloud.datastream.v1.PrivateConnectivity) connectivity_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1115,35 +1093,50 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datastream.v1.ConnectionProfile)) { return super.equals(obj); } - com.google.cloud.datastream.v1.ConnectionProfile other = - (com.google.cloud.datastream.v1.ConnectionProfile) obj; + com.google.cloud.datastream.v1.ConnectionProfile other = (com.google.cloud.datastream.v1.ConnectionProfile) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime().equals(other.getUpdateTime())) return false; + if (!getUpdateTime() + .equals(other.getUpdateTime())) return false; } - if (!internalGetLabels().equals(other.internalGetLabels())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!internalGetLabels().equals( + other.internalGetLabels())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; if (!getProfileCase().equals(other.getProfileCase())) return false; switch (profileCase_) { case 100: - if (!getOracleProfile().equals(other.getOracleProfile())) return false; + if (!getOracleProfile() + .equals(other.getOracleProfile())) return false; break; case 101: - if (!getGcsProfile().equals(other.getGcsProfile())) return false; + if (!getGcsProfile() + .equals(other.getGcsProfile())) return false; break; case 102: - if (!getMysqlProfile().equals(other.getMysqlProfile())) return false; + if (!getMysqlProfile() + .equals(other.getMysqlProfile())) return false; + break; + case 103: + if (!getBigqueryProfile() + .equals(other.getBigqueryProfile())) return false; + break; + case 104: + if (!getPostgresqlProfile() + .equals(other.getPostgresqlProfile())) return false; break; case 0: default: @@ -1151,14 +1144,16 @@ public boolean equals(final java.lang.Object obj) { if (!getConnectivityCase().equals(other.getConnectivityCase())) return false; switch (connectivityCase_) { case 200: - if (!getStaticServiceIpConnectivity().equals(other.getStaticServiceIpConnectivity())) - return false; + if (!getStaticServiceIpConnectivity() + .equals(other.getStaticServiceIpConnectivity())) return false; break; case 201: - if (!getForwardSshConnectivity().equals(other.getForwardSshConnectivity())) return false; + if (!getForwardSshConnectivity() + .equals(other.getForwardSshConnectivity())) return false; break; case 202: - if (!getPrivateConnectivity().equals(other.getPrivateConnectivity())) return false; + if (!getPrivateConnectivity() + .equals(other.getPrivateConnectivity())) return false; break; case 0: default: @@ -1203,6 +1198,14 @@ public int hashCode() { hash = (37 * hash) + MYSQL_PROFILE_FIELD_NUMBER; hash = (53 * hash) + getMysqlProfile().hashCode(); break; + case 103: + hash = (37 * hash) + BIGQUERY_PROFILE_FIELD_NUMBER; + hash = (53 * hash) + getBigqueryProfile().hashCode(); + break; + case 104: + hash = (37 * hash) + POSTGRESQL_PROFILE_FIELD_NUMBER; + hash = (53 * hash) + getPostgresqlProfile().hashCode(); + break; case 0: default: } @@ -1227,104 +1230,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.datastream.v1.ConnectionProfile parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.datastream.v1.ConnectionProfile parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.ConnectionProfile parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.ConnectionProfile parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.ConnectionProfile parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.ConnectionProfile parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.ConnectionProfile parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1.ConnectionProfile parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.ConnectionProfile parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.ConnectionProfile parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1.ConnectionProfile parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.ConnectionProfile parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.ConnectionProfile 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.datastream.v1.ConnectionProfile parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.ConnectionProfile parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datastream.v1.ConnectionProfile prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 set of reusable connection configurations to be used as a source or
    * destination for a stream.
@@ -1332,43 +1328,43 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datastream.v1.ConnectionProfile}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1.ConnectionProfile)
       com.google.cloud.datastream.v1.ConnectionProfileOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datastream.v1.DatastreamResourcesProto
-          .internal_static_google_cloud_datastream_v1_ConnectionProfile_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_ConnectionProfile_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMapField(
+        int number) {
       switch (number) {
         case 4:
           return internalGetLabels();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(
+        int number) {
       switch (number) {
         case 4:
           return internalGetMutableLabels();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datastream.v1.DatastreamResourcesProto
-          .internal_static_google_cloud_datastream_v1_ConnectionProfile_fieldAccessorTable
+      return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_ConnectionProfile_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datastream.v1.ConnectionProfile.class,
-              com.google.cloud.datastream.v1.ConnectionProfile.Builder.class);
+              com.google.cloud.datastream.v1.ConnectionProfile.class, com.google.cloud.datastream.v1.ConnectionProfile.Builder.class);
     }
 
     // Construct using com.google.cloud.datastream.v1.ConnectionProfile.newBuilder()
@@ -1376,15 +1372,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1413,9 +1410,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datastream.v1.DatastreamResourcesProto
-          .internal_static_google_cloud_datastream_v1_ConnectionProfile_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_ConnectionProfile_descriptor;
     }
 
     @java.lang.Override
@@ -1434,8 +1431,7 @@ public com.google.cloud.datastream.v1.ConnectionProfile build() {
 
     @java.lang.Override
     public com.google.cloud.datastream.v1.ConnectionProfile buildPartial() {
-      com.google.cloud.datastream.v1.ConnectionProfile result =
-          new com.google.cloud.datastream.v1.ConnectionProfile(this);
+      com.google.cloud.datastream.v1.ConnectionProfile result = new com.google.cloud.datastream.v1.ConnectionProfile(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       if (createTimeBuilder_ == null) {
@@ -1472,6 +1468,20 @@ public com.google.cloud.datastream.v1.ConnectionProfile buildPartial() {
           result.profile_ = mysqlProfileBuilder_.build();
         }
       }
+      if (profileCase_ == 103) {
+        if (bigqueryProfileBuilder_ == null) {
+          result.profile_ = profile_;
+        } else {
+          result.profile_ = bigqueryProfileBuilder_.build();
+        }
+      }
+      if (profileCase_ == 104) {
+        if (postgresqlProfileBuilder_ == null) {
+          result.profile_ = profile_;
+        } else {
+          result.profile_ = postgresqlProfileBuilder_.build();
+        }
+      }
       if (connectivityCase_ == 200) {
         if (staticServiceIpConnectivityBuilder_ == null) {
           result.connectivity_ = connectivity_;
@@ -1503,39 +1513,38 @@ public com.google.cloud.datastream.v1.ConnectionProfile buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datastream.v1.ConnectionProfile) {
-        return mergeFrom((com.google.cloud.datastream.v1.ConnectionProfile) other);
+        return mergeFrom((com.google.cloud.datastream.v1.ConnectionProfile)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1543,8 +1552,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datastream.v1.ConnectionProfile other) {
-      if (other == com.google.cloud.datastream.v1.ConnectionProfile.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datastream.v1.ConnectionProfile.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -1555,52 +1563,53 @@ public Builder mergeFrom(com.google.cloud.datastream.v1.ConnectionProfile other)
       if (other.hasUpdateTime()) {
         mergeUpdateTime(other.getUpdateTime());
       }
-      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(
+          other.internalGetLabels());
       if (!other.getDisplayName().isEmpty()) {
         displayName_ = other.displayName_;
         onChanged();
       }
       switch (other.getProfileCase()) {
-        case ORACLE_PROFILE:
-          {
-            mergeOracleProfile(other.getOracleProfile());
-            break;
-          }
-        case GCS_PROFILE:
-          {
-            mergeGcsProfile(other.getGcsProfile());
-            break;
-          }
-        case MYSQL_PROFILE:
-          {
-            mergeMysqlProfile(other.getMysqlProfile());
-            break;
-          }
-        case PROFILE_NOT_SET:
-          {
-            break;
-          }
+        case ORACLE_PROFILE: {
+          mergeOracleProfile(other.getOracleProfile());
+          break;
+        }
+        case GCS_PROFILE: {
+          mergeGcsProfile(other.getGcsProfile());
+          break;
+        }
+        case MYSQL_PROFILE: {
+          mergeMysqlProfile(other.getMysqlProfile());
+          break;
+        }
+        case BIGQUERY_PROFILE: {
+          mergeBigqueryProfile(other.getBigqueryProfile());
+          break;
+        }
+        case POSTGRESQL_PROFILE: {
+          mergePostgresqlProfile(other.getPostgresqlProfile());
+          break;
+        }
+        case PROFILE_NOT_SET: {
+          break;
+        }
       }
       switch (other.getConnectivityCase()) {
-        case STATIC_SERVICE_IP_CONNECTIVITY:
-          {
-            mergeStaticServiceIpConnectivity(other.getStaticServiceIpConnectivity());
-            break;
-          }
-        case FORWARD_SSH_CONNECTIVITY:
-          {
-            mergeForwardSshConnectivity(other.getForwardSshConnectivity());
-            break;
-          }
-        case PRIVATE_CONNECTIVITY:
-          {
-            mergePrivateConnectivity(other.getPrivateConnectivity());
-            break;
-          }
-        case CONNECTIVITY_NOT_SET:
-          {
-            break;
-          }
+        case STATIC_SERVICE_IP_CONNECTIVITY: {
+          mergeStaticServiceIpConnectivity(other.getStaticServiceIpConnectivity());
+          break;
+        }
+        case FORWARD_SSH_CONNECTIVITY: {
+          mergeForwardSshConnectivity(other.getForwardSshConnectivity());
+          break;
+        }
+        case PRIVATE_CONNECTIVITY: {
+          mergePrivateConnectivity(other.getPrivateConnectivity());
+          break;
+        }
+        case CONNECTIVITY_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -1630,12 +1639,12 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int profileCase_ = 0;
     private java.lang.Object profile_;
-
-    public ProfileCase getProfileCase() {
-      return ProfileCase.forNumber(profileCase_);
+    public ProfileCase
+        getProfileCase() {
+      return ProfileCase.forNumber(
+          profileCase_);
     }
 
     public Builder clearProfile() {
@@ -1647,9 +1656,10 @@ public Builder clearProfile() {
 
     private int connectivityCase_ = 0;
     private java.lang.Object connectivity_;
-
-    public ConnectivityCase getConnectivityCase() {
-      return ConnectivityCase.forNumber(connectivityCase_);
+    public ConnectivityCase
+        getConnectivityCase() {
+      return ConnectivityCase.forNumber(
+          connectivityCase_);
     }
 
     public Builder clearConnectivity() {
@@ -1663,20 +1673,18 @@ public Builder clearConnectivity() {
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Output only. The resource's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1685,21 +1693,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. The resource's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1707,61 +1714,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. The resource's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The resource's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Output only. The resource's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1769,58 +1769,39 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
      * Output only. The create time of the resource.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * Output only. The create time of the resource.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The create time of the resource.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -1836,17 +1817,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The create time of the resource.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -1857,21 +1835,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The create time of the resource.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1883,15 +1857,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The create time of the resource.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -1905,64 +1875,48 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. The create time of the resource.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The create time of the resource.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * Output only. The create time of the resource.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; @@ -1970,58 +1924,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 update time of the resource.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
      * Output only. The update time of the resource.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The update time of the resource.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -2037,17 +1972,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The update time of the resource.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -2058,21 +1990,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The update time of the resource.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -2084,15 +2012,11 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The update time of the resource.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearUpdateTime() { if (updateTimeBuilder_ == null) { @@ -2106,84 +2030,69 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * Output only. The update time of the resource.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The update time of the resource.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } } /** - * - * *
      * Output only. The update time of the resource.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), getParentForChildren(), isClean()); + updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), + getParentForChildren(), + isClean()); updateTime_ = null; } return updateTimeBuilder_; } - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - private com.google.protobuf.MapField - internalGetMutableLabels() { - onChanged(); - ; + internalGetMutableLabels() { + onChanged();; if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -2195,30 +2104,28 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
      * Labels.
      * 
* * map<string, string> labels = 4; */ + @java.lang.Override - public boolean containsLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } - /** Use {@link #getLabelsMap()} instead. */ + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** - * - * *
      * Labels.
      * 
@@ -2226,12 +2133,11 @@ public java.util.Map getLabels() { * map<string, string> labels = 4; */ @java.lang.Override + public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
      * Labels.
      * 
@@ -2239,17 +2145,16 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 4; */ @java.lang.Override + public java.lang.String getLabelsOrDefault( - java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * Labels.
      * 
@@ -2257,11 +2162,12 @@ public java.lang.String getLabelsOrDefault( * map<string, string> labels = 4; */ @java.lang.Override - public java.lang.String getLabelsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + + public java.lang.String getLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -2269,80 +2175,81 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { } public Builder clearLabels() { - internalGetMutableLabels().getMutableMap().clear(); + internalGetMutableLabels().getMutableMap() + .clear(); return this; } /** - * - * *
      * Labels.
      * 
* * map<string, string> labels = 4; */ - public Builder removeLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableLabels().getMutableMap().remove(key); + + public Builder removeLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableLabels().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map getMutableLabels() { + public java.util.Map + getMutableLabels() { return internalGetMutableLabels().getMutableMap(); } /** - * - * *
      * Labels.
      * 
* * map<string, string> labels = 4; */ - public Builder putLabels(java.lang.String key, java.lang.String value) { - if (key == null) { - throw new NullPointerException("map key"); - } + public Builder putLabels( + java.lang.String key, + java.lang.String value) { + if (key == null) { throw new NullPointerException("map key"); } if (value == null) { - throw new NullPointerException("map value"); - } + throw new NullPointerException("map value"); +} - internalGetMutableLabels().getMutableMap().put(key, value); + internalGetMutableLabels().getMutableMap() + .put(key, value); return this; } /** - * - * *
      * Labels.
      * 
* * map<string, string> labels = 4; */ - public Builder putAllLabels(java.util.Map values) { - internalGetMutableLabels().getMutableMap().putAll(values); + + public Builder putAllLabels( + java.util.Map values) { + internalGetMutableLabels().getMutableMap() + .putAll(values); return this; } private java.lang.Object displayName_ = ""; /** - * - * *
      * Required. Display name.
      * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @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; @@ -2351,21 +2258,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * Required. Display name.
      * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -2373,80 +2279,67 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * Required. Display name.
      * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** - * - * *
      * Required. Display name.
      * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** - * - * *
      * Required. Display name.
      * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.OracleProfile, - com.google.cloud.datastream.v1.OracleProfile.Builder, - com.google.cloud.datastream.v1.OracleProfileOrBuilder> - oracleProfileBuilder_; + com.google.cloud.datastream.v1.OracleProfile, com.google.cloud.datastream.v1.OracleProfile.Builder, com.google.cloud.datastream.v1.OracleProfileOrBuilder> oracleProfileBuilder_; /** - * - * *
      * Oracle ConnectionProfile configuration.
      * 
* * .google.cloud.datastream.v1.OracleProfile oracle_profile = 100; - * * @return Whether the oracleProfile field is set. */ @java.lang.Override @@ -2454,14 +2347,11 @@ public boolean hasOracleProfile() { return profileCase_ == 100; } /** - * - * *
      * Oracle ConnectionProfile configuration.
      * 
* * .google.cloud.datastream.v1.OracleProfile oracle_profile = 100; - * * @return The oracleProfile. */ @java.lang.Override @@ -2479,8 +2369,6 @@ public com.google.cloud.datastream.v1.OracleProfile getOracleProfile() { } } /** - * - * *
      * Oracle ConnectionProfile configuration.
      * 
@@ -2501,8 +2389,6 @@ public Builder setOracleProfile(com.google.cloud.datastream.v1.OracleProfile val return this; } /** - * - * *
      * Oracle ConnectionProfile configuration.
      * 
@@ -2521,8 +2407,6 @@ public Builder setOracleProfile( return this; } /** - * - * *
      * Oracle ConnectionProfile configuration.
      * 
@@ -2531,13 +2415,10 @@ public Builder setOracleProfile( */ public Builder mergeOracleProfile(com.google.cloud.datastream.v1.OracleProfile value) { if (oracleProfileBuilder_ == null) { - if (profileCase_ == 100 - && profile_ != com.google.cloud.datastream.v1.OracleProfile.getDefaultInstance()) { - profile_ = - com.google.cloud.datastream.v1.OracleProfile.newBuilder( - (com.google.cloud.datastream.v1.OracleProfile) profile_) - .mergeFrom(value) - .buildPartial(); + if (profileCase_ == 100 && + profile_ != com.google.cloud.datastream.v1.OracleProfile.getDefaultInstance()) { + profile_ = com.google.cloud.datastream.v1.OracleProfile.newBuilder((com.google.cloud.datastream.v1.OracleProfile) profile_) + .mergeFrom(value).buildPartial(); } else { profile_ = value; } @@ -2553,8 +2434,6 @@ public Builder mergeOracleProfile(com.google.cloud.datastream.v1.OracleProfile v return this; } /** - * - * *
      * Oracle ConnectionProfile configuration.
      * 
@@ -2578,8 +2457,6 @@ public Builder clearOracleProfile() { return this; } /** - * - * *
      * Oracle ConnectionProfile configuration.
      * 
@@ -2590,8 +2467,6 @@ public com.google.cloud.datastream.v1.OracleProfile.Builder getOracleProfileBuil return getOracleProfileFieldBuilder().getBuilder(); } /** - * - * *
      * Oracle ConnectionProfile configuration.
      * 
@@ -2610,8 +2485,6 @@ public com.google.cloud.datastream.v1.OracleProfileOrBuilder getOracleProfileOrB } } /** - * - * *
      * Oracle ConnectionProfile configuration.
      * 
@@ -2619,44 +2492,32 @@ public com.google.cloud.datastream.v1.OracleProfileOrBuilder getOracleProfileOrB * .google.cloud.datastream.v1.OracleProfile oracle_profile = 100; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.OracleProfile, - com.google.cloud.datastream.v1.OracleProfile.Builder, - com.google.cloud.datastream.v1.OracleProfileOrBuilder> + com.google.cloud.datastream.v1.OracleProfile, com.google.cloud.datastream.v1.OracleProfile.Builder, com.google.cloud.datastream.v1.OracleProfileOrBuilder> getOracleProfileFieldBuilder() { if (oracleProfileBuilder_ == null) { if (!(profileCase_ == 100)) { profile_ = com.google.cloud.datastream.v1.OracleProfile.getDefaultInstance(); } - oracleProfileBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.OracleProfile, - com.google.cloud.datastream.v1.OracleProfile.Builder, - com.google.cloud.datastream.v1.OracleProfileOrBuilder>( + oracleProfileBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1.OracleProfile, com.google.cloud.datastream.v1.OracleProfile.Builder, com.google.cloud.datastream.v1.OracleProfileOrBuilder>( (com.google.cloud.datastream.v1.OracleProfile) profile_, getParentForChildren(), isClean()); profile_ = null; } profileCase_ = 100; - onChanged(); - ; + onChanged();; return oracleProfileBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.GcsProfile, - com.google.cloud.datastream.v1.GcsProfile.Builder, - com.google.cloud.datastream.v1.GcsProfileOrBuilder> - gcsProfileBuilder_; + com.google.cloud.datastream.v1.GcsProfile, com.google.cloud.datastream.v1.GcsProfile.Builder, com.google.cloud.datastream.v1.GcsProfileOrBuilder> gcsProfileBuilder_; /** - * - * *
      * Cloud Storage ConnectionProfile configuration.
      * 
* * .google.cloud.datastream.v1.GcsProfile gcs_profile = 101; - * * @return Whether the gcsProfile field is set. */ @java.lang.Override @@ -2664,14 +2525,11 @@ public boolean hasGcsProfile() { return profileCase_ == 101; } /** - * - * *
      * Cloud Storage ConnectionProfile configuration.
      * 
* * .google.cloud.datastream.v1.GcsProfile gcs_profile = 101; - * * @return The gcsProfile. */ @java.lang.Override @@ -2689,8 +2547,6 @@ public com.google.cloud.datastream.v1.GcsProfile getGcsProfile() { } } /** - * - * *
      * Cloud Storage ConnectionProfile configuration.
      * 
@@ -2711,8 +2567,6 @@ public Builder setGcsProfile(com.google.cloud.datastream.v1.GcsProfile value) { return this; } /** - * - * *
      * Cloud Storage ConnectionProfile configuration.
      * 
@@ -2731,8 +2585,6 @@ public Builder setGcsProfile( return this; } /** - * - * *
      * Cloud Storage ConnectionProfile configuration.
      * 
@@ -2741,13 +2593,10 @@ public Builder setGcsProfile( */ public Builder mergeGcsProfile(com.google.cloud.datastream.v1.GcsProfile value) { if (gcsProfileBuilder_ == null) { - if (profileCase_ == 101 - && profile_ != com.google.cloud.datastream.v1.GcsProfile.getDefaultInstance()) { - profile_ = - com.google.cloud.datastream.v1.GcsProfile.newBuilder( - (com.google.cloud.datastream.v1.GcsProfile) profile_) - .mergeFrom(value) - .buildPartial(); + if (profileCase_ == 101 && + profile_ != com.google.cloud.datastream.v1.GcsProfile.getDefaultInstance()) { + profile_ = com.google.cloud.datastream.v1.GcsProfile.newBuilder((com.google.cloud.datastream.v1.GcsProfile) profile_) + .mergeFrom(value).buildPartial(); } else { profile_ = value; } @@ -2763,8 +2612,6 @@ public Builder mergeGcsProfile(com.google.cloud.datastream.v1.GcsProfile value) return this; } /** - * - * *
      * Cloud Storage ConnectionProfile configuration.
      * 
@@ -2788,8 +2635,6 @@ public Builder clearGcsProfile() { return this; } /** - * - * *
      * Cloud Storage ConnectionProfile configuration.
      * 
@@ -2800,8 +2645,6 @@ public com.google.cloud.datastream.v1.GcsProfile.Builder getGcsProfileBuilder() return getGcsProfileFieldBuilder().getBuilder(); } /** - * - * *
      * Cloud Storage ConnectionProfile configuration.
      * 
@@ -2820,8 +2663,6 @@ public com.google.cloud.datastream.v1.GcsProfileOrBuilder getGcsProfileOrBuilder } } /** - * - * *
      * Cloud Storage ConnectionProfile configuration.
      * 
@@ -2829,44 +2670,32 @@ public com.google.cloud.datastream.v1.GcsProfileOrBuilder getGcsProfileOrBuilder * .google.cloud.datastream.v1.GcsProfile gcs_profile = 101; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.GcsProfile, - com.google.cloud.datastream.v1.GcsProfile.Builder, - com.google.cloud.datastream.v1.GcsProfileOrBuilder> + com.google.cloud.datastream.v1.GcsProfile, com.google.cloud.datastream.v1.GcsProfile.Builder, com.google.cloud.datastream.v1.GcsProfileOrBuilder> getGcsProfileFieldBuilder() { if (gcsProfileBuilder_ == null) { if (!(profileCase_ == 101)) { profile_ = com.google.cloud.datastream.v1.GcsProfile.getDefaultInstance(); } - gcsProfileBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.GcsProfile, - com.google.cloud.datastream.v1.GcsProfile.Builder, - com.google.cloud.datastream.v1.GcsProfileOrBuilder>( + gcsProfileBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1.GcsProfile, com.google.cloud.datastream.v1.GcsProfile.Builder, com.google.cloud.datastream.v1.GcsProfileOrBuilder>( (com.google.cloud.datastream.v1.GcsProfile) profile_, getParentForChildren(), isClean()); profile_ = null; } profileCase_ = 101; - onChanged(); - ; + onChanged();; return gcsProfileBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.MysqlProfile, - com.google.cloud.datastream.v1.MysqlProfile.Builder, - com.google.cloud.datastream.v1.MysqlProfileOrBuilder> - mysqlProfileBuilder_; + com.google.cloud.datastream.v1.MysqlProfile, com.google.cloud.datastream.v1.MysqlProfile.Builder, com.google.cloud.datastream.v1.MysqlProfileOrBuilder> mysqlProfileBuilder_; /** - * - * *
      * MySQL ConnectionProfile configuration.
      * 
* * .google.cloud.datastream.v1.MysqlProfile mysql_profile = 102; - * * @return Whether the mysqlProfile field is set. */ @java.lang.Override @@ -2874,14 +2703,11 @@ public boolean hasMysqlProfile() { return profileCase_ == 102; } /** - * - * *
      * MySQL ConnectionProfile configuration.
      * 
* * .google.cloud.datastream.v1.MysqlProfile mysql_profile = 102; - * * @return The mysqlProfile. */ @java.lang.Override @@ -2899,8 +2725,6 @@ public com.google.cloud.datastream.v1.MysqlProfile getMysqlProfile() { } } /** - * - * *
      * MySQL ConnectionProfile configuration.
      * 
@@ -2921,8 +2745,6 @@ public Builder setMysqlProfile(com.google.cloud.datastream.v1.MysqlProfile value return this; } /** - * - * *
      * MySQL ConnectionProfile configuration.
      * 
@@ -2941,8 +2763,6 @@ public Builder setMysqlProfile( return this; } /** - * - * *
      * MySQL ConnectionProfile configuration.
      * 
@@ -2951,13 +2771,10 @@ public Builder setMysqlProfile( */ public Builder mergeMysqlProfile(com.google.cloud.datastream.v1.MysqlProfile value) { if (mysqlProfileBuilder_ == null) { - if (profileCase_ == 102 - && profile_ != com.google.cloud.datastream.v1.MysqlProfile.getDefaultInstance()) { - profile_ = - com.google.cloud.datastream.v1.MysqlProfile.newBuilder( - (com.google.cloud.datastream.v1.MysqlProfile) profile_) - .mergeFrom(value) - .buildPartial(); + if (profileCase_ == 102 && + profile_ != com.google.cloud.datastream.v1.MysqlProfile.getDefaultInstance()) { + profile_ = com.google.cloud.datastream.v1.MysqlProfile.newBuilder((com.google.cloud.datastream.v1.MysqlProfile) profile_) + .mergeFrom(value).buildPartial(); } else { profile_ = value; } @@ -2973,8 +2790,6 @@ public Builder mergeMysqlProfile(com.google.cloud.datastream.v1.MysqlProfile val return this; } /** - * - * *
      * MySQL ConnectionProfile configuration.
      * 
@@ -2998,8 +2813,6 @@ public Builder clearMysqlProfile() { return this; } /** - * - * *
      * MySQL ConnectionProfile configuration.
      * 
@@ -3010,8 +2823,6 @@ public com.google.cloud.datastream.v1.MysqlProfile.Builder getMysqlProfileBuilde return getMysqlProfileFieldBuilder().getBuilder(); } /** - * - * *
      * MySQL ConnectionProfile configuration.
      * 
@@ -3030,8 +2841,6 @@ public com.google.cloud.datastream.v1.MysqlProfileOrBuilder getMysqlProfileOrBui } } /** - * - * *
      * MySQL ConnectionProfile configuration.
      * 
@@ -3039,68 +2848,404 @@ public com.google.cloud.datastream.v1.MysqlProfileOrBuilder getMysqlProfileOrBui * .google.cloud.datastream.v1.MysqlProfile mysql_profile = 102; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.MysqlProfile, - com.google.cloud.datastream.v1.MysqlProfile.Builder, - com.google.cloud.datastream.v1.MysqlProfileOrBuilder> + com.google.cloud.datastream.v1.MysqlProfile, com.google.cloud.datastream.v1.MysqlProfile.Builder, com.google.cloud.datastream.v1.MysqlProfileOrBuilder> getMysqlProfileFieldBuilder() { if (mysqlProfileBuilder_ == null) { if (!(profileCase_ == 102)) { profile_ = com.google.cloud.datastream.v1.MysqlProfile.getDefaultInstance(); } - mysqlProfileBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.MysqlProfile, - com.google.cloud.datastream.v1.MysqlProfile.Builder, - com.google.cloud.datastream.v1.MysqlProfileOrBuilder>( + mysqlProfileBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1.MysqlProfile, com.google.cloud.datastream.v1.MysqlProfile.Builder, com.google.cloud.datastream.v1.MysqlProfileOrBuilder>( (com.google.cloud.datastream.v1.MysqlProfile) profile_, getParentForChildren(), isClean()); profile_ = null; } profileCase_ = 102; - onChanged(); - ; + onChanged();; return mysqlProfileBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.StaticServiceIpConnectivity, - com.google.cloud.datastream.v1.StaticServiceIpConnectivity.Builder, - com.google.cloud.datastream.v1.StaticServiceIpConnectivityOrBuilder> - staticServiceIpConnectivityBuilder_; + com.google.cloud.datastream.v1.BigQueryProfile, com.google.cloud.datastream.v1.BigQueryProfile.Builder, com.google.cloud.datastream.v1.BigQueryProfileOrBuilder> bigqueryProfileBuilder_; /** + *
+     * BigQuery Connection Profile configuration.
+     * 
* + * .google.cloud.datastream.v1.BigQueryProfile bigquery_profile = 103; + * @return Whether the bigqueryProfile field is set. + */ + @java.lang.Override + public boolean hasBigqueryProfile() { + return profileCase_ == 103; + } + /** + *
+     * BigQuery Connection Profile configuration.
+     * 
* + * .google.cloud.datastream.v1.BigQueryProfile bigquery_profile = 103; + * @return The bigqueryProfile. + */ + @java.lang.Override + public com.google.cloud.datastream.v1.BigQueryProfile getBigqueryProfile() { + if (bigqueryProfileBuilder_ == null) { + if (profileCase_ == 103) { + return (com.google.cloud.datastream.v1.BigQueryProfile) profile_; + } + return com.google.cloud.datastream.v1.BigQueryProfile.getDefaultInstance(); + } else { + if (profileCase_ == 103) { + return bigqueryProfileBuilder_.getMessage(); + } + return com.google.cloud.datastream.v1.BigQueryProfile.getDefaultInstance(); + } + } + /** *
-     * Static Service IP connectivity.
+     * BigQuery Connection Profile configuration.
      * 
* - * - * .google.cloud.datastream.v1.StaticServiceIpConnectivity static_service_ip_connectivity = 200; - * + * .google.cloud.datastream.v1.BigQueryProfile bigquery_profile = 103; + */ + public Builder setBigqueryProfile(com.google.cloud.datastream.v1.BigQueryProfile value) { + if (bigqueryProfileBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + profile_ = value; + onChanged(); + } else { + bigqueryProfileBuilder_.setMessage(value); + } + profileCase_ = 103; + return this; + } + /** + *
+     * BigQuery Connection Profile configuration.
+     * 
* - * @return Whether the staticServiceIpConnectivity field is set. + * .google.cloud.datastream.v1.BigQueryProfile bigquery_profile = 103; + */ + public Builder setBigqueryProfile( + com.google.cloud.datastream.v1.BigQueryProfile.Builder builderForValue) { + if (bigqueryProfileBuilder_ == null) { + profile_ = builderForValue.build(); + onChanged(); + } else { + bigqueryProfileBuilder_.setMessage(builderForValue.build()); + } + profileCase_ = 103; + return this; + } + /** + *
+     * BigQuery Connection Profile configuration.
+     * 
+ * + * .google.cloud.datastream.v1.BigQueryProfile bigquery_profile = 103; + */ + public Builder mergeBigqueryProfile(com.google.cloud.datastream.v1.BigQueryProfile value) { + if (bigqueryProfileBuilder_ == null) { + if (profileCase_ == 103 && + profile_ != com.google.cloud.datastream.v1.BigQueryProfile.getDefaultInstance()) { + profile_ = com.google.cloud.datastream.v1.BigQueryProfile.newBuilder((com.google.cloud.datastream.v1.BigQueryProfile) profile_) + .mergeFrom(value).buildPartial(); + } else { + profile_ = value; + } + onChanged(); + } else { + if (profileCase_ == 103) { + bigqueryProfileBuilder_.mergeFrom(value); + } else { + bigqueryProfileBuilder_.setMessage(value); + } + } + profileCase_ = 103; + return this; + } + /** + *
+     * BigQuery Connection Profile configuration.
+     * 
+ * + * .google.cloud.datastream.v1.BigQueryProfile bigquery_profile = 103; + */ + public Builder clearBigqueryProfile() { + if (bigqueryProfileBuilder_ == null) { + if (profileCase_ == 103) { + profileCase_ = 0; + profile_ = null; + onChanged(); + } + } else { + if (profileCase_ == 103) { + profileCase_ = 0; + profile_ = null; + } + bigqueryProfileBuilder_.clear(); + } + return this; + } + /** + *
+     * BigQuery Connection Profile configuration.
+     * 
+ * + * .google.cloud.datastream.v1.BigQueryProfile bigquery_profile = 103; + */ + public com.google.cloud.datastream.v1.BigQueryProfile.Builder getBigqueryProfileBuilder() { + return getBigqueryProfileFieldBuilder().getBuilder(); + } + /** + *
+     * BigQuery Connection Profile configuration.
+     * 
+ * + * .google.cloud.datastream.v1.BigQueryProfile bigquery_profile = 103; */ @java.lang.Override - public boolean hasStaticServiceIpConnectivity() { - return connectivityCase_ == 200; + public com.google.cloud.datastream.v1.BigQueryProfileOrBuilder getBigqueryProfileOrBuilder() { + if ((profileCase_ == 103) && (bigqueryProfileBuilder_ != null)) { + return bigqueryProfileBuilder_.getMessageOrBuilder(); + } else { + if (profileCase_ == 103) { + return (com.google.cloud.datastream.v1.BigQueryProfile) profile_; + } + return com.google.cloud.datastream.v1.BigQueryProfile.getDefaultInstance(); + } + } + /** + *
+     * BigQuery Connection Profile configuration.
+     * 
+ * + * .google.cloud.datastream.v1.BigQueryProfile bigquery_profile = 103; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1.BigQueryProfile, com.google.cloud.datastream.v1.BigQueryProfile.Builder, com.google.cloud.datastream.v1.BigQueryProfileOrBuilder> + getBigqueryProfileFieldBuilder() { + if (bigqueryProfileBuilder_ == null) { + if (!(profileCase_ == 103)) { + profile_ = com.google.cloud.datastream.v1.BigQueryProfile.getDefaultInstance(); + } + bigqueryProfileBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1.BigQueryProfile, com.google.cloud.datastream.v1.BigQueryProfile.Builder, com.google.cloud.datastream.v1.BigQueryProfileOrBuilder>( + (com.google.cloud.datastream.v1.BigQueryProfile) profile_, + getParentForChildren(), + isClean()); + profile_ = null; + } + profileCase_ = 103; + onChanged();; + return bigqueryProfileBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1.PostgresqlProfile, com.google.cloud.datastream.v1.PostgresqlProfile.Builder, com.google.cloud.datastream.v1.PostgresqlProfileOrBuilder> postgresqlProfileBuilder_; + /** + *
+     * PostgreSQL Connection Profile configuration.
+     * 
+ * + * .google.cloud.datastream.v1.PostgresqlProfile postgresql_profile = 104; + * @return Whether the postgresqlProfile field is set. + */ + @java.lang.Override + public boolean hasPostgresqlProfile() { + return profileCase_ == 104; + } + /** + *
+     * PostgreSQL Connection Profile configuration.
+     * 
+ * + * .google.cloud.datastream.v1.PostgresqlProfile postgresql_profile = 104; + * @return The postgresqlProfile. + */ + @java.lang.Override + public com.google.cloud.datastream.v1.PostgresqlProfile getPostgresqlProfile() { + if (postgresqlProfileBuilder_ == null) { + if (profileCase_ == 104) { + return (com.google.cloud.datastream.v1.PostgresqlProfile) profile_; + } + return com.google.cloud.datastream.v1.PostgresqlProfile.getDefaultInstance(); + } else { + if (profileCase_ == 104) { + return postgresqlProfileBuilder_.getMessage(); + } + return com.google.cloud.datastream.v1.PostgresqlProfile.getDefaultInstance(); + } + } + /** + *
+     * PostgreSQL Connection Profile configuration.
+     * 
+ * + * .google.cloud.datastream.v1.PostgresqlProfile postgresql_profile = 104; + */ + public Builder setPostgresqlProfile(com.google.cloud.datastream.v1.PostgresqlProfile value) { + if (postgresqlProfileBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + profile_ = value; + onChanged(); + } else { + postgresqlProfileBuilder_.setMessage(value); + } + profileCase_ = 104; + return this; + } + /** + *
+     * PostgreSQL Connection Profile configuration.
+     * 
+ * + * .google.cloud.datastream.v1.PostgresqlProfile postgresql_profile = 104; + */ + public Builder setPostgresqlProfile( + com.google.cloud.datastream.v1.PostgresqlProfile.Builder builderForValue) { + if (postgresqlProfileBuilder_ == null) { + profile_ = builderForValue.build(); + onChanged(); + } else { + postgresqlProfileBuilder_.setMessage(builderForValue.build()); + } + profileCase_ = 104; + return this; + } + /** + *
+     * PostgreSQL Connection Profile configuration.
+     * 
+ * + * .google.cloud.datastream.v1.PostgresqlProfile postgresql_profile = 104; + */ + public Builder mergePostgresqlProfile(com.google.cloud.datastream.v1.PostgresqlProfile value) { + if (postgresqlProfileBuilder_ == null) { + if (profileCase_ == 104 && + profile_ != com.google.cloud.datastream.v1.PostgresqlProfile.getDefaultInstance()) { + profile_ = com.google.cloud.datastream.v1.PostgresqlProfile.newBuilder((com.google.cloud.datastream.v1.PostgresqlProfile) profile_) + .mergeFrom(value).buildPartial(); + } else { + profile_ = value; + } + onChanged(); + } else { + if (profileCase_ == 104) { + postgresqlProfileBuilder_.mergeFrom(value); + } else { + postgresqlProfileBuilder_.setMessage(value); + } + } + profileCase_ = 104; + return this; + } + /** + *
+     * PostgreSQL Connection Profile configuration.
+     * 
+ * + * .google.cloud.datastream.v1.PostgresqlProfile postgresql_profile = 104; + */ + public Builder clearPostgresqlProfile() { + if (postgresqlProfileBuilder_ == null) { + if (profileCase_ == 104) { + profileCase_ = 0; + profile_ = null; + onChanged(); + } + } else { + if (profileCase_ == 104) { + profileCase_ = 0; + profile_ = null; + } + postgresqlProfileBuilder_.clear(); + } + return this; } /** + *
+     * PostgreSQL Connection Profile configuration.
+     * 
* + * .google.cloud.datastream.v1.PostgresqlProfile postgresql_profile = 104; + */ + public com.google.cloud.datastream.v1.PostgresqlProfile.Builder getPostgresqlProfileBuilder() { + return getPostgresqlProfileFieldBuilder().getBuilder(); + } + /** + *
+     * PostgreSQL Connection Profile configuration.
+     * 
* + * .google.cloud.datastream.v1.PostgresqlProfile postgresql_profile = 104; + */ + @java.lang.Override + public com.google.cloud.datastream.v1.PostgresqlProfileOrBuilder getPostgresqlProfileOrBuilder() { + if ((profileCase_ == 104) && (postgresqlProfileBuilder_ != null)) { + return postgresqlProfileBuilder_.getMessageOrBuilder(); + } else { + if (profileCase_ == 104) { + return (com.google.cloud.datastream.v1.PostgresqlProfile) profile_; + } + return com.google.cloud.datastream.v1.PostgresqlProfile.getDefaultInstance(); + } + } + /** + *
+     * PostgreSQL Connection Profile configuration.
+     * 
+ * + * .google.cloud.datastream.v1.PostgresqlProfile postgresql_profile = 104; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1.PostgresqlProfile, com.google.cloud.datastream.v1.PostgresqlProfile.Builder, com.google.cloud.datastream.v1.PostgresqlProfileOrBuilder> + getPostgresqlProfileFieldBuilder() { + if (postgresqlProfileBuilder_ == null) { + if (!(profileCase_ == 104)) { + profile_ = com.google.cloud.datastream.v1.PostgresqlProfile.getDefaultInstance(); + } + postgresqlProfileBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1.PostgresqlProfile, com.google.cloud.datastream.v1.PostgresqlProfile.Builder, com.google.cloud.datastream.v1.PostgresqlProfileOrBuilder>( + (com.google.cloud.datastream.v1.PostgresqlProfile) profile_, + getParentForChildren(), + isClean()); + profile_ = null; + } + profileCase_ = 104; + onChanged();; + return postgresqlProfileBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1.StaticServiceIpConnectivity, com.google.cloud.datastream.v1.StaticServiceIpConnectivity.Builder, com.google.cloud.datastream.v1.StaticServiceIpConnectivityOrBuilder> staticServiceIpConnectivityBuilder_; + /** *
      * Static Service IP connectivity.
      * 
* - * - * .google.cloud.datastream.v1.StaticServiceIpConnectivity static_service_ip_connectivity = 200; - * + * .google.cloud.datastream.v1.StaticServiceIpConnectivity static_service_ip_connectivity = 200; + * @return Whether the staticServiceIpConnectivity field is set. + */ + @java.lang.Override + public boolean hasStaticServiceIpConnectivity() { + return connectivityCase_ == 200; + } + /** + *
+     * Static Service IP connectivity.
+     * 
* + * .google.cloud.datastream.v1.StaticServiceIpConnectivity static_service_ip_connectivity = 200; * @return The staticServiceIpConnectivity. */ @java.lang.Override - public com.google.cloud.datastream.v1.StaticServiceIpConnectivity - getStaticServiceIpConnectivity() { + public com.google.cloud.datastream.v1.StaticServiceIpConnectivity getStaticServiceIpConnectivity() { if (staticServiceIpConnectivityBuilder_ == null) { if (connectivityCase_ == 200) { return (com.google.cloud.datastream.v1.StaticServiceIpConnectivity) connectivity_; @@ -3114,18 +3259,13 @@ public boolean hasStaticServiceIpConnectivity() { } } /** - * - * *
      * Static Service IP connectivity.
      * 
* - * - * .google.cloud.datastream.v1.StaticServiceIpConnectivity static_service_ip_connectivity = 200; - * + * .google.cloud.datastream.v1.StaticServiceIpConnectivity static_service_ip_connectivity = 200; */ - public Builder setStaticServiceIpConnectivity( - com.google.cloud.datastream.v1.StaticServiceIpConnectivity value) { + public Builder setStaticServiceIpConnectivity(com.google.cloud.datastream.v1.StaticServiceIpConnectivity value) { if (staticServiceIpConnectivityBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3139,15 +3279,11 @@ public Builder setStaticServiceIpConnectivity( return this; } /** - * - * *
      * Static Service IP connectivity.
      * 
* - * - * .google.cloud.datastream.v1.StaticServiceIpConnectivity static_service_ip_connectivity = 200; - * + * .google.cloud.datastream.v1.StaticServiceIpConnectivity static_service_ip_connectivity = 200; */ public Builder setStaticServiceIpConnectivity( com.google.cloud.datastream.v1.StaticServiceIpConnectivity.Builder builderForValue) { @@ -3161,28 +3297,18 @@ public Builder setStaticServiceIpConnectivity( return this; } /** - * - * *
      * Static Service IP connectivity.
      * 
* - * - * .google.cloud.datastream.v1.StaticServiceIpConnectivity static_service_ip_connectivity = 200; - * + * .google.cloud.datastream.v1.StaticServiceIpConnectivity static_service_ip_connectivity = 200; */ - public Builder mergeStaticServiceIpConnectivity( - com.google.cloud.datastream.v1.StaticServiceIpConnectivity value) { + public Builder mergeStaticServiceIpConnectivity(com.google.cloud.datastream.v1.StaticServiceIpConnectivity value) { if (staticServiceIpConnectivityBuilder_ == null) { - if (connectivityCase_ == 200 - && connectivity_ - != com.google.cloud.datastream.v1.StaticServiceIpConnectivity - .getDefaultInstance()) { - connectivity_ = - com.google.cloud.datastream.v1.StaticServiceIpConnectivity.newBuilder( - (com.google.cloud.datastream.v1.StaticServiceIpConnectivity) connectivity_) - .mergeFrom(value) - .buildPartial(); + if (connectivityCase_ == 200 && + connectivity_ != com.google.cloud.datastream.v1.StaticServiceIpConnectivity.getDefaultInstance()) { + connectivity_ = com.google.cloud.datastream.v1.StaticServiceIpConnectivity.newBuilder((com.google.cloud.datastream.v1.StaticServiceIpConnectivity) connectivity_) + .mergeFrom(value).buildPartial(); } else { connectivity_ = value; } @@ -3198,15 +3324,11 @@ public Builder mergeStaticServiceIpConnectivity( return this; } /** - * - * *
      * Static Service IP connectivity.
      * 
* - * - * .google.cloud.datastream.v1.StaticServiceIpConnectivity static_service_ip_connectivity = 200; - * + * .google.cloud.datastream.v1.StaticServiceIpConnectivity static_service_ip_connectivity = 200; */ public Builder clearStaticServiceIpConnectivity() { if (staticServiceIpConnectivityBuilder_ == null) { @@ -3225,34 +3347,24 @@ public Builder clearStaticServiceIpConnectivity() { return this; } /** - * - * *
      * Static Service IP connectivity.
      * 
* - * - * .google.cloud.datastream.v1.StaticServiceIpConnectivity static_service_ip_connectivity = 200; - * + * .google.cloud.datastream.v1.StaticServiceIpConnectivity static_service_ip_connectivity = 200; */ - public com.google.cloud.datastream.v1.StaticServiceIpConnectivity.Builder - getStaticServiceIpConnectivityBuilder() { + public com.google.cloud.datastream.v1.StaticServiceIpConnectivity.Builder getStaticServiceIpConnectivityBuilder() { return getStaticServiceIpConnectivityFieldBuilder().getBuilder(); } /** - * - * *
      * Static Service IP connectivity.
      * 
* - * - * .google.cloud.datastream.v1.StaticServiceIpConnectivity static_service_ip_connectivity = 200; - * + * .google.cloud.datastream.v1.StaticServiceIpConnectivity static_service_ip_connectivity = 200; */ @java.lang.Override - public com.google.cloud.datastream.v1.StaticServiceIpConnectivityOrBuilder - getStaticServiceIpConnectivityOrBuilder() { + public com.google.cloud.datastream.v1.StaticServiceIpConnectivityOrBuilder getStaticServiceIpConnectivityOrBuilder() { if ((connectivityCase_ == 200) && (staticServiceIpConnectivityBuilder_ != null)) { return staticServiceIpConnectivityBuilder_.getMessageOrBuilder(); } else { @@ -3263,58 +3375,39 @@ public Builder clearStaticServiceIpConnectivity() { } } /** - * - * *
      * Static Service IP connectivity.
      * 
* - * - * .google.cloud.datastream.v1.StaticServiceIpConnectivity static_service_ip_connectivity = 200; - * + * .google.cloud.datastream.v1.StaticServiceIpConnectivity static_service_ip_connectivity = 200; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.StaticServiceIpConnectivity, - com.google.cloud.datastream.v1.StaticServiceIpConnectivity.Builder, - com.google.cloud.datastream.v1.StaticServiceIpConnectivityOrBuilder> + com.google.cloud.datastream.v1.StaticServiceIpConnectivity, com.google.cloud.datastream.v1.StaticServiceIpConnectivity.Builder, com.google.cloud.datastream.v1.StaticServiceIpConnectivityOrBuilder> getStaticServiceIpConnectivityFieldBuilder() { if (staticServiceIpConnectivityBuilder_ == null) { if (!(connectivityCase_ == 200)) { - connectivity_ = - com.google.cloud.datastream.v1.StaticServiceIpConnectivity.getDefaultInstance(); - } - staticServiceIpConnectivityBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.StaticServiceIpConnectivity, - com.google.cloud.datastream.v1.StaticServiceIpConnectivity.Builder, - com.google.cloud.datastream.v1.StaticServiceIpConnectivityOrBuilder>( + connectivity_ = com.google.cloud.datastream.v1.StaticServiceIpConnectivity.getDefaultInstance(); + } + staticServiceIpConnectivityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1.StaticServiceIpConnectivity, com.google.cloud.datastream.v1.StaticServiceIpConnectivity.Builder, com.google.cloud.datastream.v1.StaticServiceIpConnectivityOrBuilder>( (com.google.cloud.datastream.v1.StaticServiceIpConnectivity) connectivity_, getParentForChildren(), isClean()); connectivity_ = null; } connectivityCase_ = 200; - onChanged(); - ; + onChanged();; return staticServiceIpConnectivityBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.ForwardSshTunnelConnectivity, - com.google.cloud.datastream.v1.ForwardSshTunnelConnectivity.Builder, - com.google.cloud.datastream.v1.ForwardSshTunnelConnectivityOrBuilder> - forwardSshConnectivityBuilder_; + com.google.cloud.datastream.v1.ForwardSshTunnelConnectivity, com.google.cloud.datastream.v1.ForwardSshTunnelConnectivity.Builder, com.google.cloud.datastream.v1.ForwardSshTunnelConnectivityOrBuilder> forwardSshConnectivityBuilder_; /** - * - * *
      * Forward SSH tunnel connectivity.
      * 
* - * - * .google.cloud.datastream.v1.ForwardSshTunnelConnectivity forward_ssh_connectivity = 201; - * - * + * .google.cloud.datastream.v1.ForwardSshTunnelConnectivity forward_ssh_connectivity = 201; * @return Whether the forwardSshConnectivity field is set. */ @java.lang.Override @@ -3322,16 +3415,11 @@ public boolean hasForwardSshConnectivity() { return connectivityCase_ == 201; } /** - * - * *
      * Forward SSH tunnel connectivity.
      * 
* - * - * .google.cloud.datastream.v1.ForwardSshTunnelConnectivity forward_ssh_connectivity = 201; - * - * + * .google.cloud.datastream.v1.ForwardSshTunnelConnectivity forward_ssh_connectivity = 201; * @return The forwardSshConnectivity. */ @java.lang.Override @@ -3349,18 +3437,13 @@ public com.google.cloud.datastream.v1.ForwardSshTunnelConnectivity getForwardSsh } } /** - * - * *
      * Forward SSH tunnel connectivity.
      * 
* - * - * .google.cloud.datastream.v1.ForwardSshTunnelConnectivity forward_ssh_connectivity = 201; - * + * .google.cloud.datastream.v1.ForwardSshTunnelConnectivity forward_ssh_connectivity = 201; */ - public Builder setForwardSshConnectivity( - com.google.cloud.datastream.v1.ForwardSshTunnelConnectivity value) { + public Builder setForwardSshConnectivity(com.google.cloud.datastream.v1.ForwardSshTunnelConnectivity value) { if (forwardSshConnectivityBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3374,15 +3457,11 @@ public Builder setForwardSshConnectivity( return this; } /** - * - * *
      * Forward SSH tunnel connectivity.
      * 
* - * - * .google.cloud.datastream.v1.ForwardSshTunnelConnectivity forward_ssh_connectivity = 201; - * + * .google.cloud.datastream.v1.ForwardSshTunnelConnectivity forward_ssh_connectivity = 201; */ public Builder setForwardSshConnectivity( com.google.cloud.datastream.v1.ForwardSshTunnelConnectivity.Builder builderForValue) { @@ -3396,28 +3475,18 @@ public Builder setForwardSshConnectivity( return this; } /** - * - * *
      * Forward SSH tunnel connectivity.
      * 
* - * - * .google.cloud.datastream.v1.ForwardSshTunnelConnectivity forward_ssh_connectivity = 201; - * + * .google.cloud.datastream.v1.ForwardSshTunnelConnectivity forward_ssh_connectivity = 201; */ - public Builder mergeForwardSshConnectivity( - com.google.cloud.datastream.v1.ForwardSshTunnelConnectivity value) { + public Builder mergeForwardSshConnectivity(com.google.cloud.datastream.v1.ForwardSshTunnelConnectivity value) { if (forwardSshConnectivityBuilder_ == null) { - if (connectivityCase_ == 201 - && connectivity_ - != com.google.cloud.datastream.v1.ForwardSshTunnelConnectivity - .getDefaultInstance()) { - connectivity_ = - com.google.cloud.datastream.v1.ForwardSshTunnelConnectivity.newBuilder( - (com.google.cloud.datastream.v1.ForwardSshTunnelConnectivity) connectivity_) - .mergeFrom(value) - .buildPartial(); + if (connectivityCase_ == 201 && + connectivity_ != com.google.cloud.datastream.v1.ForwardSshTunnelConnectivity.getDefaultInstance()) { + connectivity_ = com.google.cloud.datastream.v1.ForwardSshTunnelConnectivity.newBuilder((com.google.cloud.datastream.v1.ForwardSshTunnelConnectivity) connectivity_) + .mergeFrom(value).buildPartial(); } else { connectivity_ = value; } @@ -3433,15 +3502,11 @@ public Builder mergeForwardSshConnectivity( return this; } /** - * - * *
      * Forward SSH tunnel connectivity.
      * 
* - * - * .google.cloud.datastream.v1.ForwardSshTunnelConnectivity forward_ssh_connectivity = 201; - * + * .google.cloud.datastream.v1.ForwardSshTunnelConnectivity forward_ssh_connectivity = 201; */ public Builder clearForwardSshConnectivity() { if (forwardSshConnectivityBuilder_ == null) { @@ -3460,34 +3525,24 @@ public Builder clearForwardSshConnectivity() { return this; } /** - * - * *
      * Forward SSH tunnel connectivity.
      * 
* - * - * .google.cloud.datastream.v1.ForwardSshTunnelConnectivity forward_ssh_connectivity = 201; - * + * .google.cloud.datastream.v1.ForwardSshTunnelConnectivity forward_ssh_connectivity = 201; */ - public com.google.cloud.datastream.v1.ForwardSshTunnelConnectivity.Builder - getForwardSshConnectivityBuilder() { + public com.google.cloud.datastream.v1.ForwardSshTunnelConnectivity.Builder getForwardSshConnectivityBuilder() { return getForwardSshConnectivityFieldBuilder().getBuilder(); } /** - * - * *
      * Forward SSH tunnel connectivity.
      * 
* - * - * .google.cloud.datastream.v1.ForwardSshTunnelConnectivity forward_ssh_connectivity = 201; - * + * .google.cloud.datastream.v1.ForwardSshTunnelConnectivity forward_ssh_connectivity = 201; */ @java.lang.Override - public com.google.cloud.datastream.v1.ForwardSshTunnelConnectivityOrBuilder - getForwardSshConnectivityOrBuilder() { + public com.google.cloud.datastream.v1.ForwardSshTunnelConnectivityOrBuilder getForwardSshConnectivityOrBuilder() { if ((connectivityCase_ == 201) && (forwardSshConnectivityBuilder_ != null)) { return forwardSshConnectivityBuilder_.getMessageOrBuilder(); } else { @@ -3498,56 +3553,39 @@ public Builder clearForwardSshConnectivity() { } } /** - * - * *
      * Forward SSH tunnel connectivity.
      * 
* - * - * .google.cloud.datastream.v1.ForwardSshTunnelConnectivity forward_ssh_connectivity = 201; - * + * .google.cloud.datastream.v1.ForwardSshTunnelConnectivity forward_ssh_connectivity = 201; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.ForwardSshTunnelConnectivity, - com.google.cloud.datastream.v1.ForwardSshTunnelConnectivity.Builder, - com.google.cloud.datastream.v1.ForwardSshTunnelConnectivityOrBuilder> + com.google.cloud.datastream.v1.ForwardSshTunnelConnectivity, com.google.cloud.datastream.v1.ForwardSshTunnelConnectivity.Builder, com.google.cloud.datastream.v1.ForwardSshTunnelConnectivityOrBuilder> getForwardSshConnectivityFieldBuilder() { if (forwardSshConnectivityBuilder_ == null) { if (!(connectivityCase_ == 201)) { - connectivity_ = - com.google.cloud.datastream.v1.ForwardSshTunnelConnectivity.getDefaultInstance(); - } - forwardSshConnectivityBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.ForwardSshTunnelConnectivity, - com.google.cloud.datastream.v1.ForwardSshTunnelConnectivity.Builder, - com.google.cloud.datastream.v1.ForwardSshTunnelConnectivityOrBuilder>( + connectivity_ = com.google.cloud.datastream.v1.ForwardSshTunnelConnectivity.getDefaultInstance(); + } + forwardSshConnectivityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1.ForwardSshTunnelConnectivity, com.google.cloud.datastream.v1.ForwardSshTunnelConnectivity.Builder, com.google.cloud.datastream.v1.ForwardSshTunnelConnectivityOrBuilder>( (com.google.cloud.datastream.v1.ForwardSshTunnelConnectivity) connectivity_, getParentForChildren(), isClean()); connectivity_ = null; } connectivityCase_ = 201; - onChanged(); - ; + onChanged();; return forwardSshConnectivityBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.PrivateConnectivity, - com.google.cloud.datastream.v1.PrivateConnectivity.Builder, - com.google.cloud.datastream.v1.PrivateConnectivityOrBuilder> - privateConnectivityBuilder_; + com.google.cloud.datastream.v1.PrivateConnectivity, com.google.cloud.datastream.v1.PrivateConnectivity.Builder, com.google.cloud.datastream.v1.PrivateConnectivityOrBuilder> privateConnectivityBuilder_; /** - * - * *
      * Private connectivity.
      * 
* * .google.cloud.datastream.v1.PrivateConnectivity private_connectivity = 202; - * * @return Whether the privateConnectivity field is set. */ @java.lang.Override @@ -3555,14 +3593,11 @@ public boolean hasPrivateConnectivity() { return connectivityCase_ == 202; } /** - * - * *
      * Private connectivity.
      * 
* * .google.cloud.datastream.v1.PrivateConnectivity private_connectivity = 202; - * * @return The privateConnectivity. */ @java.lang.Override @@ -3580,16 +3615,13 @@ public com.google.cloud.datastream.v1.PrivateConnectivity getPrivateConnectivity } } /** - * - * *
      * Private connectivity.
      * 
* * .google.cloud.datastream.v1.PrivateConnectivity private_connectivity = 202; */ - public Builder setPrivateConnectivity( - com.google.cloud.datastream.v1.PrivateConnectivity value) { + public Builder setPrivateConnectivity(com.google.cloud.datastream.v1.PrivateConnectivity value) { if (privateConnectivityBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3603,8 +3635,6 @@ public Builder setPrivateConnectivity( return this; } /** - * - * *
      * Private connectivity.
      * 
@@ -3623,25 +3653,18 @@ public Builder setPrivateConnectivity( return this; } /** - * - * *
      * Private connectivity.
      * 
* * .google.cloud.datastream.v1.PrivateConnectivity private_connectivity = 202; */ - public Builder mergePrivateConnectivity( - com.google.cloud.datastream.v1.PrivateConnectivity value) { + public Builder mergePrivateConnectivity(com.google.cloud.datastream.v1.PrivateConnectivity value) { if (privateConnectivityBuilder_ == null) { - if (connectivityCase_ == 202 - && connectivity_ - != com.google.cloud.datastream.v1.PrivateConnectivity.getDefaultInstance()) { - connectivity_ = - com.google.cloud.datastream.v1.PrivateConnectivity.newBuilder( - (com.google.cloud.datastream.v1.PrivateConnectivity) connectivity_) - .mergeFrom(value) - .buildPartial(); + if (connectivityCase_ == 202 && + connectivity_ != com.google.cloud.datastream.v1.PrivateConnectivity.getDefaultInstance()) { + connectivity_ = com.google.cloud.datastream.v1.PrivateConnectivity.newBuilder((com.google.cloud.datastream.v1.PrivateConnectivity) connectivity_) + .mergeFrom(value).buildPartial(); } else { connectivity_ = value; } @@ -3657,8 +3680,6 @@ public Builder mergePrivateConnectivity( return this; } /** - * - * *
      * Private connectivity.
      * 
@@ -3682,21 +3703,16 @@ public Builder clearPrivateConnectivity() { return this; } /** - * - * *
      * Private connectivity.
      * 
* * .google.cloud.datastream.v1.PrivateConnectivity private_connectivity = 202; */ - public com.google.cloud.datastream.v1.PrivateConnectivity.Builder - getPrivateConnectivityBuilder() { + public com.google.cloud.datastream.v1.PrivateConnectivity.Builder getPrivateConnectivityBuilder() { return getPrivateConnectivityFieldBuilder().getBuilder(); } /** - * - * *
      * Private connectivity.
      * 
@@ -3704,8 +3720,7 @@ public Builder clearPrivateConnectivity() { * .google.cloud.datastream.v1.PrivateConnectivity private_connectivity = 202; */ @java.lang.Override - public com.google.cloud.datastream.v1.PrivateConnectivityOrBuilder - getPrivateConnectivityOrBuilder() { + public com.google.cloud.datastream.v1.PrivateConnectivityOrBuilder getPrivateConnectivityOrBuilder() { if ((connectivityCase_ == 202) && (privateConnectivityBuilder_ != null)) { return privateConnectivityBuilder_.getMessageOrBuilder(); } else { @@ -3716,8 +3731,6 @@ public Builder clearPrivateConnectivity() { } } /** - * - * *
      * Private connectivity.
      * 
@@ -3725,32 +3738,26 @@ public Builder clearPrivateConnectivity() { * .google.cloud.datastream.v1.PrivateConnectivity private_connectivity = 202; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.PrivateConnectivity, - com.google.cloud.datastream.v1.PrivateConnectivity.Builder, - com.google.cloud.datastream.v1.PrivateConnectivityOrBuilder> + com.google.cloud.datastream.v1.PrivateConnectivity, com.google.cloud.datastream.v1.PrivateConnectivity.Builder, com.google.cloud.datastream.v1.PrivateConnectivityOrBuilder> getPrivateConnectivityFieldBuilder() { if (privateConnectivityBuilder_ == null) { if (!(connectivityCase_ == 202)) { connectivity_ = com.google.cloud.datastream.v1.PrivateConnectivity.getDefaultInstance(); } - privateConnectivityBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.PrivateConnectivity, - com.google.cloud.datastream.v1.PrivateConnectivity.Builder, - com.google.cloud.datastream.v1.PrivateConnectivityOrBuilder>( + privateConnectivityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1.PrivateConnectivity, com.google.cloud.datastream.v1.PrivateConnectivity.Builder, com.google.cloud.datastream.v1.PrivateConnectivityOrBuilder>( (com.google.cloud.datastream.v1.PrivateConnectivity) connectivity_, getParentForChildren(), isClean()); connectivity_ = null; } connectivityCase_ = 202; - onChanged(); - ; + onChanged();; return privateConnectivityBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3760,12 +3767,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1.ConnectionProfile) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1.ConnectionProfile) private static final com.google.cloud.datastream.v1.ConnectionProfile DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1.ConnectionProfile(); } @@ -3774,16 +3781,16 @@ public static com.google.cloud.datastream.v1.ConnectionProfile getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ConnectionProfile parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ConnectionProfile(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ConnectionProfile parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ConnectionProfile(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3798,4 +3805,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datastream.v1.ConnectionProfile getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ConnectionProfileName.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ConnectionProfileName.java similarity index 100% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ConnectionProfileName.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ConnectionProfileName.java diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ConnectionProfileOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ConnectionProfileOrBuilder.java similarity index 72% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ConnectionProfileOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ConnectionProfileOrBuilder.java index 533c7ef2..c48fa2fd 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ConnectionProfileOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ConnectionProfileOrBuilder.java @@ -1,132 +1,87 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1/datastream_resources.proto package com.google.cloud.datastream.v1; -public interface ConnectionProfileOrBuilder - extends +public interface ConnectionProfileOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1.ConnectionProfile) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The resource's name.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. The resource's name.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Output only. The create time of the resource.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Output only. The create time of the resource.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Output only. The create time of the resource.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * Output only. The update time of the resource.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * Output only. The update time of the resource.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * Output only. The update time of the resource.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
    * Labels.
    * 
@@ -135,31 +90,30 @@ public interface ConnectionProfileOrBuilder */ int getLabelsCount(); /** - * - * *
    * Labels.
    * 
* * map<string, string> labels = 4; */ - boolean containsLabels(java.lang.String key); - /** Use {@link #getLabelsMap()} instead. */ + boolean containsLabels( + java.lang.String key); + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Deprecated - java.util.Map getLabels(); + java.util.Map + getLabels(); /** - * - * *
    * Labels.
    * 
* * map<string, string> labels = 4; */ - java.util.Map getLabelsMap(); + java.util.Map + getLabelsMap(); /** - * - * *
    * Labels.
    * 
@@ -168,73 +122,60 @@ public interface ConnectionProfileOrBuilder */ /* nullable */ - java.lang.String getLabelsOrDefault( +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue); +java.lang.String defaultValue); /** - * - * *
    * Labels.
    * 
* * map<string, string> labels = 4; */ - java.lang.String getLabelsOrThrow(java.lang.String key); + + java.lang.String getLabelsOrThrow( + java.lang.String key); /** - * - * *
    * Required. Display name.
    * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * Required. Display name.
    * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * Oracle ConnectionProfile configuration.
    * 
* * .google.cloud.datastream.v1.OracleProfile oracle_profile = 100; - * * @return Whether the oracleProfile field is set. */ boolean hasOracleProfile(); /** - * - * *
    * Oracle ConnectionProfile configuration.
    * 
* * .google.cloud.datastream.v1.OracleProfile oracle_profile = 100; - * * @return The oracleProfile. */ com.google.cloud.datastream.v1.OracleProfile getOracleProfile(); /** - * - * *
    * Oracle ConnectionProfile configuration.
    * 
@@ -244,32 +185,24 @@ java.lang.String getLabelsOrDefault( com.google.cloud.datastream.v1.OracleProfileOrBuilder getOracleProfileOrBuilder(); /** - * - * *
    * Cloud Storage ConnectionProfile configuration.
    * 
* * .google.cloud.datastream.v1.GcsProfile gcs_profile = 101; - * * @return Whether the gcsProfile field is set. */ boolean hasGcsProfile(); /** - * - * *
    * Cloud Storage ConnectionProfile configuration.
    * 
* * .google.cloud.datastream.v1.GcsProfile gcs_profile = 101; - * * @return The gcsProfile. */ com.google.cloud.datastream.v1.GcsProfile getGcsProfile(); /** - * - * *
    * Cloud Storage ConnectionProfile configuration.
    * 
@@ -279,32 +212,24 @@ java.lang.String getLabelsOrDefault( com.google.cloud.datastream.v1.GcsProfileOrBuilder getGcsProfileOrBuilder(); /** - * - * *
    * MySQL ConnectionProfile configuration.
    * 
* * .google.cloud.datastream.v1.MysqlProfile mysql_profile = 102; - * * @return Whether the mysqlProfile field is set. */ boolean hasMysqlProfile(); /** - * - * *
    * MySQL ConnectionProfile configuration.
    * 
* * .google.cloud.datastream.v1.MysqlProfile mysql_profile = 102; - * * @return The mysqlProfile. */ com.google.cloud.datastream.v1.MysqlProfile getMysqlProfile(); /** - * - * *
    * MySQL ConnectionProfile configuration.
    * 
@@ -314,113 +239,132 @@ java.lang.String getLabelsOrDefault( com.google.cloud.datastream.v1.MysqlProfileOrBuilder getMysqlProfileOrBuilder(); /** + *
+   * BigQuery Connection Profile configuration.
+   * 
* + * .google.cloud.datastream.v1.BigQueryProfile bigquery_profile = 103; + * @return Whether the bigqueryProfile field is set. + */ + boolean hasBigqueryProfile(); + /** + *
+   * BigQuery Connection Profile configuration.
+   * 
* + * .google.cloud.datastream.v1.BigQueryProfile bigquery_profile = 103; + * @return The bigqueryProfile. + */ + com.google.cloud.datastream.v1.BigQueryProfile getBigqueryProfile(); + /** *
-   * Static Service IP connectivity.
+   * BigQuery Connection Profile configuration.
    * 
* - * - * .google.cloud.datastream.v1.StaticServiceIpConnectivity static_service_ip_connectivity = 200; - * + * .google.cloud.datastream.v1.BigQueryProfile bigquery_profile = 103; + */ + com.google.cloud.datastream.v1.BigQueryProfileOrBuilder getBigqueryProfileOrBuilder(); + + /** + *
+   * PostgreSQL Connection Profile configuration.
+   * 
* - * @return Whether the staticServiceIpConnectivity field is set. + * .google.cloud.datastream.v1.PostgresqlProfile postgresql_profile = 104; + * @return Whether the postgresqlProfile field is set. */ - boolean hasStaticServiceIpConnectivity(); + boolean hasPostgresqlProfile(); /** + *
+   * PostgreSQL Connection Profile configuration.
+   * 
* + * .google.cloud.datastream.v1.PostgresqlProfile postgresql_profile = 104; + * @return The postgresqlProfile. + */ + com.google.cloud.datastream.v1.PostgresqlProfile getPostgresqlProfile(); + /** + *
+   * PostgreSQL Connection Profile configuration.
+   * 
* + * .google.cloud.datastream.v1.PostgresqlProfile postgresql_profile = 104; + */ + com.google.cloud.datastream.v1.PostgresqlProfileOrBuilder getPostgresqlProfileOrBuilder(); + + /** *
    * Static Service IP connectivity.
    * 
* - * - * .google.cloud.datastream.v1.StaticServiceIpConnectivity static_service_ip_connectivity = 200; - * + * .google.cloud.datastream.v1.StaticServiceIpConnectivity static_service_ip_connectivity = 200; + * @return Whether the staticServiceIpConnectivity field is set. + */ + boolean hasStaticServiceIpConnectivity(); + /** + *
+   * Static Service IP connectivity.
+   * 
* + * .google.cloud.datastream.v1.StaticServiceIpConnectivity static_service_ip_connectivity = 200; * @return The staticServiceIpConnectivity. */ com.google.cloud.datastream.v1.StaticServiceIpConnectivity getStaticServiceIpConnectivity(); /** - * - * *
    * Static Service IP connectivity.
    * 
* - * - * .google.cloud.datastream.v1.StaticServiceIpConnectivity static_service_ip_connectivity = 200; - * + * .google.cloud.datastream.v1.StaticServiceIpConnectivity static_service_ip_connectivity = 200; */ - com.google.cloud.datastream.v1.StaticServiceIpConnectivityOrBuilder - getStaticServiceIpConnectivityOrBuilder(); + com.google.cloud.datastream.v1.StaticServiceIpConnectivityOrBuilder getStaticServiceIpConnectivityOrBuilder(); /** - * - * *
    * Forward SSH tunnel connectivity.
    * 
* - * .google.cloud.datastream.v1.ForwardSshTunnelConnectivity forward_ssh_connectivity = 201; - * - * + * .google.cloud.datastream.v1.ForwardSshTunnelConnectivity forward_ssh_connectivity = 201; * @return Whether the forwardSshConnectivity field is set. */ boolean hasForwardSshConnectivity(); /** - * - * *
    * Forward SSH tunnel connectivity.
    * 
* - * .google.cloud.datastream.v1.ForwardSshTunnelConnectivity forward_ssh_connectivity = 201; - * - * + * .google.cloud.datastream.v1.ForwardSshTunnelConnectivity forward_ssh_connectivity = 201; * @return The forwardSshConnectivity. */ com.google.cloud.datastream.v1.ForwardSshTunnelConnectivity getForwardSshConnectivity(); /** - * - * *
    * Forward SSH tunnel connectivity.
    * 
* - * .google.cloud.datastream.v1.ForwardSshTunnelConnectivity forward_ssh_connectivity = 201; - * + * .google.cloud.datastream.v1.ForwardSshTunnelConnectivity forward_ssh_connectivity = 201; */ - com.google.cloud.datastream.v1.ForwardSshTunnelConnectivityOrBuilder - getForwardSshConnectivityOrBuilder(); + com.google.cloud.datastream.v1.ForwardSshTunnelConnectivityOrBuilder getForwardSshConnectivityOrBuilder(); /** - * - * *
    * Private connectivity.
    * 
* * .google.cloud.datastream.v1.PrivateConnectivity private_connectivity = 202; - * * @return Whether the privateConnectivity field is set. */ boolean hasPrivateConnectivity(); /** - * - * *
    * Private connectivity.
    * 
* * .google.cloud.datastream.v1.PrivateConnectivity private_connectivity = 202; - * * @return The privateConnectivity. */ com.google.cloud.datastream.v1.PrivateConnectivity getPrivateConnectivity(); /** - * - * *
    * Private connectivity.
    * 
diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/CreateConnectionProfileRequest.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/CreateConnectionProfileRequest.java similarity index 70% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/CreateConnectionProfileRequest.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/CreateConnectionProfileRequest.java index 1b4b5c34..80601878 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/CreateConnectionProfileRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/CreateConnectionProfileRequest.java @@ -1,43 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1/datastream.proto package com.google.cloud.datastream.v1; /** - * - * *
  * Request message for creating a connection profile.
  * 
* * Protobuf type {@code google.cloud.datastream.v1.CreateConnectionProfileRequest} */ -public final class CreateConnectionProfileRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateConnectionProfileRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1.CreateConnectionProfileRequest) CreateConnectionProfileRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateConnectionProfileRequest.newBuilder() to construct. - private CreateConnectionProfileRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private CreateConnectionProfileRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateConnectionProfileRequest() { parent_ = ""; connectionProfileId_ = ""; @@ -46,15 +27,16 @@ private CreateConnectionProfileRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateConnectionProfileRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateConnectionProfileRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,60 +55,54 @@ private CreateConnectionProfileRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - connectionProfileId_ = s; - break; + connectionProfileId_ = s; + break; + } + case 26: { + com.google.cloud.datastream.v1.ConnectionProfile.Builder subBuilder = null; + if (connectionProfile_ != null) { + subBuilder = connectionProfile_.toBuilder(); } - case 26: - { - com.google.cloud.datastream.v1.ConnectionProfile.Builder subBuilder = null; - if (connectionProfile_ != null) { - subBuilder = connectionProfile_.toBuilder(); - } - connectionProfile_ = - input.readMessage( - com.google.cloud.datastream.v1.ConnectionProfile.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(connectionProfile_); - connectionProfile_ = subBuilder.buildPartial(); - } - - break; + connectionProfile_ = input.readMessage(com.google.cloud.datastream.v1.ConnectionProfile.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(connectionProfile_); + connectionProfile_ = subBuilder.buildPartial(); } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - requestId_ = s; - break; - } - case 40: - { - validateOnly_ = input.readBool(); - break; - } - case 48: - { - force_ = input.readBool(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + requestId_ = s; + break; + } + case 40: { + + validateOnly_ = input.readBool(); + break; + } + case 48: { + + force_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -134,41 +110,34 @@ private CreateConnectionProfileRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_CreateConnectionProfileRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_CreateConnectionProfileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_CreateConnectionProfileRequest_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_CreateConnectionProfileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.CreateConnectionProfileRequest.class, - com.google.cloud.datastream.v1.CreateConnectionProfileRequest.Builder.class); + com.google.cloud.datastream.v1.CreateConnectionProfileRequest.class, com.google.cloud.datastream.v1.CreateConnectionProfileRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The parent that owns the collection of ConnectionProfiles.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -177,31 +146,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The parent that owns the collection of ConnectionProfiles.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -212,14 +179,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int CONNECTION_PROFILE_ID_FIELD_NUMBER = 2; private volatile java.lang.Object connectionProfileId_; /** - * - * *
    * Required. The connection profile identifier.
    * 
* * string connection_profile_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The connectionProfileId. */ @java.lang.Override @@ -228,29 +192,29 @@ public java.lang.String getConnectionProfileId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); connectionProfileId_ = s; return s; } } /** - * - * *
    * Required. The connection profile identifier.
    * 
* * string connection_profile_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for connectionProfileId. */ @java.lang.Override - public com.google.protobuf.ByteString getConnectionProfileIdBytes() { + public com.google.protobuf.ByteString + getConnectionProfileIdBytes() { java.lang.Object ref = connectionProfileId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); connectionProfileId_ = b; return b; } else { @@ -261,16 +225,11 @@ public com.google.protobuf.ByteString getConnectionProfileIdBytes() { public static final int CONNECTION_PROFILE_FIELD_NUMBER = 3; private com.google.cloud.datastream.v1.ConnectionProfile connectionProfile_; /** - * - * *
    * Required. The connection profile resource to create.
    * 
* - * - * .google.cloud.datastream.v1.ConnectionProfile connection_profile = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datastream.v1.ConnectionProfile connection_profile = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the connectionProfile field is set. */ @java.lang.Override @@ -278,34 +237,23 @@ public boolean hasConnectionProfile() { return connectionProfile_ != null; } /** - * - * *
    * Required. The connection profile resource to create.
    * 
* - * - * .google.cloud.datastream.v1.ConnectionProfile connection_profile = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datastream.v1.ConnectionProfile connection_profile = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The connectionProfile. */ @java.lang.Override public com.google.cloud.datastream.v1.ConnectionProfile getConnectionProfile() { - return connectionProfile_ == null - ? com.google.cloud.datastream.v1.ConnectionProfile.getDefaultInstance() - : connectionProfile_; + return connectionProfile_ == null ? com.google.cloud.datastream.v1.ConnectionProfile.getDefaultInstance() : connectionProfile_; } /** - * - * *
    * Required. The connection profile resource to create.
    * 
* - * - * .google.cloud.datastream.v1.ConnectionProfile connection_profile = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1.ConnectionProfile connection_profile = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.datastream.v1.ConnectionProfileOrBuilder getConnectionProfileOrBuilder() { @@ -315,8 +263,6 @@ public com.google.cloud.datastream.v1.ConnectionProfileOrBuilder getConnectionPr public static final int REQUEST_ID_FIELD_NUMBER = 4; private volatile java.lang.Object requestId_; /** - * - * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -332,7 +278,6 @@ public com.google.cloud.datastream.v1.ConnectionProfileOrBuilder getConnectionPr
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -341,15 +286,14 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** - * - * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -365,15 +309,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -384,15 +329,12 @@ public com.google.protobuf.ByteString getRequestIdBytes() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 5; private boolean validateOnly_; /** - * - * *
    * Optional. Only validate the connection profile, but don't create any resources.
    * The default is false.
    * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -403,14 +345,11 @@ public boolean getValidateOnly() { public static final int FORCE_FIELD_NUMBER = 6; private boolean force_; /** - * - * *
    * Optional. Create the connection profile without validating it.
    * 
* * bool force = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The force. */ @java.lang.Override @@ -419,7 +358,6 @@ public boolean getForce() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -431,7 +369,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -466,16 +405,19 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, connectionProfileId_); } if (connectionProfile_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getConnectionProfile()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getConnectionProfile()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, requestId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, validateOnly_); } if (force_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, force_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(6, force_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -485,23 +427,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.datastream.v1.CreateConnectionProfileRequest)) { return super.equals(obj); } - com.google.cloud.datastream.v1.CreateConnectionProfileRequest other = - (com.google.cloud.datastream.v1.CreateConnectionProfileRequest) obj; + com.google.cloud.datastream.v1.CreateConnectionProfileRequest other = (com.google.cloud.datastream.v1.CreateConnectionProfileRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getConnectionProfileId().equals(other.getConnectionProfileId())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getConnectionProfileId() + .equals(other.getConnectionProfileId())) return false; if (hasConnectionProfile() != other.hasConnectionProfile()) return false; if (hasConnectionProfile()) { - if (!getConnectionProfile().equals(other.getConnectionProfile())) return false; - } - if (!getRequestId().equals(other.getRequestId())) return false; - if (getValidateOnly() != other.getValidateOnly()) return false; - if (getForce() != other.getForce()) return false; + if (!getConnectionProfile() + .equals(other.getConnectionProfile())) return false; + } + if (!getRequestId() + .equals(other.getRequestId())) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; + if (getForce() + != other.getForce()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -524,136 +471,128 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().hashCode(); hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getValidateOnly()); hash = (37 * hash) + FORCE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getForce()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getForce()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.datastream.v1.CreateConnectionProfileRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.CreateConnectionProfileRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.CreateConnectionProfileRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.CreateConnectionProfileRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.CreateConnectionProfileRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.CreateConnectionProfileRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1.CreateConnectionProfileRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.CreateConnectionProfileRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.CreateConnectionProfileRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1.CreateConnectionProfileRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.CreateConnectionProfileRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.CreateConnectionProfileRequest 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.datastream.v1.CreateConnectionProfileRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.CreateConnectionProfileRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datastream.v1.CreateConnectionProfileRequest prototype) { + public static Builder newBuilder(com.google.cloud.datastream.v1.CreateConnectionProfileRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for creating a connection profile.
    * 
* * Protobuf type {@code google.cloud.datastream.v1.CreateConnectionProfileRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1.CreateConnectionProfileRequest) com.google.cloud.datastream.v1.CreateConnectionProfileRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_CreateConnectionProfileRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_CreateConnectionProfileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_CreateConnectionProfileRequest_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_CreateConnectionProfileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.CreateConnectionProfileRequest.class, - com.google.cloud.datastream.v1.CreateConnectionProfileRequest.Builder.class); + com.google.cloud.datastream.v1.CreateConnectionProfileRequest.class, com.google.cloud.datastream.v1.CreateConnectionProfileRequest.Builder.class); } // Construct using com.google.cloud.datastream.v1.CreateConnectionProfileRequest.newBuilder() @@ -661,15 +600,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -693,14 +633,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_CreateConnectionProfileRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_CreateConnectionProfileRequest_descriptor; } @java.lang.Override - public com.google.cloud.datastream.v1.CreateConnectionProfileRequest - getDefaultInstanceForType() { + public com.google.cloud.datastream.v1.CreateConnectionProfileRequest getDefaultInstanceForType() { return com.google.cloud.datastream.v1.CreateConnectionProfileRequest.getDefaultInstance(); } @@ -715,8 +654,7 @@ public com.google.cloud.datastream.v1.CreateConnectionProfileRequest build() { @java.lang.Override public com.google.cloud.datastream.v1.CreateConnectionProfileRequest buildPartial() { - com.google.cloud.datastream.v1.CreateConnectionProfileRequest result = - new com.google.cloud.datastream.v1.CreateConnectionProfileRequest(this); + com.google.cloud.datastream.v1.CreateConnectionProfileRequest result = new com.google.cloud.datastream.v1.CreateConnectionProfileRequest(this); result.parent_ = parent_; result.connectionProfileId_ = connectionProfileId_; if (connectionProfileBuilder_ == null) { @@ -735,39 +673,38 @@ public com.google.cloud.datastream.v1.CreateConnectionProfileRequest buildPartia public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1.CreateConnectionProfileRequest) { - return mergeFrom((com.google.cloud.datastream.v1.CreateConnectionProfileRequest) other); + return mergeFrom((com.google.cloud.datastream.v1.CreateConnectionProfileRequest)other); } else { super.mergeFrom(other); return this; @@ -775,9 +712,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datastream.v1.CreateConnectionProfileRequest other) { - if (other - == com.google.cloud.datastream.v1.CreateConnectionProfileRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.datastream.v1.CreateConnectionProfileRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -818,9 +753,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datastream.v1.CreateConnectionProfileRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datastream.v1.CreateConnectionProfileRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -832,22 +765,18 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent that owns the collection of ConnectionProfiles.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -856,23 +785,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent that owns the collection of ConnectionProfiles.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -880,67 +806,54 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent that owns the collection of ConnectionProfiles.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The parent that owns the collection of ConnectionProfiles.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The parent that owns the collection of ConnectionProfiles.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -948,20 +861,18 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object connectionProfileId_ = ""; /** - * - * *
      * Required. The connection profile identifier.
      * 
* * string connection_profile_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The connectionProfileId. */ public java.lang.String getConnectionProfileId() { java.lang.Object ref = connectionProfileId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); connectionProfileId_ = s; return s; @@ -970,21 +881,20 @@ public java.lang.String getConnectionProfileId() { } } /** - * - * *
      * Required. The connection profile identifier.
      * 
* * string connection_profile_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for connectionProfileId. */ - public com.google.protobuf.ByteString getConnectionProfileIdBytes() { + public com.google.protobuf.ByteString + getConnectionProfileIdBytes() { java.lang.Object ref = connectionProfileId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); connectionProfileId_ = b; return b; } else { @@ -992,61 +902,54 @@ public com.google.protobuf.ByteString getConnectionProfileIdBytes() { } } /** - * - * *
      * Required. The connection profile identifier.
      * 
* * string connection_profile_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The connectionProfileId to set. * @return This builder for chaining. */ - public Builder setConnectionProfileId(java.lang.String value) { + public Builder setConnectionProfileId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + connectionProfileId_ = value; onChanged(); return this; } /** - * - * *
      * Required. The connection profile identifier.
      * 
* * string connection_profile_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearConnectionProfileId() { - + connectionProfileId_ = getDefaultInstance().getConnectionProfileId(); onChanged(); return this; } /** - * - * *
      * Required. The connection profile identifier.
      * 
* * string connection_profile_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for connectionProfileId to set. * @return This builder for chaining. */ - public Builder setConnectionProfileIdBytes(com.google.protobuf.ByteString value) { + public Builder setConnectionProfileIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + connectionProfileId_ = value; onChanged(); return this; @@ -1054,58 +957,39 @@ public Builder setConnectionProfileIdBytes(com.google.protobuf.ByteString value) private com.google.cloud.datastream.v1.ConnectionProfile connectionProfile_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.ConnectionProfile, - com.google.cloud.datastream.v1.ConnectionProfile.Builder, - com.google.cloud.datastream.v1.ConnectionProfileOrBuilder> - connectionProfileBuilder_; + com.google.cloud.datastream.v1.ConnectionProfile, com.google.cloud.datastream.v1.ConnectionProfile.Builder, com.google.cloud.datastream.v1.ConnectionProfileOrBuilder> connectionProfileBuilder_; /** - * - * *
      * Required. The connection profile resource to create.
      * 
* - * - * .google.cloud.datastream.v1.ConnectionProfile connection_profile = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datastream.v1.ConnectionProfile connection_profile = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the connectionProfile field is set. */ public boolean hasConnectionProfile() { return connectionProfileBuilder_ != null || connectionProfile_ != null; } /** - * - * *
      * Required. The connection profile resource to create.
      * 
* - * - * .google.cloud.datastream.v1.ConnectionProfile connection_profile = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datastream.v1.ConnectionProfile connection_profile = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The connectionProfile. */ public com.google.cloud.datastream.v1.ConnectionProfile getConnectionProfile() { if (connectionProfileBuilder_ == null) { - return connectionProfile_ == null - ? com.google.cloud.datastream.v1.ConnectionProfile.getDefaultInstance() - : connectionProfile_; + return connectionProfile_ == null ? com.google.cloud.datastream.v1.ConnectionProfile.getDefaultInstance() : connectionProfile_; } else { return connectionProfileBuilder_.getMessage(); } } /** - * - * *
      * Required. The connection profile resource to create.
      * 
* - * - * .google.cloud.datastream.v1.ConnectionProfile connection_profile = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1.ConnectionProfile connection_profile = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setConnectionProfile(com.google.cloud.datastream.v1.ConnectionProfile value) { if (connectionProfileBuilder_ == null) { @@ -1121,15 +1005,11 @@ public Builder setConnectionProfile(com.google.cloud.datastream.v1.ConnectionPro return this; } /** - * - * *
      * Required. The connection profile resource to create.
      * 
* - * - * .google.cloud.datastream.v1.ConnectionProfile connection_profile = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1.ConnectionProfile connection_profile = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setConnectionProfile( com.google.cloud.datastream.v1.ConnectionProfile.Builder builderForValue) { @@ -1143,23 +1023,17 @@ public Builder setConnectionProfile( return this; } /** - * - * *
      * Required. The connection profile resource to create.
      * 
* - * - * .google.cloud.datastream.v1.ConnectionProfile connection_profile = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1.ConnectionProfile connection_profile = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeConnectionProfile(com.google.cloud.datastream.v1.ConnectionProfile value) { if (connectionProfileBuilder_ == null) { if (connectionProfile_ != null) { connectionProfile_ = - com.google.cloud.datastream.v1.ConnectionProfile.newBuilder(connectionProfile_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.datastream.v1.ConnectionProfile.newBuilder(connectionProfile_).mergeFrom(value).buildPartial(); } else { connectionProfile_ = value; } @@ -1171,15 +1045,11 @@ public Builder mergeConnectionProfile(com.google.cloud.datastream.v1.ConnectionP return this; } /** - * - * *
      * Required. The connection profile resource to create.
      * 
* - * - * .google.cloud.datastream.v1.ConnectionProfile connection_profile = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1.ConnectionProfile connection_profile = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearConnectionProfile() { if (connectionProfileBuilder_ == null) { @@ -1193,65 +1063,48 @@ public Builder clearConnectionProfile() { return this; } /** - * - * *
      * Required. The connection profile resource to create.
      * 
* - * - * .google.cloud.datastream.v1.ConnectionProfile connection_profile = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1.ConnectionProfile connection_profile = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.datastream.v1.ConnectionProfile.Builder getConnectionProfileBuilder() { - + onChanged(); return getConnectionProfileFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The connection profile resource to create.
      * 
* - * - * .google.cloud.datastream.v1.ConnectionProfile connection_profile = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1.ConnectionProfile connection_profile = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.datastream.v1.ConnectionProfileOrBuilder - getConnectionProfileOrBuilder() { + public com.google.cloud.datastream.v1.ConnectionProfileOrBuilder getConnectionProfileOrBuilder() { if (connectionProfileBuilder_ != null) { return connectionProfileBuilder_.getMessageOrBuilder(); } else { - return connectionProfile_ == null - ? com.google.cloud.datastream.v1.ConnectionProfile.getDefaultInstance() - : connectionProfile_; + return connectionProfile_ == null ? + com.google.cloud.datastream.v1.ConnectionProfile.getDefaultInstance() : connectionProfile_; } } /** - * - * *
      * Required. The connection profile resource to create.
      * 
* - * - * .google.cloud.datastream.v1.ConnectionProfile connection_profile = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1.ConnectionProfile connection_profile = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.ConnectionProfile, - com.google.cloud.datastream.v1.ConnectionProfile.Builder, - com.google.cloud.datastream.v1.ConnectionProfileOrBuilder> + com.google.cloud.datastream.v1.ConnectionProfile, com.google.cloud.datastream.v1.ConnectionProfile.Builder, com.google.cloud.datastream.v1.ConnectionProfileOrBuilder> getConnectionProfileFieldBuilder() { if (connectionProfileBuilder_ == null) { - connectionProfileBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.ConnectionProfile, - com.google.cloud.datastream.v1.ConnectionProfile.Builder, - com.google.cloud.datastream.v1.ConnectionProfileOrBuilder>( - getConnectionProfile(), getParentForChildren(), isClean()); + connectionProfileBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1.ConnectionProfile, com.google.cloud.datastream.v1.ConnectionProfile.Builder, com.google.cloud.datastream.v1.ConnectionProfileOrBuilder>( + getConnectionProfile(), + getParentForChildren(), + isClean()); connectionProfile_ = null; } return connectionProfileBuilder_; @@ -1259,8 +1112,6 @@ public com.google.cloud.datastream.v1.ConnectionProfile.Builder getConnectionPro private java.lang.Object requestId_ = ""; /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1276,13 +1127,13 @@ public com.google.cloud.datastream.v1.ConnectionProfile.Builder getConnectionPro
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -1291,8 +1142,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1308,14 +1157,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -1323,8 +1173,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1340,22 +1188,20 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { + public Builder setRequestId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1371,18 +1217,15 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1398,32 +1241,29 @@ public Builder clearRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = value; onChanged(); return this; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * Optional. Only validate the connection profile, but don't create any resources.
      * The default is false.
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -1431,53 +1271,44 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * Optional. Only validate the connection profile, but don't create any resources.
      * The default is false.
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The validateOnly to set. * @return This builder for chaining. */ public Builder setValidateOnly(boolean value) { - + validateOnly_ = value; onChanged(); return this; } /** - * - * *
      * Optional. Only validate the connection profile, but don't create any resources.
      * The default is false.
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { - + validateOnly_ = false; onChanged(); return this; } - private boolean force_; + private boolean force_ ; /** - * - * *
      * Optional. Create the connection profile without validating it.
      * 
* * bool force = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The force. */ @java.lang.Override @@ -1485,43 +1316,37 @@ public boolean getForce() { return force_; } /** - * - * *
      * Optional. Create the connection profile without validating it.
      * 
* * bool force = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The force to set. * @return This builder for chaining. */ public Builder setForce(boolean value) { - + force_ = value; onChanged(); return this; } /** - * - * *
      * Optional. Create the connection profile without validating it.
      * 
* * bool force = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearForce() { - + force_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1531,13 +1356,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1.CreateConnectionProfileRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1.CreateConnectionProfileRequest) - private static final com.google.cloud.datastream.v1.CreateConnectionProfileRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.datastream.v1.CreateConnectionProfileRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1.CreateConnectionProfileRequest(); } @@ -1546,16 +1370,16 @@ public static com.google.cloud.datastream.v1.CreateConnectionProfileRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateConnectionProfileRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateConnectionProfileRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateConnectionProfileRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateConnectionProfileRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1570,4 +1394,6 @@ public com.google.protobuf.Parser getParserForTy public com.google.cloud.datastream.v1.CreateConnectionProfileRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/CreateConnectionProfileRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/CreateConnectionProfileRequestOrBuilder.java similarity index 71% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/CreateConnectionProfileRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/CreateConnectionProfileRequestOrBuilder.java index eb703b7f..3674b9f9 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/CreateConnectionProfileRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/CreateConnectionProfileRequestOrBuilder.java @@ -1,126 +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/datastream/v1/datastream.proto package com.google.cloud.datastream.v1; -public interface CreateConnectionProfileRequestOrBuilder - extends +public interface CreateConnectionProfileRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1.CreateConnectionProfileRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The parent that owns the collection of ConnectionProfiles.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The parent that owns the collection of ConnectionProfiles.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The connection profile identifier.
    * 
* * string connection_profile_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The connectionProfileId. */ java.lang.String getConnectionProfileId(); /** - * - * *
    * Required. The connection profile identifier.
    * 
* * string connection_profile_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for connectionProfileId. */ - com.google.protobuf.ByteString getConnectionProfileIdBytes(); + com.google.protobuf.ByteString + getConnectionProfileIdBytes(); /** - * - * *
    * Required. The connection profile resource to create.
    * 
* - * - * .google.cloud.datastream.v1.ConnectionProfile connection_profile = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datastream.v1.ConnectionProfile connection_profile = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the connectionProfile field is set. */ boolean hasConnectionProfile(); /** - * - * *
    * Required. The connection profile resource to create.
    * 
* - * - * .google.cloud.datastream.v1.ConnectionProfile connection_profile = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datastream.v1.ConnectionProfile connection_profile = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The connectionProfile. */ com.google.cloud.datastream.v1.ConnectionProfile getConnectionProfile(); /** - * - * *
    * Required. The connection profile resource to create.
    * 
* - * - * .google.cloud.datastream.v1.ConnectionProfile connection_profile = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1.ConnectionProfile connection_profile = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.datastream.v1.ConnectionProfileOrBuilder getConnectionProfileOrBuilder(); /** - * - * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -136,13 +90,10 @@ public interface CreateConnectionProfileRequestOrBuilder
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -158,34 +109,28 @@ public interface CreateConnectionProfileRequestOrBuilder
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); /** - * - * *
    * Optional. Only validate the connection profile, but don't create any resources.
    * The default is false.
    * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ boolean getValidateOnly(); /** - * - * *
    * Optional. Create the connection profile without validating it.
    * 
* * bool force = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The force. */ boolean getForce(); diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/CreatePrivateConnectionRequest.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/CreatePrivateConnectionRequest.java similarity index 69% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/CreatePrivateConnectionRequest.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/CreatePrivateConnectionRequest.java index 1d46fff2..37dc7367 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/CreatePrivateConnectionRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/CreatePrivateConnectionRequest.java @@ -1,43 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1/datastream.proto package com.google.cloud.datastream.v1; /** - * - * *
  * Request for creating a private connection.
  * 
* * Protobuf type {@code google.cloud.datastream.v1.CreatePrivateConnectionRequest} */ -public final class CreatePrivateConnectionRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreatePrivateConnectionRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1.CreatePrivateConnectionRequest) CreatePrivateConnectionRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreatePrivateConnectionRequest.newBuilder() to construct. - private CreatePrivateConnectionRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private CreatePrivateConnectionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreatePrivateConnectionRequest() { parent_ = ""; privateConnectionId_ = ""; @@ -46,15 +27,16 @@ private CreatePrivateConnectionRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreatePrivateConnectionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreatePrivateConnectionRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,50 +55,44 @@ private CreatePrivateConnectionRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - privateConnectionId_ = s; - break; + privateConnectionId_ = s; + break; + } + case 26: { + com.google.cloud.datastream.v1.PrivateConnection.Builder subBuilder = null; + if (privateConnection_ != null) { + subBuilder = privateConnection_.toBuilder(); } - case 26: - { - com.google.cloud.datastream.v1.PrivateConnection.Builder subBuilder = null; - if (privateConnection_ != null) { - subBuilder = privateConnection_.toBuilder(); - } - privateConnection_ = - input.readMessage( - com.google.cloud.datastream.v1.PrivateConnection.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(privateConnection_); - privateConnection_ = subBuilder.buildPartial(); - } - - break; + privateConnection_ = input.readMessage(com.google.cloud.datastream.v1.PrivateConnection.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(privateConnection_); + privateConnection_ = subBuilder.buildPartial(); } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - requestId_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + requestId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -124,41 +100,34 @@ private CreatePrivateConnectionRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_CreatePrivateConnectionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_CreatePrivateConnectionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_CreatePrivateConnectionRequest_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_CreatePrivateConnectionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.CreatePrivateConnectionRequest.class, - com.google.cloud.datastream.v1.CreatePrivateConnectionRequest.Builder.class); + com.google.cloud.datastream.v1.CreatePrivateConnectionRequest.class, com.google.cloud.datastream.v1.CreatePrivateConnectionRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The parent that owns the collection of PrivateConnections.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -167,31 +136,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The parent that owns the collection of PrivateConnections.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -202,14 +169,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PRIVATE_CONNECTION_ID_FIELD_NUMBER = 2; private volatile java.lang.Object privateConnectionId_; /** - * - * *
    * Required. The private connectivity identifier.
    * 
* * string private_connection_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The privateConnectionId. */ @java.lang.Override @@ -218,29 +182,29 @@ public java.lang.String getPrivateConnectionId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); privateConnectionId_ = s; return s; } } /** - * - * *
    * Required. The private connectivity identifier.
    * 
* * string private_connection_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for privateConnectionId. */ @java.lang.Override - public com.google.protobuf.ByteString getPrivateConnectionIdBytes() { + public com.google.protobuf.ByteString + getPrivateConnectionIdBytes() { java.lang.Object ref = privateConnectionId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); privateConnectionId_ = b; return b; } else { @@ -251,16 +215,11 @@ public com.google.protobuf.ByteString getPrivateConnectionIdBytes() { public static final int PRIVATE_CONNECTION_FIELD_NUMBER = 3; private com.google.cloud.datastream.v1.PrivateConnection privateConnection_; /** - * - * *
    * Required. The Private Connectivity resource to create.
    * 
* - * - * .google.cloud.datastream.v1.PrivateConnection private_connection = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datastream.v1.PrivateConnection private_connection = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the privateConnection field is set. */ @java.lang.Override @@ -268,34 +227,23 @@ public boolean hasPrivateConnection() { return privateConnection_ != null; } /** - * - * *
    * Required. The Private Connectivity resource to create.
    * 
* - * - * .google.cloud.datastream.v1.PrivateConnection private_connection = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datastream.v1.PrivateConnection private_connection = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The privateConnection. */ @java.lang.Override public com.google.cloud.datastream.v1.PrivateConnection getPrivateConnection() { - return privateConnection_ == null - ? com.google.cloud.datastream.v1.PrivateConnection.getDefaultInstance() - : privateConnection_; + return privateConnection_ == null ? com.google.cloud.datastream.v1.PrivateConnection.getDefaultInstance() : privateConnection_; } /** - * - * *
    * Required. The Private Connectivity resource to create.
    * 
* - * - * .google.cloud.datastream.v1.PrivateConnection private_connection = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1.PrivateConnection private_connection = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.datastream.v1.PrivateConnectionOrBuilder getPrivateConnectionOrBuilder() { @@ -305,8 +253,6 @@ public com.google.cloud.datastream.v1.PrivateConnectionOrBuilder getPrivateConne public static final int REQUEST_ID_FIELD_NUMBER = 4; private volatile java.lang.Object requestId_; /** - * - * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -322,7 +268,6 @@ public com.google.cloud.datastream.v1.PrivateConnectionOrBuilder getPrivateConne
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -331,15 +276,14 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** - * - * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -355,15 +299,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -372,7 +317,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -384,7 +328,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_); } @@ -413,7 +358,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, privateConnectionId_); } if (privateConnection_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getPrivateConnection()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getPrivateConnection()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, requestId_); @@ -426,21 +372,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.datastream.v1.CreatePrivateConnectionRequest)) { return super.equals(obj); } - com.google.cloud.datastream.v1.CreatePrivateConnectionRequest other = - (com.google.cloud.datastream.v1.CreatePrivateConnectionRequest) obj; + com.google.cloud.datastream.v1.CreatePrivateConnectionRequest other = (com.google.cloud.datastream.v1.CreatePrivateConnectionRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getPrivateConnectionId().equals(other.getPrivateConnectionId())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getPrivateConnectionId() + .equals(other.getPrivateConnectionId())) return false; if (hasPrivateConnection() != other.hasPrivateConnection()) return false; if (hasPrivateConnection()) { - if (!getPrivateConnection().equals(other.getPrivateConnection())) return false; + if (!getPrivateConnection() + .equals(other.getPrivateConnection())) return false; } - if (!getRequestId().equals(other.getRequestId())) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -468,127 +417,117 @@ public int hashCode() { } public static com.google.cloud.datastream.v1.CreatePrivateConnectionRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.CreatePrivateConnectionRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.CreatePrivateConnectionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.CreatePrivateConnectionRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.CreatePrivateConnectionRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.CreatePrivateConnectionRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1.CreatePrivateConnectionRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.CreatePrivateConnectionRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.CreatePrivateConnectionRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1.CreatePrivateConnectionRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.CreatePrivateConnectionRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.CreatePrivateConnectionRequest 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.datastream.v1.CreatePrivateConnectionRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.CreatePrivateConnectionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datastream.v1.CreatePrivateConnectionRequest prototype) { + public static Builder newBuilder(com.google.cloud.datastream.v1.CreatePrivateConnectionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 creating a private connection.
    * 
* * Protobuf type {@code google.cloud.datastream.v1.CreatePrivateConnectionRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1.CreatePrivateConnectionRequest) com.google.cloud.datastream.v1.CreatePrivateConnectionRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_CreatePrivateConnectionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_CreatePrivateConnectionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_CreatePrivateConnectionRequest_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_CreatePrivateConnectionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.CreatePrivateConnectionRequest.class, - com.google.cloud.datastream.v1.CreatePrivateConnectionRequest.Builder.class); + com.google.cloud.datastream.v1.CreatePrivateConnectionRequest.class, com.google.cloud.datastream.v1.CreatePrivateConnectionRequest.Builder.class); } // Construct using com.google.cloud.datastream.v1.CreatePrivateConnectionRequest.newBuilder() @@ -596,15 +535,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -624,14 +564,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_CreatePrivateConnectionRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_CreatePrivateConnectionRequest_descriptor; } @java.lang.Override - public com.google.cloud.datastream.v1.CreatePrivateConnectionRequest - getDefaultInstanceForType() { + public com.google.cloud.datastream.v1.CreatePrivateConnectionRequest getDefaultInstanceForType() { return com.google.cloud.datastream.v1.CreatePrivateConnectionRequest.getDefaultInstance(); } @@ -646,8 +585,7 @@ public com.google.cloud.datastream.v1.CreatePrivateConnectionRequest build() { @java.lang.Override public com.google.cloud.datastream.v1.CreatePrivateConnectionRequest buildPartial() { - com.google.cloud.datastream.v1.CreatePrivateConnectionRequest result = - new com.google.cloud.datastream.v1.CreatePrivateConnectionRequest(this); + com.google.cloud.datastream.v1.CreatePrivateConnectionRequest result = new com.google.cloud.datastream.v1.CreatePrivateConnectionRequest(this); result.parent_ = parent_; result.privateConnectionId_ = privateConnectionId_; if (privateConnectionBuilder_ == null) { @@ -664,39 +602,38 @@ public com.google.cloud.datastream.v1.CreatePrivateConnectionRequest buildPartia public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1.CreatePrivateConnectionRequest) { - return mergeFrom((com.google.cloud.datastream.v1.CreatePrivateConnectionRequest) other); + return mergeFrom((com.google.cloud.datastream.v1.CreatePrivateConnectionRequest)other); } else { super.mergeFrom(other); return this; @@ -704,9 +641,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datastream.v1.CreatePrivateConnectionRequest other) { - if (other - == com.google.cloud.datastream.v1.CreatePrivateConnectionRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.datastream.v1.CreatePrivateConnectionRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -741,9 +676,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datastream.v1.CreatePrivateConnectionRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datastream.v1.CreatePrivateConnectionRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -755,22 +688,18 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent that owns the collection of PrivateConnections.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -779,23 +708,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent that owns the collection of PrivateConnections.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -803,67 +729,54 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent that owns the collection of PrivateConnections.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The parent that owns the collection of PrivateConnections.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The parent that owns the collection of PrivateConnections.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -871,20 +784,18 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object privateConnectionId_ = ""; /** - * - * *
      * Required. The private connectivity identifier.
      * 
* * string private_connection_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The privateConnectionId. */ public java.lang.String getPrivateConnectionId() { java.lang.Object ref = privateConnectionId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); privateConnectionId_ = s; return s; @@ -893,21 +804,20 @@ public java.lang.String getPrivateConnectionId() { } } /** - * - * *
      * Required. The private connectivity identifier.
      * 
* * string private_connection_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for privateConnectionId. */ - public com.google.protobuf.ByteString getPrivateConnectionIdBytes() { + public com.google.protobuf.ByteString + getPrivateConnectionIdBytes() { java.lang.Object ref = privateConnectionId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); privateConnectionId_ = b; return b; } else { @@ -915,61 +825,54 @@ public com.google.protobuf.ByteString getPrivateConnectionIdBytes() { } } /** - * - * *
      * Required. The private connectivity identifier.
      * 
* * string private_connection_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The privateConnectionId to set. * @return This builder for chaining. */ - public Builder setPrivateConnectionId(java.lang.String value) { + public Builder setPrivateConnectionId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + privateConnectionId_ = value; onChanged(); return this; } /** - * - * *
      * Required. The private connectivity identifier.
      * 
* * string private_connection_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearPrivateConnectionId() { - + privateConnectionId_ = getDefaultInstance().getPrivateConnectionId(); onChanged(); return this; } /** - * - * *
      * Required. The private connectivity identifier.
      * 
* * string private_connection_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for privateConnectionId to set. * @return This builder for chaining. */ - public Builder setPrivateConnectionIdBytes(com.google.protobuf.ByteString value) { + public Builder setPrivateConnectionIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + privateConnectionId_ = value; onChanged(); return this; @@ -977,58 +880,39 @@ public Builder setPrivateConnectionIdBytes(com.google.protobuf.ByteString value) private com.google.cloud.datastream.v1.PrivateConnection privateConnection_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.PrivateConnection, - com.google.cloud.datastream.v1.PrivateConnection.Builder, - com.google.cloud.datastream.v1.PrivateConnectionOrBuilder> - privateConnectionBuilder_; + com.google.cloud.datastream.v1.PrivateConnection, com.google.cloud.datastream.v1.PrivateConnection.Builder, com.google.cloud.datastream.v1.PrivateConnectionOrBuilder> privateConnectionBuilder_; /** - * - * *
      * Required. The Private Connectivity resource to create.
      * 
* - * - * .google.cloud.datastream.v1.PrivateConnection private_connection = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datastream.v1.PrivateConnection private_connection = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the privateConnection field is set. */ public boolean hasPrivateConnection() { return privateConnectionBuilder_ != null || privateConnection_ != null; } /** - * - * *
      * Required. The Private Connectivity resource to create.
      * 
* - * - * .google.cloud.datastream.v1.PrivateConnection private_connection = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datastream.v1.PrivateConnection private_connection = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The privateConnection. */ public com.google.cloud.datastream.v1.PrivateConnection getPrivateConnection() { if (privateConnectionBuilder_ == null) { - return privateConnection_ == null - ? com.google.cloud.datastream.v1.PrivateConnection.getDefaultInstance() - : privateConnection_; + return privateConnection_ == null ? com.google.cloud.datastream.v1.PrivateConnection.getDefaultInstance() : privateConnection_; } else { return privateConnectionBuilder_.getMessage(); } } /** - * - * *
      * Required. The Private Connectivity resource to create.
      * 
* - * - * .google.cloud.datastream.v1.PrivateConnection private_connection = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1.PrivateConnection private_connection = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setPrivateConnection(com.google.cloud.datastream.v1.PrivateConnection value) { if (privateConnectionBuilder_ == null) { @@ -1044,15 +928,11 @@ public Builder setPrivateConnection(com.google.cloud.datastream.v1.PrivateConnec return this; } /** - * - * *
      * Required. The Private Connectivity resource to create.
      * 
* - * - * .google.cloud.datastream.v1.PrivateConnection private_connection = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1.PrivateConnection private_connection = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setPrivateConnection( com.google.cloud.datastream.v1.PrivateConnection.Builder builderForValue) { @@ -1066,23 +946,17 @@ public Builder setPrivateConnection( return this; } /** - * - * *
      * Required. The Private Connectivity resource to create.
      * 
* - * - * .google.cloud.datastream.v1.PrivateConnection private_connection = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1.PrivateConnection private_connection = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergePrivateConnection(com.google.cloud.datastream.v1.PrivateConnection value) { if (privateConnectionBuilder_ == null) { if (privateConnection_ != null) { privateConnection_ = - com.google.cloud.datastream.v1.PrivateConnection.newBuilder(privateConnection_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.datastream.v1.PrivateConnection.newBuilder(privateConnection_).mergeFrom(value).buildPartial(); } else { privateConnection_ = value; } @@ -1094,15 +968,11 @@ public Builder mergePrivateConnection(com.google.cloud.datastream.v1.PrivateConn return this; } /** - * - * *
      * Required. The Private Connectivity resource to create.
      * 
* - * - * .google.cloud.datastream.v1.PrivateConnection private_connection = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1.PrivateConnection private_connection = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearPrivateConnection() { if (privateConnectionBuilder_ == null) { @@ -1116,65 +986,48 @@ public Builder clearPrivateConnection() { return this; } /** - * - * *
      * Required. The Private Connectivity resource to create.
      * 
* - * - * .google.cloud.datastream.v1.PrivateConnection private_connection = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1.PrivateConnection private_connection = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.datastream.v1.PrivateConnection.Builder getPrivateConnectionBuilder() { - + onChanged(); return getPrivateConnectionFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The Private Connectivity resource to create.
      * 
* - * - * .google.cloud.datastream.v1.PrivateConnection private_connection = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1.PrivateConnection private_connection = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.datastream.v1.PrivateConnectionOrBuilder - getPrivateConnectionOrBuilder() { + public com.google.cloud.datastream.v1.PrivateConnectionOrBuilder getPrivateConnectionOrBuilder() { if (privateConnectionBuilder_ != null) { return privateConnectionBuilder_.getMessageOrBuilder(); } else { - return privateConnection_ == null - ? com.google.cloud.datastream.v1.PrivateConnection.getDefaultInstance() - : privateConnection_; + return privateConnection_ == null ? + com.google.cloud.datastream.v1.PrivateConnection.getDefaultInstance() : privateConnection_; } } /** - * - * *
      * Required. The Private Connectivity resource to create.
      * 
* - * - * .google.cloud.datastream.v1.PrivateConnection private_connection = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1.PrivateConnection private_connection = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.PrivateConnection, - com.google.cloud.datastream.v1.PrivateConnection.Builder, - com.google.cloud.datastream.v1.PrivateConnectionOrBuilder> + com.google.cloud.datastream.v1.PrivateConnection, com.google.cloud.datastream.v1.PrivateConnection.Builder, com.google.cloud.datastream.v1.PrivateConnectionOrBuilder> getPrivateConnectionFieldBuilder() { if (privateConnectionBuilder_ == null) { - privateConnectionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.PrivateConnection, - com.google.cloud.datastream.v1.PrivateConnection.Builder, - com.google.cloud.datastream.v1.PrivateConnectionOrBuilder>( - getPrivateConnection(), getParentForChildren(), isClean()); + privateConnectionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1.PrivateConnection, com.google.cloud.datastream.v1.PrivateConnection.Builder, com.google.cloud.datastream.v1.PrivateConnectionOrBuilder>( + getPrivateConnection(), + getParentForChildren(), + isClean()); privateConnection_ = null; } return privateConnectionBuilder_; @@ -1182,8 +1035,6 @@ public com.google.cloud.datastream.v1.PrivateConnection.Builder getPrivateConnec private java.lang.Object requestId_ = ""; /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1199,13 +1050,13 @@ public com.google.cloud.datastream.v1.PrivateConnection.Builder getPrivateConnec
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -1214,8 +1065,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1231,14 +1080,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -1246,8 +1096,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1263,22 +1111,20 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { + public Builder setRequestId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1294,18 +1140,15 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1321,23 +1164,23 @@ public Builder clearRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1347,13 +1190,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1.CreatePrivateConnectionRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1.CreatePrivateConnectionRequest) - private static final com.google.cloud.datastream.v1.CreatePrivateConnectionRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.datastream.v1.CreatePrivateConnectionRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1.CreatePrivateConnectionRequest(); } @@ -1362,16 +1204,16 @@ public static com.google.cloud.datastream.v1.CreatePrivateConnectionRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreatePrivateConnectionRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreatePrivateConnectionRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreatePrivateConnectionRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreatePrivateConnectionRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1386,4 +1228,6 @@ public com.google.protobuf.Parser getParserForTy public com.google.cloud.datastream.v1.CreatePrivateConnectionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/CreatePrivateConnectionRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/CreatePrivateConnectionRequestOrBuilder.java similarity index 68% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/CreatePrivateConnectionRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/CreatePrivateConnectionRequestOrBuilder.java index 92dbf640..90b3e3a0 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/CreatePrivateConnectionRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/CreatePrivateConnectionRequestOrBuilder.java @@ -1,126 +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/datastream/v1/datastream.proto package com.google.cloud.datastream.v1; -public interface CreatePrivateConnectionRequestOrBuilder - extends +public interface CreatePrivateConnectionRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1.CreatePrivateConnectionRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The parent that owns the collection of PrivateConnections.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The parent that owns the collection of PrivateConnections.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The private connectivity identifier.
    * 
* * string private_connection_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The privateConnectionId. */ java.lang.String getPrivateConnectionId(); /** - * - * *
    * Required. The private connectivity identifier.
    * 
* * string private_connection_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for privateConnectionId. */ - com.google.protobuf.ByteString getPrivateConnectionIdBytes(); + com.google.protobuf.ByteString + getPrivateConnectionIdBytes(); /** - * - * *
    * Required. The Private Connectivity resource to create.
    * 
* - * - * .google.cloud.datastream.v1.PrivateConnection private_connection = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datastream.v1.PrivateConnection private_connection = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the privateConnection field is set. */ boolean hasPrivateConnection(); /** - * - * *
    * Required. The Private Connectivity resource to create.
    * 
* - * - * .google.cloud.datastream.v1.PrivateConnection private_connection = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datastream.v1.PrivateConnection private_connection = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The privateConnection. */ com.google.cloud.datastream.v1.PrivateConnection getPrivateConnection(); /** - * - * *
    * Required. The Private Connectivity resource to create.
    * 
* - * - * .google.cloud.datastream.v1.PrivateConnection private_connection = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1.PrivateConnection private_connection = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.datastream.v1.PrivateConnectionOrBuilder getPrivateConnectionOrBuilder(); /** - * - * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -136,13 +90,10 @@ public interface CreatePrivateConnectionRequestOrBuilder
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -158,8 +109,8 @@ public interface CreatePrivateConnectionRequestOrBuilder
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); } diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/CreateRouteRequest.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/CreateRouteRequest.java similarity index 72% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/CreateRouteRequest.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/CreateRouteRequest.java index 5a900bc2..9263fddd 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/CreateRouteRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/CreateRouteRequest.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/datastream/v1/datastream.proto package com.google.cloud.datastream.v1; /** - * - * *
  * Route creation request.
  * 
* * Protobuf type {@code google.cloud.datastream.v1.CreateRouteRequest} */ -public final class CreateRouteRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateRouteRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1.CreateRouteRequest) CreateRouteRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateRouteRequest.newBuilder() to construct. private CreateRouteRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateRouteRequest() { parent_ = ""; routeId_ = ""; @@ -45,15 +27,16 @@ private CreateRouteRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateRouteRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateRouteRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,50 +55,44 @@ private CreateRouteRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - routeId_ = s; - break; + routeId_ = s; + break; + } + case 26: { + com.google.cloud.datastream.v1.Route.Builder subBuilder = null; + if (route_ != null) { + subBuilder = route_.toBuilder(); } - case 26: - { - com.google.cloud.datastream.v1.Route.Builder subBuilder = null; - if (route_ != null) { - subBuilder = route_.toBuilder(); - } - route_ = - input.readMessage( - com.google.cloud.datastream.v1.Route.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(route_); - route_ = subBuilder.buildPartial(); - } - - break; + route_ = input.readMessage(com.google.cloud.datastream.v1.Route.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(route_); + route_ = subBuilder.buildPartial(); } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - requestId_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + requestId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -123,41 +100,34 @@ private CreateRouteRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_CreateRouteRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_CreateRouteRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_CreateRouteRequest_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_CreateRouteRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.CreateRouteRequest.class, - com.google.cloud.datastream.v1.CreateRouteRequest.Builder.class); + com.google.cloud.datastream.v1.CreateRouteRequest.class, com.google.cloud.datastream.v1.CreateRouteRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The parent that owns the collection of Routes.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -166,31 +136,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The parent that owns the collection of Routes.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -201,14 +169,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int ROUTE_ID_FIELD_NUMBER = 2; private volatile java.lang.Object routeId_; /** - * - * *
    * Required. The Route identifier.
    * 
* * string route_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The routeId. */ @java.lang.Override @@ -217,29 +182,29 @@ public java.lang.String getRouteId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); routeId_ = s; return s; } } /** - * - * *
    * Required. The Route identifier.
    * 
* * string route_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for routeId. */ @java.lang.Override - public com.google.protobuf.ByteString getRouteIdBytes() { + public com.google.protobuf.ByteString + getRouteIdBytes() { java.lang.Object ref = routeId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); routeId_ = b; return b; } else { @@ -250,15 +215,11 @@ public com.google.protobuf.ByteString getRouteIdBytes() { public static final int ROUTE_FIELD_NUMBER = 3; private com.google.cloud.datastream.v1.Route route_; /** - * - * *
    * Required. The Route resource to create.
    * 
* - * .google.cloud.datastream.v1.Route route = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datastream.v1.Route route = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the route field is set. */ @java.lang.Override @@ -266,15 +227,11 @@ public boolean hasRoute() { return route_ != null; } /** - * - * *
    * Required. The Route resource to create.
    * 
* - * .google.cloud.datastream.v1.Route route = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datastream.v1.Route route = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The route. */ @java.lang.Override @@ -282,14 +239,11 @@ public com.google.cloud.datastream.v1.Route getRoute() { return route_ == null ? com.google.cloud.datastream.v1.Route.getDefaultInstance() : route_; } /** - * - * *
    * Required. The Route resource to create.
    * 
* - * .google.cloud.datastream.v1.Route route = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1.Route route = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.datastream.v1.RouteOrBuilder getRouteOrBuilder() { @@ -299,8 +253,6 @@ public com.google.cloud.datastream.v1.RouteOrBuilder getRouteOrBuilder() { public static final int REQUEST_ID_FIELD_NUMBER = 4; private volatile java.lang.Object requestId_; /** - * - * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -316,7 +268,6 @@ public com.google.cloud.datastream.v1.RouteOrBuilder getRouteOrBuilder() {
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -325,15 +276,14 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** - * - * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -349,15 +299,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -366,7 +317,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -378,7 +328,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_); } @@ -407,7 +358,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, routeId_); } if (route_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getRoute()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getRoute()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, requestId_); @@ -420,21 +372,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.datastream.v1.CreateRouteRequest)) { return super.equals(obj); } - com.google.cloud.datastream.v1.CreateRouteRequest other = - (com.google.cloud.datastream.v1.CreateRouteRequest) obj; + com.google.cloud.datastream.v1.CreateRouteRequest other = (com.google.cloud.datastream.v1.CreateRouteRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getRouteId().equals(other.getRouteId())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getRouteId() + .equals(other.getRouteId())) return false; if (hasRoute() != other.hasRoute()) return false; if (hasRoute()) { - if (!getRoute().equals(other.getRoute())) return false; + if (!getRoute() + .equals(other.getRoute())) return false; } - if (!getRequestId().equals(other.getRequestId())) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -462,126 +417,117 @@ public int hashCode() { } public static com.google.cloud.datastream.v1.CreateRouteRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.CreateRouteRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.CreateRouteRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.CreateRouteRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.CreateRouteRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.CreateRouteRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1.CreateRouteRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.CreateRouteRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.CreateRouteRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1.CreateRouteRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.CreateRouteRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.CreateRouteRequest 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.datastream.v1.CreateRouteRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.CreateRouteRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datastream.v1.CreateRouteRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Route creation request.
    * 
* * Protobuf type {@code google.cloud.datastream.v1.CreateRouteRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1.CreateRouteRequest) com.google.cloud.datastream.v1.CreateRouteRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_CreateRouteRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_CreateRouteRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_CreateRouteRequest_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_CreateRouteRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.CreateRouteRequest.class, - com.google.cloud.datastream.v1.CreateRouteRequest.Builder.class); + com.google.cloud.datastream.v1.CreateRouteRequest.class, com.google.cloud.datastream.v1.CreateRouteRequest.Builder.class); } // Construct using com.google.cloud.datastream.v1.CreateRouteRequest.newBuilder() @@ -589,15 +535,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -617,9 +564,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_CreateRouteRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_CreateRouteRequest_descriptor; } @java.lang.Override @@ -638,8 +585,7 @@ public com.google.cloud.datastream.v1.CreateRouteRequest build() { @java.lang.Override public com.google.cloud.datastream.v1.CreateRouteRequest buildPartial() { - com.google.cloud.datastream.v1.CreateRouteRequest result = - new com.google.cloud.datastream.v1.CreateRouteRequest(this); + com.google.cloud.datastream.v1.CreateRouteRequest result = new com.google.cloud.datastream.v1.CreateRouteRequest(this); result.parent_ = parent_; result.routeId_ = routeId_; if (routeBuilder_ == null) { @@ -656,39 +602,38 @@ public com.google.cloud.datastream.v1.CreateRouteRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1.CreateRouteRequest) { - return mergeFrom((com.google.cloud.datastream.v1.CreateRouteRequest) other); + return mergeFrom((com.google.cloud.datastream.v1.CreateRouteRequest)other); } else { super.mergeFrom(other); return this; @@ -696,8 +641,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datastream.v1.CreateRouteRequest other) { - if (other == com.google.cloud.datastream.v1.CreateRouteRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.datastream.v1.CreateRouteRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -732,8 +676,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datastream.v1.CreateRouteRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datastream.v1.CreateRouteRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -745,22 +688,18 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent that owns the collection of Routes.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -769,23 +708,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent that owns the collection of Routes.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -793,67 +729,54 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent that owns the collection of Routes.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The parent that owns the collection of Routes.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The parent that owns the collection of Routes.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -861,20 +784,18 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object routeId_ = ""; /** - * - * *
      * Required. The Route identifier.
      * 
* * string route_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The routeId. */ public java.lang.String getRouteId() { java.lang.Object ref = routeId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); routeId_ = s; return s; @@ -883,21 +804,20 @@ public java.lang.String getRouteId() { } } /** - * - * *
      * Required. The Route identifier.
      * 
* * string route_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for routeId. */ - public com.google.protobuf.ByteString getRouteIdBytes() { + public com.google.protobuf.ByteString + getRouteIdBytes() { java.lang.Object ref = routeId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); routeId_ = b; return b; } else { @@ -905,61 +825,54 @@ public com.google.protobuf.ByteString getRouteIdBytes() { } } /** - * - * *
      * Required. The Route identifier.
      * 
* * string route_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The routeId to set. * @return This builder for chaining. */ - public Builder setRouteId(java.lang.String value) { + public Builder setRouteId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + routeId_ = value; onChanged(); return this; } /** - * - * *
      * Required. The Route identifier.
      * 
* * string route_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearRouteId() { - + routeId_ = getDefaultInstance().getRouteId(); onChanged(); return this; } /** - * - * *
      * Required. The Route identifier.
      * 
* * string route_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for routeId to set. * @return This builder for chaining. */ - public Builder setRouteIdBytes(com.google.protobuf.ByteString value) { + public Builder setRouteIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + routeId_ = value; onChanged(); return this; @@ -967,35 +880,24 @@ public Builder setRouteIdBytes(com.google.protobuf.ByteString value) { private com.google.cloud.datastream.v1.Route route_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.Route, - com.google.cloud.datastream.v1.Route.Builder, - com.google.cloud.datastream.v1.RouteOrBuilder> - routeBuilder_; + com.google.cloud.datastream.v1.Route, com.google.cloud.datastream.v1.Route.Builder, com.google.cloud.datastream.v1.RouteOrBuilder> routeBuilder_; /** - * - * *
      * Required. The Route resource to create.
      * 
* - * .google.cloud.datastream.v1.Route route = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datastream.v1.Route route = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the route field is set. */ public boolean hasRoute() { return routeBuilder_ != null || route_ != null; } /** - * - * *
      * Required. The Route resource to create.
      * 
* - * .google.cloud.datastream.v1.Route route = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datastream.v1.Route route = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The route. */ public com.google.cloud.datastream.v1.Route getRoute() { @@ -1006,14 +908,11 @@ public com.google.cloud.datastream.v1.Route getRoute() { } } /** - * - * *
      * Required. The Route resource to create.
      * 
* - * .google.cloud.datastream.v1.Route route = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1.Route route = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setRoute(com.google.cloud.datastream.v1.Route value) { if (routeBuilder_ == null) { @@ -1029,16 +928,14 @@ public Builder setRoute(com.google.cloud.datastream.v1.Route value) { return this; } /** - * - * *
      * Required. The Route resource to create.
      * 
* - * .google.cloud.datastream.v1.Route route = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1.Route route = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setRoute(com.google.cloud.datastream.v1.Route.Builder builderForValue) { + public Builder setRoute( + com.google.cloud.datastream.v1.Route.Builder builderForValue) { if (routeBuilder_ == null) { route_ = builderForValue.build(); onChanged(); @@ -1049,22 +946,17 @@ public Builder setRoute(com.google.cloud.datastream.v1.Route.Builder builderForV return this; } /** - * - * *
      * Required. The Route resource to create.
      * 
* - * .google.cloud.datastream.v1.Route route = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1.Route route = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeRoute(com.google.cloud.datastream.v1.Route value) { if (routeBuilder_ == null) { if (route_ != null) { route_ = - com.google.cloud.datastream.v1.Route.newBuilder(route_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.datastream.v1.Route.newBuilder(route_).mergeFrom(value).buildPartial(); } else { route_ = value; } @@ -1076,14 +968,11 @@ public Builder mergeRoute(com.google.cloud.datastream.v1.Route value) { return this; } /** - * - * *
      * Required. The Route resource to create.
      * 
* - * .google.cloud.datastream.v1.Route route = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1.Route route = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearRoute() { if (routeBuilder_ == null) { @@ -1097,59 +986,48 @@ public Builder clearRoute() { return this; } /** - * - * *
      * Required. The Route resource to create.
      * 
* - * .google.cloud.datastream.v1.Route route = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1.Route route = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.datastream.v1.Route.Builder getRouteBuilder() { - + onChanged(); return getRouteFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The Route resource to create.
      * 
* - * .google.cloud.datastream.v1.Route route = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1.Route route = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.datastream.v1.RouteOrBuilder getRouteOrBuilder() { if (routeBuilder_ != null) { return routeBuilder_.getMessageOrBuilder(); } else { - return route_ == null ? com.google.cloud.datastream.v1.Route.getDefaultInstance() : route_; + return route_ == null ? + com.google.cloud.datastream.v1.Route.getDefaultInstance() : route_; } } /** - * - * *
      * Required. The Route resource to create.
      * 
* - * .google.cloud.datastream.v1.Route route = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1.Route route = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.Route, - com.google.cloud.datastream.v1.Route.Builder, - com.google.cloud.datastream.v1.RouteOrBuilder> + com.google.cloud.datastream.v1.Route, com.google.cloud.datastream.v1.Route.Builder, com.google.cloud.datastream.v1.RouteOrBuilder> getRouteFieldBuilder() { if (routeBuilder_ == null) { - routeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.Route, - com.google.cloud.datastream.v1.Route.Builder, - com.google.cloud.datastream.v1.RouteOrBuilder>( - getRoute(), getParentForChildren(), isClean()); + routeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1.Route, com.google.cloud.datastream.v1.Route.Builder, com.google.cloud.datastream.v1.RouteOrBuilder>( + getRoute(), + getParentForChildren(), + isClean()); route_ = null; } return routeBuilder_; @@ -1157,8 +1035,6 @@ public com.google.cloud.datastream.v1.RouteOrBuilder getRouteOrBuilder() { private java.lang.Object requestId_ = ""; /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1174,13 +1050,13 @@ public com.google.cloud.datastream.v1.RouteOrBuilder getRouteOrBuilder() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -1189,8 +1065,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1206,14 +1080,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -1221,8 +1096,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1238,22 +1111,20 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { + public Builder setRequestId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1269,18 +1140,15 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1296,23 +1164,23 @@ public Builder clearRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = 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); } @@ -1322,12 +1190,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1.CreateRouteRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1.CreateRouteRequest) private static final com.google.cloud.datastream.v1.CreateRouteRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1.CreateRouteRequest(); } @@ -1336,16 +1204,16 @@ public static com.google.cloud.datastream.v1.CreateRouteRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateRouteRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateRouteRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateRouteRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateRouteRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1360,4 +1228,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datastream.v1.CreateRouteRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/CreateRouteRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/CreateRouteRequestOrBuilder.java similarity index 72% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/CreateRouteRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/CreateRouteRequestOrBuilder.java index 53f171d0..ed1195c9 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/CreateRouteRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/CreateRouteRequestOrBuilder.java @@ -1,123 +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/datastream/v1/datastream.proto package com.google.cloud.datastream.v1; -public interface CreateRouteRequestOrBuilder - extends +public interface CreateRouteRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1.CreateRouteRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The parent that owns the collection of Routes.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The parent that owns the collection of Routes.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The Route identifier.
    * 
* * string route_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The routeId. */ java.lang.String getRouteId(); /** - * - * *
    * Required. The Route identifier.
    * 
* * string route_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for routeId. */ - com.google.protobuf.ByteString getRouteIdBytes(); + com.google.protobuf.ByteString + getRouteIdBytes(); /** - * - * *
    * Required. The Route resource to create.
    * 
* - * .google.cloud.datastream.v1.Route route = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datastream.v1.Route route = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the route field is set. */ boolean hasRoute(); /** - * - * *
    * Required. The Route resource to create.
    * 
* - * .google.cloud.datastream.v1.Route route = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datastream.v1.Route route = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The route. */ com.google.cloud.datastream.v1.Route getRoute(); /** - * - * *
    * Required. The Route resource to create.
    * 
* - * .google.cloud.datastream.v1.Route route = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1.Route route = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.datastream.v1.RouteOrBuilder getRouteOrBuilder(); /** - * - * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -133,13 +90,10 @@ public interface CreateRouteRequestOrBuilder
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -155,8 +109,8 @@ public interface CreateRouteRequestOrBuilder
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); } diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/CreateStreamRequest.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/CreateStreamRequest.java similarity index 71% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/CreateStreamRequest.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/CreateStreamRequest.java index 7f39784c..62ba6ae0 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/CreateStreamRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/CreateStreamRequest.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/datastream/v1/datastream.proto package com.google.cloud.datastream.v1; /** - * - * *
  * Request message for creating a stream.
  * 
* * Protobuf type {@code google.cloud.datastream.v1.CreateStreamRequest} */ -public final class CreateStreamRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateStreamRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1.CreateStreamRequest) CreateStreamRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateStreamRequest.newBuilder() to construct. private CreateStreamRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateStreamRequest() { parent_ = ""; streamId_ = ""; @@ -45,15 +27,16 @@ private CreateStreamRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateStreamRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateStreamRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,60 +55,54 @@ private CreateStreamRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - streamId_ = s; - break; + streamId_ = s; + break; + } + case 26: { + com.google.cloud.datastream.v1.Stream.Builder subBuilder = null; + if (stream_ != null) { + subBuilder = stream_.toBuilder(); } - case 26: - { - com.google.cloud.datastream.v1.Stream.Builder subBuilder = null; - if (stream_ != null) { - subBuilder = stream_.toBuilder(); - } - stream_ = - input.readMessage( - com.google.cloud.datastream.v1.Stream.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(stream_); - stream_ = subBuilder.buildPartial(); - } - - break; + stream_ = input.readMessage(com.google.cloud.datastream.v1.Stream.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(stream_); + stream_ = subBuilder.buildPartial(); } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - requestId_ = s; - break; - } - case 40: - { - validateOnly_ = input.readBool(); - break; - } - case 48: - { - force_ = input.readBool(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + requestId_ = s; + break; + } + case 40: { + + validateOnly_ = input.readBool(); + break; + } + case 48: { + + force_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -133,41 +110,34 @@ private CreateStreamRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_CreateStreamRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_CreateStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_CreateStreamRequest_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_CreateStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.CreateStreamRequest.class, - com.google.cloud.datastream.v1.CreateStreamRequest.Builder.class); + com.google.cloud.datastream.v1.CreateStreamRequest.class, com.google.cloud.datastream.v1.CreateStreamRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The parent that owns the collection of streams.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -176,31 +146,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The parent that owns the collection of streams.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -211,14 +179,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int STREAM_ID_FIELD_NUMBER = 2; private volatile java.lang.Object streamId_; /** - * - * *
    * Required. The stream identifier.
    * 
* * string stream_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The streamId. */ @java.lang.Override @@ -227,29 +192,29 @@ public java.lang.String getStreamId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); streamId_ = s; return s; } } /** - * - * *
    * Required. The stream identifier.
    * 
* * string stream_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for streamId. */ @java.lang.Override - public com.google.protobuf.ByteString getStreamIdBytes() { + public com.google.protobuf.ByteString + getStreamIdBytes() { java.lang.Object ref = streamId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); streamId_ = b; return b; } else { @@ -260,15 +225,11 @@ public com.google.protobuf.ByteString getStreamIdBytes() { public static final int STREAM_FIELD_NUMBER = 3; private com.google.cloud.datastream.v1.Stream stream_; /** - * - * *
    * Required. The stream resource to create.
    * 
* - * .google.cloud.datastream.v1.Stream stream = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datastream.v1.Stream stream = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the stream field is set. */ @java.lang.Override @@ -276,15 +237,11 @@ public boolean hasStream() { return stream_ != null; } /** - * - * *
    * Required. The stream resource to create.
    * 
* - * .google.cloud.datastream.v1.Stream stream = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datastream.v1.Stream stream = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The stream. */ @java.lang.Override @@ -292,14 +249,11 @@ public com.google.cloud.datastream.v1.Stream getStream() { return stream_ == null ? com.google.cloud.datastream.v1.Stream.getDefaultInstance() : stream_; } /** - * - * *
    * Required. The stream resource to create.
    * 
* - * .google.cloud.datastream.v1.Stream stream = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1.Stream stream = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.datastream.v1.StreamOrBuilder getStreamOrBuilder() { @@ -309,8 +263,6 @@ public com.google.cloud.datastream.v1.StreamOrBuilder getStreamOrBuilder() { public static final int REQUEST_ID_FIELD_NUMBER = 4; private volatile java.lang.Object requestId_; /** - * - * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -326,7 +278,6 @@ public com.google.cloud.datastream.v1.StreamOrBuilder getStreamOrBuilder() {
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -335,15 +286,14 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** - * - * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -359,15 +309,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -378,15 +329,12 @@ public com.google.protobuf.ByteString getRequestIdBytes() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 5; private boolean validateOnly_; /** - * - * *
    * Optional. Only validate the stream, but don't create any resources.
    * The default is false.
    * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -397,14 +345,11 @@ public boolean getValidateOnly() { public static final int FORCE_FIELD_NUMBER = 6; private boolean force_; /** - * - * *
    * Optional. Create the stream without validating it.
    * 
* * bool force = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The force. */ @java.lang.Override @@ -413,7 +358,6 @@ public boolean getForce() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -425,7 +369,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -460,16 +405,19 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, streamId_); } if (stream_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getStream()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getStream()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, requestId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, validateOnly_); } if (force_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, force_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(6, force_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -479,23 +427,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.datastream.v1.CreateStreamRequest)) { return super.equals(obj); } - com.google.cloud.datastream.v1.CreateStreamRequest other = - (com.google.cloud.datastream.v1.CreateStreamRequest) obj; + com.google.cloud.datastream.v1.CreateStreamRequest other = (com.google.cloud.datastream.v1.CreateStreamRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getStreamId().equals(other.getStreamId())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getStreamId() + .equals(other.getStreamId())) return false; if (hasStream() != other.hasStream()) return false; if (hasStream()) { - if (!getStream().equals(other.getStream())) return false; - } - if (!getRequestId().equals(other.getRequestId())) return false; - if (getValidateOnly() != other.getValidateOnly()) return false; - if (getForce() != other.getForce()) return false; + if (!getStream() + .equals(other.getStream())) return false; + } + if (!getRequestId() + .equals(other.getRequestId())) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; + if (getForce() + != other.getForce()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -518,135 +471,128 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().hashCode(); hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getValidateOnly()); hash = (37 * hash) + FORCE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getForce()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getForce()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.datastream.v1.CreateStreamRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.CreateStreamRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.CreateStreamRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.CreateStreamRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.CreateStreamRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.CreateStreamRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1.CreateStreamRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.CreateStreamRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.CreateStreamRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1.CreateStreamRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.CreateStreamRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.CreateStreamRequest 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.datastream.v1.CreateStreamRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.CreateStreamRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datastream.v1.CreateStreamRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for creating a stream.
    * 
* * Protobuf type {@code google.cloud.datastream.v1.CreateStreamRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1.CreateStreamRequest) com.google.cloud.datastream.v1.CreateStreamRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_CreateStreamRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_CreateStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_CreateStreamRequest_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_CreateStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.CreateStreamRequest.class, - com.google.cloud.datastream.v1.CreateStreamRequest.Builder.class); + com.google.cloud.datastream.v1.CreateStreamRequest.class, com.google.cloud.datastream.v1.CreateStreamRequest.Builder.class); } // Construct using com.google.cloud.datastream.v1.CreateStreamRequest.newBuilder() @@ -654,15 +600,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -686,9 +633,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_CreateStreamRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_CreateStreamRequest_descriptor; } @java.lang.Override @@ -707,8 +654,7 @@ public com.google.cloud.datastream.v1.CreateStreamRequest build() { @java.lang.Override public com.google.cloud.datastream.v1.CreateStreamRequest buildPartial() { - com.google.cloud.datastream.v1.CreateStreamRequest result = - new com.google.cloud.datastream.v1.CreateStreamRequest(this); + com.google.cloud.datastream.v1.CreateStreamRequest result = new com.google.cloud.datastream.v1.CreateStreamRequest(this); result.parent_ = parent_; result.streamId_ = streamId_; if (streamBuilder_ == null) { @@ -727,39 +673,38 @@ public com.google.cloud.datastream.v1.CreateStreamRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1.CreateStreamRequest) { - return mergeFrom((com.google.cloud.datastream.v1.CreateStreamRequest) other); + return mergeFrom((com.google.cloud.datastream.v1.CreateStreamRequest)other); } else { super.mergeFrom(other); return this; @@ -767,8 +712,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datastream.v1.CreateStreamRequest other) { - if (other == com.google.cloud.datastream.v1.CreateStreamRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.datastream.v1.CreateStreamRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -809,8 +753,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datastream.v1.CreateStreamRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datastream.v1.CreateStreamRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -822,22 +765,18 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent that owns the collection of streams.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -846,23 +785,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent that owns the collection of streams.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -870,67 +806,54 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent that owns the collection of streams.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The parent that owns the collection of streams.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The parent that owns the collection of streams.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -938,20 +861,18 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object streamId_ = ""; /** - * - * *
      * Required. The stream identifier.
      * 
* * string stream_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The streamId. */ public java.lang.String getStreamId() { java.lang.Object ref = streamId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); streamId_ = s; return s; @@ -960,21 +881,20 @@ public java.lang.String getStreamId() { } } /** - * - * *
      * Required. The stream identifier.
      * 
* * string stream_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for streamId. */ - public com.google.protobuf.ByteString getStreamIdBytes() { + public com.google.protobuf.ByteString + getStreamIdBytes() { java.lang.Object ref = streamId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); streamId_ = b; return b; } else { @@ -982,61 +902,54 @@ public com.google.protobuf.ByteString getStreamIdBytes() { } } /** - * - * *
      * Required. The stream identifier.
      * 
* * string stream_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The streamId to set. * @return This builder for chaining. */ - public Builder setStreamId(java.lang.String value) { + public Builder setStreamId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + streamId_ = value; onChanged(); return this; } /** - * - * *
      * Required. The stream identifier.
      * 
* * string stream_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearStreamId() { - + streamId_ = getDefaultInstance().getStreamId(); onChanged(); return this; } /** - * - * *
      * Required. The stream identifier.
      * 
* * string stream_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for streamId to set. * @return This builder for chaining. */ - public Builder setStreamIdBytes(com.google.protobuf.ByteString value) { + public Builder setStreamIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + streamId_ = value; onChanged(); return this; @@ -1044,58 +957,39 @@ public Builder setStreamIdBytes(com.google.protobuf.ByteString value) { private com.google.cloud.datastream.v1.Stream stream_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.Stream, - com.google.cloud.datastream.v1.Stream.Builder, - com.google.cloud.datastream.v1.StreamOrBuilder> - streamBuilder_; + com.google.cloud.datastream.v1.Stream, com.google.cloud.datastream.v1.Stream.Builder, com.google.cloud.datastream.v1.StreamOrBuilder> streamBuilder_; /** - * - * *
      * Required. The stream resource to create.
      * 
* - * - * .google.cloud.datastream.v1.Stream stream = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datastream.v1.Stream stream = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the stream field is set. */ public boolean hasStream() { return streamBuilder_ != null || stream_ != null; } /** - * - * *
      * Required. The stream resource to create.
      * 
* - * - * .google.cloud.datastream.v1.Stream stream = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datastream.v1.Stream stream = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The stream. */ public com.google.cloud.datastream.v1.Stream getStream() { if (streamBuilder_ == null) { - return stream_ == null - ? com.google.cloud.datastream.v1.Stream.getDefaultInstance() - : stream_; + return stream_ == null ? com.google.cloud.datastream.v1.Stream.getDefaultInstance() : stream_; } else { return streamBuilder_.getMessage(); } } /** - * - * *
      * Required. The stream resource to create.
      * 
* - * - * .google.cloud.datastream.v1.Stream stream = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1.Stream stream = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setStream(com.google.cloud.datastream.v1.Stream value) { if (streamBuilder_ == null) { @@ -1111,17 +1005,14 @@ public Builder setStream(com.google.cloud.datastream.v1.Stream value) { return this; } /** - * - * *
      * Required. The stream resource to create.
      * 
* - * - * .google.cloud.datastream.v1.Stream stream = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1.Stream stream = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setStream(com.google.cloud.datastream.v1.Stream.Builder builderForValue) { + public Builder setStream( + com.google.cloud.datastream.v1.Stream.Builder builderForValue) { if (streamBuilder_ == null) { stream_ = builderForValue.build(); onChanged(); @@ -1132,23 +1023,17 @@ public Builder setStream(com.google.cloud.datastream.v1.Stream.Builder builderFo return this; } /** - * - * *
      * Required. The stream resource to create.
      * 
* - * - * .google.cloud.datastream.v1.Stream stream = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1.Stream stream = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeStream(com.google.cloud.datastream.v1.Stream value) { if (streamBuilder_ == null) { if (stream_ != null) { stream_ = - com.google.cloud.datastream.v1.Stream.newBuilder(stream_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.datastream.v1.Stream.newBuilder(stream_).mergeFrom(value).buildPartial(); } else { stream_ = value; } @@ -1160,15 +1045,11 @@ public Builder mergeStream(com.google.cloud.datastream.v1.Stream value) { return this; } /** - * - * *
      * Required. The stream resource to create.
      * 
* - * - * .google.cloud.datastream.v1.Stream stream = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1.Stream stream = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearStream() { if (streamBuilder_ == null) { @@ -1182,64 +1063,48 @@ public Builder clearStream() { return this; } /** - * - * *
      * Required. The stream resource to create.
      * 
* - * - * .google.cloud.datastream.v1.Stream stream = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1.Stream stream = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.datastream.v1.Stream.Builder getStreamBuilder() { - + onChanged(); return getStreamFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The stream resource to create.
      * 
* - * - * .google.cloud.datastream.v1.Stream stream = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1.Stream stream = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.datastream.v1.StreamOrBuilder getStreamOrBuilder() { if (streamBuilder_ != null) { return streamBuilder_.getMessageOrBuilder(); } else { - return stream_ == null - ? com.google.cloud.datastream.v1.Stream.getDefaultInstance() - : stream_; + return stream_ == null ? + com.google.cloud.datastream.v1.Stream.getDefaultInstance() : stream_; } } /** - * - * *
      * Required. The stream resource to create.
      * 
* - * - * .google.cloud.datastream.v1.Stream stream = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1.Stream stream = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.Stream, - com.google.cloud.datastream.v1.Stream.Builder, - com.google.cloud.datastream.v1.StreamOrBuilder> + com.google.cloud.datastream.v1.Stream, com.google.cloud.datastream.v1.Stream.Builder, com.google.cloud.datastream.v1.StreamOrBuilder> getStreamFieldBuilder() { if (streamBuilder_ == null) { - streamBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.Stream, - com.google.cloud.datastream.v1.Stream.Builder, - com.google.cloud.datastream.v1.StreamOrBuilder>( - getStream(), getParentForChildren(), isClean()); + streamBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1.Stream, com.google.cloud.datastream.v1.Stream.Builder, com.google.cloud.datastream.v1.StreamOrBuilder>( + getStream(), + getParentForChildren(), + isClean()); stream_ = null; } return streamBuilder_; @@ -1247,8 +1112,6 @@ public com.google.cloud.datastream.v1.StreamOrBuilder getStreamOrBuilder() { private java.lang.Object requestId_ = ""; /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1264,13 +1127,13 @@ public com.google.cloud.datastream.v1.StreamOrBuilder getStreamOrBuilder() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -1279,8 +1142,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1296,14 +1157,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -1311,8 +1173,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1328,22 +1188,20 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { + public Builder setRequestId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1359,18 +1217,15 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1386,32 +1241,29 @@ public Builder clearRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = value; onChanged(); return this; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * Optional. Only validate the stream, but don't create any resources.
      * The default is false.
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -1419,53 +1271,44 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * Optional. Only validate the stream, but don't create any resources.
      * The default is false.
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The validateOnly to set. * @return This builder for chaining. */ public Builder setValidateOnly(boolean value) { - + validateOnly_ = value; onChanged(); return this; } /** - * - * *
      * Optional. Only validate the stream, but don't create any resources.
      * The default is false.
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { - + validateOnly_ = false; onChanged(); return this; } - private boolean force_; + private boolean force_ ; /** - * - * *
      * Optional. Create the stream without validating it.
      * 
* * bool force = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The force. */ @java.lang.Override @@ -1473,43 +1316,37 @@ public boolean getForce() { return force_; } /** - * - * *
      * Optional. Create the stream without validating it.
      * 
* * bool force = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The force to set. * @return This builder for chaining. */ public Builder setForce(boolean value) { - + force_ = value; onChanged(); return this; } /** - * - * *
      * Optional. Create the stream without validating it.
      * 
* * bool force = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearForce() { - + force_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1519,12 +1356,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1.CreateStreamRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1.CreateStreamRequest) private static final com.google.cloud.datastream.v1.CreateStreamRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1.CreateStreamRequest(); } @@ -1533,16 +1370,16 @@ public static com.google.cloud.datastream.v1.CreateStreamRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateStreamRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateStreamRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateStreamRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateStreamRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1557,4 +1394,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datastream.v1.CreateStreamRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/CreateStreamRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/CreateStreamRequestOrBuilder.java similarity index 74% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/CreateStreamRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/CreateStreamRequestOrBuilder.java index b657ef59..b5acf401 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/CreateStreamRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/CreateStreamRequestOrBuilder.java @@ -1,123 +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/datastream/v1/datastream.proto package com.google.cloud.datastream.v1; -public interface CreateStreamRequestOrBuilder - extends +public interface CreateStreamRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1.CreateStreamRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The parent that owns the collection of streams.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The parent that owns the collection of streams.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The stream identifier.
    * 
* * string stream_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The streamId. */ java.lang.String getStreamId(); /** - * - * *
    * Required. The stream identifier.
    * 
* * string stream_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for streamId. */ - com.google.protobuf.ByteString getStreamIdBytes(); + com.google.protobuf.ByteString + getStreamIdBytes(); /** - * - * *
    * Required. The stream resource to create.
    * 
* - * .google.cloud.datastream.v1.Stream stream = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datastream.v1.Stream stream = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the stream field is set. */ boolean hasStream(); /** - * - * *
    * Required. The stream resource to create.
    * 
* - * .google.cloud.datastream.v1.Stream stream = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datastream.v1.Stream stream = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The stream. */ com.google.cloud.datastream.v1.Stream getStream(); /** - * - * *
    * Required. The stream resource to create.
    * 
* - * .google.cloud.datastream.v1.Stream stream = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1.Stream stream = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.datastream.v1.StreamOrBuilder getStreamOrBuilder(); /** - * - * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -133,13 +90,10 @@ public interface CreateStreamRequestOrBuilder
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -155,34 +109,28 @@ public interface CreateStreamRequestOrBuilder
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); /** - * - * *
    * Optional. Only validate the stream, but don't create any resources.
    * The default is false.
    * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ boolean getValidateOnly(); /** - * - * *
    * Optional. Create the stream without validating it.
    * 
* * bool force = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The force. */ boolean getForce(); diff --git a/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DatastreamProto.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DatastreamProto.java new file mode 100644 index 00000000..c56a8543 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DatastreamProto.java @@ -0,0 +1,739 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datastream/v1/datastream.proto + +package com.google.cloud.datastream.v1; + +public final class DatastreamProto { + private DatastreamProto() {} + 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_datastream_v1_DiscoverConnectionProfileRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datastream_v1_DiscoverConnectionProfileRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datastream_v1_DiscoverConnectionProfileResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datastream_v1_DiscoverConnectionProfileResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datastream_v1_FetchStaticIpsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datastream_v1_FetchStaticIpsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datastream_v1_FetchStaticIpsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datastream_v1_FetchStaticIpsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datastream_v1_ListConnectionProfilesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datastream_v1_ListConnectionProfilesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datastream_v1_ListConnectionProfilesResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datastream_v1_ListConnectionProfilesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datastream_v1_GetConnectionProfileRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datastream_v1_GetConnectionProfileRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datastream_v1_CreateConnectionProfileRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datastream_v1_CreateConnectionProfileRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datastream_v1_UpdateConnectionProfileRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datastream_v1_UpdateConnectionProfileRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datastream_v1_DeleteConnectionProfileRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datastream_v1_DeleteConnectionProfileRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datastream_v1_ListStreamsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datastream_v1_ListStreamsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datastream_v1_ListStreamsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datastream_v1_ListStreamsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datastream_v1_GetStreamRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datastream_v1_GetStreamRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datastream_v1_CreateStreamRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datastream_v1_CreateStreamRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datastream_v1_UpdateStreamRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datastream_v1_UpdateStreamRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datastream_v1_DeleteStreamRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datastream_v1_DeleteStreamRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datastream_v1_GetStreamObjectRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datastream_v1_GetStreamObjectRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datastream_v1_LookupStreamObjectRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datastream_v1_LookupStreamObjectRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datastream_v1_StartBackfillJobRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datastream_v1_StartBackfillJobRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datastream_v1_StartBackfillJobResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datastream_v1_StartBackfillJobResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datastream_v1_StopBackfillJobRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datastream_v1_StopBackfillJobRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datastream_v1_StopBackfillJobResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datastream_v1_StopBackfillJobResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datastream_v1_ListStreamObjectsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datastream_v1_ListStreamObjectsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datastream_v1_ListStreamObjectsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datastream_v1_ListStreamObjectsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datastream_v1_OperationMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datastream_v1_OperationMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datastream_v1_CreatePrivateConnectionRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datastream_v1_CreatePrivateConnectionRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datastream_v1_ListPrivateConnectionsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datastream_v1_ListPrivateConnectionsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datastream_v1_ListPrivateConnectionsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datastream_v1_ListPrivateConnectionsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datastream_v1_DeletePrivateConnectionRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datastream_v1_DeletePrivateConnectionRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datastream_v1_GetPrivateConnectionRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datastream_v1_GetPrivateConnectionRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datastream_v1_CreateRouteRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datastream_v1_CreateRouteRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datastream_v1_ListRoutesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datastream_v1_ListRoutesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datastream_v1_ListRoutesResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datastream_v1_ListRoutesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datastream_v1_DeleteRouteRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datastream_v1_DeleteRouteRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datastream_v1_GetRouteRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datastream_v1_GetRouteRequest_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/datastream/v1/datastream." + + "proto\022\032google.cloud.datastream.v1\032\034googl" + + "e/api/annotations.proto\032\027google/api/clie" + + "nt.proto\032\037google/api/field_behavior.prot" + + "o\032\031google/api/resource.proto\0325google/clo" + + "ud/datastream/v1/datastream_resources.pr" + + "oto\032#google/longrunning/operations.proto" + + "\032 google/protobuf/field_mask.proto\032\037goog" + + "le/protobuf/timestamp.proto\"\375\003\n Discover" + + "ConnectionProfileRequest\022C\n\006parent\030\001 \001(\t" + + "B3\340A\002\372A-\022+datastream.googleapis.com/Conn" + + "ectionProfile\022L\n\022connection_profile\030\310\001 \001" + + "(\0132-.google.cloud.datastream.v1.Connecti" + + "onProfileH\000\022\"\n\027connection_profile_name\030\311" + + "\001 \001(\tH\000\022\030\n\016full_hierarchy\030\003 \001(\010H\001\022\031\n\017hie" + + "rarchy_depth\030\004 \001(\005H\001\022?\n\014oracle_rdbms\030d \001" + + "(\0132\'.google.cloud.datastream.v1.OracleRd" + + "bmsH\002\022=\n\013mysql_rdbms\030e \001(\0132&.google.clou" + + "d.datastream.v1.MysqlRdbmsH\002\022G\n\020postgres" + + "ql_rdbms\030f \001(\0132+.google.cloud.datastream" + + ".v1.PostgresqlRdbmsH\002B\010\n\006targetB\013\n\thiera" + + "rchyB\r\n\013data_object\"\373\001\n!DiscoverConnecti" + + "onProfileResponse\022?\n\014oracle_rdbms\030d \001(\0132" + + "\'.google.cloud.datastream.v1.OracleRdbms" + + "H\000\022=\n\013mysql_rdbms\030e \001(\0132&.google.cloud.d" + + "atastream.v1.MysqlRdbmsH\000\022G\n\020postgresql_" + + "rdbms\030f \001(\0132+.google.cloud.datastream.v1" + + ".PostgresqlRdbmsH\000B\r\n\013data_object\"w\n\025Fet" + + "chStaticIpsRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#" + + "\n!locations.googleapis.com/Location\022\021\n\tp" + + "age_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"E\n\026Fe" + + "tchStaticIpsResponse\022\022\n\nstatic_ips\030\001 \003(\t" + + "\022\027\n\017next_page_token\030\002 \001(\t\"\255\001\n\035ListConnec" + + "tionProfilesRequest\022C\n\006parent\030\001 \001(\tB3\340A\002" + + "\372A-\022+datastream.googleapis.com/Connectio" + + "nProfile\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\036ListConnectionProfilesResponse\022J\n\023" + + "connection_profiles\030\001 \003(\0132-.google.cloud" + + ".datastream.v1.ConnectionProfile\022\027\n\017next" + + "_page_token\030\002 \001(\t\022\023\n\013unreachable\030\003 \003(\t\"`" + + "\n\033GetConnectionProfileRequest\022A\n\004name\030\001 " + + "\001(\tB3\340A\002\372A-\n+datastream.googleapis.com/C" + + "onnectionProfile\"\242\002\n\036CreateConnectionPro" + + "fileRequest\022C\n\006parent\030\001 \001(\tB3\340A\002\372A-\022+dat" + + "astream.googleapis.com/ConnectionProfile" + + "\022\"\n\025connection_profile_id\030\002 \001(\tB\003\340A\002\022N\n\022" + + "connection_profile\030\003 \001(\0132-.google.cloud." + + "datastream.v1.ConnectionProfileB\003\340A\002\022\027\n\n" + + "request_id\030\004 \001(\tB\003\340A\001\022\032\n\rvalidate_only\030\005" + + " \001(\010B\003\340A\001\022\022\n\005force\030\006 \001(\010B\003\340A\001\"\357\001\n\036Update" + + "ConnectionProfileRequest\0224\n\013update_mask\030" + + "\001 \001(\0132\032.google.protobuf.FieldMaskB\003\340A\001\022N" + + "\n\022connection_profile\030\002 \001(\0132-.google.clou" + + "d.datastream.v1.ConnectionProfileB\003\340A\002\022\027" + + "\n\nrequest_id\030\003 \001(\tB\003\340A\001\022\032\n\rvalidate_only" + + "\030\004 \001(\010B\003\340A\001\022\022\n\005force\030\005 \001(\010B\003\340A\001\"|\n\036Delet" + + "eConnectionProfileRequest\022A\n\004name\030\001 \001(\tB" + + "3\340A\002\372A-\n+datastream.googleapis.com/Conne" + + "ctionProfile\022\027\n\nrequest_id\030\002 \001(\tB\003\340A\001\"\227\001" + + "\n\022ListStreamsRequest\0228\n\006parent\030\001 \001(\tB(\340A" + + "\002\372A\"\022 datastream.googleapis.com/Stream\022\021" + + "\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n" + + "\006filter\030\004 \001(\t\022\020\n\010order_by\030\005 \001(\t\"x\n\023ListS" + + "treamsResponse\0223\n\007streams\030\001 \003(\0132\".google" + + ".cloud.datastream.v1.Stream\022\027\n\017next_page" + + "_token\030\002 \001(\t\022\023\n\013unreachable\030\003 \003(\t\"J\n\020Get" + + "StreamRequest\0226\n\004name\030\001 \001(\tB(\340A\002\372A\"\n dat" + + "astream.googleapis.com/Stream\"\351\001\n\023Create" + + "StreamRequest\0228\n\006parent\030\001 \001(\tB(\340A\002\372A\"\022 d" + + "atastream.googleapis.com/Stream\022\026\n\tstrea" + + "m_id\030\002 \001(\tB\003\340A\002\0227\n\006stream\030\003 \001(\0132\".google" + + ".cloud.datastream.v1.StreamB\003\340A\002\022\027\n\nrequ" + + "est_id\030\004 \001(\tB\003\340A\001\022\032\n\rvalidate_only\030\005 \001(\010" + + "B\003\340A\001\022\022\n\005force\030\006 \001(\010B\003\340A\001\"\315\001\n\023UpdateStre" + + "amRequest\0224\n\013update_mask\030\001 \001(\0132\032.google." + + "protobuf.FieldMaskB\003\340A\001\0227\n\006stream\030\002 \001(\0132" + + "\".google.cloud.datastream.v1.StreamB\003\340A\002" + + "\022\027\n\nrequest_id\030\003 \001(\tB\003\340A\001\022\032\n\rvalidate_on" + + "ly\030\004 \001(\010B\003\340A\001\022\022\n\005force\030\005 \001(\010B\003\340A\001\"f\n\023Del" + + "eteStreamRequest\0226\n\004name\030\001 \001(\tB(\340A\002\372A\"\n " + + "datastream.googleapis.com/Stream\022\027\n\nrequ" + + "est_id\030\002 \001(\tB\003\340A\001\"V\n\026GetStreamObjectRequ" + + "est\022<\n\004name\030\001 \001(\tB.\340A\002\372A(\n&datastream.go" + + "ogleapis.com/StreamObject\"\260\001\n\031LookupStre" + + "amObjectRequest\0228\n\006parent\030\001 \001(\tB(\340A\002\372A\"\n" + + " datastream.googleapis.com/Stream\022Y\n\030sou" + + "rce_object_identifier\030\002 \001(\01322.google.clo" + + "ud.datastream.v1.SourceObjectIdentifierB" + + "\003\340A\002\"Y\n\027StartBackfillJobRequest\022>\n\006objec" + + "t\030\001 \001(\tB.\340A\002\372A(\n&datastream.googleapis.c" + + "om/StreamObject\"T\n\030StartBackfillJobRespo" + + "nse\0228\n\006object\030\001 \001(\0132(.google.cloud.datas" + + "tream.v1.StreamObject\"X\n\026StopBackfillJob" + + "Request\022>\n\006object\030\001 \001(\tB.\340A\002\372A(\n&datastr" + + "eam.googleapis.com/StreamObject\"S\n\027StopB" + + "ackfillJobResponse\0228\n\006object\030\001 \001(\0132(.goo" + + "gle.cloud.datastream.v1.StreamObject\"\201\001\n" + + "\030ListStreamObjectsRequest\022>\n\006parent\030\001 \001(" + + "\tB.\340A\002\372A(\022&datastream.googleapis.com/Str" + + "eamObject\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_tok" + + "en\030\003 \001(\t\"v\n\031ListStreamObjectsResponse\022@\n" + + "\016stream_objects\030\001 \003(\0132(.google.cloud.dat" + + "astream.v1.StreamObject\022\027\n\017next_page_tok" + + "en\030\002 \001(\t\"\316\002\n\021OperationMetadata\0224\n\013create" + + "_time\030\001 \001(\0132\032.google.protobuf.TimestampB" + + "\003\340A\003\0221\n\010end_time\030\002 \001(\0132\032.google.protobuf" + + ".TimestampB\003\340A\003\022\023\n\006target\030\003 \001(\tB\003\340A\003\022\021\n\004" + + "verb\030\004 \001(\tB\003\340A\003\022\033\n\016status_message\030\005 \001(\tB" + + "\003\340A\003\022#\n\026requested_cancellation\030\006 \001(\010B\003\340A" + + "\003\022\030\n\013api_version\030\007 \001(\tB\003\340A\003\022L\n\021validatio" + + "n_result\030\010 \001(\0132,.google.cloud.datastream" + + ".v1.ValidationResultB\003\340A\003\"\362\001\n\036CreatePriv" + + "ateConnectionRequest\022C\n\006parent\030\001 \001(\tB3\340A" + + "\002\372A-\022+datastream.googleapis.com/PrivateC" + + "onnection\022\"\n\025private_connection_id\030\002 \001(\t" + + "B\003\340A\002\022N\n\022private_connection\030\003 \001(\0132-.goog" + + "le.cloud.datastream.v1.PrivateConnection" + + "B\003\340A\002\022\027\n\nrequest_id\030\004 \001(\tB\003\340A\001\"\255\001\n\035ListP" + + "rivateConnectionsRequest\022C\n\006parent\030\001 \001(\t" + + "B3\340A\002\372A-\022+datastream.googleapis.com/Priv" + + "ateConnection\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage" + + "_token\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\022\020\n\010order_by" + + "\030\005 \001(\t\"\232\001\n\036ListPrivateConnectionsRespons" + + "e\022J\n\023private_connections\030\001 \003(\0132-.google." + + "cloud.datastream.v1.PrivateConnection\022\027\n" + + "\017next_page_token\030\002 \001(\t\022\023\n\013unreachable\030\003 " + + "\003(\t\"\220\001\n\036DeletePrivateConnectionRequest\022A" + + "\n\004name\030\001 \001(\tB3\340A\002\372A-\n+datastream.googlea" + + "pis.com/PrivateConnection\022\027\n\nrequest_id\030" + + "\002 \001(\tB\003\340A\001\022\022\n\005force\030\003 \001(\010B\003\340A\001\"`\n\033GetPri" + + "vateConnectionRequest\022A\n\004name\030\001 \001(\tB3\340A\002" + + "\372A-\n+datastream.googleapis.com/PrivateCo" + + "nnection\"\264\001\n\022CreateRouteRequest\0227\n\006paren" + + "t\030\001 \001(\tB\'\340A\002\372A!\022\037datastream.googleapis.c" + + "om/Route\022\025\n\010route_id\030\002 \001(\tB\003\340A\002\0225\n\005route" + + "\030\003 \001(\0132!.google.cloud.datastream.v1.Rout" + + "eB\003\340A\002\022\027\n\nrequest_id\030\004 \001(\tB\003\340A\001\"\225\001\n\021List" + + "RoutesRequest\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\022\037d" + + "atastream.googleapis.com/Route\022\021\n\tpage_s" + + "ize\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n\006filter\030" + + "\004 \001(\t\022\020\n\010order_by\030\005 \001(\t\"u\n\022ListRoutesRes" + + "ponse\0221\n\006routes\030\001 \003(\0132!.google.cloud.dat" + + "astream.v1.Route\022\027\n\017next_page_token\030\002 \001(" + + "\t\022\023\n\013unreachable\030\003 \003(\t\"d\n\022DeleteRouteReq" + + "uest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037datastream.g" + + "oogleapis.com/Route\022\027\n\nrequest_id\030\002 \001(\tB" + + "\003\340A\001\"H\n\017GetRouteRequest\0225\n\004name\030\001 \001(\tB\'\340" + + "A\002\372A!\n\037datastream.googleapis.com/Route2\375" + + "*\n\nDatastream\022\330\001\n\026ListConnectionProfiles" + + "\0229.google.cloud.datastream.v1.ListConnec" + + "tionProfilesRequest\032:.google.cloud.datas" + + "tream.v1.ListConnectionProfilesResponse\"" + + "G\202\323\344\223\0028\0226/v1/{parent=projects/*/location" + + "s/*}/connectionProfiles\332A\006parent\022\305\001\n\024Get" + + "ConnectionProfile\0227.google.cloud.datastr" + + "eam.v1.GetConnectionProfileRequest\032-.goo" + + "gle.cloud.datastream.v1.ConnectionProfil" + + "e\"E\202\323\344\223\0028\0226/v1/{name=projects/*/location" + + "s/*/connectionProfiles/*}\332A\004name\022\244\002\n\027Cre" + + "ateConnectionProfile\022:.google.cloud.data" + + "stream.v1.CreateConnectionProfileRequest" + + "\032\035.google.longrunning.Operation\"\255\001\202\323\344\223\002L" + + "\"6/v1/{parent=projects/*/locations/*}/co" + + "nnectionProfiles:\022connection_profile\332A/p" + + "arent,connection_profile,connection_prof" + + "ile_id\312A&\n\021ConnectionProfile\022\021OperationM" + + "etadata\022\246\002\n\027UpdateConnectionProfile\022:.go" + + "ogle.cloud.datastream.v1.UpdateConnectio" + + "nProfileRequest\032\035.google.longrunning.Ope" + + "ration\"\257\001\202\323\344\223\002_2I/v1/{connection_profile" + + ".name=projects/*/locations/*/connectionP" + + "rofiles/*}:\022connection_profile\332A\036connect" + + "ion_profile,update_mask\312A&\n\021ConnectionPr" + + "ofile\022\021OperationMetadata\022\350\001\n\027DeleteConne" + + "ctionProfile\022:.google.cloud.datastream.v" + + "1.DeleteConnectionProfileRequest\032\035.googl" + + "e.longrunning.Operation\"r\202\323\344\223\0028*6/v1/{na" + + "me=projects/*/locations/*/connectionProf" + + "iles/*}\332A\004name\312A*\n\025google.protobuf.Empty" + + "\022\021OperationMetadata\022\344\001\n\031DiscoverConnecti" + + "onProfile\022<.google.cloud.datastream.v1.D" + + "iscoverConnectionProfileRequest\032=.google" + + ".cloud.datastream.v1.DiscoverConnectionP" + + "rofileResponse\"J\202\323\344\223\002D\"?/v1/{parent=proj" + + "ects/*/locations/*}/connectionProfiles:d" + + "iscover:\001*\022\254\001\n\013ListStreams\022..google.clou" + + "d.datastream.v1.ListStreamsRequest\032/.goo" + + "gle.cloud.datastream.v1.ListStreamsRespo" + + "nse\"<\202\323\344\223\002-\022+/v1/{parent=projects/*/loca" + + "tions/*}/streams\332A\006parent\022\231\001\n\tGetStream\022" + + ",.google.cloud.datastream.v1.GetStreamRe" + + "quest\032\".google.cloud.datastream.v1.Strea" + + "m\":\202\323\344\223\002-\022+/v1/{name=projects/*/location" + + "s/*/streams/*}\332A\004name\022\323\001\n\014CreateStream\022/" + + ".google.cloud.datastream.v1.CreateStream" + + "Request\032\035.google.longrunning.Operation\"s" + + "\202\323\344\223\0025\"+/v1/{parent=projects/*/locations" + + "/*}/streams:\006stream\332A\027parent,stream,stre" + + "am_id\312A\033\n\006Stream\022\021OperationMetadata\022\325\001\n\014" + + "UpdateStream\022/.google.cloud.datastream.v" + + "1.UpdateStreamRequest\032\035.google.longrunni" + + "ng.Operation\"u\202\323\344\223\002<22/v1/{stream.name=p" + + "rojects/*/locations/*/streams/*}:\006stream" + + "\332A\022stream,update_mask\312A\033\n\006Stream\022\021Operat" + + "ionMetadata\022\307\001\n\014DeleteStream\022/.google.cl" + + "oud.datastream.v1.DeleteStreamRequest\032\035." + + "google.longrunning.Operation\"g\202\323\344\223\002-*+/v" + + "1/{name=projects/*/locations/*/streams/*" + + "}\332A\004name\312A*\n\025google.protobuf.Empty\022\021Oper" + + "ationMetadata\022\265\001\n\017GetStreamObject\0222.goog" + + "le.cloud.datastream.v1.GetStreamObjectRe" + + "quest\032(.google.cloud.datastream.v1.Strea" + + "mObject\"D\202\323\344\223\0027\0225/v1/{name=projects/*/lo" + + "cations/*/streams/*/objects/*}\332A\004name\022\276\001" + + "\n\022LookupStreamObject\0225.google.cloud.data" + + "stream.v1.LookupStreamObjectRequest\032(.go" + + "ogle.cloud.datastream.v1.StreamObject\"G\202" + + "\323\344\223\002A\"\n\nssl_config\030\005 \001(\0132*.google.cloud." + + "datastream.v1.MysqlSslConfig\"}\n\021Postgres" + + "qlProfile\022\025\n\010hostname\030\001 \001(\tB\003\340A\002\022\014\n\004port" + + "\030\002 \001(\005\022\025\n\010username\030\003 \001(\tB\003\340A\002\022\025\n\010passwor" + + "d\030\004 \001(\tB\003\340A\002\022\025\n\010database\030\005 \001(\tB\003\340A\002\"4\n\nG" + + "csProfile\022\023\n\006bucket\030\001 \001(\tB\003\340A\002\022\021\n\troot_p" + + "ath\030\002 \001(\t\"\021\n\017BigQueryProfile\"\035\n\033StaticSe" + + "rviceIpConnectivity\"\250\001\n\034ForwardSshTunnel" + + "Connectivity\022\025\n\010hostname\030\001 \001(\tB\003\340A\002\022\025\n\010u" + + "sername\030\002 \001(\tB\003\340A\002\022\014\n\004port\030\003 \001(\005\022\027\n\010pass" + + "word\030d \001(\tB\003\340A\004H\000\022\032\n\013private_key\030e \001(\tB\003" + + "\340A\004H\000B\027\n\025authentication_method\"]\n\020VpcPee" + + "ringConfig\0224\n\003vpc\030\001 \001(\tB\'\340A\002\372A!\n\037compute" + + ".googleapis.com/Networks\022\023\n\006subnet\030\002 \001(\t" + + "B\003\340A\002\"\340\005\n\021PrivateConnection\022\021\n\004name\030\001 \001(" + + "\tB\003\340A\003\0224\n\013create_time\030\002 \001(\0132\032.google.pro" + + "tobuf.TimestampB\003\340A\003\0224\n\013update_time\030\003 \001(" + + "\0132\032.google.protobuf.TimestampB\003\340A\003\022I\n\006la" + + "bels\030\004 \003(\01329.google.cloud.datastream.v1." + + "PrivateConnection.LabelsEntry\022\031\n\014display" + + "_name\030\005 \001(\tB\003\340A\002\022G\n\005state\030\006 \001(\01623.google" + + ".cloud.datastream.v1.PrivateConnection.S" + + "tateB\003\340A\003\0225\n\005error\030\007 \001(\0132!.google.cloud." + + "datastream.v1.ErrorB\003\340A\003\022H\n\022vpc_peering_" + + "config\030d \001(\0132,.google.cloud.datastream.v" + + "1.VpcPeeringConfig\032-\n\013LabelsEntry\022\013\n\003key" + + "\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"i\n\005State\022\025\n\021ST" + + "ATE_UNSPECIFIED\020\000\022\014\n\010CREATING\020\001\022\013\n\007CREAT" + + "ED\020\002\022\n\n\006FAILED\020\003\022\014\n\010DELETING\020\004\022\024\n\020FAILED" + + "_TO_DELETE\020\005:\201\001\352A~\n+datastream.googleapi" + + "s.com/PrivateConnection\022Oprojects/{proje" + + "ct}/locations/{location}/privateConnecti" + + "ons/{private_connection}\"f\n\023PrivateConne" + + "ctivity\022O\n\022private_connection\030\001 \001(\tB3\340A\002" + + "\372A-\n+datastream.googleapis.com/PrivateCo" + + "nnection\"\323\003\n\005Route\022\021\n\004name\030\001 \001(\tB\003\340A\003\0224\n" + + "\013create_time\030\002 \001(\0132\032.google.protobuf.Tim" + + "estampB\003\340A\003\0224\n\013update_time\030\003 \001(\0132\032.googl" + + "e.protobuf.TimestampB\003\340A\003\022=\n\006labels\030\004 \003(" + + "\0132-.google.cloud.datastream.v1.Route.Lab" + + "elsEntry\022\031\n\014display_name\030\005 \001(\tB\003\340A\002\022 \n\023d" + + "estination_address\030\006 \001(\tB\003\340A\002\022\030\n\020destina" + + "tion_port\030\007 \001(\005\032-\n\013LabelsEntry\022\013\n\003key\030\001 " + + "\001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:\205\001\352A\201\001\n\037datastrea" + + "m.googleapis.com/Route\022^projects/{projec" + + "t}/locations/{location}/privateConnectio" + + "ns/{private_connection}/routes/{route}\"\312" + + "\001\n\016MysqlSslConfig\022\027\n\nclient_key\030\001 \001(\tB\003\340" + + "A\004\022\033\n\016client_key_set\030\002 \001(\010B\003\340A\003\022\037\n\022clien" + + "t_certificate\030\003 \001(\tB\003\340A\004\022#\n\026client_certi" + + "ficate_set\030\004 \001(\010B\003\340A\003\022\033\n\016ca_certificate\030" + + "\005 \001(\tB\003\340A\004\022\037\n\022ca_certificate_set\030\006 \001(\010B\003" + + "\340A\003\"\270\010\n\021ConnectionProfile\022\021\n\004name\030\001 \001(\tB" + + "\003\340A\003\0224\n\013create_time\030\002 \001(\0132\032.google.proto" + + "buf.TimestampB\003\340A\003\0224\n\013update_time\030\003 \001(\0132" + + "\032.google.protobuf.TimestampB\003\340A\003\022I\n\006labe" + + "ls\030\004 \003(\01329.google.cloud.datastream.v1.Co" + + "nnectionProfile.LabelsEntry\022\031\n\014display_n" + + "ame\030\005 \001(\tB\003\340A\002\022C\n\016oracle_profile\030d \001(\0132)" + + ".google.cloud.datastream.v1.OracleProfil" + + "eH\000\022=\n\013gcs_profile\030e \001(\0132&.google.cloud." + + "datastream.v1.GcsProfileH\000\022A\n\rmysql_prof" + + "ile\030f \001(\0132(.google.cloud.datastream.v1.M" + + "ysqlProfileH\000\022G\n\020bigquery_profile\030g \001(\0132" + + "+.google.cloud.datastream.v1.BigQueryPro" + + "fileH\000\022K\n\022postgresql_profile\030h \001(\0132-.goo" + + "gle.cloud.datastream.v1.PostgresqlProfil" + + "eH\000\022b\n\036static_service_ip_connectivity\030\310\001" + + " \001(\01327.google.cloud.datastream.v1.Static" + + "ServiceIpConnectivityH\001\022]\n\030forward_ssh_c" + + "onnectivity\030\311\001 \001(\01328.google.cloud.datast" + + "ream.v1.ForwardSshTunnelConnectivityH\001\022P" + + "\n\024private_connectivity\030\312\001 \001(\0132/.google.c" + + "loud.datastream.v1.PrivateConnectivityH\001" + + "\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 " + + "\001(\t:\0028\001:\201\001\352A~\n+datastream.googleapis.com" + + "/ConnectionProfile\022Oprojects/{project}/l" + + "ocations/{location}/connectionProfiles/{" + + "connection_profile}B\t\n\007profileB\016\n\014connec" + + "tivity\"\266\001\n\014OracleColumn\022\016\n\006column\030\001 \001(\t\022" + + "\021\n\tdata_type\030\002 \001(\t\022\016\n\006length\030\003 \001(\005\022\021\n\tpr" + + "ecision\030\004 \001(\005\022\r\n\005scale\030\005 \001(\005\022\020\n\010encoding" + + "\030\006 \001(\t\022\023\n\013primary_key\030\007 \001(\010\022\020\n\010nullable\030" + + "\010 \001(\010\022\030\n\020ordinal_position\030\t \001(\005\"^\n\013Oracl" + + "eTable\022\r\n\005table\030\001 \001(\t\022@\n\016oracle_columns\030" + + "\002 \003(\0132(.google.cloud.datastream.v1.Oracl" + + "eColumn\"^\n\014OracleSchema\022\016\n\006schema\030\001 \001(\t\022" + + ">\n\roracle_tables\030\002 \003(\0132\'.google.cloud.da" + + "tastream.v1.OracleTable\"O\n\013OracleRdbms\022@" + + "\n\016oracle_schemas\030\001 \003(\0132(.google.cloud.da" + + "tastream.v1.OracleSchema\"\300\003\n\022OracleSourc" + + "eConfig\022@\n\017include_objects\030\001 \001(\0132\'.googl" + + "e.cloud.datastream.v1.OracleRdbms\022@\n\017exc" + + "lude_objects\030\002 \001(\0132\'.google.cloud.datast" + + "ream.v1.OracleRdbms\022 \n\030max_concurrent_cd" + + "c_tasks\030\003 \001(\005\022]\n\022drop_large_objects\030d \001(" + + "\0132?.google.cloud.datastream.v1.OracleSou" + + "rceConfig.DropLargeObjectsH\000\022a\n\024stream_l" + + "arge_objects\030f \001(\0132A.google.cloud.datast" + + "ream.v1.OracleSourceConfig.StreamLargeOb" + + "jectsH\000\032\022\n\020DropLargeObjects\032\024\n\022StreamLar" + + "geObjectsB\030\n\026large_objects_handling\"\250\001\n\020" + + "PostgresqlColumn\022\016\n\006column\030\001 \001(\t\022\021\n\tdata" + + "_type\030\002 \001(\t\022\016\n\006length\030\003 \001(\005\022\021\n\tprecision" + + "\030\004 \001(\005\022\r\n\005scale\030\005 \001(\005\022\023\n\013primary_key\030\007 \001" + + "(\010\022\020\n\010nullable\030\010 \001(\010\022\030\n\020ordinal_position" + + "\030\t \001(\005\"j\n\017PostgresqlTable\022\r\n\005table\030\001 \001(\t" + + "\022H\n\022postgresql_columns\030\002 \003(\0132,.google.cl" + + "oud.datastream.v1.PostgresqlColumn\"j\n\020Po" + + "stgresqlSchema\022\016\n\006schema\030\001 \001(\t\022F\n\021postgr" + + "esql_tables\030\002 \003(\0132+.google.cloud.datastr" + + "eam.v1.PostgresqlTable\"[\n\017PostgresqlRdbm" + + "s\022H\n\022postgresql_schemas\030\001 \003(\0132,.google.c" + + "loud.datastream.v1.PostgresqlSchema\"\335\001\n\026" + + "PostgresqlSourceConfig\022D\n\017include_object" + + "s\030\001 \001(\0132+.google.cloud.datastream.v1.Pos" + + "tgresqlRdbms\022D\n\017exclude_objects\030\002 \001(\0132+." + + "google.cloud.datastream.v1.PostgresqlRdb" + + "ms\022\035\n\020replication_slot\030\003 \001(\tB\003\340A\002\022\030\n\013pub" + + "lication\030\004 \001(\tB\003\340A\002\"\224\001\n\013MysqlColumn\022\016\n\006c" + + "olumn\030\001 \001(\t\022\021\n\tdata_type\030\002 \001(\t\022\016\n\006length" + + "\030\003 \001(\005\022\021\n\tcollation\030\004 \001(\t\022\023\n\013primary_key" + + "\030\005 \001(\010\022\020\n\010nullable\030\006 \001(\010\022\030\n\020ordinal_posi" + + "tion\030\007 \001(\005\"[\n\nMysqlTable\022\r\n\005table\030\001 \001(\t\022" + + ">\n\rmysql_columns\030\002 \003(\0132\'.google.cloud.da" + + "tastream.v1.MysqlColumn\"_\n\rMysqlDatabase" + + "\022\020\n\010database\030\001 \001(\t\022<\n\014mysql_tables\030\002 \003(\013" + + "2&.google.cloud.datastream.v1.MysqlTable" + + "\"P\n\nMysqlRdbms\022B\n\017mysql_databases\030\001 \003(\0132" + + ").google.cloud.datastream.v1.MysqlDataba" + + "se\"\267\001\n\021MysqlSourceConfig\022?\n\017include_obje" + + "cts\030\001 \001(\0132&.google.cloud.datastream.v1.M" + + "ysqlRdbms\022?\n\017exclude_objects\030\002 \001(\0132&.goo" + + "gle.cloud.datastream.v1.MysqlRdbms\022 \n\030ma" + + "x_concurrent_cdc_tasks\030\003 \001(\005\"\364\002\n\014SourceC" + + "onfig\022V\n\031source_connection_profile\030\001 \001(\t" + + "B3\340A\002\372A-\n+datastream.googleapis.com/Conn" + + "ectionProfile\022N\n\024oracle_source_config\030d " + + "\001(\0132..google.cloud.datastream.v1.OracleS" + + "ourceConfigH\000\022L\n\023mysql_source_config\030e \001" + + "(\0132-.google.cloud.datastream.v1.MysqlSou" + + "rceConfigH\000\022V\n\030postgresql_source_config\030" + + "f \001(\01322.google.cloud.datastream.v1.Postg" + + "resqlSourceConfigH\000B\026\n\024source_stream_con" + + "fig\"\020\n\016AvroFileFormat\"\357\002\n\016JsonFileFormat" + + "\022W\n\022schema_file_format\030\001 \001(\0162;.google.cl" + + "oud.datastream.v1.JsonFileFormat.SchemaF" + + "ileFormat\022O\n\013compression\030\002 \001(\0162:.google." + + "cloud.datastream.v1.JsonFileFormat.JsonC" + + "ompression\"`\n\020SchemaFileFormat\022\"\n\036SCHEMA" + + "_FILE_FORMAT_UNSPECIFIED\020\000\022\022\n\016NO_SCHEMA_" + + "FILE\020\001\022\024\n\020AVRO_SCHEMA_FILE\020\002\"Q\n\017JsonComp" + + "ression\022 \n\034JSON_COMPRESSION_UNSPECIFIED\020" + + "\000\022\022\n\016NO_COMPRESSION\020\001\022\010\n\004GZIP\020\002\"\230\002\n\024GcsD" + + "estinationConfig\022\014\n\004path\030\001 \001(\t\022\030\n\020file_r" + + "otation_mb\030\002 \001(\005\0229\n\026file_rotation_interv" + + "al\030\003 \001(\0132\031.google.protobuf.Duration\022F\n\020a" + + "vro_file_format\030d \001(\0132*.google.cloud.dat" + + "astream.v1.AvroFileFormatH\000\022F\n\020json_file" + + "_format\030e \001(\0132*.google.cloud.datastream." + + "v1.JsonFileFormatH\000B\r\n\013file_format\"\336\004\n\031B" + + "igQueryDestinationConfig\022k\n\025single_targe" + + "t_dataset\030\311\001 \001(\0132I.google.cloud.datastre" + + "am.v1.BigQueryDestinationConfig.SingleTa" + + "rgetDatasetH\000\022s\n\031source_hierarchy_datase" + + "ts\030\312\001 \001(\0132M.google.cloud.datastream.v1.B" + + "igQueryDestinationConfig.SourceHierarchy" + + "DatasetsH\000\0222\n\016data_freshness\030\254\002 \001(\0132\031.go" + + "ogle.protobuf.Duration\032)\n\023SingleTargetDa" + + "taset\022\022\n\ndataset_id\030\001 \001(\t\032\355\001\n\027SourceHier" + + "archyDatasets\022w\n\020dataset_template\030\002 \001(\0132" + + "].google.cloud.datastream.v1.BigQueryDes" + + "tinationConfig.SourceHierarchyDatasets.D" + + "atasetTemplate\032Y\n\017DatasetTemplate\022\025\n\010loc" + + "ation\030\001 \001(\tB\003\340A\002\022\031\n\021dataset_id_prefix\030\002 " + + "\001(\t\022\024\n\014kms_key_name\030\003 \001(\tB\020\n\016dataset_con" + + "fig\"\277\002\n\021DestinationConfig\022[\n\036destination" + + "_connection_profile\030\001 \001(\tB3\340A\002\372A-\n+datas" + + "tream.googleapis.com/ConnectionProfile\022R" + + "\n\026gcs_destination_config\030d \001(\01320.google." + + "cloud.datastream.v1.GcsDestinationConfig" + + "H\000\022\\\n\033bigquery_destination_config\030e \001(\0132" + + "5.google.cloud.datastream.v1.BigQueryDes" + + "tinationConfigH\000B\033\n\031destination_stream_c" + + "onfig\"\321\n\n\006Stream\022\021\n\004name\030\001 \001(\tB\003\340A\003\0224\n\013c" + + "reate_time\030\002 \001(\0132\032.google.protobuf.Times" + + "tampB\003\340A\003\0224\n\013update_time\030\003 \001(\0132\032.google." + + "protobuf.TimestampB\003\340A\003\022>\n\006labels\030\004 \003(\0132" + + "..google.cloud.datastream.v1.Stream.Labe" + + "lsEntry\022\031\n\014display_name\030\005 \001(\tB\003\340A\002\022D\n\rso" + + "urce_config\030\006 \001(\0132(.google.cloud.datastr" + + "eam.v1.SourceConfigB\003\340A\002\022N\n\022destination_" + + "config\030\007 \001(\0132-.google.cloud.datastream.v" + + "1.DestinationConfigB\003\340A\002\0227\n\005state\030\010 \001(\0162" + + "(.google.cloud.datastream.v1.Stream.Stat" + + "e\022N\n\014backfill_all\030e \001(\01326.google.cloud.d" + + "atastream.v1.Stream.BackfillAllStrategyH" + + "\000\022P\n\rbackfill_none\030f \001(\01327.google.cloud." + + "datastream.v1.Stream.BackfillNoneStrateg" + + "yH\000\0226\n\006errors\030\t \003(\0132!.google.cloud.datas" + + "tream.v1.ErrorB\003\340A\003\0221\n\037customer_managed_" + + "encryption_key\030\n \001(\tB\003\340A\005H\001\210\001\001\032\223\002\n\023Backf" + + "illAllStrategy\022J\n\027oracle_excluded_object" + + "s\030\001 \001(\0132\'.google.cloud.datastream.v1.Ora" + + "cleRdbmsH\000\022H\n\026mysql_excluded_objects\030\002 \001" + + "(\0132&.google.cloud.datastream.v1.MysqlRdb" + + "msH\000\022R\n\033postgresql_excluded_objects\030\003 \001(" + + "\0132+.google.cloud.datastream.v1.Postgresq" + + "lRdbmsH\000B\022\n\020excluded_objects\032\026\n\024Backfill" + + "NoneStrategy\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t" + + "\022\r\n\005value\030\002 \001(\t:\0028\001\"\231\001\n\005State\022\025\n\021STATE_U" + + "NSPECIFIED\020\000\022\017\n\013NOT_STARTED\020\001\022\013\n\007RUNNING" + + "\020\002\022\n\n\006PAUSED\020\003\022\017\n\013MAINTENANCE\020\004\022\n\n\006FAILE" + + "D\020\005\022\026\n\022FAILED_PERMANENTLY\020\006\022\014\n\010STARTING\020" + + "\007\022\014\n\010DRAINING\020\010:_\352A\\\n datastream.googlea" + + "pis.com/Stream\0228projects/{project}/locat" + + "ions/{location}/streams/{stream}B\023\n\021back" + + "fill_strategyB\"\n _customer_managed_encry" + + "ption_key\"\342\003\n\014StreamObject\022\021\n\004name\030\001 \001(\t" + + "B\003\340A\003\0224\n\013create_time\030\002 \001(\0132\032.google.prot" + + "obuf.TimestampB\003\340A\003\0224\n\013update_time\030\003 \001(\013" + + "2\032.google.protobuf.TimestampB\003\340A\003\022\031\n\014dis" + + "play_name\030\005 \001(\tB\003\340A\002\0226\n\006errors\030\006 \003(\0132!.g" + + "oogle.cloud.datastream.v1.ErrorB\003\340A\003\022=\n\014" + + "backfill_job\030\007 \001(\0132\'.google.cloud.datast" + + "ream.v1.BackfillJob\022I\n\rsource_object\030\010 \001" + + "(\01322.google.cloud.datastream.v1.SourceOb" + + "jectIdentifier:v\352As\n&datastream.googleap" + + "is.com/StreamObject\022Iprojects/{project}/" + + "locations/{location}/streams/{stream}/ob" + + "jects/{object}\"\271\004\n\026SourceObjectIdentifie" + + "r\022f\n\021oracle_identifier\030\001 \001(\0132I.google.cl" + + "oud.datastream.v1.SourceObjectIdentifier" + + ".OracleObjectIdentifierH\000\022d\n\020mysql_ident" + + "ifier\030\002 \001(\0132H.google.cloud.datastream.v1" + + ".SourceObjectIdentifier.MysqlObjectIdent" + + "ifierH\000\022n\n\025postgresql_identifier\030\003 \001(\0132M" + + ".google.cloud.datastream.v1.SourceObject" + + "Identifier.PostgresqlObjectIdentifierH\000\032" + + "A\n\026OracleObjectIdentifier\022\023\n\006schema\030\001 \001(" + + "\tB\003\340A\002\022\022\n\005table\030\002 \001(\tB\003\340A\002\032E\n\032Postgresql" + + "ObjectIdentifier\022\023\n\006schema\030\001 \001(\tB\003\340A\002\022\022\n" + + "\005table\030\002 \001(\tB\003\340A\002\032B\n\025MysqlObjectIdentifi" + + "er\022\025\n\010database\030\001 \001(\tB\003\340A\002\022\022\n\005table\030\002 \001(\t" + + "B\003\340A\002B\023\n\021source_identifier\"\372\003\n\013BackfillJ" + + "ob\022<\n\005state\030\001 \001(\0162-.google.cloud.datastr" + + "eam.v1.BackfillJob.State\022@\n\007trigger\030\002 \001(" + + "\0162/.google.cloud.datastream.v1.BackfillJ" + + "ob.Trigger\0228\n\017last_start_time\030\003 \001(\0132\032.go" + + "ogle.protobuf.TimestampB\003\340A\003\0226\n\rlast_end" + + "_time\030\004 \001(\0132\032.google.protobuf.TimestampB" + + "\003\340A\003\0226\n\006errors\030\005 \003(\0132!.google.cloud.data" + + "stream.v1.ErrorB\003\340A\003\"\201\001\n\005State\022\025\n\021STATE_" + + "UNSPECIFIED\020\000\022\017\n\013NOT_STARTED\020\001\022\013\n\007PENDIN" + + "G\020\002\022\n\n\006ACTIVE\020\003\022\013\n\007STOPPED\020\004\022\n\n\006FAILED\020\005" + + "\022\r\n\tCOMPLETED\020\006\022\017\n\013UNSUPPORTED\020\007\"=\n\007Trig" + + "ger\022\027\n\023TRIGGER_UNSPECIFIED\020\000\022\r\n\tAUTOMATI" + + "C\020\001\022\n\n\006MANUAL\020\002\"\335\001\n\005Error\022\016\n\006reason\030\001 \001(" + + "\t\022\022\n\nerror_uuid\030\002 \001(\t\022\017\n\007message\030\003 \001(\t\022." + + "\n\nerror_time\030\004 \001(\0132\032.google.protobuf.Tim" + + "estamp\022?\n\007details\030\005 \003(\0132..google.cloud.d" + + "atastream.v1.Error.DetailsEntry\032.\n\014Detai" + + "lsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"" + + "O\n\020ValidationResult\022;\n\013validations\030\001 \003(\013" + + "2&.google.cloud.datastream.v1.Validation" + + "\"\366\001\n\nValidation\022\023\n\013description\030\001 \001(\t\022;\n\005" + + "state\030\002 \001(\0162,.google.cloud.datastream.v1" + + ".Validation.State\022>\n\007message\030\003 \003(\0132-.goo" + + "gle.cloud.datastream.v1.ValidationMessag" + + "e\022\014\n\004code\030\004 \001(\t\"H\n\005State\022\025\n\021STATE_UNSPEC" + + "IFIED\020\000\022\020\n\014NOT_EXECUTED\020\001\022\n\n\006FAILED\020\002\022\n\n" + + "\006PASSED\020\003\"\256\002\n\021ValidationMessage\022\017\n\007messa" + + "ge\030\001 \001(\t\022B\n\005level\030\002 \001(\01623.google.cloud.d" + + "atastream.v1.ValidationMessage.Level\022M\n\010" + + "metadata\030\003 \003(\0132;.google.cloud.datastream" + + ".v1.ValidationMessage.MetadataEntry\022\014\n\004c" + + "ode\030\004 \001(\t\032/\n\rMetadataEntry\022\013\n\003key\030\001 \001(\t\022" + + "\r\n\005value\030\002 \001(\t:\0028\001\"6\n\005Level\022\025\n\021LEVEL_UNS" + + "PECIFIED\020\000\022\013\n\007WARNING\020\001\022\t\n\005ERROR\020\002B\256\002\n\036c" + + "om.google.cloud.datastream.v1B\030Datastrea" + + "mResourcesProtoP\001ZDgoogle.golang.org/gen" + + "proto/googleapis/cloud/datastream/v1;dat" + + "astream\252\002\032Google.Cloud.Datastream.V1\312\002\032G" + + "oogle\\Cloud\\Datastream\\V1\352\002\035Google::Clou" + + "d::Datastream::V1\352AO\n\037compute.googleapis" + + ".com/Networks\022,projects/{project}/global" + + "/networks/{network}b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_cloud_datastream_v1_OracleProfile_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_datastream_v1_OracleProfile_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datastream_v1_OracleProfile_descriptor, + new java.lang.String[] { "Hostname", "Port", "Username", "Password", "DatabaseService", "ConnectionAttributes", }); + internal_static_google_cloud_datastream_v1_OracleProfile_ConnectionAttributesEntry_descriptor = + internal_static_google_cloud_datastream_v1_OracleProfile_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_datastream_v1_OracleProfile_ConnectionAttributesEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datastream_v1_OracleProfile_ConnectionAttributesEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_datastream_v1_MysqlProfile_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_datastream_v1_MysqlProfile_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datastream_v1_MysqlProfile_descriptor, + new java.lang.String[] { "Hostname", "Port", "Username", "Password", "SslConfig", }); + internal_static_google_cloud_datastream_v1_PostgresqlProfile_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_datastream_v1_PostgresqlProfile_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datastream_v1_PostgresqlProfile_descriptor, + new java.lang.String[] { "Hostname", "Port", "Username", "Password", "Database", }); + internal_static_google_cloud_datastream_v1_GcsProfile_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_datastream_v1_GcsProfile_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datastream_v1_GcsProfile_descriptor, + new java.lang.String[] { "Bucket", "RootPath", }); + internal_static_google_cloud_datastream_v1_BigQueryProfile_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_datastream_v1_BigQueryProfile_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datastream_v1_BigQueryProfile_descriptor, + new java.lang.String[] { }); + internal_static_google_cloud_datastream_v1_StaticServiceIpConnectivity_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_datastream_v1_StaticServiceIpConnectivity_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datastream_v1_StaticServiceIpConnectivity_descriptor, + new java.lang.String[] { }); + internal_static_google_cloud_datastream_v1_ForwardSshTunnelConnectivity_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_datastream_v1_ForwardSshTunnelConnectivity_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datastream_v1_ForwardSshTunnelConnectivity_descriptor, + new java.lang.String[] { "Hostname", "Username", "Port", "Password", "PrivateKey", "AuthenticationMethod", }); + internal_static_google_cloud_datastream_v1_VpcPeeringConfig_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_datastream_v1_VpcPeeringConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datastream_v1_VpcPeeringConfig_descriptor, + new java.lang.String[] { "Vpc", "Subnet", }); + internal_static_google_cloud_datastream_v1_PrivateConnection_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_datastream_v1_PrivateConnection_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datastream_v1_PrivateConnection_descriptor, + new java.lang.String[] { "Name", "CreateTime", "UpdateTime", "Labels", "DisplayName", "State", "Error", "VpcPeeringConfig", }); + internal_static_google_cloud_datastream_v1_PrivateConnection_LabelsEntry_descriptor = + internal_static_google_cloud_datastream_v1_PrivateConnection_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_datastream_v1_PrivateConnection_LabelsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datastream_v1_PrivateConnection_LabelsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_datastream_v1_PrivateConnectivity_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_datastream_v1_PrivateConnectivity_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datastream_v1_PrivateConnectivity_descriptor, + new java.lang.String[] { "PrivateConnection", }); + internal_static_google_cloud_datastream_v1_Route_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_cloud_datastream_v1_Route_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datastream_v1_Route_descriptor, + new java.lang.String[] { "Name", "CreateTime", "UpdateTime", "Labels", "DisplayName", "DestinationAddress", "DestinationPort", }); + internal_static_google_cloud_datastream_v1_Route_LabelsEntry_descriptor = + internal_static_google_cloud_datastream_v1_Route_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_datastream_v1_Route_LabelsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datastream_v1_Route_LabelsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_datastream_v1_MysqlSslConfig_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_cloud_datastream_v1_MysqlSslConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datastream_v1_MysqlSslConfig_descriptor, + new java.lang.String[] { "ClientKey", "ClientKeySet", "ClientCertificate", "ClientCertificateSet", "CaCertificate", "CaCertificateSet", }); + internal_static_google_cloud_datastream_v1_ConnectionProfile_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_cloud_datastream_v1_ConnectionProfile_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datastream_v1_ConnectionProfile_descriptor, + new java.lang.String[] { "Name", "CreateTime", "UpdateTime", "Labels", "DisplayName", "OracleProfile", "GcsProfile", "MysqlProfile", "BigqueryProfile", "PostgresqlProfile", "StaticServiceIpConnectivity", "ForwardSshConnectivity", "PrivateConnectivity", "Profile", "Connectivity", }); + internal_static_google_cloud_datastream_v1_ConnectionProfile_LabelsEntry_descriptor = + internal_static_google_cloud_datastream_v1_ConnectionProfile_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_datastream_v1_ConnectionProfile_LabelsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datastream_v1_ConnectionProfile_LabelsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_datastream_v1_OracleColumn_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_cloud_datastream_v1_OracleColumn_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datastream_v1_OracleColumn_descriptor, + new java.lang.String[] { "Column", "DataType", "Length", "Precision", "Scale", "Encoding", "PrimaryKey", "Nullable", "OrdinalPosition", }); + internal_static_google_cloud_datastream_v1_OracleTable_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_cloud_datastream_v1_OracleTable_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datastream_v1_OracleTable_descriptor, + new java.lang.String[] { "Table", "OracleColumns", }); + internal_static_google_cloud_datastream_v1_OracleSchema_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_cloud_datastream_v1_OracleSchema_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datastream_v1_OracleSchema_descriptor, + new java.lang.String[] { "Schema", "OracleTables", }); + internal_static_google_cloud_datastream_v1_OracleRdbms_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_google_cloud_datastream_v1_OracleRdbms_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datastream_v1_OracleRdbms_descriptor, + new java.lang.String[] { "OracleSchemas", }); + internal_static_google_cloud_datastream_v1_OracleSourceConfig_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_google_cloud_datastream_v1_OracleSourceConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datastream_v1_OracleSourceConfig_descriptor, + new java.lang.String[] { "IncludeObjects", "ExcludeObjects", "MaxConcurrentCdcTasks", "DropLargeObjects", "StreamLargeObjects", "LargeObjectsHandling", }); + internal_static_google_cloud_datastream_v1_OracleSourceConfig_DropLargeObjects_descriptor = + internal_static_google_cloud_datastream_v1_OracleSourceConfig_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_datastream_v1_OracleSourceConfig_DropLargeObjects_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datastream_v1_OracleSourceConfig_DropLargeObjects_descriptor, + new java.lang.String[] { }); + internal_static_google_cloud_datastream_v1_OracleSourceConfig_StreamLargeObjects_descriptor = + internal_static_google_cloud_datastream_v1_OracleSourceConfig_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_datastream_v1_OracleSourceConfig_StreamLargeObjects_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datastream_v1_OracleSourceConfig_StreamLargeObjects_descriptor, + new java.lang.String[] { }); + internal_static_google_cloud_datastream_v1_PostgresqlColumn_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_google_cloud_datastream_v1_PostgresqlColumn_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datastream_v1_PostgresqlColumn_descriptor, + new java.lang.String[] { "Column", "DataType", "Length", "Precision", "Scale", "PrimaryKey", "Nullable", "OrdinalPosition", }); + internal_static_google_cloud_datastream_v1_PostgresqlTable_descriptor = + getDescriptor().getMessageTypes().get(19); + internal_static_google_cloud_datastream_v1_PostgresqlTable_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datastream_v1_PostgresqlTable_descriptor, + new java.lang.String[] { "Table", "PostgresqlColumns", }); + internal_static_google_cloud_datastream_v1_PostgresqlSchema_descriptor = + getDescriptor().getMessageTypes().get(20); + internal_static_google_cloud_datastream_v1_PostgresqlSchema_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datastream_v1_PostgresqlSchema_descriptor, + new java.lang.String[] { "Schema", "PostgresqlTables", }); + internal_static_google_cloud_datastream_v1_PostgresqlRdbms_descriptor = + getDescriptor().getMessageTypes().get(21); + internal_static_google_cloud_datastream_v1_PostgresqlRdbms_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datastream_v1_PostgresqlRdbms_descriptor, + new java.lang.String[] { "PostgresqlSchemas", }); + internal_static_google_cloud_datastream_v1_PostgresqlSourceConfig_descriptor = + getDescriptor().getMessageTypes().get(22); + internal_static_google_cloud_datastream_v1_PostgresqlSourceConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datastream_v1_PostgresqlSourceConfig_descriptor, + new java.lang.String[] { "IncludeObjects", "ExcludeObjects", "ReplicationSlot", "Publication", }); + internal_static_google_cloud_datastream_v1_MysqlColumn_descriptor = + getDescriptor().getMessageTypes().get(23); + internal_static_google_cloud_datastream_v1_MysqlColumn_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datastream_v1_MysqlColumn_descriptor, + new java.lang.String[] { "Column", "DataType", "Length", "Collation", "PrimaryKey", "Nullable", "OrdinalPosition", }); + internal_static_google_cloud_datastream_v1_MysqlTable_descriptor = + getDescriptor().getMessageTypes().get(24); + internal_static_google_cloud_datastream_v1_MysqlTable_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datastream_v1_MysqlTable_descriptor, + new java.lang.String[] { "Table", "MysqlColumns", }); + internal_static_google_cloud_datastream_v1_MysqlDatabase_descriptor = + getDescriptor().getMessageTypes().get(25); + internal_static_google_cloud_datastream_v1_MysqlDatabase_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datastream_v1_MysqlDatabase_descriptor, + new java.lang.String[] { "Database", "MysqlTables", }); + internal_static_google_cloud_datastream_v1_MysqlRdbms_descriptor = + getDescriptor().getMessageTypes().get(26); + internal_static_google_cloud_datastream_v1_MysqlRdbms_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datastream_v1_MysqlRdbms_descriptor, + new java.lang.String[] { "MysqlDatabases", }); + internal_static_google_cloud_datastream_v1_MysqlSourceConfig_descriptor = + getDescriptor().getMessageTypes().get(27); + internal_static_google_cloud_datastream_v1_MysqlSourceConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datastream_v1_MysqlSourceConfig_descriptor, + new java.lang.String[] { "IncludeObjects", "ExcludeObjects", "MaxConcurrentCdcTasks", }); + internal_static_google_cloud_datastream_v1_SourceConfig_descriptor = + getDescriptor().getMessageTypes().get(28); + internal_static_google_cloud_datastream_v1_SourceConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datastream_v1_SourceConfig_descriptor, + new java.lang.String[] { "SourceConnectionProfile", "OracleSourceConfig", "MysqlSourceConfig", "PostgresqlSourceConfig", "SourceStreamConfig", }); + internal_static_google_cloud_datastream_v1_AvroFileFormat_descriptor = + getDescriptor().getMessageTypes().get(29); + internal_static_google_cloud_datastream_v1_AvroFileFormat_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datastream_v1_AvroFileFormat_descriptor, + new java.lang.String[] { }); + internal_static_google_cloud_datastream_v1_JsonFileFormat_descriptor = + getDescriptor().getMessageTypes().get(30); + internal_static_google_cloud_datastream_v1_JsonFileFormat_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datastream_v1_JsonFileFormat_descriptor, + new java.lang.String[] { "SchemaFileFormat", "Compression", }); + internal_static_google_cloud_datastream_v1_GcsDestinationConfig_descriptor = + getDescriptor().getMessageTypes().get(31); + internal_static_google_cloud_datastream_v1_GcsDestinationConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datastream_v1_GcsDestinationConfig_descriptor, + new java.lang.String[] { "Path", "FileRotationMb", "FileRotationInterval", "AvroFileFormat", "JsonFileFormat", "FileFormat", }); + internal_static_google_cloud_datastream_v1_BigQueryDestinationConfig_descriptor = + getDescriptor().getMessageTypes().get(32); + internal_static_google_cloud_datastream_v1_BigQueryDestinationConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datastream_v1_BigQueryDestinationConfig_descriptor, + new java.lang.String[] { "SingleTargetDataset", "SourceHierarchyDatasets", "DataFreshness", "DatasetConfig", }); + internal_static_google_cloud_datastream_v1_BigQueryDestinationConfig_SingleTargetDataset_descriptor = + internal_static_google_cloud_datastream_v1_BigQueryDestinationConfig_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_datastream_v1_BigQueryDestinationConfig_SingleTargetDataset_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datastream_v1_BigQueryDestinationConfig_SingleTargetDataset_descriptor, + new java.lang.String[] { "DatasetId", }); + internal_static_google_cloud_datastream_v1_BigQueryDestinationConfig_SourceHierarchyDatasets_descriptor = + internal_static_google_cloud_datastream_v1_BigQueryDestinationConfig_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_datastream_v1_BigQueryDestinationConfig_SourceHierarchyDatasets_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datastream_v1_BigQueryDestinationConfig_SourceHierarchyDatasets_descriptor, + new java.lang.String[] { "DatasetTemplate", }); + internal_static_google_cloud_datastream_v1_BigQueryDestinationConfig_SourceHierarchyDatasets_DatasetTemplate_descriptor = + internal_static_google_cloud_datastream_v1_BigQueryDestinationConfig_SourceHierarchyDatasets_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_datastream_v1_BigQueryDestinationConfig_SourceHierarchyDatasets_DatasetTemplate_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datastream_v1_BigQueryDestinationConfig_SourceHierarchyDatasets_DatasetTemplate_descriptor, + new java.lang.String[] { "Location", "DatasetIdPrefix", "KmsKeyName", }); + internal_static_google_cloud_datastream_v1_DestinationConfig_descriptor = + getDescriptor().getMessageTypes().get(33); + internal_static_google_cloud_datastream_v1_DestinationConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datastream_v1_DestinationConfig_descriptor, + new java.lang.String[] { "DestinationConnectionProfile", "GcsDestinationConfig", "BigqueryDestinationConfig", "DestinationStreamConfig", }); + internal_static_google_cloud_datastream_v1_Stream_descriptor = + getDescriptor().getMessageTypes().get(34); + internal_static_google_cloud_datastream_v1_Stream_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datastream_v1_Stream_descriptor, + new java.lang.String[] { "Name", "CreateTime", "UpdateTime", "Labels", "DisplayName", "SourceConfig", "DestinationConfig", "State", "BackfillAll", "BackfillNone", "Errors", "CustomerManagedEncryptionKey", "BackfillStrategy", "CustomerManagedEncryptionKey", }); + internal_static_google_cloud_datastream_v1_Stream_BackfillAllStrategy_descriptor = + internal_static_google_cloud_datastream_v1_Stream_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_datastream_v1_Stream_BackfillAllStrategy_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datastream_v1_Stream_BackfillAllStrategy_descriptor, + new java.lang.String[] { "OracleExcludedObjects", "MysqlExcludedObjects", "PostgresqlExcludedObjects", "ExcludedObjects", }); + internal_static_google_cloud_datastream_v1_Stream_BackfillNoneStrategy_descriptor = + internal_static_google_cloud_datastream_v1_Stream_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_datastream_v1_Stream_BackfillNoneStrategy_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datastream_v1_Stream_BackfillNoneStrategy_descriptor, + new java.lang.String[] { }); + internal_static_google_cloud_datastream_v1_Stream_LabelsEntry_descriptor = + internal_static_google_cloud_datastream_v1_Stream_descriptor.getNestedTypes().get(2); + internal_static_google_cloud_datastream_v1_Stream_LabelsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datastream_v1_Stream_LabelsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_datastream_v1_StreamObject_descriptor = + getDescriptor().getMessageTypes().get(35); + internal_static_google_cloud_datastream_v1_StreamObject_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datastream_v1_StreamObject_descriptor, + new java.lang.String[] { "Name", "CreateTime", "UpdateTime", "DisplayName", "Errors", "BackfillJob", "SourceObject", }); + internal_static_google_cloud_datastream_v1_SourceObjectIdentifier_descriptor = + getDescriptor().getMessageTypes().get(36); + internal_static_google_cloud_datastream_v1_SourceObjectIdentifier_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datastream_v1_SourceObjectIdentifier_descriptor, + new java.lang.String[] { "OracleIdentifier", "MysqlIdentifier", "PostgresqlIdentifier", "SourceIdentifier", }); + internal_static_google_cloud_datastream_v1_SourceObjectIdentifier_OracleObjectIdentifier_descriptor = + internal_static_google_cloud_datastream_v1_SourceObjectIdentifier_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_datastream_v1_SourceObjectIdentifier_OracleObjectIdentifier_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datastream_v1_SourceObjectIdentifier_OracleObjectIdentifier_descriptor, + new java.lang.String[] { "Schema", "Table", }); + internal_static_google_cloud_datastream_v1_SourceObjectIdentifier_PostgresqlObjectIdentifier_descriptor = + internal_static_google_cloud_datastream_v1_SourceObjectIdentifier_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_datastream_v1_SourceObjectIdentifier_PostgresqlObjectIdentifier_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datastream_v1_SourceObjectIdentifier_PostgresqlObjectIdentifier_descriptor, + new java.lang.String[] { "Schema", "Table", }); + internal_static_google_cloud_datastream_v1_SourceObjectIdentifier_MysqlObjectIdentifier_descriptor = + internal_static_google_cloud_datastream_v1_SourceObjectIdentifier_descriptor.getNestedTypes().get(2); + internal_static_google_cloud_datastream_v1_SourceObjectIdentifier_MysqlObjectIdentifier_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datastream_v1_SourceObjectIdentifier_MysqlObjectIdentifier_descriptor, + new java.lang.String[] { "Database", "Table", }); + internal_static_google_cloud_datastream_v1_BackfillJob_descriptor = + getDescriptor().getMessageTypes().get(37); + internal_static_google_cloud_datastream_v1_BackfillJob_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datastream_v1_BackfillJob_descriptor, + new java.lang.String[] { "State", "Trigger", "LastStartTime", "LastEndTime", "Errors", }); + internal_static_google_cloud_datastream_v1_Error_descriptor = + getDescriptor().getMessageTypes().get(38); + internal_static_google_cloud_datastream_v1_Error_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datastream_v1_Error_descriptor, + new java.lang.String[] { "Reason", "ErrorUuid", "Message", "ErrorTime", "Details", }); + internal_static_google_cloud_datastream_v1_Error_DetailsEntry_descriptor = + internal_static_google_cloud_datastream_v1_Error_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_datastream_v1_Error_DetailsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datastream_v1_Error_DetailsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_datastream_v1_ValidationResult_descriptor = + getDescriptor().getMessageTypes().get(39); + internal_static_google_cloud_datastream_v1_ValidationResult_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datastream_v1_ValidationResult_descriptor, + new java.lang.String[] { "Validations", }); + internal_static_google_cloud_datastream_v1_Validation_descriptor = + getDescriptor().getMessageTypes().get(40); + internal_static_google_cloud_datastream_v1_Validation_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datastream_v1_Validation_descriptor, + new java.lang.String[] { "Description", "State", "Message", "Code", }); + internal_static_google_cloud_datastream_v1_ValidationMessage_descriptor = + getDescriptor().getMessageTypes().get(41); + internal_static_google_cloud_datastream_v1_ValidationMessage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datastream_v1_ValidationMessage_descriptor, + new java.lang.String[] { "Message", "Level", "Metadata", "Code", }); + internal_static_google_cloud_datastream_v1_ValidationMessage_MetadataEntry_descriptor = + internal_static_google_cloud_datastream_v1_ValidationMessage_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_datastream_v1_ValidationMessage_MetadataEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datastream_v1_ValidationMessage_MetadataEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceDefinition); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DeleteConnectionProfileRequest.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DeleteConnectionProfileRequest.java similarity index 71% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DeleteConnectionProfileRequest.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DeleteConnectionProfileRequest.java index 63f4e6f2..2e957066 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DeleteConnectionProfileRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DeleteConnectionProfileRequest.java @@ -1,43 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1/datastream.proto package com.google.cloud.datastream.v1; /** - * - * *
  * Request message for deleting a connection profile.
  * 
* * Protobuf type {@code google.cloud.datastream.v1.DeleteConnectionProfileRequest} */ -public final class DeleteConnectionProfileRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteConnectionProfileRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1.DeleteConnectionProfileRequest) DeleteConnectionProfileRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteConnectionProfileRequest.newBuilder() to construct. - private DeleteConnectionProfileRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private DeleteConnectionProfileRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteConnectionProfileRequest() { name_ = ""; requestId_ = ""; @@ -45,15 +26,16 @@ private DeleteConnectionProfileRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteConnectionProfileRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeleteConnectionProfileRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,27 +54,25 @@ private DeleteConnectionProfileRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - requestId_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + requestId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -100,41 +80,34 @@ private DeleteConnectionProfileRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_DeleteConnectionProfileRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_DeleteConnectionProfileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_DeleteConnectionProfileRequest_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_DeleteConnectionProfileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.DeleteConnectionProfileRequest.class, - com.google.cloud.datastream.v1.DeleteConnectionProfileRequest.Builder.class); + com.google.cloud.datastream.v1.DeleteConnectionProfileRequest.class, com.google.cloud.datastream.v1.DeleteConnectionProfileRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the connection profile resource to delete.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -143,31 +116,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the connection profile resource to delete.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -178,8 +149,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int REQUEST_ID_FIELD_NUMBER = 2; private volatile java.lang.Object requestId_; /** - * - * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -195,7 +164,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -204,15 +172,14 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** - * - * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -228,15 +195,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -245,7 +213,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -257,7 +224,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -287,16 +255,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datastream.v1.DeleteConnectionProfileRequest)) { return super.equals(obj); } - com.google.cloud.datastream.v1.DeleteConnectionProfileRequest other = - (com.google.cloud.datastream.v1.DeleteConnectionProfileRequest) obj; + com.google.cloud.datastream.v1.DeleteConnectionProfileRequest other = (com.google.cloud.datastream.v1.DeleteConnectionProfileRequest) obj; - if (!getName().equals(other.getName())) return false; - if (!getRequestId().equals(other.getRequestId())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -318,127 +287,117 @@ public int hashCode() { } public static com.google.cloud.datastream.v1.DeleteConnectionProfileRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.DeleteConnectionProfileRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.DeleteConnectionProfileRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.DeleteConnectionProfileRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.DeleteConnectionProfileRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.DeleteConnectionProfileRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1.DeleteConnectionProfileRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.DeleteConnectionProfileRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.DeleteConnectionProfileRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1.DeleteConnectionProfileRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.DeleteConnectionProfileRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.DeleteConnectionProfileRequest 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.datastream.v1.DeleteConnectionProfileRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.DeleteConnectionProfileRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datastream.v1.DeleteConnectionProfileRequest prototype) { + public static Builder newBuilder(com.google.cloud.datastream.v1.DeleteConnectionProfileRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for deleting a connection profile.
    * 
* * Protobuf type {@code google.cloud.datastream.v1.DeleteConnectionProfileRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1.DeleteConnectionProfileRequest) com.google.cloud.datastream.v1.DeleteConnectionProfileRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_DeleteConnectionProfileRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_DeleteConnectionProfileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_DeleteConnectionProfileRequest_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_DeleteConnectionProfileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.DeleteConnectionProfileRequest.class, - com.google.cloud.datastream.v1.DeleteConnectionProfileRequest.Builder.class); + com.google.cloud.datastream.v1.DeleteConnectionProfileRequest.class, com.google.cloud.datastream.v1.DeleteConnectionProfileRequest.Builder.class); } // Construct using com.google.cloud.datastream.v1.DeleteConnectionProfileRequest.newBuilder() @@ -446,15 +405,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -466,14 +426,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_DeleteConnectionProfileRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_DeleteConnectionProfileRequest_descriptor; } @java.lang.Override - public com.google.cloud.datastream.v1.DeleteConnectionProfileRequest - getDefaultInstanceForType() { + public com.google.cloud.datastream.v1.DeleteConnectionProfileRequest getDefaultInstanceForType() { return com.google.cloud.datastream.v1.DeleteConnectionProfileRequest.getDefaultInstance(); } @@ -488,8 +447,7 @@ public com.google.cloud.datastream.v1.DeleteConnectionProfileRequest build() { @java.lang.Override public com.google.cloud.datastream.v1.DeleteConnectionProfileRequest buildPartial() { - com.google.cloud.datastream.v1.DeleteConnectionProfileRequest result = - new com.google.cloud.datastream.v1.DeleteConnectionProfileRequest(this); + com.google.cloud.datastream.v1.DeleteConnectionProfileRequest result = new com.google.cloud.datastream.v1.DeleteConnectionProfileRequest(this); result.name_ = name_; result.requestId_ = requestId_; onBuilt(); @@ -500,39 +458,38 @@ public com.google.cloud.datastream.v1.DeleteConnectionProfileRequest buildPartia public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1.DeleteConnectionProfileRequest) { - return mergeFrom((com.google.cloud.datastream.v1.DeleteConnectionProfileRequest) other); + return mergeFrom((com.google.cloud.datastream.v1.DeleteConnectionProfileRequest)other); } else { super.mergeFrom(other); return this; @@ -540,9 +497,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datastream.v1.DeleteConnectionProfileRequest other) { - if (other - == com.google.cloud.datastream.v1.DeleteConnectionProfileRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.datastream.v1.DeleteConnectionProfileRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -570,9 +525,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datastream.v1.DeleteConnectionProfileRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datastream.v1.DeleteConnectionProfileRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -584,22 +537,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the connection profile resource to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -608,23 +557,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the connection profile resource to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -632,67 +578,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the connection profile resource to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the connection profile resource to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the connection profile resource to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -700,8 +633,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object requestId_ = ""; /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -717,13 +648,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -732,8 +663,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -749,14 +678,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -764,8 +694,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -781,22 +709,20 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { + public Builder setRequestId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -812,18 +738,15 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -839,23 +762,23 @@ public Builder clearRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = 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); } @@ -865,13 +788,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1.DeleteConnectionProfileRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1.DeleteConnectionProfileRequest) - private static final com.google.cloud.datastream.v1.DeleteConnectionProfileRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.datastream.v1.DeleteConnectionProfileRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1.DeleteConnectionProfileRequest(); } @@ -880,16 +802,16 @@ public static com.google.cloud.datastream.v1.DeleteConnectionProfileRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteConnectionProfileRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteConnectionProfileRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteConnectionProfileRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteConnectionProfileRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -904,4 +826,6 @@ public com.google.protobuf.Parser getParserForTy public com.google.cloud.datastream.v1.DeleteConnectionProfileRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DeleteConnectionProfileRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DeleteConnectionProfileRequestOrBuilder.java similarity index 70% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DeleteConnectionProfileRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DeleteConnectionProfileRequestOrBuilder.java index c1def32d..fb6fe83c 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DeleteConnectionProfileRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DeleteConnectionProfileRequestOrBuilder.java @@ -1,60 +1,33 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1/datastream.proto package com.google.cloud.datastream.v1; -public interface DeleteConnectionProfileRequestOrBuilder - extends +public interface DeleteConnectionProfileRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1.DeleteConnectionProfileRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the connection profile resource to delete.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The name of the connection profile resource to delete.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -70,13 +43,10 @@ public interface DeleteConnectionProfileRequestOrBuilder
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -92,8 +62,8 @@ public interface DeleteConnectionProfileRequestOrBuilder
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); } diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DeletePrivateConnectionRequest.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DeletePrivateConnectionRequest.java similarity index 72% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DeletePrivateConnectionRequest.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DeletePrivateConnectionRequest.java index 38a6a646..54409857 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DeletePrivateConnectionRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DeletePrivateConnectionRequest.java @@ -1,43 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1/datastream.proto package com.google.cloud.datastream.v1; /** - * - * *
  * Request to delete a private connection.
  * 
* * Protobuf type {@code google.cloud.datastream.v1.DeletePrivateConnectionRequest} */ -public final class DeletePrivateConnectionRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeletePrivateConnectionRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1.DeletePrivateConnectionRequest) DeletePrivateConnectionRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeletePrivateConnectionRequest.newBuilder() to construct. - private DeletePrivateConnectionRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private DeletePrivateConnectionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeletePrivateConnectionRequest() { name_ = ""; requestId_ = ""; @@ -45,15 +26,16 @@ private DeletePrivateConnectionRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeletePrivateConnectionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeletePrivateConnectionRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,32 +54,30 @@ private DeletePrivateConnectionRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - requestId_ = s; - break; - } - case 24: - { - force_ = input.readBool(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + requestId_ = s; + break; + } + case 24: { + + force_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -105,41 +85,34 @@ private DeletePrivateConnectionRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_DeletePrivateConnectionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_DeletePrivateConnectionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_DeletePrivateConnectionRequest_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_DeletePrivateConnectionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.DeletePrivateConnectionRequest.class, - com.google.cloud.datastream.v1.DeletePrivateConnectionRequest.Builder.class); + com.google.cloud.datastream.v1.DeletePrivateConnectionRequest.class, com.google.cloud.datastream.v1.DeletePrivateConnectionRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the private connectivity configuration to delete.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -148,31 +121,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the private connectivity configuration to delete.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -183,8 +154,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int REQUEST_ID_FIELD_NUMBER = 2; private volatile java.lang.Object requestId_; /** - * - * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -200,7 +169,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -209,15 +177,14 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** - * - * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -233,15 +200,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -252,15 +220,12 @@ public com.google.protobuf.ByteString getRequestIdBytes() { public static final int FORCE_FIELD_NUMBER = 3; private boolean force_; /** - * - * *
    * Optional. If set to true, any child routes that belong to this PrivateConnection will
    * also be deleted.
    * 
* * bool force = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The force. */ @java.lang.Override @@ -269,7 +234,6 @@ public boolean getForce() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -281,7 +245,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_); } @@ -307,7 +272,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, requestId_); } if (force_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, force_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, force_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -317,17 +283,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.datastream.v1.DeletePrivateConnectionRequest)) { return super.equals(obj); } - com.google.cloud.datastream.v1.DeletePrivateConnectionRequest other = - (com.google.cloud.datastream.v1.DeletePrivateConnectionRequest) obj; + com.google.cloud.datastream.v1.DeletePrivateConnectionRequest other = (com.google.cloud.datastream.v1.DeletePrivateConnectionRequest) obj; - if (!getName().equals(other.getName())) return false; - if (!getRequestId().equals(other.getRequestId())) return false; - if (getForce() != other.getForce()) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; + if (getForce() + != other.getForce()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -344,134 +312,125 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().hashCode(); hash = (37 * hash) + FORCE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getForce()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getForce()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.datastream.v1.DeletePrivateConnectionRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.DeletePrivateConnectionRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.DeletePrivateConnectionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.DeletePrivateConnectionRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.DeletePrivateConnectionRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.DeletePrivateConnectionRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1.DeletePrivateConnectionRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.DeletePrivateConnectionRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.DeletePrivateConnectionRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1.DeletePrivateConnectionRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.DeletePrivateConnectionRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.DeletePrivateConnectionRequest 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.datastream.v1.DeletePrivateConnectionRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.DeletePrivateConnectionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datastream.v1.DeletePrivateConnectionRequest prototype) { + public static Builder newBuilder(com.google.cloud.datastream.v1.DeletePrivateConnectionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request to delete a private connection.
    * 
* * Protobuf type {@code google.cloud.datastream.v1.DeletePrivateConnectionRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1.DeletePrivateConnectionRequest) com.google.cloud.datastream.v1.DeletePrivateConnectionRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_DeletePrivateConnectionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_DeletePrivateConnectionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_DeletePrivateConnectionRequest_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_DeletePrivateConnectionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.DeletePrivateConnectionRequest.class, - com.google.cloud.datastream.v1.DeletePrivateConnectionRequest.Builder.class); + com.google.cloud.datastream.v1.DeletePrivateConnectionRequest.class, com.google.cloud.datastream.v1.DeletePrivateConnectionRequest.Builder.class); } // Construct using com.google.cloud.datastream.v1.DeletePrivateConnectionRequest.newBuilder() @@ -479,15 +438,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -501,14 +461,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_DeletePrivateConnectionRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_DeletePrivateConnectionRequest_descriptor; } @java.lang.Override - public com.google.cloud.datastream.v1.DeletePrivateConnectionRequest - getDefaultInstanceForType() { + public com.google.cloud.datastream.v1.DeletePrivateConnectionRequest getDefaultInstanceForType() { return com.google.cloud.datastream.v1.DeletePrivateConnectionRequest.getDefaultInstance(); } @@ -523,8 +482,7 @@ public com.google.cloud.datastream.v1.DeletePrivateConnectionRequest build() { @java.lang.Override public com.google.cloud.datastream.v1.DeletePrivateConnectionRequest buildPartial() { - com.google.cloud.datastream.v1.DeletePrivateConnectionRequest result = - new com.google.cloud.datastream.v1.DeletePrivateConnectionRequest(this); + com.google.cloud.datastream.v1.DeletePrivateConnectionRequest result = new com.google.cloud.datastream.v1.DeletePrivateConnectionRequest(this); result.name_ = name_; result.requestId_ = requestId_; result.force_ = force_; @@ -536,39 +494,38 @@ public com.google.cloud.datastream.v1.DeletePrivateConnectionRequest buildPartia public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1.DeletePrivateConnectionRequest) { - return mergeFrom((com.google.cloud.datastream.v1.DeletePrivateConnectionRequest) other); + return mergeFrom((com.google.cloud.datastream.v1.DeletePrivateConnectionRequest)other); } else { super.mergeFrom(other); return this; @@ -576,9 +533,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datastream.v1.DeletePrivateConnectionRequest other) { - if (other - == com.google.cloud.datastream.v1.DeletePrivateConnectionRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.datastream.v1.DeletePrivateConnectionRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -609,9 +564,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datastream.v1.DeletePrivateConnectionRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datastream.v1.DeletePrivateConnectionRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -623,22 +576,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the private connectivity configuration to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -647,23 +596,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the private connectivity configuration to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -671,67 +617,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the private connectivity configuration to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the private connectivity configuration to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the private connectivity configuration to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -739,8 +672,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object requestId_ = ""; /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -756,13 +687,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -771,8 +702,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -788,14 +717,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -803,8 +733,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -820,22 +748,20 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { + public Builder setRequestId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -851,18 +777,15 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -878,32 +801,29 @@ public Builder clearRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = value; onChanged(); return this; } - private boolean force_; + private boolean force_ ; /** - * - * *
      * Optional. If set to true, any child routes that belong to this PrivateConnection will
      * also be deleted.
      * 
* * bool force = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The force. */ @java.lang.Override @@ -911,45 +831,39 @@ public boolean getForce() { return force_; } /** - * - * *
      * Optional. If set to true, any child routes that belong to this PrivateConnection will
      * also be deleted.
      * 
* * bool force = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The force to set. * @return This builder for chaining. */ public Builder setForce(boolean value) { - + force_ = value; onChanged(); return this; } /** - * - * *
      * Optional. If set to true, any child routes that belong to this PrivateConnection will
      * also be deleted.
      * 
* * bool force = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearForce() { - + force_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -959,13 +873,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1.DeletePrivateConnectionRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1.DeletePrivateConnectionRequest) - private static final com.google.cloud.datastream.v1.DeletePrivateConnectionRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.datastream.v1.DeletePrivateConnectionRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1.DeletePrivateConnectionRequest(); } @@ -974,16 +887,16 @@ public static com.google.cloud.datastream.v1.DeletePrivateConnectionRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeletePrivateConnectionRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeletePrivateConnectionRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeletePrivateConnectionRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeletePrivateConnectionRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -998,4 +911,6 @@ public com.google.protobuf.Parser getParserForTy public com.google.cloud.datastream.v1.DeletePrivateConnectionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DeletePrivateConnectionRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DeletePrivateConnectionRequestOrBuilder.java similarity index 72% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DeletePrivateConnectionRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DeletePrivateConnectionRequestOrBuilder.java index f0b90236..8e507313 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DeletePrivateConnectionRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DeletePrivateConnectionRequestOrBuilder.java @@ -1,60 +1,33 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1/datastream.proto package com.google.cloud.datastream.v1; -public interface DeletePrivateConnectionRequestOrBuilder - extends +public interface DeletePrivateConnectionRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1.DeletePrivateConnectionRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the private connectivity configuration to delete.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The name of the private connectivity configuration to delete.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -70,13 +43,10 @@ public interface DeletePrivateConnectionRequestOrBuilder
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -92,21 +62,18 @@ public interface DeletePrivateConnectionRequestOrBuilder
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); /** - * - * *
    * Optional. If set to true, any child routes that belong to this PrivateConnection will
    * also be deleted.
    * 
* * bool force = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The force. */ boolean getForce(); diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DeleteRouteRequest.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DeleteRouteRequest.java similarity index 72% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DeleteRouteRequest.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DeleteRouteRequest.java index 66af4214..6d2984fa 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DeleteRouteRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DeleteRouteRequest.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/datastream/v1/datastream.proto package com.google.cloud.datastream.v1; /** - * - * *
  * Route deletion request.
  * 
* * Protobuf type {@code google.cloud.datastream.v1.DeleteRouteRequest} */ -public final class DeleteRouteRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteRouteRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1.DeleteRouteRequest) DeleteRouteRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteRouteRequest.newBuilder() to construct. private DeleteRouteRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteRouteRequest() { name_ = ""; requestId_ = ""; @@ -44,15 +26,16 @@ private DeleteRouteRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteRouteRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeleteRouteRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,27 +54,25 @@ private DeleteRouteRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - requestId_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + requestId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,41 +80,34 @@ private DeleteRouteRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_DeleteRouteRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_DeleteRouteRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_DeleteRouteRequest_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_DeleteRouteRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.DeleteRouteRequest.class, - com.google.cloud.datastream.v1.DeleteRouteRequest.Builder.class); + com.google.cloud.datastream.v1.DeleteRouteRequest.class, com.google.cloud.datastream.v1.DeleteRouteRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the Route resource to delete.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -142,31 +116,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the Route resource to delete.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -177,8 +149,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int REQUEST_ID_FIELD_NUMBER = 2; private volatile java.lang.Object requestId_; /** - * - * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -194,7 +164,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -203,15 +172,14 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** - * - * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -227,15 +195,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -244,7 +213,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -256,7 +224,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -286,16 +255,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datastream.v1.DeleteRouteRequest)) { return super.equals(obj); } - com.google.cloud.datastream.v1.DeleteRouteRequest other = - (com.google.cloud.datastream.v1.DeleteRouteRequest) obj; + com.google.cloud.datastream.v1.DeleteRouteRequest other = (com.google.cloud.datastream.v1.DeleteRouteRequest) obj; - if (!getName().equals(other.getName())) return false; - if (!getRequestId().equals(other.getRequestId())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -317,126 +287,117 @@ public int hashCode() { } public static com.google.cloud.datastream.v1.DeleteRouteRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.DeleteRouteRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.DeleteRouteRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.DeleteRouteRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.DeleteRouteRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.DeleteRouteRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1.DeleteRouteRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.DeleteRouteRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.DeleteRouteRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1.DeleteRouteRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.DeleteRouteRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.DeleteRouteRequest 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.datastream.v1.DeleteRouteRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.DeleteRouteRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datastream.v1.DeleteRouteRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Route deletion request.
    * 
* * Protobuf type {@code google.cloud.datastream.v1.DeleteRouteRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1.DeleteRouteRequest) com.google.cloud.datastream.v1.DeleteRouteRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_DeleteRouteRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_DeleteRouteRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_DeleteRouteRequest_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_DeleteRouteRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.DeleteRouteRequest.class, - com.google.cloud.datastream.v1.DeleteRouteRequest.Builder.class); + com.google.cloud.datastream.v1.DeleteRouteRequest.class, com.google.cloud.datastream.v1.DeleteRouteRequest.Builder.class); } // Construct using com.google.cloud.datastream.v1.DeleteRouteRequest.newBuilder() @@ -444,15 +405,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -464,9 +426,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_DeleteRouteRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_DeleteRouteRequest_descriptor; } @java.lang.Override @@ -485,8 +447,7 @@ public com.google.cloud.datastream.v1.DeleteRouteRequest build() { @java.lang.Override public com.google.cloud.datastream.v1.DeleteRouteRequest buildPartial() { - com.google.cloud.datastream.v1.DeleteRouteRequest result = - new com.google.cloud.datastream.v1.DeleteRouteRequest(this); + com.google.cloud.datastream.v1.DeleteRouteRequest result = new com.google.cloud.datastream.v1.DeleteRouteRequest(this); result.name_ = name_; result.requestId_ = requestId_; onBuilt(); @@ -497,39 +458,38 @@ public com.google.cloud.datastream.v1.DeleteRouteRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1.DeleteRouteRequest) { - return mergeFrom((com.google.cloud.datastream.v1.DeleteRouteRequest) other); + return mergeFrom((com.google.cloud.datastream.v1.DeleteRouteRequest)other); } else { super.mergeFrom(other); return this; @@ -537,8 +497,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datastream.v1.DeleteRouteRequest other) { - if (other == com.google.cloud.datastream.v1.DeleteRouteRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.datastream.v1.DeleteRouteRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -566,8 +525,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datastream.v1.DeleteRouteRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datastream.v1.DeleteRouteRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -579,22 +537,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the Route resource to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -603,23 +557,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the Route resource to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -627,67 +578,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the Route resource to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the Route resource to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the Route resource to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -695,8 +633,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object requestId_ = ""; /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -712,13 +648,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -727,8 +663,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -744,14 +678,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -759,8 +694,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -776,22 +709,20 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { + public Builder setRequestId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -807,18 +738,15 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -834,23 +762,23 @@ public Builder clearRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = 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); } @@ -860,12 +788,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1.DeleteRouteRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1.DeleteRouteRequest) private static final com.google.cloud.datastream.v1.DeleteRouteRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1.DeleteRouteRequest(); } @@ -874,16 +802,16 @@ public static com.google.cloud.datastream.v1.DeleteRouteRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteRouteRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteRouteRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteRouteRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteRouteRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -898,4 +826,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datastream.v1.DeleteRouteRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DeleteRouteRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DeleteRouteRequestOrBuilder.java similarity index 70% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DeleteRouteRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DeleteRouteRequestOrBuilder.java index 15ac9157..eb3c2612 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DeleteRouteRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DeleteRouteRequestOrBuilder.java @@ -1,60 +1,33 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1/datastream.proto package com.google.cloud.datastream.v1; -public interface DeleteRouteRequestOrBuilder - extends +public interface DeleteRouteRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1.DeleteRouteRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the Route resource to delete.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The name of the Route resource to delete.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -70,13 +43,10 @@ public interface DeleteRouteRequestOrBuilder
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -92,8 +62,8 @@ public interface DeleteRouteRequestOrBuilder
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); } diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DeleteStreamRequest.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DeleteStreamRequest.java similarity index 72% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DeleteStreamRequest.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DeleteStreamRequest.java index a2ea7be0..64fb727f 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DeleteStreamRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DeleteStreamRequest.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/datastream/v1/datastream.proto package com.google.cloud.datastream.v1; /** - * - * *
  * Request message for deleting a stream.
  * 
* * Protobuf type {@code google.cloud.datastream.v1.DeleteStreamRequest} */ -public final class DeleteStreamRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteStreamRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1.DeleteStreamRequest) DeleteStreamRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteStreamRequest.newBuilder() to construct. private DeleteStreamRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteStreamRequest() { name_ = ""; requestId_ = ""; @@ -44,15 +26,16 @@ private DeleteStreamRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteStreamRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeleteStreamRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,27 +54,25 @@ private DeleteStreamRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - requestId_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + requestId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,41 +80,34 @@ private DeleteStreamRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_DeleteStreamRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_DeleteStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_DeleteStreamRequest_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_DeleteStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.DeleteStreamRequest.class, - com.google.cloud.datastream.v1.DeleteStreamRequest.Builder.class); + com.google.cloud.datastream.v1.DeleteStreamRequest.class, com.google.cloud.datastream.v1.DeleteStreamRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the stream resource to delete.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -142,31 +116,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the stream resource to delete.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -177,8 +149,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int REQUEST_ID_FIELD_NUMBER = 2; private volatile java.lang.Object requestId_; /** - * - * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -194,7 +164,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -203,15 +172,14 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** - * - * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -227,15 +195,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -244,7 +213,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -256,7 +224,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -286,16 +255,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datastream.v1.DeleteStreamRequest)) { return super.equals(obj); } - com.google.cloud.datastream.v1.DeleteStreamRequest other = - (com.google.cloud.datastream.v1.DeleteStreamRequest) obj; + com.google.cloud.datastream.v1.DeleteStreamRequest other = (com.google.cloud.datastream.v1.DeleteStreamRequest) obj; - if (!getName().equals(other.getName())) return false; - if (!getRequestId().equals(other.getRequestId())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -317,126 +287,117 @@ public int hashCode() { } public static com.google.cloud.datastream.v1.DeleteStreamRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.DeleteStreamRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.DeleteStreamRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.DeleteStreamRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.DeleteStreamRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.DeleteStreamRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1.DeleteStreamRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.DeleteStreamRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.DeleteStreamRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1.DeleteStreamRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.DeleteStreamRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.DeleteStreamRequest 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.datastream.v1.DeleteStreamRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.DeleteStreamRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datastream.v1.DeleteStreamRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for deleting a stream.
    * 
* * Protobuf type {@code google.cloud.datastream.v1.DeleteStreamRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1.DeleteStreamRequest) com.google.cloud.datastream.v1.DeleteStreamRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_DeleteStreamRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_DeleteStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_DeleteStreamRequest_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_DeleteStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.DeleteStreamRequest.class, - com.google.cloud.datastream.v1.DeleteStreamRequest.Builder.class); + com.google.cloud.datastream.v1.DeleteStreamRequest.class, com.google.cloud.datastream.v1.DeleteStreamRequest.Builder.class); } // Construct using com.google.cloud.datastream.v1.DeleteStreamRequest.newBuilder() @@ -444,15 +405,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -464,9 +426,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_DeleteStreamRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_DeleteStreamRequest_descriptor; } @java.lang.Override @@ -485,8 +447,7 @@ public com.google.cloud.datastream.v1.DeleteStreamRequest build() { @java.lang.Override public com.google.cloud.datastream.v1.DeleteStreamRequest buildPartial() { - com.google.cloud.datastream.v1.DeleteStreamRequest result = - new com.google.cloud.datastream.v1.DeleteStreamRequest(this); + com.google.cloud.datastream.v1.DeleteStreamRequest result = new com.google.cloud.datastream.v1.DeleteStreamRequest(this); result.name_ = name_; result.requestId_ = requestId_; onBuilt(); @@ -497,39 +458,38 @@ public com.google.cloud.datastream.v1.DeleteStreamRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1.DeleteStreamRequest) { - return mergeFrom((com.google.cloud.datastream.v1.DeleteStreamRequest) other); + return mergeFrom((com.google.cloud.datastream.v1.DeleteStreamRequest)other); } else { super.mergeFrom(other); return this; @@ -537,8 +497,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datastream.v1.DeleteStreamRequest other) { - if (other == com.google.cloud.datastream.v1.DeleteStreamRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.datastream.v1.DeleteStreamRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -566,8 +525,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datastream.v1.DeleteStreamRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datastream.v1.DeleteStreamRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -579,22 +537,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the stream resource to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -603,23 +557,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the stream resource to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -627,67 +578,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the stream resource to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the stream resource to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the stream resource to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -695,8 +633,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object requestId_ = ""; /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -712,13 +648,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -727,8 +663,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -744,14 +678,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -759,8 +694,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -776,22 +709,20 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { + public Builder setRequestId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -807,18 +738,15 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -834,23 +762,23 @@ public Builder clearRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = 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); } @@ -860,12 +788,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1.DeleteStreamRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1.DeleteStreamRequest) private static final com.google.cloud.datastream.v1.DeleteStreamRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1.DeleteStreamRequest(); } @@ -874,16 +802,16 @@ public static com.google.cloud.datastream.v1.DeleteStreamRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteStreamRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteStreamRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteStreamRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteStreamRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -898,4 +826,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datastream.v1.DeleteStreamRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DeleteStreamRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DeleteStreamRequestOrBuilder.java similarity index 70% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DeleteStreamRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DeleteStreamRequestOrBuilder.java index 27aaca5e..fa3991af 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DeleteStreamRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DeleteStreamRequestOrBuilder.java @@ -1,60 +1,33 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1/datastream.proto package com.google.cloud.datastream.v1; -public interface DeleteStreamRequestOrBuilder - extends +public interface DeleteStreamRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1.DeleteStreamRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the stream resource to delete.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The name of the stream resource to delete.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -70,13 +43,10 @@ public interface DeleteStreamRequestOrBuilder
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -92,8 +62,8 @@ public interface DeleteStreamRequestOrBuilder
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); } diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DestinationConfig.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DestinationConfig.java similarity index 54% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DestinationConfig.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DestinationConfig.java index 09d2e139..a0a2ee73 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DestinationConfig.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DestinationConfig.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1/datastream_resources.proto package com.google.cloud.datastream.v1; /** - * - * *
  * The configuration of the stream destination.
  * 
* * Protobuf type {@code google.cloud.datastream.v1.DestinationConfig} */ -public final class DestinationConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DestinationConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1.DestinationConfig) DestinationConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DestinationConfig.newBuilder() to construct. private DestinationConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DestinationConfig() { destinationConnectionProfile_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DestinationConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DestinationConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,40 +53,47 @@ private DestinationConfig( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - destinationConnectionProfile_ = s; - break; + destinationConnectionProfile_ = s; + break; + } + case 802: { + com.google.cloud.datastream.v1.GcsDestinationConfig.Builder subBuilder = null; + if (destinationStreamConfigCase_ == 100) { + subBuilder = ((com.google.cloud.datastream.v1.GcsDestinationConfig) destinationStreamConfig_).toBuilder(); } - case 802: - { - com.google.cloud.datastream.v1.GcsDestinationConfig.Builder subBuilder = null; - if (destinationStreamConfigCase_ == 100) { - subBuilder = - ((com.google.cloud.datastream.v1.GcsDestinationConfig) destinationStreamConfig_) - .toBuilder(); - } - destinationStreamConfig_ = - input.readMessage( - com.google.cloud.datastream.v1.GcsDestinationConfig.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.datastream.v1.GcsDestinationConfig) destinationStreamConfig_); - destinationStreamConfig_ = subBuilder.buildPartial(); - } - destinationStreamConfigCase_ = 100; - break; + destinationStreamConfig_ = + input.readMessage(com.google.cloud.datastream.v1.GcsDestinationConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.datastream.v1.GcsDestinationConfig) destinationStreamConfig_); + destinationStreamConfig_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + destinationStreamConfigCase_ = 100; + break; + } + case 810: { + com.google.cloud.datastream.v1.BigQueryDestinationConfig.Builder subBuilder = null; + if (destinationStreamConfigCase_ == 101) { + subBuilder = ((com.google.cloud.datastream.v1.BigQueryDestinationConfig) destinationStreamConfig_).toBuilder(); } + destinationStreamConfig_ = + input.readMessage(com.google.cloud.datastream.v1.BigQueryDestinationConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.datastream.v1.BigQueryDestinationConfig) destinationStreamConfig_); + destinationStreamConfig_ = subBuilder.buildPartial(); + } + destinationStreamConfigCase_ = 101; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -111,39 +101,35 @@ private DestinationConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_DestinationConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_DestinationConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_DestinationConfig_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_DestinationConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.DestinationConfig.class, - com.google.cloud.datastream.v1.DestinationConfig.Builder.class); + com.google.cloud.datastream.v1.DestinationConfig.class, com.google.cloud.datastream.v1.DestinationConfig.Builder.class); } private int destinationStreamConfigCase_ = 0; private java.lang.Object destinationStreamConfig_; - public enum DestinationStreamConfigCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { GCS_DESTINATION_CONFIG(100), + BIGQUERY_DESTINATION_CONFIG(101), DESTINATIONSTREAMCONFIG_NOT_SET(0); private final int value; - private DestinationStreamConfigCase(int value) { this.value = value; } @@ -159,38 +145,32 @@ public static DestinationStreamConfigCase valueOf(int value) { public static DestinationStreamConfigCase forNumber(int value) { switch (value) { - case 100: - return GCS_DESTINATION_CONFIG; - case 0: - return DESTINATIONSTREAMCONFIG_NOT_SET; - default: - return null; + case 100: return GCS_DESTINATION_CONFIG; + case 101: return BIGQUERY_DESTINATION_CONFIG; + case 0: return DESTINATIONSTREAMCONFIG_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public DestinationStreamConfigCase getDestinationStreamConfigCase() { - return DestinationStreamConfigCase.forNumber(destinationStreamConfigCase_); + public DestinationStreamConfigCase + getDestinationStreamConfigCase() { + return DestinationStreamConfigCase.forNumber( + destinationStreamConfigCase_); } public static final int DESTINATION_CONNECTION_PROFILE_FIELD_NUMBER = 1; private volatile java.lang.Object destinationConnectionProfile_; /** - * - * *
    * Required. Destination connection profile resource.
    * Format: `projects/{project}/locations/{location}/connectionProfiles/{name}`
    * 
* - * - * string destination_connection_profile = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string destination_connection_profile = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The destinationConnectionProfile. */ @java.lang.Override @@ -199,32 +179,30 @@ public java.lang.String getDestinationConnectionProfile() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); destinationConnectionProfile_ = s; return s; } } /** - * - * *
    * Required. Destination connection profile resource.
    * Format: `projects/{project}/locations/{location}/connectionProfiles/{name}`
    * 
* - * - * string destination_connection_profile = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string destination_connection_profile = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for destinationConnectionProfile. */ @java.lang.Override - public com.google.protobuf.ByteString getDestinationConnectionProfileBytes() { + public com.google.protobuf.ByteString + getDestinationConnectionProfileBytes() { java.lang.Object ref = destinationConnectionProfile_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); destinationConnectionProfile_ = b; return b; } else { @@ -234,14 +212,11 @@ public com.google.protobuf.ByteString getDestinationConnectionProfileBytes() { public static final int GCS_DESTINATION_CONFIG_FIELD_NUMBER = 100; /** - * - * *
    * A configuration for how data should be loaded to Cloud Storage.
    * 
* * .google.cloud.datastream.v1.GcsDestinationConfig gcs_destination_config = 100; - * * @return Whether the gcsDestinationConfig field is set. */ @java.lang.Override @@ -249,26 +224,21 @@ public boolean hasGcsDestinationConfig() { return destinationStreamConfigCase_ == 100; } /** - * - * *
    * A configuration for how data should be loaded to Cloud Storage.
    * 
* * .google.cloud.datastream.v1.GcsDestinationConfig gcs_destination_config = 100; - * * @return The gcsDestinationConfig. */ @java.lang.Override public com.google.cloud.datastream.v1.GcsDestinationConfig getGcsDestinationConfig() { if (destinationStreamConfigCase_ == 100) { - return (com.google.cloud.datastream.v1.GcsDestinationConfig) destinationStreamConfig_; + return (com.google.cloud.datastream.v1.GcsDestinationConfig) destinationStreamConfig_; } return com.google.cloud.datastream.v1.GcsDestinationConfig.getDefaultInstance(); } /** - * - * *
    * A configuration for how data should be loaded to Cloud Storage.
    * 
@@ -276,16 +246,57 @@ public com.google.cloud.datastream.v1.GcsDestinationConfig getGcsDestinationConf * .google.cloud.datastream.v1.GcsDestinationConfig gcs_destination_config = 100; */ @java.lang.Override - public com.google.cloud.datastream.v1.GcsDestinationConfigOrBuilder - getGcsDestinationConfigOrBuilder() { + public com.google.cloud.datastream.v1.GcsDestinationConfigOrBuilder getGcsDestinationConfigOrBuilder() { if (destinationStreamConfigCase_ == 100) { - return (com.google.cloud.datastream.v1.GcsDestinationConfig) destinationStreamConfig_; + return (com.google.cloud.datastream.v1.GcsDestinationConfig) destinationStreamConfig_; } return com.google.cloud.datastream.v1.GcsDestinationConfig.getDefaultInstance(); } - private byte memoizedIsInitialized = -1; + public static final int BIGQUERY_DESTINATION_CONFIG_FIELD_NUMBER = 101; + /** + *
+   * BigQuery destination configuration.
+   * 
+ * + * .google.cloud.datastream.v1.BigQueryDestinationConfig bigquery_destination_config = 101; + * @return Whether the bigqueryDestinationConfig field is set. + */ + @java.lang.Override + public boolean hasBigqueryDestinationConfig() { + return destinationStreamConfigCase_ == 101; + } + /** + *
+   * BigQuery destination configuration.
+   * 
+ * + * .google.cloud.datastream.v1.BigQueryDestinationConfig bigquery_destination_config = 101; + * @return The bigqueryDestinationConfig. + */ + @java.lang.Override + public com.google.cloud.datastream.v1.BigQueryDestinationConfig getBigqueryDestinationConfig() { + if (destinationStreamConfigCase_ == 101) { + return (com.google.cloud.datastream.v1.BigQueryDestinationConfig) destinationStreamConfig_; + } + return com.google.cloud.datastream.v1.BigQueryDestinationConfig.getDefaultInstance(); + } + /** + *
+   * BigQuery destination configuration.
+   * 
+ * + * .google.cloud.datastream.v1.BigQueryDestinationConfig bigquery_destination_config = 101; + */ + @java.lang.Override + public com.google.cloud.datastream.v1.BigQueryDestinationConfigOrBuilder getBigqueryDestinationConfigOrBuilder() { + if (destinationStreamConfigCase_ == 101) { + return (com.google.cloud.datastream.v1.BigQueryDestinationConfig) destinationStreamConfig_; + } + return com.google.cloud.datastream.v1.BigQueryDestinationConfig.getDefaultInstance(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -297,13 +308,16 @@ public final boolean isInitialized() { } @java.lang.Override - public 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(destinationConnectionProfile_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, destinationConnectionProfile_); } if (destinationStreamConfigCase_ == 100) { - output.writeMessage( - 100, (com.google.cloud.datastream.v1.GcsDestinationConfig) destinationStreamConfig_); + output.writeMessage(100, (com.google.cloud.datastream.v1.GcsDestinationConfig) destinationStreamConfig_); + } + if (destinationStreamConfigCase_ == 101) { + output.writeMessage(101, (com.google.cloud.datastream.v1.BigQueryDestinationConfig) destinationStreamConfig_); } unknownFields.writeTo(output); } @@ -315,14 +329,15 @@ public int getSerializedSize() { size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(destinationConnectionProfile_)) { - size += - com.google.protobuf.GeneratedMessageV3.computeStringSize( - 1, destinationConnectionProfile_); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, destinationConnectionProfile_); } if (destinationStreamConfigCase_ == 100) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 100, (com.google.cloud.datastream.v1.GcsDestinationConfig) destinationStreamConfig_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(100, (com.google.cloud.datastream.v1.GcsDestinationConfig) destinationStreamConfig_); + } + if (destinationStreamConfigCase_ == 101) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(101, (com.google.cloud.datastream.v1.BigQueryDestinationConfig) destinationStreamConfig_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -332,21 +347,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.datastream.v1.DestinationConfig)) { return super.equals(obj); } - com.google.cloud.datastream.v1.DestinationConfig other = - (com.google.cloud.datastream.v1.DestinationConfig) obj; + com.google.cloud.datastream.v1.DestinationConfig other = (com.google.cloud.datastream.v1.DestinationConfig) obj; - if (!getDestinationConnectionProfile().equals(other.getDestinationConnectionProfile())) - return false; - if (!getDestinationStreamConfigCase().equals(other.getDestinationStreamConfigCase())) - return false; + if (!getDestinationConnectionProfile() + .equals(other.getDestinationConnectionProfile())) return false; + if (!getDestinationStreamConfigCase().equals(other.getDestinationStreamConfigCase())) return false; switch (destinationStreamConfigCase_) { case 100: - if (!getGcsDestinationConfig().equals(other.getGcsDestinationConfig())) return false; + if (!getGcsDestinationConfig() + .equals(other.getGcsDestinationConfig())) return false; + break; + case 101: + if (!getBigqueryDestinationConfig() + .equals(other.getBigqueryDestinationConfig())) return false; break; case 0: default: @@ -369,6 +387,10 @@ public int hashCode() { hash = (37 * hash) + GCS_DESTINATION_CONFIG_FIELD_NUMBER; hash = (53 * hash) + getGcsDestinationConfig().hashCode(); break; + case 101: + hash = (37 * hash) + BIGQUERY_DESTINATION_CONFIG_FIELD_NUMBER; + hash = (53 * hash) + getBigqueryDestinationConfig().hashCode(); + break; case 0: default: } @@ -377,127 +399,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.datastream.v1.DestinationConfig parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.datastream.v1.DestinationConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.DestinationConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.DestinationConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.DestinationConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.DestinationConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.DestinationConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1.DestinationConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.DestinationConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.DestinationConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1.DestinationConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.DestinationConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.DestinationConfig 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.datastream.v1.DestinationConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.DestinationConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datastream.v1.DestinationConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The configuration of the stream destination.
    * 
* * Protobuf type {@code google.cloud.datastream.v1.DestinationConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1.DestinationConfig) com.google.cloud.datastream.v1.DestinationConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_DestinationConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_DestinationConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_DestinationConfig_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_DestinationConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.DestinationConfig.class, - com.google.cloud.datastream.v1.DestinationConfig.Builder.class); + com.google.cloud.datastream.v1.DestinationConfig.class, com.google.cloud.datastream.v1.DestinationConfig.Builder.class); } // Construct using com.google.cloud.datastream.v1.DestinationConfig.newBuilder() @@ -505,15 +518,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -525,9 +539,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_DestinationConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_DestinationConfig_descriptor; } @java.lang.Override @@ -546,8 +560,7 @@ public com.google.cloud.datastream.v1.DestinationConfig build() { @java.lang.Override public com.google.cloud.datastream.v1.DestinationConfig buildPartial() { - com.google.cloud.datastream.v1.DestinationConfig result = - new com.google.cloud.datastream.v1.DestinationConfig(this); + com.google.cloud.datastream.v1.DestinationConfig result = new com.google.cloud.datastream.v1.DestinationConfig(this); result.destinationConnectionProfile_ = destinationConnectionProfile_; if (destinationStreamConfigCase_ == 100) { if (gcsDestinationConfigBuilder_ == null) { @@ -556,6 +569,13 @@ public com.google.cloud.datastream.v1.DestinationConfig buildPartial() { result.destinationStreamConfig_ = gcsDestinationConfigBuilder_.build(); } } + if (destinationStreamConfigCase_ == 101) { + if (bigqueryDestinationConfigBuilder_ == null) { + result.destinationStreamConfig_ = destinationStreamConfig_; + } else { + result.destinationStreamConfig_ = bigqueryDestinationConfigBuilder_.build(); + } + } result.destinationStreamConfigCase_ = destinationStreamConfigCase_; onBuilt(); return result; @@ -565,39 +585,38 @@ public com.google.cloud.datastream.v1.DestinationConfig buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1.DestinationConfig) { - return mergeFrom((com.google.cloud.datastream.v1.DestinationConfig) other); + return mergeFrom((com.google.cloud.datastream.v1.DestinationConfig)other); } else { super.mergeFrom(other); return this; @@ -605,22 +624,23 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datastream.v1.DestinationConfig other) { - if (other == com.google.cloud.datastream.v1.DestinationConfig.getDefaultInstance()) - return this; + if (other == com.google.cloud.datastream.v1.DestinationConfig.getDefaultInstance()) return this; if (!other.getDestinationConnectionProfile().isEmpty()) { destinationConnectionProfile_ = other.destinationConnectionProfile_; onChanged(); } switch (other.getDestinationStreamConfigCase()) { - case GCS_DESTINATION_CONFIG: - { - mergeGcsDestinationConfig(other.getGcsDestinationConfig()); - break; - } - case DESTINATIONSTREAMCONFIG_NOT_SET: - { - break; - } + case GCS_DESTINATION_CONFIG: { + mergeGcsDestinationConfig(other.getGcsDestinationConfig()); + break; + } + case BIGQUERY_DESTINATION_CONFIG: { + mergeBigqueryDestinationConfig(other.getBigqueryDestinationConfig()); + break; + } + case DESTINATIONSTREAMCONFIG_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -650,12 +670,12 @@ public Builder mergeFrom( } return this; } - private int destinationStreamConfigCase_ = 0; private java.lang.Object destinationStreamConfig_; - - public DestinationStreamConfigCase getDestinationStreamConfigCase() { - return DestinationStreamConfigCase.forNumber(destinationStreamConfigCase_); + public DestinationStreamConfigCase + getDestinationStreamConfigCase() { + return DestinationStreamConfigCase.forNumber( + destinationStreamConfigCase_); } public Builder clearDestinationStreamConfig() { @@ -665,25 +685,22 @@ public Builder clearDestinationStreamConfig() { return this; } + private java.lang.Object destinationConnectionProfile_ = ""; /** - * - * *
      * Required. Destination connection profile resource.
      * Format: `projects/{project}/locations/{location}/connectionProfiles/{name}`
      * 
* - * - * string destination_connection_profile = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string destination_connection_profile = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The destinationConnectionProfile. */ public java.lang.String getDestinationConnectionProfile() { java.lang.Object ref = destinationConnectionProfile_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); destinationConnectionProfile_ = s; return s; @@ -692,24 +709,21 @@ public java.lang.String getDestinationConnectionProfile() { } } /** - * - * *
      * Required. Destination connection profile resource.
      * Format: `projects/{project}/locations/{location}/connectionProfiles/{name}`
      * 
* - * - * string destination_connection_profile = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string destination_connection_profile = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for destinationConnectionProfile. */ - public com.google.protobuf.ByteString getDestinationConnectionProfileBytes() { + public com.google.protobuf.ByteString + getDestinationConnectionProfileBytes() { java.lang.Object ref = destinationConnectionProfile_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); destinationConnectionProfile_ = b; return b; } else { @@ -717,89 +731,70 @@ public com.google.protobuf.ByteString getDestinationConnectionProfileBytes() { } } /** - * - * *
      * Required. Destination connection profile resource.
      * Format: `projects/{project}/locations/{location}/connectionProfiles/{name}`
      * 
* - * - * string destination_connection_profile = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string destination_connection_profile = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The destinationConnectionProfile to set. * @return This builder for chaining. */ - public Builder setDestinationConnectionProfile(java.lang.String value) { + public Builder setDestinationConnectionProfile( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + destinationConnectionProfile_ = value; onChanged(); return this; } /** - * - * *
      * Required. Destination connection profile resource.
      * Format: `projects/{project}/locations/{location}/connectionProfiles/{name}`
      * 
* - * - * string destination_connection_profile = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string destination_connection_profile = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearDestinationConnectionProfile() { - + destinationConnectionProfile_ = getDefaultInstance().getDestinationConnectionProfile(); onChanged(); return this; } /** - * - * *
      * Required. Destination connection profile resource.
      * Format: `projects/{project}/locations/{location}/connectionProfiles/{name}`
      * 
* - * - * string destination_connection_profile = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string destination_connection_profile = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for destinationConnectionProfile to set. * @return This builder for chaining. */ - public Builder setDestinationConnectionProfileBytes(com.google.protobuf.ByteString value) { + public Builder setDestinationConnectionProfileBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + destinationConnectionProfile_ = value; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.GcsDestinationConfig, - com.google.cloud.datastream.v1.GcsDestinationConfig.Builder, - com.google.cloud.datastream.v1.GcsDestinationConfigOrBuilder> - gcsDestinationConfigBuilder_; + com.google.cloud.datastream.v1.GcsDestinationConfig, com.google.cloud.datastream.v1.GcsDestinationConfig.Builder, com.google.cloud.datastream.v1.GcsDestinationConfigOrBuilder> gcsDestinationConfigBuilder_; /** - * - * *
      * A configuration for how data should be loaded to Cloud Storage.
      * 
* * .google.cloud.datastream.v1.GcsDestinationConfig gcs_destination_config = 100; - * * @return Whether the gcsDestinationConfig field is set. */ @java.lang.Override @@ -807,14 +802,11 @@ public boolean hasGcsDestinationConfig() { return destinationStreamConfigCase_ == 100; } /** - * - * *
      * A configuration for how data should be loaded to Cloud Storage.
      * 
* * .google.cloud.datastream.v1.GcsDestinationConfig gcs_destination_config = 100; - * * @return The gcsDestinationConfig. */ @java.lang.Override @@ -832,16 +824,13 @@ public com.google.cloud.datastream.v1.GcsDestinationConfig getGcsDestinationConf } } /** - * - * *
      * A configuration for how data should be loaded to Cloud Storage.
      * 
* * .google.cloud.datastream.v1.GcsDestinationConfig gcs_destination_config = 100; */ - public Builder setGcsDestinationConfig( - com.google.cloud.datastream.v1.GcsDestinationConfig value) { + public Builder setGcsDestinationConfig(com.google.cloud.datastream.v1.GcsDestinationConfig value) { if (gcsDestinationConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -855,8 +844,6 @@ public Builder setGcsDestinationConfig( return this; } /** - * - * *
      * A configuration for how data should be loaded to Cloud Storage.
      * 
@@ -875,26 +862,18 @@ public Builder setGcsDestinationConfig( return this; } /** - * - * *
      * A configuration for how data should be loaded to Cloud Storage.
      * 
* * .google.cloud.datastream.v1.GcsDestinationConfig gcs_destination_config = 100; */ - public Builder mergeGcsDestinationConfig( - com.google.cloud.datastream.v1.GcsDestinationConfig value) { + public Builder mergeGcsDestinationConfig(com.google.cloud.datastream.v1.GcsDestinationConfig value) { if (gcsDestinationConfigBuilder_ == null) { - if (destinationStreamConfigCase_ == 100 - && destinationStreamConfig_ - != com.google.cloud.datastream.v1.GcsDestinationConfig.getDefaultInstance()) { - destinationStreamConfig_ = - com.google.cloud.datastream.v1.GcsDestinationConfig.newBuilder( - (com.google.cloud.datastream.v1.GcsDestinationConfig) - destinationStreamConfig_) - .mergeFrom(value) - .buildPartial(); + if (destinationStreamConfigCase_ == 100 && + destinationStreamConfig_ != com.google.cloud.datastream.v1.GcsDestinationConfig.getDefaultInstance()) { + destinationStreamConfig_ = com.google.cloud.datastream.v1.GcsDestinationConfig.newBuilder((com.google.cloud.datastream.v1.GcsDestinationConfig) destinationStreamConfig_) + .mergeFrom(value).buildPartial(); } else { destinationStreamConfig_ = value; } @@ -910,8 +889,6 @@ public Builder mergeGcsDestinationConfig( return this; } /** - * - * *
      * A configuration for how data should be loaded to Cloud Storage.
      * 
@@ -935,21 +912,16 @@ public Builder clearGcsDestinationConfig() { return this; } /** - * - * *
      * A configuration for how data should be loaded to Cloud Storage.
      * 
* * .google.cloud.datastream.v1.GcsDestinationConfig gcs_destination_config = 100; */ - public com.google.cloud.datastream.v1.GcsDestinationConfig.Builder - getGcsDestinationConfigBuilder() { + public com.google.cloud.datastream.v1.GcsDestinationConfig.Builder getGcsDestinationConfigBuilder() { return getGcsDestinationConfigFieldBuilder().getBuilder(); } /** - * - * *
      * A configuration for how data should be loaded to Cloud Storage.
      * 
@@ -957,8 +929,7 @@ public Builder clearGcsDestinationConfig() { * .google.cloud.datastream.v1.GcsDestinationConfig gcs_destination_config = 100; */ @java.lang.Override - public com.google.cloud.datastream.v1.GcsDestinationConfigOrBuilder - getGcsDestinationConfigOrBuilder() { + public com.google.cloud.datastream.v1.GcsDestinationConfigOrBuilder getGcsDestinationConfigOrBuilder() { if ((destinationStreamConfigCase_ == 100) && (gcsDestinationConfigBuilder_ != null)) { return gcsDestinationConfigBuilder_.getMessageOrBuilder(); } else { @@ -969,8 +940,6 @@ public Builder clearGcsDestinationConfig() { } } /** - * - * *
      * A configuration for how data should be loaded to Cloud Storage.
      * 
@@ -978,33 +947,204 @@ public Builder clearGcsDestinationConfig() { * .google.cloud.datastream.v1.GcsDestinationConfig gcs_destination_config = 100; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.GcsDestinationConfig, - com.google.cloud.datastream.v1.GcsDestinationConfig.Builder, - com.google.cloud.datastream.v1.GcsDestinationConfigOrBuilder> + com.google.cloud.datastream.v1.GcsDestinationConfig, com.google.cloud.datastream.v1.GcsDestinationConfig.Builder, com.google.cloud.datastream.v1.GcsDestinationConfigOrBuilder> getGcsDestinationConfigFieldBuilder() { if (gcsDestinationConfigBuilder_ == null) { if (!(destinationStreamConfigCase_ == 100)) { - destinationStreamConfig_ = - com.google.cloud.datastream.v1.GcsDestinationConfig.getDefaultInstance(); + destinationStreamConfig_ = com.google.cloud.datastream.v1.GcsDestinationConfig.getDefaultInstance(); } - gcsDestinationConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.GcsDestinationConfig, - com.google.cloud.datastream.v1.GcsDestinationConfig.Builder, - com.google.cloud.datastream.v1.GcsDestinationConfigOrBuilder>( + gcsDestinationConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1.GcsDestinationConfig, com.google.cloud.datastream.v1.GcsDestinationConfig.Builder, com.google.cloud.datastream.v1.GcsDestinationConfigOrBuilder>( (com.google.cloud.datastream.v1.GcsDestinationConfig) destinationStreamConfig_, getParentForChildren(), isClean()); destinationStreamConfig_ = null; } destinationStreamConfigCase_ = 100; - onChanged(); - ; + onChanged();; return gcsDestinationConfigBuilder_; } + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1.BigQueryDestinationConfig, com.google.cloud.datastream.v1.BigQueryDestinationConfig.Builder, com.google.cloud.datastream.v1.BigQueryDestinationConfigOrBuilder> bigqueryDestinationConfigBuilder_; + /** + *
+     * BigQuery destination configuration.
+     * 
+ * + * .google.cloud.datastream.v1.BigQueryDestinationConfig bigquery_destination_config = 101; + * @return Whether the bigqueryDestinationConfig field is set. + */ @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public boolean hasBigqueryDestinationConfig() { + return destinationStreamConfigCase_ == 101; + } + /** + *
+     * BigQuery destination configuration.
+     * 
+ * + * .google.cloud.datastream.v1.BigQueryDestinationConfig bigquery_destination_config = 101; + * @return The bigqueryDestinationConfig. + */ + @java.lang.Override + public com.google.cloud.datastream.v1.BigQueryDestinationConfig getBigqueryDestinationConfig() { + if (bigqueryDestinationConfigBuilder_ == null) { + if (destinationStreamConfigCase_ == 101) { + return (com.google.cloud.datastream.v1.BigQueryDestinationConfig) destinationStreamConfig_; + } + return com.google.cloud.datastream.v1.BigQueryDestinationConfig.getDefaultInstance(); + } else { + if (destinationStreamConfigCase_ == 101) { + return bigqueryDestinationConfigBuilder_.getMessage(); + } + return com.google.cloud.datastream.v1.BigQueryDestinationConfig.getDefaultInstance(); + } + } + /** + *
+     * BigQuery destination configuration.
+     * 
+ * + * .google.cloud.datastream.v1.BigQueryDestinationConfig bigquery_destination_config = 101; + */ + public Builder setBigqueryDestinationConfig(com.google.cloud.datastream.v1.BigQueryDestinationConfig value) { + if (bigqueryDestinationConfigBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + destinationStreamConfig_ = value; + onChanged(); + } else { + bigqueryDestinationConfigBuilder_.setMessage(value); + } + destinationStreamConfigCase_ = 101; + return this; + } + /** + *
+     * BigQuery destination configuration.
+     * 
+ * + * .google.cloud.datastream.v1.BigQueryDestinationConfig bigquery_destination_config = 101; + */ + public Builder setBigqueryDestinationConfig( + com.google.cloud.datastream.v1.BigQueryDestinationConfig.Builder builderForValue) { + if (bigqueryDestinationConfigBuilder_ == null) { + destinationStreamConfig_ = builderForValue.build(); + onChanged(); + } else { + bigqueryDestinationConfigBuilder_.setMessage(builderForValue.build()); + } + destinationStreamConfigCase_ = 101; + return this; + } + /** + *
+     * BigQuery destination configuration.
+     * 
+ * + * .google.cloud.datastream.v1.BigQueryDestinationConfig bigquery_destination_config = 101; + */ + public Builder mergeBigqueryDestinationConfig(com.google.cloud.datastream.v1.BigQueryDestinationConfig value) { + if (bigqueryDestinationConfigBuilder_ == null) { + if (destinationStreamConfigCase_ == 101 && + destinationStreamConfig_ != com.google.cloud.datastream.v1.BigQueryDestinationConfig.getDefaultInstance()) { + destinationStreamConfig_ = com.google.cloud.datastream.v1.BigQueryDestinationConfig.newBuilder((com.google.cloud.datastream.v1.BigQueryDestinationConfig) destinationStreamConfig_) + .mergeFrom(value).buildPartial(); + } else { + destinationStreamConfig_ = value; + } + onChanged(); + } else { + if (destinationStreamConfigCase_ == 101) { + bigqueryDestinationConfigBuilder_.mergeFrom(value); + } else { + bigqueryDestinationConfigBuilder_.setMessage(value); + } + } + destinationStreamConfigCase_ = 101; + return this; + } + /** + *
+     * BigQuery destination configuration.
+     * 
+ * + * .google.cloud.datastream.v1.BigQueryDestinationConfig bigquery_destination_config = 101; + */ + public Builder clearBigqueryDestinationConfig() { + if (bigqueryDestinationConfigBuilder_ == null) { + if (destinationStreamConfigCase_ == 101) { + destinationStreamConfigCase_ = 0; + destinationStreamConfig_ = null; + onChanged(); + } + } else { + if (destinationStreamConfigCase_ == 101) { + destinationStreamConfigCase_ = 0; + destinationStreamConfig_ = null; + } + bigqueryDestinationConfigBuilder_.clear(); + } + return this; + } + /** + *
+     * BigQuery destination configuration.
+     * 
+ * + * .google.cloud.datastream.v1.BigQueryDestinationConfig bigquery_destination_config = 101; + */ + public com.google.cloud.datastream.v1.BigQueryDestinationConfig.Builder getBigqueryDestinationConfigBuilder() { + return getBigqueryDestinationConfigFieldBuilder().getBuilder(); + } + /** + *
+     * BigQuery destination configuration.
+     * 
+ * + * .google.cloud.datastream.v1.BigQueryDestinationConfig bigquery_destination_config = 101; + */ + @java.lang.Override + public com.google.cloud.datastream.v1.BigQueryDestinationConfigOrBuilder getBigqueryDestinationConfigOrBuilder() { + if ((destinationStreamConfigCase_ == 101) && (bigqueryDestinationConfigBuilder_ != null)) { + return bigqueryDestinationConfigBuilder_.getMessageOrBuilder(); + } else { + if (destinationStreamConfigCase_ == 101) { + return (com.google.cloud.datastream.v1.BigQueryDestinationConfig) destinationStreamConfig_; + } + return com.google.cloud.datastream.v1.BigQueryDestinationConfig.getDefaultInstance(); + } + } + /** + *
+     * BigQuery destination configuration.
+     * 
+ * + * .google.cloud.datastream.v1.BigQueryDestinationConfig bigquery_destination_config = 101; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1.BigQueryDestinationConfig, com.google.cloud.datastream.v1.BigQueryDestinationConfig.Builder, com.google.cloud.datastream.v1.BigQueryDestinationConfigOrBuilder> + getBigqueryDestinationConfigFieldBuilder() { + if (bigqueryDestinationConfigBuilder_ == null) { + if (!(destinationStreamConfigCase_ == 101)) { + destinationStreamConfig_ = com.google.cloud.datastream.v1.BigQueryDestinationConfig.getDefaultInstance(); + } + bigqueryDestinationConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1.BigQueryDestinationConfig, com.google.cloud.datastream.v1.BigQueryDestinationConfig.Builder, com.google.cloud.datastream.v1.BigQueryDestinationConfigOrBuilder>( + (com.google.cloud.datastream.v1.BigQueryDestinationConfig) destinationStreamConfig_, + getParentForChildren(), + isClean()); + destinationStreamConfig_ = null; + } + destinationStreamConfigCase_ = 101; + onChanged();; + return bigqueryDestinationConfigBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1014,12 +1154,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1.DestinationConfig) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1.DestinationConfig) private static final com.google.cloud.datastream.v1.DestinationConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1.DestinationConfig(); } @@ -1028,16 +1168,16 @@ public static com.google.cloud.datastream.v1.DestinationConfig getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DestinationConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DestinationConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DestinationConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DestinationConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1052,4 +1192,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datastream.v1.DestinationConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DestinationConfigOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DestinationConfigOrBuilder.java similarity index 57% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DestinationConfigOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DestinationConfigOrBuilder.java index d398d79f..4b7ec8c8 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DestinationConfigOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DestinationConfigOrBuilder.java @@ -1,86 +1,53 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1/datastream_resources.proto package com.google.cloud.datastream.v1; -public interface DestinationConfigOrBuilder - extends +public interface DestinationConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1.DestinationConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Destination connection profile resource.
    * Format: `projects/{project}/locations/{location}/connectionProfiles/{name}`
    * 
* - * - * string destination_connection_profile = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string destination_connection_profile = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The destinationConnectionProfile. */ java.lang.String getDestinationConnectionProfile(); /** - * - * *
    * Required. Destination connection profile resource.
    * Format: `projects/{project}/locations/{location}/connectionProfiles/{name}`
    * 
* - * - * string destination_connection_profile = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string destination_connection_profile = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for destinationConnectionProfile. */ - com.google.protobuf.ByteString getDestinationConnectionProfileBytes(); + com.google.protobuf.ByteString + getDestinationConnectionProfileBytes(); /** - * - * *
    * A configuration for how data should be loaded to Cloud Storage.
    * 
* * .google.cloud.datastream.v1.GcsDestinationConfig gcs_destination_config = 100; - * * @return Whether the gcsDestinationConfig field is set. */ boolean hasGcsDestinationConfig(); /** - * - * *
    * A configuration for how data should be loaded to Cloud Storage.
    * 
* * .google.cloud.datastream.v1.GcsDestinationConfig gcs_destination_config = 100; - * * @return The gcsDestinationConfig. */ com.google.cloud.datastream.v1.GcsDestinationConfig getGcsDestinationConfig(); /** - * - * *
    * A configuration for how data should be loaded to Cloud Storage.
    * 
@@ -89,6 +56,32 @@ public interface DestinationConfigOrBuilder */ com.google.cloud.datastream.v1.GcsDestinationConfigOrBuilder getGcsDestinationConfigOrBuilder(); - public com.google.cloud.datastream.v1.DestinationConfig.DestinationStreamConfigCase - getDestinationStreamConfigCase(); + /** + *
+   * BigQuery destination configuration.
+   * 
+ * + * .google.cloud.datastream.v1.BigQueryDestinationConfig bigquery_destination_config = 101; + * @return Whether the bigqueryDestinationConfig field is set. + */ + boolean hasBigqueryDestinationConfig(); + /** + *
+   * BigQuery destination configuration.
+   * 
+ * + * .google.cloud.datastream.v1.BigQueryDestinationConfig bigquery_destination_config = 101; + * @return The bigqueryDestinationConfig. + */ + com.google.cloud.datastream.v1.BigQueryDestinationConfig getBigqueryDestinationConfig(); + /** + *
+   * BigQuery destination configuration.
+   * 
+ * + * .google.cloud.datastream.v1.BigQueryDestinationConfig bigquery_destination_config = 101; + */ + com.google.cloud.datastream.v1.BigQueryDestinationConfigOrBuilder getBigqueryDestinationConfigOrBuilder(); + + public com.google.cloud.datastream.v1.DestinationConfig.DestinationStreamConfigCase getDestinationStreamConfigCase(); } diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DiscoverConnectionProfileRequest.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DiscoverConnectionProfileRequest.java similarity index 65% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DiscoverConnectionProfileRequest.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DiscoverConnectionProfileRequest.java index f019a421..2890ac17 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DiscoverConnectionProfileRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DiscoverConnectionProfileRequest.java @@ -1,58 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1/datastream.proto package com.google.cloud.datastream.v1; /** - * - * *
  * Request message for 'discover' ConnectionProfile request.
  * 
* * Protobuf type {@code google.cloud.datastream.v1.DiscoverConnectionProfileRequest} */ -public final class DiscoverConnectionProfileRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DiscoverConnectionProfileRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1.DiscoverConnectionProfileRequest) DiscoverConnectionProfileRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DiscoverConnectionProfileRequest.newBuilder() to construct. - private DiscoverConnectionProfileRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private DiscoverConnectionProfileRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DiscoverConnectionProfileRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DiscoverConnectionProfileRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DiscoverConnectionProfileRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,88 +53,91 @@ private DiscoverConnectionProfileRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; + parent_ = s; + break; + } + case 24: { + hierarchy_ = input.readBool(); + hierarchyCase_ = 3; + break; + } + case 32: { + hierarchy_ = input.readInt32(); + hierarchyCase_ = 4; + break; + } + case 802: { + com.google.cloud.datastream.v1.OracleRdbms.Builder subBuilder = null; + if (dataObjectCase_ == 100) { + subBuilder = ((com.google.cloud.datastream.v1.OracleRdbms) dataObject_).toBuilder(); } - case 24: - { - hierarchy_ = input.readBool(); - hierarchyCase_ = 3; - break; + dataObject_ = + input.readMessage(com.google.cloud.datastream.v1.OracleRdbms.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.datastream.v1.OracleRdbms) dataObject_); + dataObject_ = subBuilder.buildPartial(); } - case 32: - { - hierarchy_ = input.readInt32(); - hierarchyCase_ = 4; - break; + dataObjectCase_ = 100; + break; + } + case 810: { + com.google.cloud.datastream.v1.MysqlRdbms.Builder subBuilder = null; + if (dataObjectCase_ == 101) { + subBuilder = ((com.google.cloud.datastream.v1.MysqlRdbms) dataObject_).toBuilder(); } - case 802: - { - com.google.cloud.datastream.v1.OracleRdbms.Builder subBuilder = null; - if (dataObjectCase_ == 100) { - subBuilder = ((com.google.cloud.datastream.v1.OracleRdbms) dataObject_).toBuilder(); - } - dataObject_ = - input.readMessage( - com.google.cloud.datastream.v1.OracleRdbms.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.datastream.v1.OracleRdbms) dataObject_); - dataObject_ = subBuilder.buildPartial(); - } - dataObjectCase_ = 100; - break; + dataObject_ = + input.readMessage(com.google.cloud.datastream.v1.MysqlRdbms.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.datastream.v1.MysqlRdbms) dataObject_); + dataObject_ = subBuilder.buildPartial(); } - case 810: - { - com.google.cloud.datastream.v1.MysqlRdbms.Builder subBuilder = null; - if (dataObjectCase_ == 101) { - subBuilder = ((com.google.cloud.datastream.v1.MysqlRdbms) dataObject_).toBuilder(); - } - dataObject_ = - input.readMessage( - com.google.cloud.datastream.v1.MysqlRdbms.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.datastream.v1.MysqlRdbms) dataObject_); - dataObject_ = subBuilder.buildPartial(); - } - dataObjectCase_ = 101; - break; + dataObjectCase_ = 101; + break; + } + case 818: { + com.google.cloud.datastream.v1.PostgresqlRdbms.Builder subBuilder = null; + if (dataObjectCase_ == 102) { + subBuilder = ((com.google.cloud.datastream.v1.PostgresqlRdbms) dataObject_).toBuilder(); + } + dataObject_ = + input.readMessage(com.google.cloud.datastream.v1.PostgresqlRdbms.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.datastream.v1.PostgresqlRdbms) dataObject_); + dataObject_ = subBuilder.buildPartial(); } - case 1602: - { - com.google.cloud.datastream.v1.ConnectionProfile.Builder subBuilder = null; - if (targetCase_ == 200) { - subBuilder = - ((com.google.cloud.datastream.v1.ConnectionProfile) target_).toBuilder(); - } - target_ = - input.readMessage( - com.google.cloud.datastream.v1.ConnectionProfile.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.datastream.v1.ConnectionProfile) target_); - target_ = subBuilder.buildPartial(); - } - targetCase_ = 200; - break; + dataObjectCase_ = 102; + break; + } + case 1602: { + com.google.cloud.datastream.v1.ConnectionProfile.Builder subBuilder = null; + if (targetCase_ == 200) { + subBuilder = ((com.google.cloud.datastream.v1.ConnectionProfile) target_).toBuilder(); } - case 1610: - { - java.lang.String s = input.readStringRequireUtf8(); - targetCase_ = 201; - target_ = s; - break; + target_ = + input.readMessage(com.google.cloud.datastream.v1.ConnectionProfile.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.datastream.v1.ConnectionProfile) target_); + target_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + targetCase_ = 200; + break; + } + case 1610: { + java.lang.String s = input.readStringRequireUtf8(); + targetCase_ = 201; + target_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -160,40 +145,35 @@ private DiscoverConnectionProfileRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_DiscoverConnectionProfileRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_DiscoverConnectionProfileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_DiscoverConnectionProfileRequest_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_DiscoverConnectionProfileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.DiscoverConnectionProfileRequest.class, - com.google.cloud.datastream.v1.DiscoverConnectionProfileRequest.Builder.class); + com.google.cloud.datastream.v1.DiscoverConnectionProfileRequest.class, com.google.cloud.datastream.v1.DiscoverConnectionProfileRequest.Builder.class); } private int targetCase_ = 0; private java.lang.Object target_; - public enum TargetCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { CONNECTION_PROFILE(200), CONNECTION_PROFILE_NAME(201), TARGET_NOT_SET(0); private final int value; - private TargetCase(int value) { this.value = value; } @@ -209,38 +189,32 @@ public static TargetCase valueOf(int value) { public static TargetCase forNumber(int value) { switch (value) { - case 200: - return CONNECTION_PROFILE; - case 201: - return CONNECTION_PROFILE_NAME; - case 0: - return TARGET_NOT_SET; - default: - return null; + case 200: return CONNECTION_PROFILE; + case 201: return CONNECTION_PROFILE_NAME; + case 0: return TARGET_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public TargetCase getTargetCase() { - return TargetCase.forNumber(targetCase_); + public TargetCase + getTargetCase() { + return TargetCase.forNumber( + targetCase_); } private int hierarchyCase_ = 0; private java.lang.Object hierarchy_; - public enum HierarchyCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { FULL_HIERARCHY(3), HIERARCHY_DEPTH(4), HIERARCHY_NOT_SET(0); private final int value; - private HierarchyCase(int value) { this.value = value; } @@ -256,38 +230,33 @@ public static HierarchyCase valueOf(int value) { public static HierarchyCase forNumber(int value) { switch (value) { - case 3: - return FULL_HIERARCHY; - case 4: - return HIERARCHY_DEPTH; - case 0: - return HIERARCHY_NOT_SET; - default: - return null; + case 3: return FULL_HIERARCHY; + case 4: return HIERARCHY_DEPTH; + case 0: return HIERARCHY_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public HierarchyCase getHierarchyCase() { - return HierarchyCase.forNumber(hierarchyCase_); + public HierarchyCase + getHierarchyCase() { + return HierarchyCase.forNumber( + hierarchyCase_); } private int dataObjectCase_ = 0; private java.lang.Object dataObject_; - public enum DataObjectCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { ORACLE_RDBMS(100), MYSQL_RDBMS(101), + POSTGRESQL_RDBMS(102), DATAOBJECT_NOT_SET(0); private final int value; - private DataObjectCase(int value) { this.value = value; } @@ -303,40 +272,33 @@ public static DataObjectCase valueOf(int value) { public static DataObjectCase forNumber(int value) { switch (value) { - case 100: - return ORACLE_RDBMS; - case 101: - return MYSQL_RDBMS; - case 0: - return DATAOBJECT_NOT_SET; - default: - return null; + case 100: return ORACLE_RDBMS; + case 101: return MYSQL_RDBMS; + case 102: return POSTGRESQL_RDBMS; + case 0: return DATAOBJECT_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public DataObjectCase getDataObjectCase() { - return DataObjectCase.forNumber(dataObjectCase_); + public DataObjectCase + getDataObjectCase() { + return DataObjectCase.forNumber( + dataObjectCase_); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The parent resource of the connection profile type. Must be in the
    * format `projects/*/locations/*`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -345,32 +307,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 connection profile type. Must be in the
    * format `projects/*/locations/*`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -380,14 +340,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int CONNECTION_PROFILE_FIELD_NUMBER = 200; /** - * - * *
    * An ad-hoc connection profile configuration.
    * 
* * .google.cloud.datastream.v1.ConnectionProfile connection_profile = 200; - * * @return Whether the connectionProfile field is set. */ @java.lang.Override @@ -395,26 +352,21 @@ public boolean hasConnectionProfile() { return targetCase_ == 200; } /** - * - * *
    * An ad-hoc connection profile configuration.
    * 
* * .google.cloud.datastream.v1.ConnectionProfile connection_profile = 200; - * * @return The connectionProfile. */ @java.lang.Override public com.google.cloud.datastream.v1.ConnectionProfile getConnectionProfile() { if (targetCase_ == 200) { - return (com.google.cloud.datastream.v1.ConnectionProfile) target_; + return (com.google.cloud.datastream.v1.ConnectionProfile) target_; } return com.google.cloud.datastream.v1.ConnectionProfile.getDefaultInstance(); } /** - * - * *
    * An ad-hoc connection profile configuration.
    * 
@@ -424,35 +376,29 @@ public com.google.cloud.datastream.v1.ConnectionProfile getConnectionProfile() { @java.lang.Override public com.google.cloud.datastream.v1.ConnectionProfileOrBuilder getConnectionProfileOrBuilder() { if (targetCase_ == 200) { - return (com.google.cloud.datastream.v1.ConnectionProfile) target_; + return (com.google.cloud.datastream.v1.ConnectionProfile) target_; } return com.google.cloud.datastream.v1.ConnectionProfile.getDefaultInstance(); } public static final int CONNECTION_PROFILE_NAME_FIELD_NUMBER = 201; /** - * - * *
    * A reference to an existing connection profile.
    * 
* * string connection_profile_name = 201; - * * @return Whether the connectionProfileName field is set. */ public boolean hasConnectionProfileName() { return targetCase_ == 201; } /** - * - * *
    * A reference to an existing connection profile.
    * 
* * string connection_profile_name = 201; - * * @return The connectionProfileName. */ public java.lang.String getConnectionProfileName() { @@ -463,7 +409,8 @@ public java.lang.String getConnectionProfileName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (targetCase_ == 201) { target_ = s; @@ -472,24 +419,23 @@ public java.lang.String getConnectionProfileName() { } } /** - * - * *
    * A reference to an existing connection profile.
    * 
* * string connection_profile_name = 201; - * * @return The bytes for connectionProfileName. */ - public com.google.protobuf.ByteString getConnectionProfileNameBytes() { + public com.google.protobuf.ByteString + getConnectionProfileNameBytes() { java.lang.Object ref = ""; if (targetCase_ == 201) { 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); if (targetCase_ == 201) { target_ = b; } @@ -501,15 +447,12 @@ public com.google.protobuf.ByteString getConnectionProfileNameBytes() { public static final int FULL_HIERARCHY_FIELD_NUMBER = 3; /** - * - * *
    * Whether to retrieve the full hierarchy of data objects (TRUE) or only the
    * current level (FALSE).
    * 
* * bool full_hierarchy = 3; - * * @return Whether the fullHierarchy field is set. */ @java.lang.Override @@ -517,15 +460,12 @@ public boolean hasFullHierarchy() { return hierarchyCase_ == 3; } /** - * - * *
    * Whether to retrieve the full hierarchy of data objects (TRUE) or only the
    * current level (FALSE).
    * 
* * bool full_hierarchy = 3; - * * @return The fullHierarchy. */ @java.lang.Override @@ -538,14 +478,11 @@ public boolean getFullHierarchy() { public static final int HIERARCHY_DEPTH_FIELD_NUMBER = 4; /** - * - * *
    * The number of hierarchy levels below the current level to be retrieved.
    * 
* * int32 hierarchy_depth = 4; - * * @return Whether the hierarchyDepth field is set. */ @java.lang.Override @@ -553,14 +490,11 @@ public boolean hasHierarchyDepth() { return hierarchyCase_ == 4; } /** - * - * *
    * The number of hierarchy levels below the current level to be retrieved.
    * 
* * int32 hierarchy_depth = 4; - * * @return The hierarchyDepth. */ @java.lang.Override @@ -573,14 +507,11 @@ public int getHierarchyDepth() { public static final int ORACLE_RDBMS_FIELD_NUMBER = 100; /** - * - * *
    * Oracle RDBMS to enrich with child data objects and metadata.
    * 
* * .google.cloud.datastream.v1.OracleRdbms oracle_rdbms = 100; - * * @return Whether the oracleRdbms field is set. */ @java.lang.Override @@ -588,26 +519,21 @@ public boolean hasOracleRdbms() { return dataObjectCase_ == 100; } /** - * - * *
    * Oracle RDBMS to enrich with child data objects and metadata.
    * 
* * .google.cloud.datastream.v1.OracleRdbms oracle_rdbms = 100; - * * @return The oracleRdbms. */ @java.lang.Override public com.google.cloud.datastream.v1.OracleRdbms getOracleRdbms() { if (dataObjectCase_ == 100) { - return (com.google.cloud.datastream.v1.OracleRdbms) dataObject_; + return (com.google.cloud.datastream.v1.OracleRdbms) dataObject_; } return com.google.cloud.datastream.v1.OracleRdbms.getDefaultInstance(); } /** - * - * *
    * Oracle RDBMS to enrich with child data objects and metadata.
    * 
@@ -617,21 +543,18 @@ public com.google.cloud.datastream.v1.OracleRdbms getOracleRdbms() { @java.lang.Override public com.google.cloud.datastream.v1.OracleRdbmsOrBuilder getOracleRdbmsOrBuilder() { if (dataObjectCase_ == 100) { - return (com.google.cloud.datastream.v1.OracleRdbms) dataObject_; + return (com.google.cloud.datastream.v1.OracleRdbms) dataObject_; } return com.google.cloud.datastream.v1.OracleRdbms.getDefaultInstance(); } public static final int MYSQL_RDBMS_FIELD_NUMBER = 101; /** - * - * *
    * MySQL RDBMS to enrich with child data objects and metadata.
    * 
* * .google.cloud.datastream.v1.MysqlRdbms mysql_rdbms = 101; - * * @return Whether the mysqlRdbms field is set. */ @java.lang.Override @@ -639,26 +562,21 @@ public boolean hasMysqlRdbms() { return dataObjectCase_ == 101; } /** - * - * *
    * MySQL RDBMS to enrich with child data objects and metadata.
    * 
* * .google.cloud.datastream.v1.MysqlRdbms mysql_rdbms = 101; - * * @return The mysqlRdbms. */ @java.lang.Override public com.google.cloud.datastream.v1.MysqlRdbms getMysqlRdbms() { if (dataObjectCase_ == 101) { - return (com.google.cloud.datastream.v1.MysqlRdbms) dataObject_; + return (com.google.cloud.datastream.v1.MysqlRdbms) dataObject_; } return com.google.cloud.datastream.v1.MysqlRdbms.getDefaultInstance(); } /** - * - * *
    * MySQL RDBMS to enrich with child data objects and metadata.
    * 
@@ -668,13 +586,55 @@ public com.google.cloud.datastream.v1.MysqlRdbms getMysqlRdbms() { @java.lang.Override public com.google.cloud.datastream.v1.MysqlRdbmsOrBuilder getMysqlRdbmsOrBuilder() { if (dataObjectCase_ == 101) { - return (com.google.cloud.datastream.v1.MysqlRdbms) dataObject_; + return (com.google.cloud.datastream.v1.MysqlRdbms) dataObject_; } return com.google.cloud.datastream.v1.MysqlRdbms.getDefaultInstance(); } - private byte memoizedIsInitialized = -1; + public static final int POSTGRESQL_RDBMS_FIELD_NUMBER = 102; + /** + *
+   * PostgreSQL RDBMS to enrich with child data objects and metadata.
+   * 
+ * + * .google.cloud.datastream.v1.PostgresqlRdbms postgresql_rdbms = 102; + * @return Whether the postgresqlRdbms field is set. + */ + @java.lang.Override + public boolean hasPostgresqlRdbms() { + return dataObjectCase_ == 102; + } + /** + *
+   * PostgreSQL RDBMS to enrich with child data objects and metadata.
+   * 
+ * + * .google.cloud.datastream.v1.PostgresqlRdbms postgresql_rdbms = 102; + * @return The postgresqlRdbms. + */ + @java.lang.Override + public com.google.cloud.datastream.v1.PostgresqlRdbms getPostgresqlRdbms() { + if (dataObjectCase_ == 102) { + return (com.google.cloud.datastream.v1.PostgresqlRdbms) dataObject_; + } + return com.google.cloud.datastream.v1.PostgresqlRdbms.getDefaultInstance(); + } + /** + *
+   * PostgreSQL RDBMS to enrich with child data objects and metadata.
+   * 
+ * + * .google.cloud.datastream.v1.PostgresqlRdbms postgresql_rdbms = 102; + */ + @java.lang.Override + public com.google.cloud.datastream.v1.PostgresqlRdbmsOrBuilder getPostgresqlRdbmsOrBuilder() { + if (dataObjectCase_ == 102) { + return (com.google.cloud.datastream.v1.PostgresqlRdbms) dataObject_; + } + return com.google.cloud.datastream.v1.PostgresqlRdbms.getDefaultInstance(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -686,15 +646,18 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } if (hierarchyCase_ == 3) { - output.writeBool(3, (boolean) ((java.lang.Boolean) hierarchy_)); + output.writeBool( + 3, (boolean)((java.lang.Boolean) hierarchy_)); } if (hierarchyCase_ == 4) { - output.writeInt32(4, (int) ((java.lang.Integer) hierarchy_)); + output.writeInt32( + 4, (int)((java.lang.Integer) hierarchy_)); } if (dataObjectCase_ == 100) { output.writeMessage(100, (com.google.cloud.datastream.v1.OracleRdbms) dataObject_); @@ -702,6 +665,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (dataObjectCase_ == 101) { output.writeMessage(101, (com.google.cloud.datastream.v1.MysqlRdbms) dataObject_); } + if (dataObjectCase_ == 102) { + output.writeMessage(102, (com.google.cloud.datastream.v1.PostgresqlRdbms) dataObject_); + } if (targetCase_ == 200) { output.writeMessage(200, (com.google.cloud.datastream.v1.ConnectionProfile) target_); } @@ -721,29 +687,30 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (hierarchyCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeBoolSize( - 3, (boolean) ((java.lang.Boolean) hierarchy_)); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize( + 3, (boolean)((java.lang.Boolean) hierarchy_)); } if (hierarchyCase_ == 4) { - size += - com.google.protobuf.CodedOutputStream.computeInt32Size( - 4, (int) ((java.lang.Integer) hierarchy_)); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size( + 4, (int)((java.lang.Integer) hierarchy_)); } if (dataObjectCase_ == 100) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 100, (com.google.cloud.datastream.v1.OracleRdbms) dataObject_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(100, (com.google.cloud.datastream.v1.OracleRdbms) dataObject_); } if (dataObjectCase_ == 101) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 101, (com.google.cloud.datastream.v1.MysqlRdbms) dataObject_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(101, (com.google.cloud.datastream.v1.MysqlRdbms) dataObject_); + } + if (dataObjectCase_ == 102) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(102, (com.google.cloud.datastream.v1.PostgresqlRdbms) dataObject_); } if (targetCase_ == 200) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 200, (com.google.cloud.datastream.v1.ConnectionProfile) target_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(200, (com.google.cloud.datastream.v1.ConnectionProfile) target_); } if (targetCase_ == 201) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(201, target_); @@ -756,22 +723,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.datastream.v1.DiscoverConnectionProfileRequest)) { return super.equals(obj); } - com.google.cloud.datastream.v1.DiscoverConnectionProfileRequest other = - (com.google.cloud.datastream.v1.DiscoverConnectionProfileRequest) obj; + com.google.cloud.datastream.v1.DiscoverConnectionProfileRequest other = (com.google.cloud.datastream.v1.DiscoverConnectionProfileRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (!getTargetCase().equals(other.getTargetCase())) return false; switch (targetCase_) { case 200: - if (!getConnectionProfile().equals(other.getConnectionProfile())) return false; + if (!getConnectionProfile() + .equals(other.getConnectionProfile())) return false; break; case 201: - if (!getConnectionProfileName().equals(other.getConnectionProfileName())) return false; + if (!getConnectionProfileName() + .equals(other.getConnectionProfileName())) return false; break; case 0: default: @@ -779,10 +748,12 @@ public boolean equals(final java.lang.Object obj) { if (!getHierarchyCase().equals(other.getHierarchyCase())) return false; switch (hierarchyCase_) { case 3: - if (getFullHierarchy() != other.getFullHierarchy()) return false; + if (getFullHierarchy() + != other.getFullHierarchy()) return false; break; case 4: - if (getHierarchyDepth() != other.getHierarchyDepth()) return false; + if (getHierarchyDepth() + != other.getHierarchyDepth()) return false; break; case 0: default: @@ -790,10 +761,16 @@ public boolean equals(final java.lang.Object obj) { if (!getDataObjectCase().equals(other.getDataObjectCase())) return false; switch (dataObjectCase_) { case 100: - if (!getOracleRdbms().equals(other.getOracleRdbms())) return false; + if (!getOracleRdbms() + .equals(other.getOracleRdbms())) return false; break; case 101: - if (!getMysqlRdbms().equals(other.getMysqlRdbms())) return false; + if (!getMysqlRdbms() + .equals(other.getMysqlRdbms())) return false; + break; + case 102: + if (!getPostgresqlRdbms() + .equals(other.getPostgresqlRdbms())) return false; break; case 0: default: @@ -826,7 +803,8 @@ public int hashCode() { switch (hierarchyCase_) { case 3: hash = (37 * hash) + FULL_HIERARCHY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getFullHierarchy()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getFullHierarchy()); break; case 4: hash = (37 * hash) + HIERARCHY_DEPTH_FIELD_NUMBER; @@ -844,6 +822,10 @@ public int hashCode() { hash = (37 * hash) + MYSQL_RDBMS_FIELD_NUMBER; hash = (53 * hash) + getMysqlRdbms().hashCode(); break; + case 102: + hash = (37 * hash) + POSTGRESQL_RDBMS_FIELD_NUMBER; + hash = (53 * hash) + getPostgresqlRdbms().hashCode(); + break; case 0: default: } @@ -853,127 +835,117 @@ public int hashCode() { } public static com.google.cloud.datastream.v1.DiscoverConnectionProfileRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.DiscoverConnectionProfileRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.DiscoverConnectionProfileRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.DiscoverConnectionProfileRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1.DiscoverConnectionProfileRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.datastream.v1.DiscoverConnectionProfileRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.DiscoverConnectionProfileRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1.DiscoverConnectionProfileRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.DiscoverConnectionProfileRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.DiscoverConnectionProfileRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1.DiscoverConnectionProfileRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.DiscoverConnectionProfileRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.DiscoverConnectionProfileRequest 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.datastream.v1.DiscoverConnectionProfileRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.DiscoverConnectionProfileRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datastream.v1.DiscoverConnectionProfileRequest prototype) { + public static Builder newBuilder(com.google.cloud.datastream.v1.DiscoverConnectionProfileRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for 'discover' ConnectionProfile request.
    * 
* * Protobuf type {@code google.cloud.datastream.v1.DiscoverConnectionProfileRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1.DiscoverConnectionProfileRequest) com.google.cloud.datastream.v1.DiscoverConnectionProfileRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_DiscoverConnectionProfileRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_DiscoverConnectionProfileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_DiscoverConnectionProfileRequest_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_DiscoverConnectionProfileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.DiscoverConnectionProfileRequest.class, - com.google.cloud.datastream.v1.DiscoverConnectionProfileRequest.Builder.class); + com.google.cloud.datastream.v1.DiscoverConnectionProfileRequest.class, com.google.cloud.datastream.v1.DiscoverConnectionProfileRequest.Builder.class); } // Construct using com.google.cloud.datastream.v1.DiscoverConnectionProfileRequest.newBuilder() @@ -981,15 +953,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1005,14 +978,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_DiscoverConnectionProfileRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_DiscoverConnectionProfileRequest_descriptor; } @java.lang.Override - public com.google.cloud.datastream.v1.DiscoverConnectionProfileRequest - getDefaultInstanceForType() { + public com.google.cloud.datastream.v1.DiscoverConnectionProfileRequest getDefaultInstanceForType() { return com.google.cloud.datastream.v1.DiscoverConnectionProfileRequest.getDefaultInstance(); } @@ -1027,8 +999,7 @@ public com.google.cloud.datastream.v1.DiscoverConnectionProfileRequest build() { @java.lang.Override public com.google.cloud.datastream.v1.DiscoverConnectionProfileRequest buildPartial() { - com.google.cloud.datastream.v1.DiscoverConnectionProfileRequest result = - new com.google.cloud.datastream.v1.DiscoverConnectionProfileRequest(this); + com.google.cloud.datastream.v1.DiscoverConnectionProfileRequest result = new com.google.cloud.datastream.v1.DiscoverConnectionProfileRequest(this); result.parent_ = parent_; if (targetCase_ == 200) { if (connectionProfileBuilder_ == null) { @@ -1060,6 +1031,13 @@ public com.google.cloud.datastream.v1.DiscoverConnectionProfileRequest buildPart result.dataObject_ = mysqlRdbmsBuilder_.build(); } } + if (dataObjectCase_ == 102) { + if (postgresqlRdbmsBuilder_ == null) { + result.dataObject_ = dataObject_; + } else { + result.dataObject_ = postgresqlRdbmsBuilder_.build(); + } + } result.targetCase_ = targetCase_; result.hierarchyCase_ = hierarchyCase_; result.dataObjectCase_ = dataObjectCase_; @@ -1071,103 +1049,94 @@ public com.google.cloud.datastream.v1.DiscoverConnectionProfileRequest buildPart public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1.DiscoverConnectionProfileRequest) { - return mergeFrom((com.google.cloud.datastream.v1.DiscoverConnectionProfileRequest) other); + return mergeFrom((com.google.cloud.datastream.v1.DiscoverConnectionProfileRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.datastream.v1.DiscoverConnectionProfileRequest other) { - if (other - == com.google.cloud.datastream.v1.DiscoverConnectionProfileRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.datastream.v1.DiscoverConnectionProfileRequest other) { + if (other == com.google.cloud.datastream.v1.DiscoverConnectionProfileRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); } switch (other.getTargetCase()) { - case CONNECTION_PROFILE: - { - mergeConnectionProfile(other.getConnectionProfile()); - break; - } - case CONNECTION_PROFILE_NAME: - { - targetCase_ = 201; - target_ = other.target_; - onChanged(); - break; - } - case TARGET_NOT_SET: - { - break; - } + case CONNECTION_PROFILE: { + mergeConnectionProfile(other.getConnectionProfile()); + break; + } + case CONNECTION_PROFILE_NAME: { + targetCase_ = 201; + target_ = other.target_; + onChanged(); + break; + } + case TARGET_NOT_SET: { + break; + } } switch (other.getHierarchyCase()) { - case FULL_HIERARCHY: - { - setFullHierarchy(other.getFullHierarchy()); - break; - } - case HIERARCHY_DEPTH: - { - setHierarchyDepth(other.getHierarchyDepth()); - break; - } - case HIERARCHY_NOT_SET: - { - break; - } + case FULL_HIERARCHY: { + setFullHierarchy(other.getFullHierarchy()); + break; + } + case HIERARCHY_DEPTH: { + setHierarchyDepth(other.getHierarchyDepth()); + break; + } + case HIERARCHY_NOT_SET: { + break; + } } switch (other.getDataObjectCase()) { - case ORACLE_RDBMS: - { - mergeOracleRdbms(other.getOracleRdbms()); - break; - } - case MYSQL_RDBMS: - { - mergeMysqlRdbms(other.getMysqlRdbms()); - break; - } - case DATAOBJECT_NOT_SET: - { - break; - } + case ORACLE_RDBMS: { + mergeOracleRdbms(other.getOracleRdbms()); + break; + } + case MYSQL_RDBMS: { + mergeMysqlRdbms(other.getMysqlRdbms()); + break; + } + case POSTGRESQL_RDBMS: { + mergePostgresqlRdbms(other.getPostgresqlRdbms()); + break; + } + case DATAOBJECT_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -1188,9 +1157,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datastream.v1.DiscoverConnectionProfileRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datastream.v1.DiscoverConnectionProfileRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1199,12 +1166,12 @@ public Builder mergeFrom( } return this; } - private int targetCase_ = 0; private java.lang.Object target_; - - public TargetCase getTargetCase() { - return TargetCase.forNumber(targetCase_); + public TargetCase + getTargetCase() { + return TargetCase.forNumber( + targetCase_); } public Builder clearTarget() { @@ -1216,9 +1183,10 @@ public Builder clearTarget() { private int hierarchyCase_ = 0; private java.lang.Object hierarchy_; - - public HierarchyCase getHierarchyCase() { - return HierarchyCase.forNumber(hierarchyCase_); + public HierarchyCase + getHierarchyCase() { + return HierarchyCase.forNumber( + hierarchyCase_); } public Builder clearHierarchy() { @@ -1230,9 +1198,10 @@ public Builder clearHierarchy() { private int dataObjectCase_ = 0; private java.lang.Object dataObject_; - - public DataObjectCase getDataObjectCase() { - return DataObjectCase.forNumber(dataObjectCase_); + public DataObjectCase + getDataObjectCase() { + return DataObjectCase.forNumber( + dataObjectCase_); } public Builder clearDataObject() { @@ -1242,25 +1211,22 @@ public Builder clearDataObject() { return this; } + private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent resource of the connection profile type. Must be in the
      * format `projects/*/locations/*`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -1269,24 +1235,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent resource of the connection profile type. Must be in the
      * format `projects/*/locations/*`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -1294,89 +1257,70 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent resource of the connection profile type. Must be in the
      * format `projects/*/locations/*`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The parent resource of the connection profile type. Must be in the
      * format `projects/*/locations/*`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The parent resource of the connection profile type. Must be in the
      * format `projects/*/locations/*`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.ConnectionProfile, - com.google.cloud.datastream.v1.ConnectionProfile.Builder, - com.google.cloud.datastream.v1.ConnectionProfileOrBuilder> - connectionProfileBuilder_; + com.google.cloud.datastream.v1.ConnectionProfile, com.google.cloud.datastream.v1.ConnectionProfile.Builder, com.google.cloud.datastream.v1.ConnectionProfileOrBuilder> connectionProfileBuilder_; /** - * - * *
      * An ad-hoc connection profile configuration.
      * 
* * .google.cloud.datastream.v1.ConnectionProfile connection_profile = 200; - * * @return Whether the connectionProfile field is set. */ @java.lang.Override @@ -1384,14 +1328,11 @@ public boolean hasConnectionProfile() { return targetCase_ == 200; } /** - * - * *
      * An ad-hoc connection profile configuration.
      * 
* * .google.cloud.datastream.v1.ConnectionProfile connection_profile = 200; - * * @return The connectionProfile. */ @java.lang.Override @@ -1409,8 +1350,6 @@ public com.google.cloud.datastream.v1.ConnectionProfile getConnectionProfile() { } } /** - * - * *
      * An ad-hoc connection profile configuration.
      * 
@@ -1431,8 +1370,6 @@ public Builder setConnectionProfile(com.google.cloud.datastream.v1.ConnectionPro return this; } /** - * - * *
      * An ad-hoc connection profile configuration.
      * 
@@ -1451,8 +1388,6 @@ public Builder setConnectionProfile( return this; } /** - * - * *
      * An ad-hoc connection profile configuration.
      * 
@@ -1461,13 +1396,10 @@ public Builder setConnectionProfile( */ public Builder mergeConnectionProfile(com.google.cloud.datastream.v1.ConnectionProfile value) { if (connectionProfileBuilder_ == null) { - if (targetCase_ == 200 - && target_ != com.google.cloud.datastream.v1.ConnectionProfile.getDefaultInstance()) { - target_ = - com.google.cloud.datastream.v1.ConnectionProfile.newBuilder( - (com.google.cloud.datastream.v1.ConnectionProfile) target_) - .mergeFrom(value) - .buildPartial(); + if (targetCase_ == 200 && + target_ != com.google.cloud.datastream.v1.ConnectionProfile.getDefaultInstance()) { + target_ = com.google.cloud.datastream.v1.ConnectionProfile.newBuilder((com.google.cloud.datastream.v1.ConnectionProfile) target_) + .mergeFrom(value).buildPartial(); } else { target_ = value; } @@ -1483,8 +1415,6 @@ public Builder mergeConnectionProfile(com.google.cloud.datastream.v1.ConnectionP return this; } /** - * - * *
      * An ad-hoc connection profile configuration.
      * 
@@ -1508,8 +1438,6 @@ public Builder clearConnectionProfile() { return this; } /** - * - * *
      * An ad-hoc connection profile configuration.
      * 
@@ -1520,8 +1448,6 @@ public com.google.cloud.datastream.v1.ConnectionProfile.Builder getConnectionPro return getConnectionProfileFieldBuilder().getBuilder(); } /** - * - * *
      * An ad-hoc connection profile configuration.
      * 
@@ -1529,8 +1455,7 @@ public com.google.cloud.datastream.v1.ConnectionProfile.Builder getConnectionPro * .google.cloud.datastream.v1.ConnectionProfile connection_profile = 200; */ @java.lang.Override - public com.google.cloud.datastream.v1.ConnectionProfileOrBuilder - getConnectionProfileOrBuilder() { + public com.google.cloud.datastream.v1.ConnectionProfileOrBuilder getConnectionProfileOrBuilder() { if ((targetCase_ == 200) && (connectionProfileBuilder_ != null)) { return connectionProfileBuilder_.getMessageOrBuilder(); } else { @@ -1541,8 +1466,6 @@ public com.google.cloud.datastream.v1.ConnectionProfile.Builder getConnectionPro } } /** - * - * *
      * An ad-hoc connection profile configuration.
      * 
@@ -1550,39 +1473,30 @@ public com.google.cloud.datastream.v1.ConnectionProfile.Builder getConnectionPro * .google.cloud.datastream.v1.ConnectionProfile connection_profile = 200; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.ConnectionProfile, - com.google.cloud.datastream.v1.ConnectionProfile.Builder, - com.google.cloud.datastream.v1.ConnectionProfileOrBuilder> + com.google.cloud.datastream.v1.ConnectionProfile, com.google.cloud.datastream.v1.ConnectionProfile.Builder, com.google.cloud.datastream.v1.ConnectionProfileOrBuilder> getConnectionProfileFieldBuilder() { if (connectionProfileBuilder_ == null) { if (!(targetCase_ == 200)) { target_ = com.google.cloud.datastream.v1.ConnectionProfile.getDefaultInstance(); } - connectionProfileBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.ConnectionProfile, - com.google.cloud.datastream.v1.ConnectionProfile.Builder, - com.google.cloud.datastream.v1.ConnectionProfileOrBuilder>( + connectionProfileBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1.ConnectionProfile, com.google.cloud.datastream.v1.ConnectionProfile.Builder, com.google.cloud.datastream.v1.ConnectionProfileOrBuilder>( (com.google.cloud.datastream.v1.ConnectionProfile) target_, getParentForChildren(), isClean()); target_ = null; } targetCase_ = 200; - onChanged(); - ; + onChanged();; return connectionProfileBuilder_; } /** - * - * *
      * A reference to an existing connection profile.
      * 
* * string connection_profile_name = 201; - * * @return Whether the connectionProfileName field is set. */ @java.lang.Override @@ -1590,14 +1504,11 @@ public boolean hasConnectionProfileName() { return targetCase_ == 201; } /** - * - * *
      * A reference to an existing connection profile.
      * 
* * string connection_profile_name = 201; - * * @return The connectionProfileName. */ @java.lang.Override @@ -1607,7 +1518,8 @@ public java.lang.String getConnectionProfileName() { 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(); if (targetCase_ == 201) { target_ = s; @@ -1618,25 +1530,24 @@ public java.lang.String getConnectionProfileName() { } } /** - * - * *
      * A reference to an existing connection profile.
      * 
* * string connection_profile_name = 201; - * * @return The bytes for connectionProfileName. */ @java.lang.Override - public com.google.protobuf.ByteString getConnectionProfileNameBytes() { + public com.google.protobuf.ByteString + getConnectionProfileNameBytes() { java.lang.Object ref = ""; if (targetCase_ == 201) { 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); if (targetCase_ == 201) { target_ = b; } @@ -1646,35 +1557,30 @@ public com.google.protobuf.ByteString getConnectionProfileNameBytes() { } } /** - * - * *
      * A reference to an existing connection profile.
      * 
* * string connection_profile_name = 201; - * * @param value The connectionProfileName to set. * @return This builder for chaining. */ - public Builder setConnectionProfileName(java.lang.String value) { + public Builder setConnectionProfileName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - targetCase_ = 201; + throw new NullPointerException(); + } + targetCase_ = 201; target_ = value; onChanged(); return this; } /** - * - * *
      * A reference to an existing connection profile.
      * 
* * string connection_profile_name = 201; - * * @return This builder for chaining. */ public Builder clearConnectionProfileName() { @@ -1686,22 +1592,20 @@ public Builder clearConnectionProfileName() { return this; } /** - * - * *
      * A reference to an existing connection profile.
      * 
* * string connection_profile_name = 201; - * * @param value The bytes for connectionProfileName to set. * @return This builder for chaining. */ - public Builder setConnectionProfileNameBytes(com.google.protobuf.ByteString value) { + public Builder setConnectionProfileNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); targetCase_ = 201; target_ = value; onChanged(); @@ -1709,30 +1613,24 @@ public Builder setConnectionProfileNameBytes(com.google.protobuf.ByteString valu } /** - * - * *
      * Whether to retrieve the full hierarchy of data objects (TRUE) or only the
      * current level (FALSE).
      * 
* * bool full_hierarchy = 3; - * * @return Whether the fullHierarchy field is set. */ public boolean hasFullHierarchy() { return hierarchyCase_ == 3; } /** - * - * *
      * Whether to retrieve the full hierarchy of data objects (TRUE) or only the
      * current level (FALSE).
      * 
* * bool full_hierarchy = 3; - * * @return The fullHierarchy. */ public boolean getFullHierarchy() { @@ -1742,15 +1640,12 @@ public boolean getFullHierarchy() { return false; } /** - * - * *
      * Whether to retrieve the full hierarchy of data objects (TRUE) or only the
      * current level (FALSE).
      * 
* * bool full_hierarchy = 3; - * * @param value The fullHierarchy to set. * @return This builder for chaining. */ @@ -1761,15 +1656,12 @@ public Builder setFullHierarchy(boolean value) { return this; } /** - * - * *
      * Whether to retrieve the full hierarchy of data objects (TRUE) or only the
      * current level (FALSE).
      * 
* * bool full_hierarchy = 3; - * * @return This builder for chaining. */ public Builder clearFullHierarchy() { @@ -1782,28 +1674,22 @@ public Builder clearFullHierarchy() { } /** - * - * *
      * The number of hierarchy levels below the current level to be retrieved.
      * 
* * int32 hierarchy_depth = 4; - * * @return Whether the hierarchyDepth field is set. */ public boolean hasHierarchyDepth() { return hierarchyCase_ == 4; } /** - * - * *
      * The number of hierarchy levels below the current level to be retrieved.
      * 
* * int32 hierarchy_depth = 4; - * * @return The hierarchyDepth. */ public int getHierarchyDepth() { @@ -1813,14 +1699,11 @@ public int getHierarchyDepth() { return 0; } /** - * - * *
      * The number of hierarchy levels below the current level to be retrieved.
      * 
* * int32 hierarchy_depth = 4; - * * @param value The hierarchyDepth to set. * @return This builder for chaining. */ @@ -1831,14 +1714,11 @@ public Builder setHierarchyDepth(int value) { return this; } /** - * - * *
      * The number of hierarchy levels below the current level to be retrieved.
      * 
* * int32 hierarchy_depth = 4; - * * @return This builder for chaining. */ public Builder clearHierarchyDepth() { @@ -1851,19 +1731,13 @@ public Builder clearHierarchyDepth() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.OracleRdbms, - com.google.cloud.datastream.v1.OracleRdbms.Builder, - com.google.cloud.datastream.v1.OracleRdbmsOrBuilder> - oracleRdbmsBuilder_; + com.google.cloud.datastream.v1.OracleRdbms, com.google.cloud.datastream.v1.OracleRdbms.Builder, com.google.cloud.datastream.v1.OracleRdbmsOrBuilder> oracleRdbmsBuilder_; /** - * - * *
      * Oracle RDBMS to enrich with child data objects and metadata.
      * 
* * .google.cloud.datastream.v1.OracleRdbms oracle_rdbms = 100; - * * @return Whether the oracleRdbms field is set. */ @java.lang.Override @@ -1871,14 +1745,11 @@ public boolean hasOracleRdbms() { return dataObjectCase_ == 100; } /** - * - * *
      * Oracle RDBMS to enrich with child data objects and metadata.
      * 
* * .google.cloud.datastream.v1.OracleRdbms oracle_rdbms = 100; - * * @return The oracleRdbms. */ @java.lang.Override @@ -1896,8 +1767,6 @@ public com.google.cloud.datastream.v1.OracleRdbms getOracleRdbms() { } } /** - * - * *
      * Oracle RDBMS to enrich with child data objects and metadata.
      * 
@@ -1918,8 +1787,6 @@ public Builder setOracleRdbms(com.google.cloud.datastream.v1.OracleRdbms value) return this; } /** - * - * *
      * Oracle RDBMS to enrich with child data objects and metadata.
      * 
@@ -1938,8 +1805,6 @@ public Builder setOracleRdbms( return this; } /** - * - * *
      * Oracle RDBMS to enrich with child data objects and metadata.
      * 
@@ -1948,13 +1813,10 @@ public Builder setOracleRdbms( */ public Builder mergeOracleRdbms(com.google.cloud.datastream.v1.OracleRdbms value) { if (oracleRdbmsBuilder_ == null) { - if (dataObjectCase_ == 100 - && dataObject_ != com.google.cloud.datastream.v1.OracleRdbms.getDefaultInstance()) { - dataObject_ = - com.google.cloud.datastream.v1.OracleRdbms.newBuilder( - (com.google.cloud.datastream.v1.OracleRdbms) dataObject_) - .mergeFrom(value) - .buildPartial(); + if (dataObjectCase_ == 100 && + dataObject_ != com.google.cloud.datastream.v1.OracleRdbms.getDefaultInstance()) { + dataObject_ = com.google.cloud.datastream.v1.OracleRdbms.newBuilder((com.google.cloud.datastream.v1.OracleRdbms) dataObject_) + .mergeFrom(value).buildPartial(); } else { dataObject_ = value; } @@ -1970,8 +1832,6 @@ public Builder mergeOracleRdbms(com.google.cloud.datastream.v1.OracleRdbms value return this; } /** - * - * *
      * Oracle RDBMS to enrich with child data objects and metadata.
      * 
@@ -1995,8 +1855,6 @@ public Builder clearOracleRdbms() { return this; } /** - * - * *
      * Oracle RDBMS to enrich with child data objects and metadata.
      * 
@@ -2007,8 +1865,6 @@ public com.google.cloud.datastream.v1.OracleRdbms.Builder getOracleRdbmsBuilder( return getOracleRdbmsFieldBuilder().getBuilder(); } /** - * - * *
      * Oracle RDBMS to enrich with child data objects and metadata.
      * 
@@ -2027,8 +1883,6 @@ public com.google.cloud.datastream.v1.OracleRdbmsOrBuilder getOracleRdbmsOrBuild } } /** - * - * *
      * Oracle RDBMS to enrich with child data objects and metadata.
      * 
@@ -2036,44 +1890,32 @@ public com.google.cloud.datastream.v1.OracleRdbmsOrBuilder getOracleRdbmsOrBuild * .google.cloud.datastream.v1.OracleRdbms oracle_rdbms = 100; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.OracleRdbms, - com.google.cloud.datastream.v1.OracleRdbms.Builder, - com.google.cloud.datastream.v1.OracleRdbmsOrBuilder> + com.google.cloud.datastream.v1.OracleRdbms, com.google.cloud.datastream.v1.OracleRdbms.Builder, com.google.cloud.datastream.v1.OracleRdbmsOrBuilder> getOracleRdbmsFieldBuilder() { if (oracleRdbmsBuilder_ == null) { if (!(dataObjectCase_ == 100)) { dataObject_ = com.google.cloud.datastream.v1.OracleRdbms.getDefaultInstance(); } - oracleRdbmsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.OracleRdbms, - com.google.cloud.datastream.v1.OracleRdbms.Builder, - com.google.cloud.datastream.v1.OracleRdbmsOrBuilder>( + oracleRdbmsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1.OracleRdbms, com.google.cloud.datastream.v1.OracleRdbms.Builder, com.google.cloud.datastream.v1.OracleRdbmsOrBuilder>( (com.google.cloud.datastream.v1.OracleRdbms) dataObject_, getParentForChildren(), isClean()); dataObject_ = null; } dataObjectCase_ = 100; - onChanged(); - ; + onChanged();; return oracleRdbmsBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.MysqlRdbms, - com.google.cloud.datastream.v1.MysqlRdbms.Builder, - com.google.cloud.datastream.v1.MysqlRdbmsOrBuilder> - mysqlRdbmsBuilder_; + com.google.cloud.datastream.v1.MysqlRdbms, com.google.cloud.datastream.v1.MysqlRdbms.Builder, com.google.cloud.datastream.v1.MysqlRdbmsOrBuilder> mysqlRdbmsBuilder_; /** - * - * *
      * MySQL RDBMS to enrich with child data objects and metadata.
      * 
* * .google.cloud.datastream.v1.MysqlRdbms mysql_rdbms = 101; - * * @return Whether the mysqlRdbms field is set. */ @java.lang.Override @@ -2081,14 +1923,11 @@ public boolean hasMysqlRdbms() { return dataObjectCase_ == 101; } /** - * - * *
      * MySQL RDBMS to enrich with child data objects and metadata.
      * 
* * .google.cloud.datastream.v1.MysqlRdbms mysql_rdbms = 101; - * * @return The mysqlRdbms. */ @java.lang.Override @@ -2106,8 +1945,6 @@ public com.google.cloud.datastream.v1.MysqlRdbms getMysqlRdbms() { } } /** - * - * *
      * MySQL RDBMS to enrich with child data objects and metadata.
      * 
@@ -2128,8 +1965,6 @@ public Builder setMysqlRdbms(com.google.cloud.datastream.v1.MysqlRdbms value) { return this; } /** - * - * *
      * MySQL RDBMS to enrich with child data objects and metadata.
      * 
@@ -2148,8 +1983,6 @@ public Builder setMysqlRdbms( return this; } /** - * - * *
      * MySQL RDBMS to enrich with child data objects and metadata.
      * 
@@ -2158,13 +1991,10 @@ public Builder setMysqlRdbms( */ public Builder mergeMysqlRdbms(com.google.cloud.datastream.v1.MysqlRdbms value) { if (mysqlRdbmsBuilder_ == null) { - if (dataObjectCase_ == 101 - && dataObject_ != com.google.cloud.datastream.v1.MysqlRdbms.getDefaultInstance()) { - dataObject_ = - com.google.cloud.datastream.v1.MysqlRdbms.newBuilder( - (com.google.cloud.datastream.v1.MysqlRdbms) dataObject_) - .mergeFrom(value) - .buildPartial(); + if (dataObjectCase_ == 101 && + dataObject_ != com.google.cloud.datastream.v1.MysqlRdbms.getDefaultInstance()) { + dataObject_ = com.google.cloud.datastream.v1.MysqlRdbms.newBuilder((com.google.cloud.datastream.v1.MysqlRdbms) dataObject_) + .mergeFrom(value).buildPartial(); } else { dataObject_ = value; } @@ -2180,8 +2010,6 @@ public Builder mergeMysqlRdbms(com.google.cloud.datastream.v1.MysqlRdbms value) return this; } /** - * - * *
      * MySQL RDBMS to enrich with child data objects and metadata.
      * 
@@ -2205,8 +2033,6 @@ public Builder clearMysqlRdbms() { return this; } /** - * - * *
      * MySQL RDBMS to enrich with child data objects and metadata.
      * 
@@ -2217,8 +2043,6 @@ public com.google.cloud.datastream.v1.MysqlRdbms.Builder getMysqlRdbmsBuilder() return getMysqlRdbmsFieldBuilder().getBuilder(); } /** - * - * *
      * MySQL RDBMS to enrich with child data objects and metadata.
      * 
@@ -2237,8 +2061,6 @@ public com.google.cloud.datastream.v1.MysqlRdbmsOrBuilder getMysqlRdbmsOrBuilder } } /** - * - * *
      * MySQL RDBMS to enrich with child data objects and metadata.
      * 
@@ -2246,32 +2068,204 @@ public com.google.cloud.datastream.v1.MysqlRdbmsOrBuilder getMysqlRdbmsOrBuilder * .google.cloud.datastream.v1.MysqlRdbms mysql_rdbms = 101; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.MysqlRdbms, - com.google.cloud.datastream.v1.MysqlRdbms.Builder, - com.google.cloud.datastream.v1.MysqlRdbmsOrBuilder> + com.google.cloud.datastream.v1.MysqlRdbms, com.google.cloud.datastream.v1.MysqlRdbms.Builder, com.google.cloud.datastream.v1.MysqlRdbmsOrBuilder> getMysqlRdbmsFieldBuilder() { if (mysqlRdbmsBuilder_ == null) { if (!(dataObjectCase_ == 101)) { dataObject_ = com.google.cloud.datastream.v1.MysqlRdbms.getDefaultInstance(); } - mysqlRdbmsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.MysqlRdbms, - com.google.cloud.datastream.v1.MysqlRdbms.Builder, - com.google.cloud.datastream.v1.MysqlRdbmsOrBuilder>( + mysqlRdbmsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1.MysqlRdbms, com.google.cloud.datastream.v1.MysqlRdbms.Builder, com.google.cloud.datastream.v1.MysqlRdbmsOrBuilder>( (com.google.cloud.datastream.v1.MysqlRdbms) dataObject_, getParentForChildren(), isClean()); dataObject_ = null; } dataObjectCase_ = 101; - onChanged(); - ; + onChanged();; return mysqlRdbmsBuilder_; } + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1.PostgresqlRdbms, com.google.cloud.datastream.v1.PostgresqlRdbms.Builder, com.google.cloud.datastream.v1.PostgresqlRdbmsOrBuilder> postgresqlRdbmsBuilder_; + /** + *
+     * PostgreSQL RDBMS to enrich with child data objects and metadata.
+     * 
+ * + * .google.cloud.datastream.v1.PostgresqlRdbms postgresql_rdbms = 102; + * @return Whether the postgresqlRdbms field is set. + */ + @java.lang.Override + public boolean hasPostgresqlRdbms() { + return dataObjectCase_ == 102; + } + /** + *
+     * PostgreSQL RDBMS to enrich with child data objects and metadata.
+     * 
+ * + * .google.cloud.datastream.v1.PostgresqlRdbms postgresql_rdbms = 102; + * @return The postgresqlRdbms. + */ @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public com.google.cloud.datastream.v1.PostgresqlRdbms getPostgresqlRdbms() { + if (postgresqlRdbmsBuilder_ == null) { + if (dataObjectCase_ == 102) { + return (com.google.cloud.datastream.v1.PostgresqlRdbms) dataObject_; + } + return com.google.cloud.datastream.v1.PostgresqlRdbms.getDefaultInstance(); + } else { + if (dataObjectCase_ == 102) { + return postgresqlRdbmsBuilder_.getMessage(); + } + return com.google.cloud.datastream.v1.PostgresqlRdbms.getDefaultInstance(); + } + } + /** + *
+     * PostgreSQL RDBMS to enrich with child data objects and metadata.
+     * 
+ * + * .google.cloud.datastream.v1.PostgresqlRdbms postgresql_rdbms = 102; + */ + public Builder setPostgresqlRdbms(com.google.cloud.datastream.v1.PostgresqlRdbms value) { + if (postgresqlRdbmsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + dataObject_ = value; + onChanged(); + } else { + postgresqlRdbmsBuilder_.setMessage(value); + } + dataObjectCase_ = 102; + return this; + } + /** + *
+     * PostgreSQL RDBMS to enrich with child data objects and metadata.
+     * 
+ * + * .google.cloud.datastream.v1.PostgresqlRdbms postgresql_rdbms = 102; + */ + public Builder setPostgresqlRdbms( + com.google.cloud.datastream.v1.PostgresqlRdbms.Builder builderForValue) { + if (postgresqlRdbmsBuilder_ == null) { + dataObject_ = builderForValue.build(); + onChanged(); + } else { + postgresqlRdbmsBuilder_.setMessage(builderForValue.build()); + } + dataObjectCase_ = 102; + return this; + } + /** + *
+     * PostgreSQL RDBMS to enrich with child data objects and metadata.
+     * 
+ * + * .google.cloud.datastream.v1.PostgresqlRdbms postgresql_rdbms = 102; + */ + public Builder mergePostgresqlRdbms(com.google.cloud.datastream.v1.PostgresqlRdbms value) { + if (postgresqlRdbmsBuilder_ == null) { + if (dataObjectCase_ == 102 && + dataObject_ != com.google.cloud.datastream.v1.PostgresqlRdbms.getDefaultInstance()) { + dataObject_ = com.google.cloud.datastream.v1.PostgresqlRdbms.newBuilder((com.google.cloud.datastream.v1.PostgresqlRdbms) dataObject_) + .mergeFrom(value).buildPartial(); + } else { + dataObject_ = value; + } + onChanged(); + } else { + if (dataObjectCase_ == 102) { + postgresqlRdbmsBuilder_.mergeFrom(value); + } else { + postgresqlRdbmsBuilder_.setMessage(value); + } + } + dataObjectCase_ = 102; + return this; + } + /** + *
+     * PostgreSQL RDBMS to enrich with child data objects and metadata.
+     * 
+ * + * .google.cloud.datastream.v1.PostgresqlRdbms postgresql_rdbms = 102; + */ + public Builder clearPostgresqlRdbms() { + if (postgresqlRdbmsBuilder_ == null) { + if (dataObjectCase_ == 102) { + dataObjectCase_ = 0; + dataObject_ = null; + onChanged(); + } + } else { + if (dataObjectCase_ == 102) { + dataObjectCase_ = 0; + dataObject_ = null; + } + postgresqlRdbmsBuilder_.clear(); + } + return this; + } + /** + *
+     * PostgreSQL RDBMS to enrich with child data objects and metadata.
+     * 
+ * + * .google.cloud.datastream.v1.PostgresqlRdbms postgresql_rdbms = 102; + */ + public com.google.cloud.datastream.v1.PostgresqlRdbms.Builder getPostgresqlRdbmsBuilder() { + return getPostgresqlRdbmsFieldBuilder().getBuilder(); + } + /** + *
+     * PostgreSQL RDBMS to enrich with child data objects and metadata.
+     * 
+ * + * .google.cloud.datastream.v1.PostgresqlRdbms postgresql_rdbms = 102; + */ + @java.lang.Override + public com.google.cloud.datastream.v1.PostgresqlRdbmsOrBuilder getPostgresqlRdbmsOrBuilder() { + if ((dataObjectCase_ == 102) && (postgresqlRdbmsBuilder_ != null)) { + return postgresqlRdbmsBuilder_.getMessageOrBuilder(); + } else { + if (dataObjectCase_ == 102) { + return (com.google.cloud.datastream.v1.PostgresqlRdbms) dataObject_; + } + return com.google.cloud.datastream.v1.PostgresqlRdbms.getDefaultInstance(); + } + } + /** + *
+     * PostgreSQL RDBMS to enrich with child data objects and metadata.
+     * 
+ * + * .google.cloud.datastream.v1.PostgresqlRdbms postgresql_rdbms = 102; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1.PostgresqlRdbms, com.google.cloud.datastream.v1.PostgresqlRdbms.Builder, com.google.cloud.datastream.v1.PostgresqlRdbmsOrBuilder> + getPostgresqlRdbmsFieldBuilder() { + if (postgresqlRdbmsBuilder_ == null) { + if (!(dataObjectCase_ == 102)) { + dataObject_ = com.google.cloud.datastream.v1.PostgresqlRdbms.getDefaultInstance(); + } + postgresqlRdbmsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1.PostgresqlRdbms, com.google.cloud.datastream.v1.PostgresqlRdbms.Builder, com.google.cloud.datastream.v1.PostgresqlRdbmsOrBuilder>( + (com.google.cloud.datastream.v1.PostgresqlRdbms) dataObject_, + getParentForChildren(), + isClean()); + dataObject_ = null; + } + dataObjectCase_ = 102; + onChanged();; + return postgresqlRdbmsBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2281,32 +2275,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1.DiscoverConnectionProfileRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1.DiscoverConnectionProfileRequest) - private static final com.google.cloud.datastream.v1.DiscoverConnectionProfileRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.datastream.v1.DiscoverConnectionProfileRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1.DiscoverConnectionProfileRequest(); } - public static com.google.cloud.datastream.v1.DiscoverConnectionProfileRequest - getDefaultInstance() { + public static com.google.cloud.datastream.v1.DiscoverConnectionProfileRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DiscoverConnectionProfileRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DiscoverConnectionProfileRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DiscoverConnectionProfileRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DiscoverConnectionProfileRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2318,8 +2310,9 @@ public com.google.protobuf.Parser getParserFor } @java.lang.Override - public com.google.cloud.datastream.v1.DiscoverConnectionProfileRequest - getDefaultInstanceForType() { + public com.google.cloud.datastream.v1.DiscoverConnectionProfileRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DiscoverConnectionProfileRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DiscoverConnectionProfileRequestOrBuilder.java similarity index 78% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DiscoverConnectionProfileRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DiscoverConnectionProfileRequestOrBuilder.java index 441dc035..42dc860f 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DiscoverConnectionProfileRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DiscoverConnectionProfileRequestOrBuilder.java @@ -1,86 +1,53 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1/datastream.proto package com.google.cloud.datastream.v1; -public interface DiscoverConnectionProfileRequestOrBuilder - extends +public interface DiscoverConnectionProfileRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1.DiscoverConnectionProfileRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The parent resource of the connection profile type. Must be in the
    * format `projects/*/locations/*`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The parent resource of the connection profile type. Must be in the
    * format `projects/*/locations/*`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * An ad-hoc connection profile configuration.
    * 
* * .google.cloud.datastream.v1.ConnectionProfile connection_profile = 200; - * * @return Whether the connectionProfile field is set. */ boolean hasConnectionProfile(); /** - * - * *
    * An ad-hoc connection profile configuration.
    * 
* * .google.cloud.datastream.v1.ConnectionProfile connection_profile = 200; - * * @return The connectionProfile. */ com.google.cloud.datastream.v1.ConnectionProfile getConnectionProfile(); /** - * - * *
    * An ad-hoc connection profile configuration.
    * 
@@ -90,121 +57,93 @@ public interface DiscoverConnectionProfileRequestOrBuilder com.google.cloud.datastream.v1.ConnectionProfileOrBuilder getConnectionProfileOrBuilder(); /** - * - * *
    * A reference to an existing connection profile.
    * 
* * string connection_profile_name = 201; - * * @return Whether the connectionProfileName field is set. */ boolean hasConnectionProfileName(); /** - * - * *
    * A reference to an existing connection profile.
    * 
* * string connection_profile_name = 201; - * * @return The connectionProfileName. */ java.lang.String getConnectionProfileName(); /** - * - * *
    * A reference to an existing connection profile.
    * 
* * string connection_profile_name = 201; - * * @return The bytes for connectionProfileName. */ - com.google.protobuf.ByteString getConnectionProfileNameBytes(); + com.google.protobuf.ByteString + getConnectionProfileNameBytes(); /** - * - * *
    * Whether to retrieve the full hierarchy of data objects (TRUE) or only the
    * current level (FALSE).
    * 
* * bool full_hierarchy = 3; - * * @return Whether the fullHierarchy field is set. */ boolean hasFullHierarchy(); /** - * - * *
    * Whether to retrieve the full hierarchy of data objects (TRUE) or only the
    * current level (FALSE).
    * 
* * bool full_hierarchy = 3; - * * @return The fullHierarchy. */ boolean getFullHierarchy(); /** - * - * *
    * The number of hierarchy levels below the current level to be retrieved.
    * 
* * int32 hierarchy_depth = 4; - * * @return Whether the hierarchyDepth field is set. */ boolean hasHierarchyDepth(); /** - * - * *
    * The number of hierarchy levels below the current level to be retrieved.
    * 
* * int32 hierarchy_depth = 4; - * * @return The hierarchyDepth. */ int getHierarchyDepth(); /** - * - * *
    * Oracle RDBMS to enrich with child data objects and metadata.
    * 
* * .google.cloud.datastream.v1.OracleRdbms oracle_rdbms = 100; - * * @return Whether the oracleRdbms field is set. */ boolean hasOracleRdbms(); /** - * - * *
    * Oracle RDBMS to enrich with child data objects and metadata.
    * 
* * .google.cloud.datastream.v1.OracleRdbms oracle_rdbms = 100; - * * @return The oracleRdbms. */ com.google.cloud.datastream.v1.OracleRdbms getOracleRdbms(); /** - * - * *
    * Oracle RDBMS to enrich with child data objects and metadata.
    * 
@@ -214,32 +153,24 @@ public interface DiscoverConnectionProfileRequestOrBuilder com.google.cloud.datastream.v1.OracleRdbmsOrBuilder getOracleRdbmsOrBuilder(); /** - * - * *
    * MySQL RDBMS to enrich with child data objects and metadata.
    * 
* * .google.cloud.datastream.v1.MysqlRdbms mysql_rdbms = 101; - * * @return Whether the mysqlRdbms field is set. */ boolean hasMysqlRdbms(); /** - * - * *
    * MySQL RDBMS to enrich with child data objects and metadata.
    * 
* * .google.cloud.datastream.v1.MysqlRdbms mysql_rdbms = 101; - * * @return The mysqlRdbms. */ com.google.cloud.datastream.v1.MysqlRdbms getMysqlRdbms(); /** - * - * *
    * MySQL RDBMS to enrich with child data objects and metadata.
    * 
@@ -248,11 +179,36 @@ public interface DiscoverConnectionProfileRequestOrBuilder */ com.google.cloud.datastream.v1.MysqlRdbmsOrBuilder getMysqlRdbmsOrBuilder(); + /** + *
+   * PostgreSQL RDBMS to enrich with child data objects and metadata.
+   * 
+ * + * .google.cloud.datastream.v1.PostgresqlRdbms postgresql_rdbms = 102; + * @return Whether the postgresqlRdbms field is set. + */ + boolean hasPostgresqlRdbms(); + /** + *
+   * PostgreSQL RDBMS to enrich with child data objects and metadata.
+   * 
+ * + * .google.cloud.datastream.v1.PostgresqlRdbms postgresql_rdbms = 102; + * @return The postgresqlRdbms. + */ + com.google.cloud.datastream.v1.PostgresqlRdbms getPostgresqlRdbms(); + /** + *
+   * PostgreSQL RDBMS to enrich with child data objects and metadata.
+   * 
+ * + * .google.cloud.datastream.v1.PostgresqlRdbms postgresql_rdbms = 102; + */ + com.google.cloud.datastream.v1.PostgresqlRdbmsOrBuilder getPostgresqlRdbmsOrBuilder(); + public com.google.cloud.datastream.v1.DiscoverConnectionProfileRequest.TargetCase getTargetCase(); - public com.google.cloud.datastream.v1.DiscoverConnectionProfileRequest.HierarchyCase - getHierarchyCase(); + public com.google.cloud.datastream.v1.DiscoverConnectionProfileRequest.HierarchyCase getHierarchyCase(); - public com.google.cloud.datastream.v1.DiscoverConnectionProfileRequest.DataObjectCase - getDataObjectCase(); + public com.google.cloud.datastream.v1.DiscoverConnectionProfileRequest.DataObjectCase getDataObjectCase(); } diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DiscoverConnectionProfileResponse.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DiscoverConnectionProfileResponse.java similarity index 56% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DiscoverConnectionProfileResponse.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DiscoverConnectionProfileResponse.java index 8fc911e5..c9a2b087 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DiscoverConnectionProfileResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DiscoverConnectionProfileResponse.java @@ -1,56 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1/datastream.proto package com.google.cloud.datastream.v1; /** - * - * *
  * Response from a discover request.
  * 
* * Protobuf type {@code google.cloud.datastream.v1.DiscoverConnectionProfileResponse} */ -public final class DiscoverConnectionProfileResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DiscoverConnectionProfileResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1.DiscoverConnectionProfileResponse) DiscoverConnectionProfileResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DiscoverConnectionProfileResponse.newBuilder() to construct. - private DiscoverConnectionProfileResponse( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private DiscoverConnectionProfileResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private DiscoverConnectionProfileResponse() {} + private DiscoverConnectionProfileResponse() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DiscoverConnectionProfileResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DiscoverConnectionProfileResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -69,45 +52,55 @@ private DiscoverConnectionProfileResponse( case 0: done = true; break; - case 802: - { - com.google.cloud.datastream.v1.OracleRdbms.Builder subBuilder = null; - if (dataObjectCase_ == 100) { - subBuilder = ((com.google.cloud.datastream.v1.OracleRdbms) dataObject_).toBuilder(); - } - dataObject_ = - input.readMessage( - com.google.cloud.datastream.v1.OracleRdbms.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.datastream.v1.OracleRdbms) dataObject_); - dataObject_ = subBuilder.buildPartial(); - } - dataObjectCase_ = 100; - break; + case 802: { + com.google.cloud.datastream.v1.OracleRdbms.Builder subBuilder = null; + if (dataObjectCase_ == 100) { + subBuilder = ((com.google.cloud.datastream.v1.OracleRdbms) dataObject_).toBuilder(); + } + dataObject_ = + input.readMessage(com.google.cloud.datastream.v1.OracleRdbms.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.datastream.v1.OracleRdbms) dataObject_); + dataObject_ = subBuilder.buildPartial(); + } + dataObjectCase_ = 100; + break; + } + case 810: { + com.google.cloud.datastream.v1.MysqlRdbms.Builder subBuilder = null; + if (dataObjectCase_ == 101) { + subBuilder = ((com.google.cloud.datastream.v1.MysqlRdbms) dataObject_).toBuilder(); + } + dataObject_ = + input.readMessage(com.google.cloud.datastream.v1.MysqlRdbms.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.datastream.v1.MysqlRdbms) dataObject_); + dataObject_ = subBuilder.buildPartial(); + } + dataObjectCase_ = 101; + break; + } + case 818: { + com.google.cloud.datastream.v1.PostgresqlRdbms.Builder subBuilder = null; + if (dataObjectCase_ == 102) { + subBuilder = ((com.google.cloud.datastream.v1.PostgresqlRdbms) dataObject_).toBuilder(); } - case 810: - { - com.google.cloud.datastream.v1.MysqlRdbms.Builder subBuilder = null; - if (dataObjectCase_ == 101) { - subBuilder = ((com.google.cloud.datastream.v1.MysqlRdbms) dataObject_).toBuilder(); - } - dataObject_ = - input.readMessage( - com.google.cloud.datastream.v1.MysqlRdbms.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.datastream.v1.MysqlRdbms) dataObject_); - dataObject_ = subBuilder.buildPartial(); - } - dataObjectCase_ = 101; - break; + dataObject_ = + input.readMessage(com.google.cloud.datastream.v1.PostgresqlRdbms.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.datastream.v1.PostgresqlRdbms) dataObject_); + dataObject_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + dataObjectCase_ = 102; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -115,40 +108,36 @@ private DiscoverConnectionProfileResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_DiscoverConnectionProfileResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_DiscoverConnectionProfileResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_DiscoverConnectionProfileResponse_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_DiscoverConnectionProfileResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.DiscoverConnectionProfileResponse.class, - com.google.cloud.datastream.v1.DiscoverConnectionProfileResponse.Builder.class); + com.google.cloud.datastream.v1.DiscoverConnectionProfileResponse.class, com.google.cloud.datastream.v1.DiscoverConnectionProfileResponse.Builder.class); } private int dataObjectCase_ = 0; private java.lang.Object dataObject_; - public enum DataObjectCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { ORACLE_RDBMS(100), MYSQL_RDBMS(101), + POSTGRESQL_RDBMS(102), DATAOBJECT_NOT_SET(0); private final int value; - private DataObjectCase(int value) { this.value = value; } @@ -164,36 +153,31 @@ public static DataObjectCase valueOf(int value) { public static DataObjectCase forNumber(int value) { switch (value) { - case 100: - return ORACLE_RDBMS; - case 101: - return MYSQL_RDBMS; - case 0: - return DATAOBJECT_NOT_SET; - default: - return null; + case 100: return ORACLE_RDBMS; + case 101: return MYSQL_RDBMS; + case 102: return POSTGRESQL_RDBMS; + case 0: return DATAOBJECT_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public DataObjectCase getDataObjectCase() { - return DataObjectCase.forNumber(dataObjectCase_); + public DataObjectCase + getDataObjectCase() { + return DataObjectCase.forNumber( + dataObjectCase_); } public static final int ORACLE_RDBMS_FIELD_NUMBER = 100; /** - * - * *
    * Enriched Oracle RDBMS object.
    * 
* * .google.cloud.datastream.v1.OracleRdbms oracle_rdbms = 100; - * * @return Whether the oracleRdbms field is set. */ @java.lang.Override @@ -201,26 +185,21 @@ public boolean hasOracleRdbms() { return dataObjectCase_ == 100; } /** - * - * *
    * Enriched Oracle RDBMS object.
    * 
* * .google.cloud.datastream.v1.OracleRdbms oracle_rdbms = 100; - * * @return The oracleRdbms. */ @java.lang.Override public com.google.cloud.datastream.v1.OracleRdbms getOracleRdbms() { if (dataObjectCase_ == 100) { - return (com.google.cloud.datastream.v1.OracleRdbms) dataObject_; + return (com.google.cloud.datastream.v1.OracleRdbms) dataObject_; } return com.google.cloud.datastream.v1.OracleRdbms.getDefaultInstance(); } /** - * - * *
    * Enriched Oracle RDBMS object.
    * 
@@ -230,21 +209,18 @@ public com.google.cloud.datastream.v1.OracleRdbms getOracleRdbms() { @java.lang.Override public com.google.cloud.datastream.v1.OracleRdbmsOrBuilder getOracleRdbmsOrBuilder() { if (dataObjectCase_ == 100) { - return (com.google.cloud.datastream.v1.OracleRdbms) dataObject_; + return (com.google.cloud.datastream.v1.OracleRdbms) dataObject_; } return com.google.cloud.datastream.v1.OracleRdbms.getDefaultInstance(); } public static final int MYSQL_RDBMS_FIELD_NUMBER = 101; /** - * - * *
    * Enriched MySQL RDBMS object.
    * 
* * .google.cloud.datastream.v1.MysqlRdbms mysql_rdbms = 101; - * * @return Whether the mysqlRdbms field is set. */ @java.lang.Override @@ -252,26 +228,21 @@ public boolean hasMysqlRdbms() { return dataObjectCase_ == 101; } /** - * - * *
    * Enriched MySQL RDBMS object.
    * 
* * .google.cloud.datastream.v1.MysqlRdbms mysql_rdbms = 101; - * * @return The mysqlRdbms. */ @java.lang.Override public com.google.cloud.datastream.v1.MysqlRdbms getMysqlRdbms() { if (dataObjectCase_ == 101) { - return (com.google.cloud.datastream.v1.MysqlRdbms) dataObject_; + return (com.google.cloud.datastream.v1.MysqlRdbms) dataObject_; } return com.google.cloud.datastream.v1.MysqlRdbms.getDefaultInstance(); } /** - * - * *
    * Enriched MySQL RDBMS object.
    * 
@@ -281,13 +252,55 @@ public com.google.cloud.datastream.v1.MysqlRdbms getMysqlRdbms() { @java.lang.Override public com.google.cloud.datastream.v1.MysqlRdbmsOrBuilder getMysqlRdbmsOrBuilder() { if (dataObjectCase_ == 101) { - return (com.google.cloud.datastream.v1.MysqlRdbms) dataObject_; + return (com.google.cloud.datastream.v1.MysqlRdbms) dataObject_; } return com.google.cloud.datastream.v1.MysqlRdbms.getDefaultInstance(); } - private byte memoizedIsInitialized = -1; + public static final int POSTGRESQL_RDBMS_FIELD_NUMBER = 102; + /** + *
+   * Enriched PostgreSQL RDBMS object.
+   * 
+ * + * .google.cloud.datastream.v1.PostgresqlRdbms postgresql_rdbms = 102; + * @return Whether the postgresqlRdbms field is set. + */ + @java.lang.Override + public boolean hasPostgresqlRdbms() { + return dataObjectCase_ == 102; + } + /** + *
+   * Enriched PostgreSQL RDBMS object.
+   * 
+ * + * .google.cloud.datastream.v1.PostgresqlRdbms postgresql_rdbms = 102; + * @return The postgresqlRdbms. + */ + @java.lang.Override + public com.google.cloud.datastream.v1.PostgresqlRdbms getPostgresqlRdbms() { + if (dataObjectCase_ == 102) { + return (com.google.cloud.datastream.v1.PostgresqlRdbms) dataObject_; + } + return com.google.cloud.datastream.v1.PostgresqlRdbms.getDefaultInstance(); + } + /** + *
+   * Enriched PostgreSQL RDBMS object.
+   * 
+ * + * .google.cloud.datastream.v1.PostgresqlRdbms postgresql_rdbms = 102; + */ + @java.lang.Override + public com.google.cloud.datastream.v1.PostgresqlRdbmsOrBuilder getPostgresqlRdbmsOrBuilder() { + if (dataObjectCase_ == 102) { + return (com.google.cloud.datastream.v1.PostgresqlRdbms) dataObject_; + } + return com.google.cloud.datastream.v1.PostgresqlRdbms.getDefaultInstance(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -299,13 +312,17 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (dataObjectCase_ == 100) { output.writeMessage(100, (com.google.cloud.datastream.v1.OracleRdbms) dataObject_); } if (dataObjectCase_ == 101) { output.writeMessage(101, (com.google.cloud.datastream.v1.MysqlRdbms) dataObject_); } + if (dataObjectCase_ == 102) { + output.writeMessage(102, (com.google.cloud.datastream.v1.PostgresqlRdbms) dataObject_); + } unknownFields.writeTo(output); } @@ -316,14 +333,16 @@ public int getSerializedSize() { size = 0; if (dataObjectCase_ == 100) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 100, (com.google.cloud.datastream.v1.OracleRdbms) dataObject_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(100, (com.google.cloud.datastream.v1.OracleRdbms) dataObject_); } if (dataObjectCase_ == 101) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 101, (com.google.cloud.datastream.v1.MysqlRdbms) dataObject_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(101, (com.google.cloud.datastream.v1.MysqlRdbms) dataObject_); + } + if (dataObjectCase_ == 102) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(102, (com.google.cloud.datastream.v1.PostgresqlRdbms) dataObject_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -333,21 +352,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.datastream.v1.DiscoverConnectionProfileResponse)) { return super.equals(obj); } - com.google.cloud.datastream.v1.DiscoverConnectionProfileResponse other = - (com.google.cloud.datastream.v1.DiscoverConnectionProfileResponse) obj; + com.google.cloud.datastream.v1.DiscoverConnectionProfileResponse other = (com.google.cloud.datastream.v1.DiscoverConnectionProfileResponse) obj; if (!getDataObjectCase().equals(other.getDataObjectCase())) return false; switch (dataObjectCase_) { case 100: - if (!getOracleRdbms().equals(other.getOracleRdbms())) return false; + if (!getOracleRdbms() + .equals(other.getOracleRdbms())) return false; break; case 101: - if (!getMysqlRdbms().equals(other.getMysqlRdbms())) return false; + if (!getMysqlRdbms() + .equals(other.getMysqlRdbms())) return false; + break; + case 102: + if (!getPostgresqlRdbms() + .equals(other.getPostgresqlRdbms())) return false; break; case 0: default: @@ -372,6 +396,10 @@ public int hashCode() { hash = (37 * hash) + MYSQL_RDBMS_FIELD_NUMBER; hash = (53 * hash) + getMysqlRdbms().hashCode(); break; + case 102: + hash = (37 * hash) + POSTGRESQL_RDBMS_FIELD_NUMBER; + hash = (53 * hash) + getPostgresqlRdbms().hashCode(); + break; case 0: default: } @@ -381,127 +409,117 @@ public int hashCode() { } public static com.google.cloud.datastream.v1.DiscoverConnectionProfileResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.DiscoverConnectionProfileResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.DiscoverConnectionProfileResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.DiscoverConnectionProfileResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1.DiscoverConnectionProfileResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.datastream.v1.DiscoverConnectionProfileResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.DiscoverConnectionProfileResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1.DiscoverConnectionProfileResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.DiscoverConnectionProfileResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.DiscoverConnectionProfileResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1.DiscoverConnectionProfileResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.DiscoverConnectionProfileResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.DiscoverConnectionProfileResponse 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.datastream.v1.DiscoverConnectionProfileResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.DiscoverConnectionProfileResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datastream.v1.DiscoverConnectionProfileResponse prototype) { + public static Builder newBuilder(com.google.cloud.datastream.v1.DiscoverConnectionProfileResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 from a discover request.
    * 
* * Protobuf type {@code google.cloud.datastream.v1.DiscoverConnectionProfileResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1.DiscoverConnectionProfileResponse) com.google.cloud.datastream.v1.DiscoverConnectionProfileResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_DiscoverConnectionProfileResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_DiscoverConnectionProfileResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_DiscoverConnectionProfileResponse_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_DiscoverConnectionProfileResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.DiscoverConnectionProfileResponse.class, - com.google.cloud.datastream.v1.DiscoverConnectionProfileResponse.Builder.class); + com.google.cloud.datastream.v1.DiscoverConnectionProfileResponse.class, com.google.cloud.datastream.v1.DiscoverConnectionProfileResponse.Builder.class); } // Construct using com.google.cloud.datastream.v1.DiscoverConnectionProfileResponse.newBuilder() @@ -509,15 +527,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -527,14 +546,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_DiscoverConnectionProfileResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_DiscoverConnectionProfileResponse_descriptor; } @java.lang.Override - public com.google.cloud.datastream.v1.DiscoverConnectionProfileResponse - getDefaultInstanceForType() { + public com.google.cloud.datastream.v1.DiscoverConnectionProfileResponse getDefaultInstanceForType() { return com.google.cloud.datastream.v1.DiscoverConnectionProfileResponse.getDefaultInstance(); } @@ -549,8 +567,7 @@ public com.google.cloud.datastream.v1.DiscoverConnectionProfileResponse build() @java.lang.Override public com.google.cloud.datastream.v1.DiscoverConnectionProfileResponse buildPartial() { - com.google.cloud.datastream.v1.DiscoverConnectionProfileResponse result = - new com.google.cloud.datastream.v1.DiscoverConnectionProfileResponse(this); + com.google.cloud.datastream.v1.DiscoverConnectionProfileResponse result = new com.google.cloud.datastream.v1.DiscoverConnectionProfileResponse(this); if (dataObjectCase_ == 100) { if (oracleRdbmsBuilder_ == null) { result.dataObject_ = dataObject_; @@ -565,6 +582,13 @@ public com.google.cloud.datastream.v1.DiscoverConnectionProfileResponse buildPar result.dataObject_ = mysqlRdbmsBuilder_.build(); } } + if (dataObjectCase_ == 102) { + if (postgresqlRdbmsBuilder_ == null) { + result.dataObject_ = dataObject_; + } else { + result.dataObject_ = postgresqlRdbmsBuilder_.build(); + } + } result.dataObjectCase_ = dataObjectCase_; onBuilt(); return result; @@ -574,65 +598,62 @@ public com.google.cloud.datastream.v1.DiscoverConnectionProfileResponse buildPar public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1.DiscoverConnectionProfileResponse) { - return mergeFrom((com.google.cloud.datastream.v1.DiscoverConnectionProfileResponse) other); + return mergeFrom((com.google.cloud.datastream.v1.DiscoverConnectionProfileResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.datastream.v1.DiscoverConnectionProfileResponse other) { - if (other - == com.google.cloud.datastream.v1.DiscoverConnectionProfileResponse.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.datastream.v1.DiscoverConnectionProfileResponse other) { + if (other == com.google.cloud.datastream.v1.DiscoverConnectionProfileResponse.getDefaultInstance()) return this; switch (other.getDataObjectCase()) { - case ORACLE_RDBMS: - { - mergeOracleRdbms(other.getOracleRdbms()); - break; - } - case MYSQL_RDBMS: - { - mergeMysqlRdbms(other.getMysqlRdbms()); - break; - } - case DATAOBJECT_NOT_SET: - { - break; - } + case ORACLE_RDBMS: { + mergeOracleRdbms(other.getOracleRdbms()); + break; + } + case MYSQL_RDBMS: { + mergeMysqlRdbms(other.getMysqlRdbms()); + break; + } + case POSTGRESQL_RDBMS: { + mergePostgresqlRdbms(other.getPostgresqlRdbms()); + break; + } + case DATAOBJECT_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -653,9 +674,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datastream.v1.DiscoverConnectionProfileResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datastream.v1.DiscoverConnectionProfileResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -664,12 +683,12 @@ public Builder mergeFrom( } return this; } - private int dataObjectCase_ = 0; private java.lang.Object dataObject_; - - public DataObjectCase getDataObjectCase() { - return DataObjectCase.forNumber(dataObjectCase_); + public DataObjectCase + getDataObjectCase() { + return DataObjectCase.forNumber( + dataObjectCase_); } public Builder clearDataObject() { @@ -679,20 +698,15 @@ public Builder clearDataObject() { return this; } + private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.OracleRdbms, - com.google.cloud.datastream.v1.OracleRdbms.Builder, - com.google.cloud.datastream.v1.OracleRdbmsOrBuilder> - oracleRdbmsBuilder_; + com.google.cloud.datastream.v1.OracleRdbms, com.google.cloud.datastream.v1.OracleRdbms.Builder, com.google.cloud.datastream.v1.OracleRdbmsOrBuilder> oracleRdbmsBuilder_; /** - * - * *
      * Enriched Oracle RDBMS object.
      * 
* * .google.cloud.datastream.v1.OracleRdbms oracle_rdbms = 100; - * * @return Whether the oracleRdbms field is set. */ @java.lang.Override @@ -700,14 +714,11 @@ public boolean hasOracleRdbms() { return dataObjectCase_ == 100; } /** - * - * *
      * Enriched Oracle RDBMS object.
      * 
* * .google.cloud.datastream.v1.OracleRdbms oracle_rdbms = 100; - * * @return The oracleRdbms. */ @java.lang.Override @@ -725,8 +736,6 @@ public com.google.cloud.datastream.v1.OracleRdbms getOracleRdbms() { } } /** - * - * *
      * Enriched Oracle RDBMS object.
      * 
@@ -747,8 +756,6 @@ public Builder setOracleRdbms(com.google.cloud.datastream.v1.OracleRdbms value) return this; } /** - * - * *
      * Enriched Oracle RDBMS object.
      * 
@@ -767,8 +774,6 @@ public Builder setOracleRdbms( return this; } /** - * - * *
      * Enriched Oracle RDBMS object.
      * 
@@ -777,13 +782,10 @@ public Builder setOracleRdbms( */ public Builder mergeOracleRdbms(com.google.cloud.datastream.v1.OracleRdbms value) { if (oracleRdbmsBuilder_ == null) { - if (dataObjectCase_ == 100 - && dataObject_ != com.google.cloud.datastream.v1.OracleRdbms.getDefaultInstance()) { - dataObject_ = - com.google.cloud.datastream.v1.OracleRdbms.newBuilder( - (com.google.cloud.datastream.v1.OracleRdbms) dataObject_) - .mergeFrom(value) - .buildPartial(); + if (dataObjectCase_ == 100 && + dataObject_ != com.google.cloud.datastream.v1.OracleRdbms.getDefaultInstance()) { + dataObject_ = com.google.cloud.datastream.v1.OracleRdbms.newBuilder((com.google.cloud.datastream.v1.OracleRdbms) dataObject_) + .mergeFrom(value).buildPartial(); } else { dataObject_ = value; } @@ -799,8 +801,6 @@ public Builder mergeOracleRdbms(com.google.cloud.datastream.v1.OracleRdbms value return this; } /** - * - * *
      * Enriched Oracle RDBMS object.
      * 
@@ -824,8 +824,6 @@ public Builder clearOracleRdbms() { return this; } /** - * - * *
      * Enriched Oracle RDBMS object.
      * 
@@ -836,8 +834,6 @@ public com.google.cloud.datastream.v1.OracleRdbms.Builder getOracleRdbmsBuilder( return getOracleRdbmsFieldBuilder().getBuilder(); } /** - * - * *
      * Enriched Oracle RDBMS object.
      * 
@@ -856,8 +852,6 @@ public com.google.cloud.datastream.v1.OracleRdbmsOrBuilder getOracleRdbmsOrBuild } } /** - * - * *
      * Enriched Oracle RDBMS object.
      * 
@@ -865,44 +859,32 @@ public com.google.cloud.datastream.v1.OracleRdbmsOrBuilder getOracleRdbmsOrBuild * .google.cloud.datastream.v1.OracleRdbms oracle_rdbms = 100; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.OracleRdbms, - com.google.cloud.datastream.v1.OracleRdbms.Builder, - com.google.cloud.datastream.v1.OracleRdbmsOrBuilder> + com.google.cloud.datastream.v1.OracleRdbms, com.google.cloud.datastream.v1.OracleRdbms.Builder, com.google.cloud.datastream.v1.OracleRdbmsOrBuilder> getOracleRdbmsFieldBuilder() { if (oracleRdbmsBuilder_ == null) { if (!(dataObjectCase_ == 100)) { dataObject_ = com.google.cloud.datastream.v1.OracleRdbms.getDefaultInstance(); } - oracleRdbmsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.OracleRdbms, - com.google.cloud.datastream.v1.OracleRdbms.Builder, - com.google.cloud.datastream.v1.OracleRdbmsOrBuilder>( + oracleRdbmsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1.OracleRdbms, com.google.cloud.datastream.v1.OracleRdbms.Builder, com.google.cloud.datastream.v1.OracleRdbmsOrBuilder>( (com.google.cloud.datastream.v1.OracleRdbms) dataObject_, getParentForChildren(), isClean()); dataObject_ = null; } dataObjectCase_ = 100; - onChanged(); - ; + onChanged();; return oracleRdbmsBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.MysqlRdbms, - com.google.cloud.datastream.v1.MysqlRdbms.Builder, - com.google.cloud.datastream.v1.MysqlRdbmsOrBuilder> - mysqlRdbmsBuilder_; + com.google.cloud.datastream.v1.MysqlRdbms, com.google.cloud.datastream.v1.MysqlRdbms.Builder, com.google.cloud.datastream.v1.MysqlRdbmsOrBuilder> mysqlRdbmsBuilder_; /** - * - * *
      * Enriched MySQL RDBMS object.
      * 
* * .google.cloud.datastream.v1.MysqlRdbms mysql_rdbms = 101; - * * @return Whether the mysqlRdbms field is set. */ @java.lang.Override @@ -910,14 +892,11 @@ public boolean hasMysqlRdbms() { return dataObjectCase_ == 101; } /** - * - * *
      * Enriched MySQL RDBMS object.
      * 
* * .google.cloud.datastream.v1.MysqlRdbms mysql_rdbms = 101; - * * @return The mysqlRdbms. */ @java.lang.Override @@ -935,8 +914,6 @@ public com.google.cloud.datastream.v1.MysqlRdbms getMysqlRdbms() { } } /** - * - * *
      * Enriched MySQL RDBMS object.
      * 
@@ -957,8 +934,6 @@ public Builder setMysqlRdbms(com.google.cloud.datastream.v1.MysqlRdbms value) { return this; } /** - * - * *
      * Enriched MySQL RDBMS object.
      * 
@@ -977,8 +952,6 @@ public Builder setMysqlRdbms( return this; } /** - * - * *
      * Enriched MySQL RDBMS object.
      * 
@@ -987,13 +960,10 @@ public Builder setMysqlRdbms( */ public Builder mergeMysqlRdbms(com.google.cloud.datastream.v1.MysqlRdbms value) { if (mysqlRdbmsBuilder_ == null) { - if (dataObjectCase_ == 101 - && dataObject_ != com.google.cloud.datastream.v1.MysqlRdbms.getDefaultInstance()) { - dataObject_ = - com.google.cloud.datastream.v1.MysqlRdbms.newBuilder( - (com.google.cloud.datastream.v1.MysqlRdbms) dataObject_) - .mergeFrom(value) - .buildPartial(); + if (dataObjectCase_ == 101 && + dataObject_ != com.google.cloud.datastream.v1.MysqlRdbms.getDefaultInstance()) { + dataObject_ = com.google.cloud.datastream.v1.MysqlRdbms.newBuilder((com.google.cloud.datastream.v1.MysqlRdbms) dataObject_) + .mergeFrom(value).buildPartial(); } else { dataObject_ = value; } @@ -1009,8 +979,6 @@ public Builder mergeMysqlRdbms(com.google.cloud.datastream.v1.MysqlRdbms value) return this; } /** - * - * *
      * Enriched MySQL RDBMS object.
      * 
@@ -1034,8 +1002,6 @@ public Builder clearMysqlRdbms() { return this; } /** - * - * *
      * Enriched MySQL RDBMS object.
      * 
@@ -1046,8 +1012,6 @@ public com.google.cloud.datastream.v1.MysqlRdbms.Builder getMysqlRdbmsBuilder() return getMysqlRdbmsFieldBuilder().getBuilder(); } /** - * - * *
      * Enriched MySQL RDBMS object.
      * 
@@ -1066,8 +1030,6 @@ public com.google.cloud.datastream.v1.MysqlRdbmsOrBuilder getMysqlRdbmsOrBuilder } } /** - * - * *
      * Enriched MySQL RDBMS object.
      * 
@@ -1075,32 +1037,204 @@ public com.google.cloud.datastream.v1.MysqlRdbmsOrBuilder getMysqlRdbmsOrBuilder * .google.cloud.datastream.v1.MysqlRdbms mysql_rdbms = 101; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.MysqlRdbms, - com.google.cloud.datastream.v1.MysqlRdbms.Builder, - com.google.cloud.datastream.v1.MysqlRdbmsOrBuilder> + com.google.cloud.datastream.v1.MysqlRdbms, com.google.cloud.datastream.v1.MysqlRdbms.Builder, com.google.cloud.datastream.v1.MysqlRdbmsOrBuilder> getMysqlRdbmsFieldBuilder() { if (mysqlRdbmsBuilder_ == null) { if (!(dataObjectCase_ == 101)) { dataObject_ = com.google.cloud.datastream.v1.MysqlRdbms.getDefaultInstance(); } - mysqlRdbmsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.MysqlRdbms, - com.google.cloud.datastream.v1.MysqlRdbms.Builder, - com.google.cloud.datastream.v1.MysqlRdbmsOrBuilder>( + mysqlRdbmsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1.MysqlRdbms, com.google.cloud.datastream.v1.MysqlRdbms.Builder, com.google.cloud.datastream.v1.MysqlRdbmsOrBuilder>( (com.google.cloud.datastream.v1.MysqlRdbms) dataObject_, getParentForChildren(), isClean()); dataObject_ = null; } dataObjectCase_ = 101; - onChanged(); - ; + onChanged();; return mysqlRdbmsBuilder_; } + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1.PostgresqlRdbms, com.google.cloud.datastream.v1.PostgresqlRdbms.Builder, com.google.cloud.datastream.v1.PostgresqlRdbmsOrBuilder> postgresqlRdbmsBuilder_; + /** + *
+     * Enriched PostgreSQL RDBMS object.
+     * 
+ * + * .google.cloud.datastream.v1.PostgresqlRdbms postgresql_rdbms = 102; + * @return Whether the postgresqlRdbms field is set. + */ + @java.lang.Override + public boolean hasPostgresqlRdbms() { + return dataObjectCase_ == 102; + } + /** + *
+     * Enriched PostgreSQL RDBMS object.
+     * 
+ * + * .google.cloud.datastream.v1.PostgresqlRdbms postgresql_rdbms = 102; + * @return The postgresqlRdbms. + */ + @java.lang.Override + public com.google.cloud.datastream.v1.PostgresqlRdbms getPostgresqlRdbms() { + if (postgresqlRdbmsBuilder_ == null) { + if (dataObjectCase_ == 102) { + return (com.google.cloud.datastream.v1.PostgresqlRdbms) dataObject_; + } + return com.google.cloud.datastream.v1.PostgresqlRdbms.getDefaultInstance(); + } else { + if (dataObjectCase_ == 102) { + return postgresqlRdbmsBuilder_.getMessage(); + } + return com.google.cloud.datastream.v1.PostgresqlRdbms.getDefaultInstance(); + } + } + /** + *
+     * Enriched PostgreSQL RDBMS object.
+     * 
+ * + * .google.cloud.datastream.v1.PostgresqlRdbms postgresql_rdbms = 102; + */ + public Builder setPostgresqlRdbms(com.google.cloud.datastream.v1.PostgresqlRdbms value) { + if (postgresqlRdbmsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + dataObject_ = value; + onChanged(); + } else { + postgresqlRdbmsBuilder_.setMessage(value); + } + dataObjectCase_ = 102; + return this; + } + /** + *
+     * Enriched PostgreSQL RDBMS object.
+     * 
+ * + * .google.cloud.datastream.v1.PostgresqlRdbms postgresql_rdbms = 102; + */ + public Builder setPostgresqlRdbms( + com.google.cloud.datastream.v1.PostgresqlRdbms.Builder builderForValue) { + if (postgresqlRdbmsBuilder_ == null) { + dataObject_ = builderForValue.build(); + onChanged(); + } else { + postgresqlRdbmsBuilder_.setMessage(builderForValue.build()); + } + dataObjectCase_ = 102; + return this; + } + /** + *
+     * Enriched PostgreSQL RDBMS object.
+     * 
+ * + * .google.cloud.datastream.v1.PostgresqlRdbms postgresql_rdbms = 102; + */ + public Builder mergePostgresqlRdbms(com.google.cloud.datastream.v1.PostgresqlRdbms value) { + if (postgresqlRdbmsBuilder_ == null) { + if (dataObjectCase_ == 102 && + dataObject_ != com.google.cloud.datastream.v1.PostgresqlRdbms.getDefaultInstance()) { + dataObject_ = com.google.cloud.datastream.v1.PostgresqlRdbms.newBuilder((com.google.cloud.datastream.v1.PostgresqlRdbms) dataObject_) + .mergeFrom(value).buildPartial(); + } else { + dataObject_ = value; + } + onChanged(); + } else { + if (dataObjectCase_ == 102) { + postgresqlRdbmsBuilder_.mergeFrom(value); + } else { + postgresqlRdbmsBuilder_.setMessage(value); + } + } + dataObjectCase_ = 102; + return this; + } + /** + *
+     * Enriched PostgreSQL RDBMS object.
+     * 
+ * + * .google.cloud.datastream.v1.PostgresqlRdbms postgresql_rdbms = 102; + */ + public Builder clearPostgresqlRdbms() { + if (postgresqlRdbmsBuilder_ == null) { + if (dataObjectCase_ == 102) { + dataObjectCase_ = 0; + dataObject_ = null; + onChanged(); + } + } else { + if (dataObjectCase_ == 102) { + dataObjectCase_ = 0; + dataObject_ = null; + } + postgresqlRdbmsBuilder_.clear(); + } + return this; + } + /** + *
+     * Enriched PostgreSQL RDBMS object.
+     * 
+ * + * .google.cloud.datastream.v1.PostgresqlRdbms postgresql_rdbms = 102; + */ + public com.google.cloud.datastream.v1.PostgresqlRdbms.Builder getPostgresqlRdbmsBuilder() { + return getPostgresqlRdbmsFieldBuilder().getBuilder(); + } + /** + *
+     * Enriched PostgreSQL RDBMS object.
+     * 
+ * + * .google.cloud.datastream.v1.PostgresqlRdbms postgresql_rdbms = 102; + */ @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public com.google.cloud.datastream.v1.PostgresqlRdbmsOrBuilder getPostgresqlRdbmsOrBuilder() { + if ((dataObjectCase_ == 102) && (postgresqlRdbmsBuilder_ != null)) { + return postgresqlRdbmsBuilder_.getMessageOrBuilder(); + } else { + if (dataObjectCase_ == 102) { + return (com.google.cloud.datastream.v1.PostgresqlRdbms) dataObject_; + } + return com.google.cloud.datastream.v1.PostgresqlRdbms.getDefaultInstance(); + } + } + /** + *
+     * Enriched PostgreSQL RDBMS object.
+     * 
+ * + * .google.cloud.datastream.v1.PostgresqlRdbms postgresql_rdbms = 102; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1.PostgresqlRdbms, com.google.cloud.datastream.v1.PostgresqlRdbms.Builder, com.google.cloud.datastream.v1.PostgresqlRdbmsOrBuilder> + getPostgresqlRdbmsFieldBuilder() { + if (postgresqlRdbmsBuilder_ == null) { + if (!(dataObjectCase_ == 102)) { + dataObject_ = com.google.cloud.datastream.v1.PostgresqlRdbms.getDefaultInstance(); + } + postgresqlRdbmsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1.PostgresqlRdbms, com.google.cloud.datastream.v1.PostgresqlRdbms.Builder, com.google.cloud.datastream.v1.PostgresqlRdbmsOrBuilder>( + (com.google.cloud.datastream.v1.PostgresqlRdbms) dataObject_, + getParentForChildren(), + isClean()); + dataObject_ = null; + } + dataObjectCase_ = 102; + onChanged();; + return postgresqlRdbmsBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1110,32 +1244,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1.DiscoverConnectionProfileResponse) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1.DiscoverConnectionProfileResponse) - private static final com.google.cloud.datastream.v1.DiscoverConnectionProfileResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.datastream.v1.DiscoverConnectionProfileResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1.DiscoverConnectionProfileResponse(); } - public static com.google.cloud.datastream.v1.DiscoverConnectionProfileResponse - getDefaultInstance() { + public static com.google.cloud.datastream.v1.DiscoverConnectionProfileResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DiscoverConnectionProfileResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DiscoverConnectionProfileResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DiscoverConnectionProfileResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DiscoverConnectionProfileResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1147,8 +1279,9 @@ public com.google.protobuf.Parser getParserFo } @java.lang.Override - public com.google.cloud.datastream.v1.DiscoverConnectionProfileResponse - getDefaultInstanceForType() { + public com.google.cloud.datastream.v1.DiscoverConnectionProfileResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DiscoverConnectionProfileResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DiscoverConnectionProfileResponseOrBuilder.java similarity index 67% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DiscoverConnectionProfileResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DiscoverConnectionProfileResponseOrBuilder.java index fae946e6..94817804 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DiscoverConnectionProfileResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DiscoverConnectionProfileResponseOrBuilder.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/datastream/v1/datastream.proto package com.google.cloud.datastream.v1; -public interface DiscoverConnectionProfileResponseOrBuilder - extends +public interface DiscoverConnectionProfileResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1.DiscoverConnectionProfileResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Enriched Oracle RDBMS object.
    * 
* * .google.cloud.datastream.v1.OracleRdbms oracle_rdbms = 100; - * * @return Whether the oracleRdbms field is set. */ boolean hasOracleRdbms(); /** - * - * *
    * Enriched Oracle RDBMS object.
    * 
* * .google.cloud.datastream.v1.OracleRdbms oracle_rdbms = 100; - * * @return The oracleRdbms. */ com.google.cloud.datastream.v1.OracleRdbms getOracleRdbms(); /** - * - * *
    * Enriched Oracle RDBMS object.
    * 
@@ -59,32 +35,24 @@ public interface DiscoverConnectionProfileResponseOrBuilder com.google.cloud.datastream.v1.OracleRdbmsOrBuilder getOracleRdbmsOrBuilder(); /** - * - * *
    * Enriched MySQL RDBMS object.
    * 
* * .google.cloud.datastream.v1.MysqlRdbms mysql_rdbms = 101; - * * @return Whether the mysqlRdbms field is set. */ boolean hasMysqlRdbms(); /** - * - * *
    * Enriched MySQL RDBMS object.
    * 
* * .google.cloud.datastream.v1.MysqlRdbms mysql_rdbms = 101; - * * @return The mysqlRdbms. */ com.google.cloud.datastream.v1.MysqlRdbms getMysqlRdbms(); /** - * - * *
    * Enriched MySQL RDBMS object.
    * 
@@ -93,6 +61,32 @@ public interface DiscoverConnectionProfileResponseOrBuilder */ com.google.cloud.datastream.v1.MysqlRdbmsOrBuilder getMysqlRdbmsOrBuilder(); - public com.google.cloud.datastream.v1.DiscoverConnectionProfileResponse.DataObjectCase - getDataObjectCase(); + /** + *
+   * Enriched PostgreSQL RDBMS object.
+   * 
+ * + * .google.cloud.datastream.v1.PostgresqlRdbms postgresql_rdbms = 102; + * @return Whether the postgresqlRdbms field is set. + */ + boolean hasPostgresqlRdbms(); + /** + *
+   * Enriched PostgreSQL RDBMS object.
+   * 
+ * + * .google.cloud.datastream.v1.PostgresqlRdbms postgresql_rdbms = 102; + * @return The postgresqlRdbms. + */ + com.google.cloud.datastream.v1.PostgresqlRdbms getPostgresqlRdbms(); + /** + *
+   * Enriched PostgreSQL RDBMS object.
+   * 
+ * + * .google.cloud.datastream.v1.PostgresqlRdbms postgresql_rdbms = 102; + */ + com.google.cloud.datastream.v1.PostgresqlRdbmsOrBuilder getPostgresqlRdbmsOrBuilder(); + + public com.google.cloud.datastream.v1.DiscoverConnectionProfileResponse.DataObjectCase getDataObjectCase(); } diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/Error.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/Error.java similarity index 67% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/Error.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/Error.java index 27e4bccf..bdd2c83d 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/Error.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/Error.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/datastream/v1/datastream_resources.proto package com.google.cloud.datastream.v1; /** - * - * *
  * Represent a user-facing Error.
  * 
* * Protobuf type {@code google.cloud.datastream.v1.Error} */ -public final class Error extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Error extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1.Error) ErrorOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Error.newBuilder() to construct. private Error(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Error() { reason_ = ""; errorUuid_ = ""; @@ -45,15 +27,16 @@ private Error() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Error(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Error( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,63 +56,57 @@ private Error( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - reason_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + reason_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - errorUuid_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + errorUuid_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - message_ = s; - break; + message_ = s; + break; + } + case 34: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (errorTime_ != null) { + subBuilder = errorTime_.toBuilder(); } - case 34: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (errorTime_ != null) { - subBuilder = errorTime_.toBuilder(); - } - errorTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(errorTime_); - errorTime_ = subBuilder.buildPartial(); - } - - break; + errorTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(errorTime_); + errorTime_ = subBuilder.buildPartial(); } - case 42: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - details_ = - com.google.protobuf.MapField.newMapField( - DetailsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; - } - com.google.protobuf.MapEntry details__ = - input.readMessage( - DetailsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - details_.getMutableMap().put(details__.getKey(), details__.getValue()); - break; + + break; + } + case 42: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + details_ = com.google.protobuf.MapField.newMapField( + DetailsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + com.google.protobuf.MapEntry + details__ = input.readMessage( + DetailsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + details_.getMutableMap().put( + details__.getKey(), details__.getValue()); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -137,50 +114,46 @@ private Error( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_Error_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_Error_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 5: return internalGetDetails(); 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.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_Error_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_Error_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.Error.class, - com.google.cloud.datastream.v1.Error.Builder.class); + com.google.cloud.datastream.v1.Error.class, com.google.cloud.datastream.v1.Error.Builder.class); } public static final int REASON_FIELD_NUMBER = 1; private volatile java.lang.Object reason_; /** - * - * *
    * A title that explains the reason for the error.
    * 
* * string reason = 1; - * * @return The reason. */ @java.lang.Override @@ -189,29 +162,29 @@ public java.lang.String getReason() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); reason_ = s; return s; } } /** - * - * *
    * A title that explains the reason for the error.
    * 
* * string reason = 1; - * * @return The bytes for reason. */ @java.lang.Override - public com.google.protobuf.ByteString getReasonBytes() { + public com.google.protobuf.ByteString + getReasonBytes() { java.lang.Object ref = reason_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); reason_ = b; return b; } else { @@ -222,15 +195,12 @@ public com.google.protobuf.ByteString getReasonBytes() { public static final int ERROR_UUID_FIELD_NUMBER = 2; private volatile java.lang.Object errorUuid_; /** - * - * *
    * A unique identifier for this specific error,
    * allowing it to be traced throughout the system in logs and API responses.
    * 
* * string error_uuid = 2; - * * @return The errorUuid. */ @java.lang.Override @@ -239,30 +209,30 @@ public java.lang.String getErrorUuid() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); errorUuid_ = s; return s; } } /** - * - * *
    * A unique identifier for this specific error,
    * allowing it to be traced throughout the system in logs and API responses.
    * 
* * string error_uuid = 2; - * * @return The bytes for errorUuid. */ @java.lang.Override - public com.google.protobuf.ByteString getErrorUuidBytes() { + public com.google.protobuf.ByteString + getErrorUuidBytes() { java.lang.Object ref = errorUuid_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); errorUuid_ = b; return b; } else { @@ -273,14 +243,11 @@ public com.google.protobuf.ByteString getErrorUuidBytes() { public static final int MESSAGE_FIELD_NUMBER = 3; private volatile java.lang.Object message_; /** - * - * *
    * A message containing more information about the error that occurred.
    * 
* * string message = 3; - * * @return The message. */ @java.lang.Override @@ -289,29 +256,29 @@ public java.lang.String getMessage() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; } } /** - * - * *
    * A message containing more information about the error that occurred.
    * 
* * string message = 3; - * * @return The bytes for message. */ @java.lang.Override - public com.google.protobuf.ByteString getMessageBytes() { + public com.google.protobuf.ByteString + getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); message_ = b; return b; } else { @@ -322,14 +289,11 @@ public com.google.protobuf.ByteString getMessageBytes() { public static final int ERROR_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp errorTime_; /** - * - * *
    * The time when the error occurred.
    * 
* * .google.protobuf.Timestamp error_time = 4; - * * @return Whether the errorTime field is set. */ @java.lang.Override @@ -337,14 +301,11 @@ public boolean hasErrorTime() { return errorTime_ != null; } /** - * - * *
    * The time when the error occurred.
    * 
* * .google.protobuf.Timestamp error_time = 4; - * * @return The errorTime. */ @java.lang.Override @@ -352,8 +313,6 @@ public com.google.protobuf.Timestamp getErrorTime() { return errorTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : errorTime_; } /** - * - * *
    * The time when the error occurred.
    * 
@@ -366,23 +325,24 @@ public com.google.protobuf.TimestampOrBuilder getErrorTimeOrBuilder() { } public static final int DETAILS_FIELD_NUMBER = 5; - private static final class DetailsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_Error_DetailsEntry_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.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_Error_DetailsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - - private com.google.protobuf.MapField details_; - - private com.google.protobuf.MapField internalGetDetails() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> details_; + private com.google.protobuf.MapField + internalGetDetails() { if (details_ == null) { - return com.google.protobuf.MapField.emptyMapField(DetailsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + DetailsDefaultEntryHolder.defaultEntry); } return details_; } @@ -391,30 +351,28 @@ public int getDetailsCount() { return internalGetDetails().getMap().size(); } /** - * - * *
    * Additional information about the error.
    * 
* * map<string, string> details = 5; */ + @java.lang.Override - public boolean containsDetails(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsDetails( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetDetails().getMap().containsKey(key); } - /** Use {@link #getDetailsMap()} instead. */ + /** + * Use {@link #getDetailsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getDetails() { return getDetailsMap(); } /** - * - * *
    * Additional information about the error.
    * 
@@ -422,12 +380,11 @@ public java.util.Map getDetails() { * map<string, string> details = 5; */ @java.lang.Override + public java.util.Map getDetailsMap() { return internalGetDetails().getMap(); } /** - * - * *
    * Additional information about the error.
    * 
@@ -435,16 +392,16 @@ public java.util.Map getDetailsMap() { * map<string, string> details = 5; */ @java.lang.Override - public java.lang.String getDetailsOrDefault(java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetDetails().getMap(); + + public java.lang.String getDetailsOrDefault( + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetDetails().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * Additional information about the error.
    * 
@@ -452,11 +409,12 @@ public java.lang.String getDetailsOrDefault(java.lang.String key, java.lang.Stri * map<string, string> details = 5; */ @java.lang.Override - public java.lang.String getDetailsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetDetails().getMap(); + + public java.lang.String getDetailsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetDetails().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -464,7 +422,6 @@ public java.lang.String getDetailsOrThrow(java.lang.String key) { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -476,7 +433,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(reason_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, reason_); } @@ -489,8 +447,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (errorTime_ != null) { output.writeMessage(4, getErrorTime()); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetDetails(), DetailsDefaultEntryHolder.defaultEntry, 5); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetDetails(), + DetailsDefaultEntryHolder.defaultEntry, + 5); unknownFields.writeTo(output); } @@ -510,17 +472,18 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, message_); } if (errorTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getErrorTime()); - } - for (java.util.Map.Entry entry : - internalGetDetails().getMap().entrySet()) { - com.google.protobuf.MapEntry details__ = - DetailsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, details__); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getErrorTime()); + } + for (java.util.Map.Entry entry + : internalGetDetails().getMap().entrySet()) { + com.google.protobuf.MapEntry + details__ = DetailsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, details__); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -530,21 +493,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.datastream.v1.Error)) { return super.equals(obj); } com.google.cloud.datastream.v1.Error other = (com.google.cloud.datastream.v1.Error) obj; - if (!getReason().equals(other.getReason())) return false; - if (!getErrorUuid().equals(other.getErrorUuid())) return false; - if (!getMessage().equals(other.getMessage())) return false; + if (!getReason() + .equals(other.getReason())) return false; + if (!getErrorUuid() + .equals(other.getErrorUuid())) return false; + if (!getMessage() + .equals(other.getMessage())) return false; if (hasErrorTime() != other.hasErrorTime()) return false; if (hasErrorTime()) { - if (!getErrorTime().equals(other.getErrorTime())) return false; + if (!getErrorTime() + .equals(other.getErrorTime())) return false; } - if (!internalGetDetails().equals(other.internalGetDetails())) return false; + if (!internalGetDetails().equals( + other.internalGetDetails())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -575,146 +543,140 @@ public int hashCode() { return hash; } - public static com.google.cloud.datastream.v1.Error parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.datastream.v1.Error parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.Error parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1.Error parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.datastream.v1.Error parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.Error parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.Error parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.Error parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.Error 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.datastream.v1.Error parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datastream.v1.Error parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.Error 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.datastream.v1.Error parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.Error parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datastream.v1.Error prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Represent a user-facing Error.
    * 
* * Protobuf type {@code google.cloud.datastream.v1.Error} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1.Error) com.google.cloud.datastream.v1.ErrorOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_Error_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_Error_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 5: return internalGetDetails(); 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 5: return internalGetMutableDetails(); 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.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_Error_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_Error_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.Error.class, - com.google.cloud.datastream.v1.Error.Builder.class); + com.google.cloud.datastream.v1.Error.class, com.google.cloud.datastream.v1.Error.Builder.class); } // Construct using com.google.cloud.datastream.v1.Error.newBuilder() @@ -722,15 +684,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -751,9 +714,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_Error_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_Error_descriptor; } @java.lang.Override @@ -792,39 +755,38 @@ public com.google.cloud.datastream.v1.Error buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1.Error) { - return mergeFrom((com.google.cloud.datastream.v1.Error) other); + return mergeFrom((com.google.cloud.datastream.v1.Error)other); } else { super.mergeFrom(other); return this; @@ -848,7 +810,8 @@ public Builder mergeFrom(com.google.cloud.datastream.v1.Error other) { if (other.hasErrorTime()) { mergeErrorTime(other.getErrorTime()); } - internalGetMutableDetails().mergeFrom(other.internalGetDetails()); + internalGetMutableDetails().mergeFrom( + other.internalGetDetails()); this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -877,25 +840,22 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object reason_ = ""; /** - * - * *
      * A title that explains the reason for the error.
      * 
* * string reason = 1; - * * @return The reason. */ public java.lang.String getReason() { java.lang.Object ref = reason_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); reason_ = s; return s; @@ -904,21 +864,20 @@ public java.lang.String getReason() { } } /** - * - * *
      * A title that explains the reason for the error.
      * 
* * string reason = 1; - * * @return The bytes for reason. */ - public com.google.protobuf.ByteString getReasonBytes() { + public com.google.protobuf.ByteString + getReasonBytes() { java.lang.Object ref = reason_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); reason_ = b; return b; } else { @@ -926,61 +885,54 @@ public com.google.protobuf.ByteString getReasonBytes() { } } /** - * - * *
      * A title that explains the reason for the error.
      * 
* * string reason = 1; - * * @param value The reason to set. * @return This builder for chaining. */ - public Builder setReason(java.lang.String value) { + public Builder setReason( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + reason_ = value; onChanged(); return this; } /** - * - * *
      * A title that explains the reason for the error.
      * 
* * string reason = 1; - * * @return This builder for chaining. */ public Builder clearReason() { - + reason_ = getDefaultInstance().getReason(); onChanged(); return this; } /** - * - * *
      * A title that explains the reason for the error.
      * 
* * string reason = 1; - * * @param value The bytes for reason to set. * @return This builder for chaining. */ - public Builder setReasonBytes(com.google.protobuf.ByteString value) { + public Builder setReasonBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + reason_ = value; onChanged(); return this; @@ -988,21 +940,19 @@ public Builder setReasonBytes(com.google.protobuf.ByteString value) { private java.lang.Object errorUuid_ = ""; /** - * - * *
      * A unique identifier for this specific error,
      * allowing it to be traced throughout the system in logs and API responses.
      * 
* * string error_uuid = 2; - * * @return The errorUuid. */ public java.lang.String getErrorUuid() { java.lang.Object ref = errorUuid_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); errorUuid_ = s; return s; @@ -1011,22 +961,21 @@ public java.lang.String getErrorUuid() { } } /** - * - * *
      * A unique identifier for this specific error,
      * allowing it to be traced throughout the system in logs and API responses.
      * 
* * string error_uuid = 2; - * * @return The bytes for errorUuid. */ - public com.google.protobuf.ByteString getErrorUuidBytes() { + public com.google.protobuf.ByteString + getErrorUuidBytes() { java.lang.Object ref = errorUuid_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); errorUuid_ = b; return b; } else { @@ -1034,64 +983,57 @@ public com.google.protobuf.ByteString getErrorUuidBytes() { } } /** - * - * *
      * A unique identifier for this specific error,
      * allowing it to be traced throughout the system in logs and API responses.
      * 
* * string error_uuid = 2; - * * @param value The errorUuid to set. * @return This builder for chaining. */ - public Builder setErrorUuid(java.lang.String value) { + public Builder setErrorUuid( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + errorUuid_ = value; onChanged(); return this; } /** - * - * *
      * A unique identifier for this specific error,
      * allowing it to be traced throughout the system in logs and API responses.
      * 
* * string error_uuid = 2; - * * @return This builder for chaining. */ public Builder clearErrorUuid() { - + errorUuid_ = getDefaultInstance().getErrorUuid(); onChanged(); return this; } /** - * - * *
      * A unique identifier for this specific error,
      * allowing it to be traced throughout the system in logs and API responses.
      * 
* * string error_uuid = 2; - * * @param value The bytes for errorUuid to set. * @return This builder for chaining. */ - public Builder setErrorUuidBytes(com.google.protobuf.ByteString value) { + public Builder setErrorUuidBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + errorUuid_ = value; onChanged(); return this; @@ -1099,20 +1041,18 @@ public Builder setErrorUuidBytes(com.google.protobuf.ByteString value) { private java.lang.Object message_ = ""; /** - * - * *
      * A message containing more information about the error that occurred.
      * 
* * string message = 3; - * * @return The message. */ public java.lang.String getMessage() { java.lang.Object ref = message_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; @@ -1121,21 +1061,20 @@ public java.lang.String getMessage() { } } /** - * - * *
      * A message containing more information about the error that occurred.
      * 
* * string message = 3; - * * @return The bytes for message. */ - public com.google.protobuf.ByteString getMessageBytes() { + public com.google.protobuf.ByteString + getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); message_ = b; return b; } else { @@ -1143,61 +1082,54 @@ public com.google.protobuf.ByteString getMessageBytes() { } } /** - * - * *
      * A message containing more information about the error that occurred.
      * 
* * string message = 3; - * * @param value The message to set. * @return This builder for chaining. */ - public Builder setMessage(java.lang.String value) { + public Builder setMessage( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + message_ = value; onChanged(); return this; } /** - * - * *
      * A message containing more information about the error that occurred.
      * 
* * string message = 3; - * * @return This builder for chaining. */ public Builder clearMessage() { - + message_ = getDefaultInstance().getMessage(); onChanged(); return this; } /** - * - * *
      * A message containing more information about the error that occurred.
      * 
* * string message = 3; - * * @param value The bytes for message to set. * @return This builder for chaining. */ - public Builder setMessageBytes(com.google.protobuf.ByteString value) { + public Builder setMessageBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + message_ = value; onChanged(); return this; @@ -1205,33 +1137,24 @@ public Builder setMessageBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp errorTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - errorTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> errorTimeBuilder_; /** - * - * *
      * The time when the error occurred.
      * 
* * .google.protobuf.Timestamp error_time = 4; - * * @return Whether the errorTime field is set. */ public boolean hasErrorTime() { return errorTimeBuilder_ != null || errorTime_ != null; } /** - * - * *
      * The time when the error occurred.
      * 
* * .google.protobuf.Timestamp error_time = 4; - * * @return The errorTime. */ public com.google.protobuf.Timestamp getErrorTime() { @@ -1242,8 +1165,6 @@ public com.google.protobuf.Timestamp getErrorTime() { } } /** - * - * *
      * The time when the error occurred.
      * 
@@ -1264,15 +1185,14 @@ public Builder setErrorTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the error occurred.
      * 
* * .google.protobuf.Timestamp error_time = 4; */ - public Builder setErrorTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setErrorTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (errorTimeBuilder_ == null) { errorTime_ = builderForValue.build(); onChanged(); @@ -1283,8 +1203,6 @@ public Builder setErrorTime(com.google.protobuf.Timestamp.Builder builderForValu return this; } /** - * - * *
      * The time when the error occurred.
      * 
@@ -1295,7 +1213,7 @@ public Builder mergeErrorTime(com.google.protobuf.Timestamp value) { if (errorTimeBuilder_ == null) { if (errorTime_ != null) { errorTime_ = - com.google.protobuf.Timestamp.newBuilder(errorTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(errorTime_).mergeFrom(value).buildPartial(); } else { errorTime_ = value; } @@ -1307,8 +1225,6 @@ public Builder mergeErrorTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the error occurred.
      * 
@@ -1327,8 +1243,6 @@ public Builder clearErrorTime() { return this; } /** - * - * *
      * The time when the error occurred.
      * 
@@ -1336,13 +1250,11 @@ public Builder clearErrorTime() { * .google.protobuf.Timestamp error_time = 4; */ public com.google.protobuf.Timestamp.Builder getErrorTimeBuilder() { - + onChanged(); return getErrorTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time when the error occurred.
      * 
@@ -1353,12 +1265,11 @@ public com.google.protobuf.TimestampOrBuilder getErrorTimeOrBuilder() { if (errorTimeBuilder_ != null) { return errorTimeBuilder_.getMessageOrBuilder(); } else { - return errorTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : errorTime_; + return errorTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : errorTime_; } } /** - * - * *
      * The time when the error occurred.
      * 
@@ -1366,37 +1277,35 @@ public com.google.protobuf.TimestampOrBuilder getErrorTimeOrBuilder() { * .google.protobuf.Timestamp error_time = 4; */ 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> getErrorTimeFieldBuilder() { if (errorTimeBuilder_ == null) { - errorTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getErrorTime(), getParentForChildren(), isClean()); + errorTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getErrorTime(), + getParentForChildren(), + isClean()); errorTime_ = null; } return errorTimeBuilder_; } - private com.google.protobuf.MapField details_; - - private com.google.protobuf.MapField internalGetDetails() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> details_; + private com.google.protobuf.MapField + internalGetDetails() { if (details_ == null) { - return com.google.protobuf.MapField.emptyMapField(DetailsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + DetailsDefaultEntryHolder.defaultEntry); } return details_; } - private com.google.protobuf.MapField - internalGetMutableDetails() { - onChanged(); - ; + internalGetMutableDetails() { + onChanged();; if (details_ == null) { - details_ = com.google.protobuf.MapField.newMapField(DetailsDefaultEntryHolder.defaultEntry); + details_ = com.google.protobuf.MapField.newMapField( + DetailsDefaultEntryHolder.defaultEntry); } if (!details_.isMutable()) { details_ = details_.copy(); @@ -1408,30 +1317,28 @@ public int getDetailsCount() { return internalGetDetails().getMap().size(); } /** - * - * *
      * Additional information about the error.
      * 
* * map<string, string> details = 5; */ + @java.lang.Override - public boolean containsDetails(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsDetails( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetDetails().getMap().containsKey(key); } - /** Use {@link #getDetailsMap()} instead. */ + /** + * Use {@link #getDetailsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getDetails() { return getDetailsMap(); } /** - * - * *
      * Additional information about the error.
      * 
@@ -1439,12 +1346,11 @@ public java.util.Map getDetails() { * map<string, string> details = 5; */ @java.lang.Override + public java.util.Map getDetailsMap() { return internalGetDetails().getMap(); } /** - * - * *
      * Additional information about the error.
      * 
@@ -1452,17 +1358,16 @@ public java.util.Map getDetailsMap() { * map<string, string> details = 5; */ @java.lang.Override + public java.lang.String getDetailsOrDefault( - java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetDetails().getMap(); + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetDetails().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * Additional information about the error.
      * 
@@ -1470,11 +1375,12 @@ public java.lang.String getDetailsOrDefault( * map<string, string> details = 5; */ @java.lang.Override - public java.lang.String getDetailsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetDetails().getMap(); + + public java.lang.String getDetailsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetDetails().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -1482,66 +1388,69 @@ public java.lang.String getDetailsOrThrow(java.lang.String key) { } public Builder clearDetails() { - internalGetMutableDetails().getMutableMap().clear(); + internalGetMutableDetails().getMutableMap() + .clear(); return this; } /** - * - * *
      * Additional information about the error.
      * 
* * map<string, string> details = 5; */ - public Builder removeDetails(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableDetails().getMutableMap().remove(key); + + public Builder removeDetails( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableDetails().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map getMutableDetails() { + public java.util.Map + getMutableDetails() { return internalGetMutableDetails().getMutableMap(); } /** - * - * *
      * Additional information about the error.
      * 
* * map<string, string> details = 5; */ - public Builder putDetails(java.lang.String key, java.lang.String value) { - if (key == null) { - throw new NullPointerException("map key"); - } + public Builder putDetails( + java.lang.String key, + java.lang.String value) { + if (key == null) { throw new NullPointerException("map key"); } if (value == null) { - throw new NullPointerException("map value"); - } + throw new NullPointerException("map value"); +} - internalGetMutableDetails().getMutableMap().put(key, value); + internalGetMutableDetails().getMutableMap() + .put(key, value); return this; } /** - * - * *
      * Additional information about the error.
      * 
* * map<string, string> details = 5; */ - public Builder putAllDetails(java.util.Map values) { - internalGetMutableDetails().getMutableMap().putAll(values); + + public Builder putAllDetails( + java.util.Map values) { + internalGetMutableDetails().getMutableMap() + .putAll(values); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1551,12 +1460,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1.Error) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1.Error) private static final com.google.cloud.datastream.v1.Error DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1.Error(); } @@ -1565,16 +1474,16 @@ public static com.google.cloud.datastream.v1.Error getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Error parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Error(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Error parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Error(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1589,4 +1498,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datastream.v1.Error getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ErrorOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ErrorOrBuilder.java similarity index 69% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ErrorOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ErrorOrBuilder.java index 71d2a729..d1ae6e37 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ErrorOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ErrorOrBuilder.java @@ -1,132 +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/datastream/v1/datastream_resources.proto package com.google.cloud.datastream.v1; -public interface ErrorOrBuilder - extends +public interface ErrorOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1.Error) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A title that explains the reason for the error.
    * 
* * string reason = 1; - * * @return The reason. */ java.lang.String getReason(); /** - * - * *
    * A title that explains the reason for the error.
    * 
* * string reason = 1; - * * @return The bytes for reason. */ - com.google.protobuf.ByteString getReasonBytes(); + com.google.protobuf.ByteString + getReasonBytes(); /** - * - * *
    * A unique identifier for this specific error,
    * allowing it to be traced throughout the system in logs and API responses.
    * 
* * string error_uuid = 2; - * * @return The errorUuid. */ java.lang.String getErrorUuid(); /** - * - * *
    * A unique identifier for this specific error,
    * allowing it to be traced throughout the system in logs and API responses.
    * 
* * string error_uuid = 2; - * * @return The bytes for errorUuid. */ - com.google.protobuf.ByteString getErrorUuidBytes(); + com.google.protobuf.ByteString + getErrorUuidBytes(); /** - * - * *
    * A message containing more information about the error that occurred.
    * 
* * string message = 3; - * * @return The message. */ java.lang.String getMessage(); /** - * - * *
    * A message containing more information about the error that occurred.
    * 
* * string message = 3; - * * @return The bytes for message. */ - com.google.protobuf.ByteString getMessageBytes(); + com.google.protobuf.ByteString + getMessageBytes(); /** - * - * *
    * The time when the error occurred.
    * 
* * .google.protobuf.Timestamp error_time = 4; - * * @return Whether the errorTime field is set. */ boolean hasErrorTime(); /** - * - * *
    * The time when the error occurred.
    * 
* * .google.protobuf.Timestamp error_time = 4; - * * @return The errorTime. */ com.google.protobuf.Timestamp getErrorTime(); /** - * - * *
    * The time when the error occurred.
    * 
@@ -136,8 +97,6 @@ public interface ErrorOrBuilder com.google.protobuf.TimestampOrBuilder getErrorTimeOrBuilder(); /** - * - * *
    * Additional information about the error.
    * 
@@ -146,31 +105,30 @@ public interface ErrorOrBuilder */ int getDetailsCount(); /** - * - * *
    * Additional information about the error.
    * 
* * map<string, string> details = 5; */ - boolean containsDetails(java.lang.String key); - /** Use {@link #getDetailsMap()} instead. */ + boolean containsDetails( + java.lang.String key); + /** + * Use {@link #getDetailsMap()} instead. + */ @java.lang.Deprecated - java.util.Map getDetails(); + java.util.Map + getDetails(); /** - * - * *
    * Additional information about the error.
    * 
* * map<string, string> details = 5; */ - java.util.Map getDetailsMap(); + java.util.Map + getDetailsMap(); /** - * - * *
    * Additional information about the error.
    * 
@@ -179,18 +137,18 @@ public interface ErrorOrBuilder */ /* nullable */ - java.lang.String getDetailsOrDefault( +java.lang.String getDetailsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue); +java.lang.String defaultValue); /** - * - * *
    * Additional information about the error.
    * 
* * map<string, string> details = 5; */ - java.lang.String getDetailsOrThrow(java.lang.String key); + + java.lang.String getDetailsOrThrow( + java.lang.String key); } diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/FetchStaticIpsRequest.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/FetchStaticIpsRequest.java similarity index 68% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/FetchStaticIpsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/FetchStaticIpsRequest.java index a4d0235c..e1eb3790 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/FetchStaticIpsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/FetchStaticIpsRequest.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/datastream/v1/datastream.proto package com.google.cloud.datastream.v1; /** - * - * *
  * Request message for 'FetchStaticIps' request.
  * 
* * Protobuf type {@code google.cloud.datastream.v1.FetchStaticIpsRequest} */ -public final class FetchStaticIpsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class FetchStaticIpsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1.FetchStaticIpsRequest) FetchStaticIpsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use FetchStaticIpsRequest.newBuilder() to construct. private FetchStaticIpsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private FetchStaticIpsRequest() { name_ = ""; pageToken_ = ""; @@ -44,15 +26,16 @@ private FetchStaticIpsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new FetchStaticIpsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private FetchStaticIpsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,32 +54,30 @@ private FetchStaticIpsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -104,42 +85,35 @@ private FetchStaticIpsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_FetchStaticIpsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_FetchStaticIpsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_FetchStaticIpsRequest_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_FetchStaticIpsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.FetchStaticIpsRequest.class, - com.google.cloud.datastream.v1.FetchStaticIpsRequest.Builder.class); + com.google.cloud.datastream.v1.FetchStaticIpsRequest.class, com.google.cloud.datastream.v1.FetchStaticIpsRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The resource name for the location for which static IPs should be returned.
    * Must be in the format `projects/*/locations/*`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -148,32 +122,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. The resource name for the location for which static IPs should be returned.
    * Must be in the format `projects/*/locations/*`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -184,14 +156,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * Maximum number of Ips to return, will likely not be specified.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -202,15 +171,12 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * A page token, received from a previous `ListStaticIps` call.
    * will likely not be specified.
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -219,30 +185,30 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * A page token, received from a previous `ListStaticIps` call.
    * will likely not be specified.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -251,7 +217,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -263,7 +228,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_); } @@ -286,7 +252,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } 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_); @@ -299,17 +266,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.datastream.v1.FetchStaticIpsRequest)) { return super.equals(obj); } - com.google.cloud.datastream.v1.FetchStaticIpsRequest other = - (com.google.cloud.datastream.v1.FetchStaticIpsRequest) obj; + com.google.cloud.datastream.v1.FetchStaticIpsRequest other = (com.google.cloud.datastream.v1.FetchStaticIpsRequest) obj; - if (!getName().equals(other.getName())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getName() + .equals(other.getName())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -333,126 +302,117 @@ public int hashCode() { } public static com.google.cloud.datastream.v1.FetchStaticIpsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.FetchStaticIpsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.FetchStaticIpsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.FetchStaticIpsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.FetchStaticIpsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.FetchStaticIpsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1.FetchStaticIpsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.FetchStaticIpsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.FetchStaticIpsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1.FetchStaticIpsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.FetchStaticIpsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.FetchStaticIpsRequest 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.datastream.v1.FetchStaticIpsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.FetchStaticIpsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datastream.v1.FetchStaticIpsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for 'FetchStaticIps' request.
    * 
* * Protobuf type {@code google.cloud.datastream.v1.FetchStaticIpsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1.FetchStaticIpsRequest) com.google.cloud.datastream.v1.FetchStaticIpsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_FetchStaticIpsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_FetchStaticIpsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_FetchStaticIpsRequest_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_FetchStaticIpsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.FetchStaticIpsRequest.class, - com.google.cloud.datastream.v1.FetchStaticIpsRequest.Builder.class); + com.google.cloud.datastream.v1.FetchStaticIpsRequest.class, com.google.cloud.datastream.v1.FetchStaticIpsRequest.Builder.class); } // Construct using com.google.cloud.datastream.v1.FetchStaticIpsRequest.newBuilder() @@ -460,15 +420,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -482,9 +443,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_FetchStaticIpsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_FetchStaticIpsRequest_descriptor; } @java.lang.Override @@ -503,8 +464,7 @@ public com.google.cloud.datastream.v1.FetchStaticIpsRequest build() { @java.lang.Override public com.google.cloud.datastream.v1.FetchStaticIpsRequest buildPartial() { - com.google.cloud.datastream.v1.FetchStaticIpsRequest result = - new com.google.cloud.datastream.v1.FetchStaticIpsRequest(this); + com.google.cloud.datastream.v1.FetchStaticIpsRequest result = new com.google.cloud.datastream.v1.FetchStaticIpsRequest(this); result.name_ = name_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -516,39 +476,38 @@ public com.google.cloud.datastream.v1.FetchStaticIpsRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1.FetchStaticIpsRequest) { - return mergeFrom((com.google.cloud.datastream.v1.FetchStaticIpsRequest) other); + return mergeFrom((com.google.cloud.datastream.v1.FetchStaticIpsRequest)other); } else { super.mergeFrom(other); return this; @@ -556,8 +515,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datastream.v1.FetchStaticIpsRequest other) { - if (other == com.google.cloud.datastream.v1.FetchStaticIpsRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.datastream.v1.FetchStaticIpsRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -588,8 +546,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datastream.v1.FetchStaticIpsRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datastream.v1.FetchStaticIpsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -601,23 +558,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The resource name for the location for which static IPs should be returned.
      * Must be in the format `projects/*/locations/*`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -626,24 +579,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The resource name for the location for which static IPs should be returned.
      * Must be in the format `projects/*/locations/*`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -651,85 +601,69 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The resource name for the location for which static IPs should be returned.
      * Must be in the format `projects/*/locations/*`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The resource name for the location for which static IPs should be returned.
      * Must be in the format `projects/*/locations/*`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The resource name for the location for which static IPs should be returned.
      * Must be in the format `projects/*/locations/*`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Maximum number of Ips to return, will likely not be specified.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -737,36 +671,30 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Maximum number of Ips to return, will likely not be specified.
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * Maximum number of Ips to return, will likely not be specified.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -774,21 +702,19 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A page token, received from a previous `ListStaticIps` call.
      * will likely not be specified.
      * 
* * 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; @@ -797,22 +723,21 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A page token, received from a previous `ListStaticIps` call.
      * will likely not be specified.
      * 
* * 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 { @@ -820,71 +745,64 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A page token, received from a previous `ListStaticIps` call.
      * will likely not be specified.
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * A page token, received from a previous `ListStaticIps` call.
      * will likely not be specified.
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * A page token, received from a previous `ListStaticIps` call.
      * will likely not be specified.
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -894,12 +812,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1.FetchStaticIpsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1.FetchStaticIpsRequest) private static final com.google.cloud.datastream.v1.FetchStaticIpsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1.FetchStaticIpsRequest(); } @@ -908,16 +826,16 @@ public static com.google.cloud.datastream.v1.FetchStaticIpsRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FetchStaticIpsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new FetchStaticIpsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FetchStaticIpsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new FetchStaticIpsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -932,4 +850,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datastream.v1.FetchStaticIpsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/FetchStaticIpsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/FetchStaticIpsRequestOrBuilder.java similarity index 56% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/FetchStaticIpsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/FetchStaticIpsRequestOrBuilder.java index 09c66d82..4f7f2606 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/FetchStaticIpsRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/FetchStaticIpsRequestOrBuilder.java @@ -1,96 +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/datastream/v1/datastream.proto package com.google.cloud.datastream.v1; -public interface FetchStaticIpsRequestOrBuilder - extends +public interface FetchStaticIpsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1.FetchStaticIpsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The resource name for the location for which static IPs should be returned.
    * Must be in the format `projects/*/locations/*`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The resource name for the location for which static IPs should be returned.
    * Must be in the format `projects/*/locations/*`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Maximum number of Ips to return, will likely not be specified.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A page token, received from a previous `ListStaticIps` call.
    * will likely not be specified.
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A page token, received from a previous `ListStaticIps` call.
    * will likely not be specified.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/FetchStaticIpsResponse.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/FetchStaticIpsResponse.java similarity index 71% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/FetchStaticIpsResponse.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/FetchStaticIpsResponse.java index 95d27ec7..99aa355b 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/FetchStaticIpsResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/FetchStaticIpsResponse.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/datastream/v1/datastream.proto package com.google.cloud.datastream.v1; /** - * - * *
  * Response message for a 'FetchStaticIps' response.
  * 
* * Protobuf type {@code google.cloud.datastream.v1.FetchStaticIpsResponse} */ -public final class FetchStaticIpsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class FetchStaticIpsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1.FetchStaticIpsResponse) FetchStaticIpsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use FetchStaticIpsResponse.newBuilder() to construct. private FetchStaticIpsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private FetchStaticIpsResponse() { staticIps_ = com.google.protobuf.LazyStringArrayList.EMPTY; nextPageToken_ = ""; @@ -44,15 +26,16 @@ private FetchStaticIpsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new FetchStaticIpsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private FetchStaticIpsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,30 +55,28 @@ private FetchStaticIpsResponse( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - staticIps_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - staticIps_.add(s); - break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + staticIps_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + staticIps_.add(s); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -103,7 +84,8 @@ private FetchStaticIpsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { staticIps_ = staticIps_.getUnmodifiableView(); @@ -112,61 +94,50 @@ private FetchStaticIpsResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_FetchStaticIpsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_FetchStaticIpsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_FetchStaticIpsResponse_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_FetchStaticIpsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.FetchStaticIpsResponse.class, - com.google.cloud.datastream.v1.FetchStaticIpsResponse.Builder.class); + com.google.cloud.datastream.v1.FetchStaticIpsResponse.class, com.google.cloud.datastream.v1.FetchStaticIpsResponse.Builder.class); } public static final int STATIC_IPS_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList staticIps_; /** - * - * *
    * list of static ips by account
    * 
* * repeated string static_ips = 1; - * * @return A list containing the staticIps. */ - public com.google.protobuf.ProtocolStringList getStaticIpsList() { + public com.google.protobuf.ProtocolStringList + getStaticIpsList() { return staticIps_; } /** - * - * *
    * list of static ips by account
    * 
* * repeated string static_ips = 1; - * * @return The count of staticIps. */ public int getStaticIpsCount() { return staticIps_.size(); } /** - * - * *
    * list of static ips by account
    * 
* * repeated string static_ips = 1; - * * @param index The index of the element to return. * @return The staticIps at the given index. */ @@ -174,33 +145,28 @@ public java.lang.String getStaticIps(int index) { return staticIps_.get(index); } /** - * - * *
    * list of static ips by account
    * 
* * repeated string static_ips = 1; - * * @param index The index of the value to return. * @return The bytes of the staticIps at the given index. */ - public com.google.protobuf.ByteString getStaticIpsBytes(int index) { + public com.google.protobuf.ByteString + getStaticIpsBytes(int index) { return staticIps_.getByteString(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * A token that can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -209,30 +175,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * A token that can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * 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 { @@ -241,7 +207,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } 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 { for (int i = 0; i < staticIps_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, staticIps_.getRaw(i)); } @@ -288,16 +254,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.datastream.v1.FetchStaticIpsResponse)) { return super.equals(obj); } - com.google.cloud.datastream.v1.FetchStaticIpsResponse other = - (com.google.cloud.datastream.v1.FetchStaticIpsResponse) obj; + com.google.cloud.datastream.v1.FetchStaticIpsResponse other = (com.google.cloud.datastream.v1.FetchStaticIpsResponse) obj; - if (!getStaticIpsList().equals(other.getStaticIpsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getStaticIpsList() + .equals(other.getStaticIpsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -321,127 +288,117 @@ public int hashCode() { } public static com.google.cloud.datastream.v1.FetchStaticIpsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.FetchStaticIpsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.FetchStaticIpsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.FetchStaticIpsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.FetchStaticIpsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.FetchStaticIpsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1.FetchStaticIpsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.FetchStaticIpsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.FetchStaticIpsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1.FetchStaticIpsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.FetchStaticIpsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.FetchStaticIpsResponse 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.datastream.v1.FetchStaticIpsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.FetchStaticIpsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datastream.v1.FetchStaticIpsResponse prototype) { + public static Builder newBuilder(com.google.cloud.datastream.v1.FetchStaticIpsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for a 'FetchStaticIps' response.
    * 
* * Protobuf type {@code google.cloud.datastream.v1.FetchStaticIpsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1.FetchStaticIpsResponse) com.google.cloud.datastream.v1.FetchStaticIpsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_FetchStaticIpsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_FetchStaticIpsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_FetchStaticIpsResponse_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_FetchStaticIpsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.FetchStaticIpsResponse.class, - com.google.cloud.datastream.v1.FetchStaticIpsResponse.Builder.class); + com.google.cloud.datastream.v1.FetchStaticIpsResponse.class, com.google.cloud.datastream.v1.FetchStaticIpsResponse.Builder.class); } // Construct using com.google.cloud.datastream.v1.FetchStaticIpsResponse.newBuilder() @@ -449,15 +406,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -469,9 +427,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_FetchStaticIpsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_FetchStaticIpsResponse_descriptor; } @java.lang.Override @@ -490,8 +448,7 @@ public com.google.cloud.datastream.v1.FetchStaticIpsResponse build() { @java.lang.Override public com.google.cloud.datastream.v1.FetchStaticIpsResponse buildPartial() { - com.google.cloud.datastream.v1.FetchStaticIpsResponse result = - new com.google.cloud.datastream.v1.FetchStaticIpsResponse(this); + com.google.cloud.datastream.v1.FetchStaticIpsResponse result = new com.google.cloud.datastream.v1.FetchStaticIpsResponse(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { staticIps_ = staticIps_.getUnmodifiableView(); @@ -507,39 +464,38 @@ public com.google.cloud.datastream.v1.FetchStaticIpsResponse buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1.FetchStaticIpsResponse) { - return mergeFrom((com.google.cloud.datastream.v1.FetchStaticIpsResponse) other); + return mergeFrom((com.google.cloud.datastream.v1.FetchStaticIpsResponse)other); } else { super.mergeFrom(other); return this; @@ -547,8 +503,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datastream.v1.FetchStaticIpsResponse other) { - if (other == com.google.cloud.datastream.v1.FetchStaticIpsResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.datastream.v1.FetchStaticIpsResponse.getDefaultInstance()) return this; if (!other.staticIps_.isEmpty()) { if (staticIps_.isEmpty()) { staticIps_ = other.staticIps_; @@ -582,8 +537,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datastream.v1.FetchStaticIpsResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datastream.v1.FetchStaticIpsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -592,55 +546,44 @@ public Builder mergeFrom( } return this; } - private int bitField0_; - private com.google.protobuf.LazyStringList staticIps_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList staticIps_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureStaticIpsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { staticIps_ = new com.google.protobuf.LazyStringArrayList(staticIps_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * list of static ips by account
      * 
* * repeated string static_ips = 1; - * * @return A list containing the staticIps. */ - public com.google.protobuf.ProtocolStringList getStaticIpsList() { + public com.google.protobuf.ProtocolStringList + getStaticIpsList() { return staticIps_.getUnmodifiableView(); } /** - * - * *
      * list of static ips by account
      * 
* * repeated string static_ips = 1; - * * @return The count of staticIps. */ public int getStaticIpsCount() { return staticIps_.size(); } /** - * - * *
      * list of static ips by account
      * 
* * repeated string static_ips = 1; - * * @param index The index of the element to return. * @return The staticIps at the given index. */ @@ -648,90 +591,80 @@ public java.lang.String getStaticIps(int index) { return staticIps_.get(index); } /** - * - * *
      * list of static ips by account
      * 
* * repeated string static_ips = 1; - * * @param index The index of the value to return. * @return The bytes of the staticIps at the given index. */ - public com.google.protobuf.ByteString getStaticIpsBytes(int index) { + public com.google.protobuf.ByteString + getStaticIpsBytes(int index) { return staticIps_.getByteString(index); } /** - * - * *
      * list of static ips by account
      * 
* * repeated string static_ips = 1; - * * @param index The index to set the value at. * @param value The staticIps to set. * @return This builder for chaining. */ - public Builder setStaticIps(int index, java.lang.String value) { + public Builder setStaticIps( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureStaticIpsIsMutable(); + throw new NullPointerException(); + } + ensureStaticIpsIsMutable(); staticIps_.set(index, value); onChanged(); return this; } /** - * - * *
      * list of static ips by account
      * 
* * repeated string static_ips = 1; - * * @param value The staticIps to add. * @return This builder for chaining. */ - public Builder addStaticIps(java.lang.String value) { + public Builder addStaticIps( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureStaticIpsIsMutable(); + throw new NullPointerException(); + } + ensureStaticIpsIsMutable(); staticIps_.add(value); onChanged(); return this; } /** - * - * *
      * list of static ips by account
      * 
* * repeated string static_ips = 1; - * * @param values The staticIps to add. * @return This builder for chaining. */ - public Builder addAllStaticIps(java.lang.Iterable values) { + public Builder addAllStaticIps( + java.lang.Iterable values) { ensureStaticIpsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, staticIps_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, staticIps_); onChanged(); return this; } /** - * - * *
      * list of static ips by account
      * 
* * repeated string static_ips = 1; - * * @return This builder for chaining. */ public Builder clearStaticIps() { @@ -741,22 +674,20 @@ public Builder clearStaticIps() { return this; } /** - * - * *
      * list of static ips by account
      * 
* * repeated string static_ips = 1; - * * @param value The bytes of the staticIps to add. * @return This builder for chaining. */ - public Builder addStaticIpsBytes(com.google.protobuf.ByteString value) { + public Builder addStaticIpsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureStaticIpsIsMutable(); staticIps_.add(value); onChanged(); @@ -765,21 +696,19 @@ public Builder addStaticIpsBytes(com.google.protobuf.ByteString value) { private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token that can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * 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; @@ -788,22 +717,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token that can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * 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 { @@ -811,71 +739,64 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token that can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * A token that can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * A token that can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -885,12 +806,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1.FetchStaticIpsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1.FetchStaticIpsResponse) private static final com.google.cloud.datastream.v1.FetchStaticIpsResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1.FetchStaticIpsResponse(); } @@ -899,16 +820,16 @@ public static com.google.cloud.datastream.v1.FetchStaticIpsResponse getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FetchStaticIpsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new FetchStaticIpsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FetchStaticIpsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new FetchStaticIpsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -923,4 +844,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datastream.v1.FetchStaticIpsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/FetchStaticIpsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/FetchStaticIpsResponseOrBuilder.java similarity index 65% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/FetchStaticIpsResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/FetchStaticIpsResponseOrBuilder.java index fc59ab73..128d3d63 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/FetchStaticIpsResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/FetchStaticIpsResponseOrBuilder.java @@ -1,103 +1,72 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1/datastream.proto package com.google.cloud.datastream.v1; -public interface FetchStaticIpsResponseOrBuilder - extends +public interface FetchStaticIpsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1.FetchStaticIpsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * list of static ips by account
    * 
* * repeated string static_ips = 1; - * * @return A list containing the staticIps. */ - java.util.List getStaticIpsList(); + java.util.List + getStaticIpsList(); /** - * - * *
    * list of static ips by account
    * 
* * repeated string static_ips = 1; - * * @return The count of staticIps. */ int getStaticIpsCount(); /** - * - * *
    * list of static ips by account
    * 
* * repeated string static_ips = 1; - * * @param index The index of the element to return. * @return The staticIps at the given index. */ java.lang.String getStaticIps(int index); /** - * - * *
    * list of static ips by account
    * 
* * repeated string static_ips = 1; - * * @param index The index of the value to return. * @return The bytes of the staticIps at the given index. */ - com.google.protobuf.ByteString getStaticIpsBytes(int index); + com.google.protobuf.ByteString + getStaticIpsBytes(int index); /** - * - * *
    * A token that can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token that can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ForwardSshTunnelConnectivity.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ForwardSshTunnelConnectivity.java similarity index 73% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ForwardSshTunnelConnectivity.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ForwardSshTunnelConnectivity.java index 56fdfcfa..7bbb9175 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ForwardSshTunnelConnectivity.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ForwardSshTunnelConnectivity.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/datastream/v1/datastream_resources.proto package com.google.cloud.datastream.v1; /** - * - * *
  * Forward SSH Tunnel connectivity.
  * 
* * Protobuf type {@code google.cloud.datastream.v1.ForwardSshTunnelConnectivity} */ -public final class ForwardSshTunnelConnectivity extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ForwardSshTunnelConnectivity extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1.ForwardSshTunnelConnectivity) ForwardSshTunnelConnectivityOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ForwardSshTunnelConnectivity.newBuilder() to construct. private ForwardSshTunnelConnectivity(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ForwardSshTunnelConnectivity() { hostname_ = ""; username_ = ""; @@ -44,15 +26,16 @@ private ForwardSshTunnelConnectivity() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ForwardSshTunnelConnectivity(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ForwardSshTunnelConnectivity( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,46 +54,42 @@ private ForwardSshTunnelConnectivity( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - hostname_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + hostname_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - username_ = s; - break; - } - case 24: - { - port_ = input.readInt32(); - break; - } - case 802: - { - java.lang.String s = input.readStringRequireUtf8(); - authenticationMethodCase_ = 100; - authenticationMethod_ = s; - break; - } - case 810: - { - java.lang.String s = input.readStringRequireUtf8(); - authenticationMethodCase_ = 101; - authenticationMethod_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + username_ = s; + break; + } + case 24: { + + port_ = input.readInt32(); + break; + } + case 802: { + java.lang.String s = input.readStringRequireUtf8(); + authenticationMethodCase_ = 100; + authenticationMethod_ = s; + break; + } + case 810: { + java.lang.String s = input.readStringRequireUtf8(); + authenticationMethodCase_ = 101; + authenticationMethod_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -118,40 +97,35 @@ private ForwardSshTunnelConnectivity( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_ForwardSshTunnelConnectivity_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_ForwardSshTunnelConnectivity_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_ForwardSshTunnelConnectivity_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_ForwardSshTunnelConnectivity_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.ForwardSshTunnelConnectivity.class, - com.google.cloud.datastream.v1.ForwardSshTunnelConnectivity.Builder.class); + com.google.cloud.datastream.v1.ForwardSshTunnelConnectivity.class, com.google.cloud.datastream.v1.ForwardSshTunnelConnectivity.Builder.class); } private int authenticationMethodCase_ = 0; private java.lang.Object authenticationMethod_; - public enum AuthenticationMethodCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { PASSWORD(100), PRIVATE_KEY(101), AUTHENTICATIONMETHOD_NOT_SET(0); private final int value; - private AuthenticationMethodCase(int value) { this.value = value; } @@ -167,37 +141,31 @@ public static AuthenticationMethodCase valueOf(int value) { public static AuthenticationMethodCase forNumber(int value) { switch (value) { - case 100: - return PASSWORD; - case 101: - return PRIVATE_KEY; - case 0: - return AUTHENTICATIONMETHOD_NOT_SET; - default: - return null; + case 100: return PASSWORD; + case 101: return PRIVATE_KEY; + case 0: return AUTHENTICATIONMETHOD_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public AuthenticationMethodCase getAuthenticationMethodCase() { - return AuthenticationMethodCase.forNumber(authenticationMethodCase_); + public AuthenticationMethodCase + getAuthenticationMethodCase() { + return AuthenticationMethodCase.forNumber( + authenticationMethodCase_); } public static final int HOSTNAME_FIELD_NUMBER = 1; private volatile java.lang.Object hostname_; /** - * - * *
    * Required. Hostname for the SSH tunnel.
    * 
* * string hostname = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The hostname. */ @java.lang.Override @@ -206,29 +174,29 @@ public java.lang.String getHostname() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); hostname_ = s; return s; } } /** - * - * *
    * Required. Hostname for the SSH tunnel.
    * 
* * string hostname = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for hostname. */ @java.lang.Override - public com.google.protobuf.ByteString getHostnameBytes() { + public com.google.protobuf.ByteString + getHostnameBytes() { java.lang.Object ref = hostname_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); hostname_ = b; return b; } else { @@ -239,14 +207,11 @@ public com.google.protobuf.ByteString getHostnameBytes() { public static final int USERNAME_FIELD_NUMBER = 2; private volatile java.lang.Object username_; /** - * - * *
    * Required. Username for the SSH tunnel.
    * 
* * string username = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The username. */ @java.lang.Override @@ -255,29 +220,29 @@ public java.lang.String getUsername() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); username_ = s; return s; } } /** - * - * *
    * Required. Username for the SSH tunnel.
    * 
* * string username = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for username. */ @java.lang.Override - public com.google.protobuf.ByteString getUsernameBytes() { + public com.google.protobuf.ByteString + getUsernameBytes() { java.lang.Object ref = username_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); username_ = b; return b; } else { @@ -288,14 +253,11 @@ public com.google.protobuf.ByteString getUsernameBytes() { public static final int PORT_FIELD_NUMBER = 3; private int port_; /** - * - * *
    * Port for the SSH tunnel, default value is 22.
    * 
* * int32 port = 3; - * * @return The port. */ @java.lang.Override @@ -305,28 +267,22 @@ public int getPort() { public static final int PASSWORD_FIELD_NUMBER = 100; /** - * - * *
    * Input only. SSH password.
    * 
* * string password = 100 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return Whether the password field is set. */ public boolean hasPassword() { return authenticationMethodCase_ == 100; } /** - * - * *
    * Input only. SSH password.
    * 
* * string password = 100 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The password. */ public java.lang.String getPassword() { @@ -337,7 +293,8 @@ public java.lang.String getPassword() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (authenticationMethodCase_ == 100) { authenticationMethod_ = s; @@ -346,24 +303,23 @@ public java.lang.String getPassword() { } } /** - * - * *
    * Input only. SSH password.
    * 
* * string password = 100 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The bytes for password. */ - public com.google.protobuf.ByteString getPasswordBytes() { + public com.google.protobuf.ByteString + getPasswordBytes() { java.lang.Object ref = ""; if (authenticationMethodCase_ == 100) { ref = authenticationMethod_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (authenticationMethodCase_ == 100) { authenticationMethod_ = b; } @@ -375,28 +331,22 @@ public com.google.protobuf.ByteString getPasswordBytes() { public static final int PRIVATE_KEY_FIELD_NUMBER = 101; /** - * - * *
    * Input only. SSH private key.
    * 
* * string private_key = 101 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return Whether the privateKey field is set. */ public boolean hasPrivateKey() { return authenticationMethodCase_ == 101; } /** - * - * *
    * Input only. SSH private key.
    * 
* * string private_key = 101 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The privateKey. */ public java.lang.String getPrivateKey() { @@ -407,7 +357,8 @@ public java.lang.String getPrivateKey() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (authenticationMethodCase_ == 101) { authenticationMethod_ = s; @@ -416,24 +367,23 @@ public java.lang.String getPrivateKey() { } } /** - * - * *
    * Input only. SSH private key.
    * 
* * string private_key = 101 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The bytes for privateKey. */ - public com.google.protobuf.ByteString getPrivateKeyBytes() { + public com.google.protobuf.ByteString + getPrivateKeyBytes() { java.lang.Object ref = ""; if (authenticationMethodCase_ == 101) { ref = authenticationMethod_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (authenticationMethodCase_ == 101) { authenticationMethod_ = b; } @@ -444,7 +394,6 @@ public com.google.protobuf.ByteString getPrivateKeyBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -456,7 +405,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(hostname_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, hostname_); } @@ -488,7 +438,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, username_); } if (port_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, port_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, port_); } if (authenticationMethodCase_ == 100) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(100, authenticationMethod_); @@ -504,24 +455,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.datastream.v1.ForwardSshTunnelConnectivity)) { return super.equals(obj); } - com.google.cloud.datastream.v1.ForwardSshTunnelConnectivity other = - (com.google.cloud.datastream.v1.ForwardSshTunnelConnectivity) obj; + com.google.cloud.datastream.v1.ForwardSshTunnelConnectivity other = (com.google.cloud.datastream.v1.ForwardSshTunnelConnectivity) obj; - if (!getHostname().equals(other.getHostname())) return false; - if (!getUsername().equals(other.getUsername())) return false; - if (getPort() != other.getPort()) return false; + if (!getHostname() + .equals(other.getHostname())) return false; + if (!getUsername() + .equals(other.getUsername())) return false; + if (getPort() + != other.getPort()) return false; if (!getAuthenticationMethodCase().equals(other.getAuthenticationMethodCase())) return false; switch (authenticationMethodCase_) { case 100: - if (!getPassword().equals(other.getPassword())) return false; + if (!getPassword() + .equals(other.getPassword())) return false; break; case 101: - if (!getPrivateKey().equals(other.getPrivateKey())) return false; + if (!getPrivateKey() + .equals(other.getPrivateKey())) return false; break; case 0: default: @@ -561,127 +516,117 @@ public int hashCode() { } public static com.google.cloud.datastream.v1.ForwardSshTunnelConnectivity parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.ForwardSshTunnelConnectivity parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.ForwardSshTunnelConnectivity parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.ForwardSshTunnelConnectivity parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.ForwardSshTunnelConnectivity parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.ForwardSshTunnelConnectivity parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1.ForwardSshTunnelConnectivity parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.ForwardSshTunnelConnectivity parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.ForwardSshTunnelConnectivity parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1.ForwardSshTunnelConnectivity parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.ForwardSshTunnelConnectivity parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.ForwardSshTunnelConnectivity 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.datastream.v1.ForwardSshTunnelConnectivity parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.ForwardSshTunnelConnectivity parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datastream.v1.ForwardSshTunnelConnectivity prototype) { + public static Builder newBuilder(com.google.cloud.datastream.v1.ForwardSshTunnelConnectivity prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Forward SSH Tunnel connectivity.
    * 
* * Protobuf type {@code google.cloud.datastream.v1.ForwardSshTunnelConnectivity} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1.ForwardSshTunnelConnectivity) com.google.cloud.datastream.v1.ForwardSshTunnelConnectivityOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_ForwardSshTunnelConnectivity_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_ForwardSshTunnelConnectivity_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_ForwardSshTunnelConnectivity_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_ForwardSshTunnelConnectivity_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.ForwardSshTunnelConnectivity.class, - com.google.cloud.datastream.v1.ForwardSshTunnelConnectivity.Builder.class); + com.google.cloud.datastream.v1.ForwardSshTunnelConnectivity.class, com.google.cloud.datastream.v1.ForwardSshTunnelConnectivity.Builder.class); } // Construct using com.google.cloud.datastream.v1.ForwardSshTunnelConnectivity.newBuilder() @@ -689,15 +634,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -713,9 +659,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_ForwardSshTunnelConnectivity_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_ForwardSshTunnelConnectivity_descriptor; } @java.lang.Override @@ -734,8 +680,7 @@ public com.google.cloud.datastream.v1.ForwardSshTunnelConnectivity build() { @java.lang.Override public com.google.cloud.datastream.v1.ForwardSshTunnelConnectivity buildPartial() { - com.google.cloud.datastream.v1.ForwardSshTunnelConnectivity result = - new com.google.cloud.datastream.v1.ForwardSshTunnelConnectivity(this); + com.google.cloud.datastream.v1.ForwardSshTunnelConnectivity result = new com.google.cloud.datastream.v1.ForwardSshTunnelConnectivity(this); result.hostname_ = hostname_; result.username_ = username_; result.port_ = port_; @@ -754,39 +699,38 @@ public com.google.cloud.datastream.v1.ForwardSshTunnelConnectivity buildPartial( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1.ForwardSshTunnelConnectivity) { - return mergeFrom((com.google.cloud.datastream.v1.ForwardSshTunnelConnectivity) other); + return mergeFrom((com.google.cloud.datastream.v1.ForwardSshTunnelConnectivity)other); } else { super.mergeFrom(other); return this; @@ -794,8 +738,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datastream.v1.ForwardSshTunnelConnectivity other) { - if (other == com.google.cloud.datastream.v1.ForwardSshTunnelConnectivity.getDefaultInstance()) - return this; + if (other == com.google.cloud.datastream.v1.ForwardSshTunnelConnectivity.getDefaultInstance()) return this; if (!other.getHostname().isEmpty()) { hostname_ = other.hostname_; onChanged(); @@ -808,24 +751,21 @@ public Builder mergeFrom(com.google.cloud.datastream.v1.ForwardSshTunnelConnecti setPort(other.getPort()); } switch (other.getAuthenticationMethodCase()) { - case PASSWORD: - { - authenticationMethodCase_ = 100; - authenticationMethod_ = other.authenticationMethod_; - onChanged(); - break; - } - case PRIVATE_KEY: - { - authenticationMethodCase_ = 101; - authenticationMethod_ = other.authenticationMethod_; - onChanged(); - break; - } - case AUTHENTICATIONMETHOD_NOT_SET: - { - break; - } + case PASSWORD: { + authenticationMethodCase_ = 100; + authenticationMethod_ = other.authenticationMethod_; + onChanged(); + break; + } + case PRIVATE_KEY: { + authenticationMethodCase_ = 101; + authenticationMethod_ = other.authenticationMethod_; + onChanged(); + break; + } + case AUTHENTICATIONMETHOD_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -846,8 +786,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datastream.v1.ForwardSshTunnelConnectivity) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datastream.v1.ForwardSshTunnelConnectivity) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -856,12 +795,12 @@ public Builder mergeFrom( } return this; } - private int authenticationMethodCase_ = 0; private java.lang.Object authenticationMethod_; - - public AuthenticationMethodCase getAuthenticationMethodCase() { - return AuthenticationMethodCase.forNumber(authenticationMethodCase_); + public AuthenticationMethodCase + getAuthenticationMethodCase() { + return AuthenticationMethodCase.forNumber( + authenticationMethodCase_); } public Builder clearAuthenticationMethod() { @@ -871,22 +810,21 @@ public Builder clearAuthenticationMethod() { return this; } + private java.lang.Object hostname_ = ""; /** - * - * *
      * Required. Hostname for the SSH tunnel.
      * 
* * string hostname = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The hostname. */ public java.lang.String getHostname() { java.lang.Object ref = hostname_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); hostname_ = s; return s; @@ -895,21 +833,20 @@ public java.lang.String getHostname() { } } /** - * - * *
      * Required. Hostname for the SSH tunnel.
      * 
* * string hostname = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for hostname. */ - public com.google.protobuf.ByteString getHostnameBytes() { + public com.google.protobuf.ByteString + getHostnameBytes() { java.lang.Object ref = hostname_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); hostname_ = b; return b; } else { @@ -917,61 +854,54 @@ public com.google.protobuf.ByteString getHostnameBytes() { } } /** - * - * *
      * Required. Hostname for the SSH tunnel.
      * 
* * string hostname = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The hostname to set. * @return This builder for chaining. */ - public Builder setHostname(java.lang.String value) { + public Builder setHostname( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + hostname_ = value; onChanged(); return this; } /** - * - * *
      * Required. Hostname for the SSH tunnel.
      * 
* * string hostname = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearHostname() { - + hostname_ = getDefaultInstance().getHostname(); onChanged(); return this; } /** - * - * *
      * Required. Hostname for the SSH tunnel.
      * 
* * string hostname = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for hostname to set. * @return This builder for chaining. */ - public Builder setHostnameBytes(com.google.protobuf.ByteString value) { + public Builder setHostnameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + hostname_ = value; onChanged(); return this; @@ -979,20 +909,18 @@ public Builder setHostnameBytes(com.google.protobuf.ByteString value) { private java.lang.Object username_ = ""; /** - * - * *
      * Required. Username for the SSH tunnel.
      * 
* * string username = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The username. */ public java.lang.String getUsername() { java.lang.Object ref = username_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); username_ = s; return s; @@ -1001,21 +929,20 @@ public java.lang.String getUsername() { } } /** - * - * *
      * Required. Username for the SSH tunnel.
      * 
* * string username = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for username. */ - public com.google.protobuf.ByteString getUsernameBytes() { + public com.google.protobuf.ByteString + getUsernameBytes() { java.lang.Object ref = username_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); username_ = b; return b; } else { @@ -1023,76 +950,66 @@ public com.google.protobuf.ByteString getUsernameBytes() { } } /** - * - * *
      * Required. Username for the SSH tunnel.
      * 
* * string username = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The username to set. * @return This builder for chaining. */ - public Builder setUsername(java.lang.String value) { + public Builder setUsername( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + username_ = value; onChanged(); return this; } /** - * - * *
      * Required. Username for the SSH tunnel.
      * 
* * string username = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearUsername() { - + username_ = getDefaultInstance().getUsername(); onChanged(); return this; } /** - * - * *
      * Required. Username for the SSH tunnel.
      * 
* * string username = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for username to set. * @return This builder for chaining. */ - public Builder setUsernameBytes(com.google.protobuf.ByteString value) { + public Builder setUsernameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + username_ = value; onChanged(); return this; } - private int port_; + private int port_ ; /** - * - * *
      * Port for the SSH tunnel, default value is 22.
      * 
* * int32 port = 3; - * * @return The port. */ @java.lang.Override @@ -1100,50 +1017,41 @@ public int getPort() { return port_; } /** - * - * *
      * Port for the SSH tunnel, default value is 22.
      * 
* * int32 port = 3; - * * @param value The port to set. * @return This builder for chaining. */ public Builder setPort(int value) { - + port_ = value; onChanged(); return this; } /** - * - * *
      * Port for the SSH tunnel, default value is 22.
      * 
* * int32 port = 3; - * * @return This builder for chaining. */ public Builder clearPort() { - + port_ = 0; onChanged(); return this; } /** - * - * *
      * Input only. SSH password.
      * 
* * string password = 100 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return Whether the password field is set. */ @java.lang.Override @@ -1151,14 +1059,11 @@ public boolean hasPassword() { return authenticationMethodCase_ == 100; } /** - * - * *
      * Input only. SSH password.
      * 
* * string password = 100 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The password. */ @java.lang.Override @@ -1168,7 +1073,8 @@ public java.lang.String getPassword() { ref = authenticationMethod_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (authenticationMethodCase_ == 100) { authenticationMethod_ = s; @@ -1179,25 +1085,24 @@ public java.lang.String getPassword() { } } /** - * - * *
      * Input only. SSH password.
      * 
* * string password = 100 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The bytes for password. */ @java.lang.Override - public com.google.protobuf.ByteString getPasswordBytes() { + public com.google.protobuf.ByteString + getPasswordBytes() { java.lang.Object ref = ""; if (authenticationMethodCase_ == 100) { ref = authenticationMethod_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (authenticationMethodCase_ == 100) { authenticationMethod_ = b; } @@ -1207,35 +1112,30 @@ public com.google.protobuf.ByteString getPasswordBytes() { } } /** - * - * *
      * Input only. SSH password.
      * 
* * string password = 100 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @param value The password to set. * @return This builder for chaining. */ - public Builder setPassword(java.lang.String value) { + public Builder setPassword( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - authenticationMethodCase_ = 100; + throw new NullPointerException(); + } + authenticationMethodCase_ = 100; authenticationMethod_ = value; onChanged(); return this; } /** - * - * *
      * Input only. SSH password.
      * 
* * string password = 100 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearPassword() { @@ -1247,22 +1147,20 @@ public Builder clearPassword() { return this; } /** - * - * *
      * Input only. SSH password.
      * 
* * string password = 100 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @param value The bytes for password to set. * @return This builder for chaining. */ - public Builder setPasswordBytes(com.google.protobuf.ByteString value) { + public Builder setPasswordBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); authenticationMethodCase_ = 100; authenticationMethod_ = value; onChanged(); @@ -1270,14 +1168,11 @@ public Builder setPasswordBytes(com.google.protobuf.ByteString value) { } /** - * - * *
      * Input only. SSH private key.
      * 
* * string private_key = 101 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return Whether the privateKey field is set. */ @java.lang.Override @@ -1285,14 +1180,11 @@ public boolean hasPrivateKey() { return authenticationMethodCase_ == 101; } /** - * - * *
      * Input only. SSH private key.
      * 
* * string private_key = 101 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The privateKey. */ @java.lang.Override @@ -1302,7 +1194,8 @@ public java.lang.String getPrivateKey() { ref = authenticationMethod_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (authenticationMethodCase_ == 101) { authenticationMethod_ = s; @@ -1313,25 +1206,24 @@ public java.lang.String getPrivateKey() { } } /** - * - * *
      * Input only. SSH private key.
      * 
* * string private_key = 101 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The bytes for privateKey. */ @java.lang.Override - public com.google.protobuf.ByteString getPrivateKeyBytes() { + public com.google.protobuf.ByteString + getPrivateKeyBytes() { java.lang.Object ref = ""; if (authenticationMethodCase_ == 101) { ref = authenticationMethod_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (authenticationMethodCase_ == 101) { authenticationMethod_ = b; } @@ -1341,35 +1233,30 @@ public com.google.protobuf.ByteString getPrivateKeyBytes() { } } /** - * - * *
      * Input only. SSH private key.
      * 
* * string private_key = 101 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @param value The privateKey to set. * @return This builder for chaining. */ - public Builder setPrivateKey(java.lang.String value) { + public Builder setPrivateKey( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - authenticationMethodCase_ = 101; + throw new NullPointerException(); + } + authenticationMethodCase_ = 101; authenticationMethod_ = value; onChanged(); return this; } /** - * - * *
      * Input only. SSH private key.
      * 
* * string private_key = 101 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearPrivateKey() { @@ -1381,30 +1268,28 @@ public Builder clearPrivateKey() { return this; } /** - * - * *
      * Input only. SSH private key.
      * 
* * string private_key = 101 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @param value The bytes for privateKey to set. * @return This builder for chaining. */ - public Builder setPrivateKeyBytes(com.google.protobuf.ByteString value) { + public Builder setPrivateKeyBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); authenticationMethodCase_ = 101; authenticationMethod_ = 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); } @@ -1414,12 +1299,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1.ForwardSshTunnelConnectivity) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1.ForwardSshTunnelConnectivity) private static final com.google.cloud.datastream.v1.ForwardSshTunnelConnectivity DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1.ForwardSshTunnelConnectivity(); } @@ -1428,16 +1313,16 @@ public static com.google.cloud.datastream.v1.ForwardSshTunnelConnectivity getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ForwardSshTunnelConnectivity parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ForwardSshTunnelConnectivity(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ForwardSshTunnelConnectivity parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ForwardSshTunnelConnectivity(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1452,4 +1337,6 @@ public com.google.protobuf.Parser getParserForType public com.google.cloud.datastream.v1.ForwardSshTunnelConnectivity getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ForwardSshTunnelConnectivityOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ForwardSshTunnelConnectivityOrBuilder.java similarity index 71% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ForwardSshTunnelConnectivityOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ForwardSshTunnelConnectivityOrBuilder.java index 6febb574..e636a456 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ForwardSshTunnelConnectivityOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ForwardSshTunnelConnectivityOrBuilder.java @@ -1,165 +1,119 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1/datastream_resources.proto package com.google.cloud.datastream.v1; -public interface ForwardSshTunnelConnectivityOrBuilder - extends +public interface ForwardSshTunnelConnectivityOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1.ForwardSshTunnelConnectivity) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Hostname for the SSH tunnel.
    * 
* * string hostname = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The hostname. */ java.lang.String getHostname(); /** - * - * *
    * Required. Hostname for the SSH tunnel.
    * 
* * string hostname = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for hostname. */ - com.google.protobuf.ByteString getHostnameBytes(); + com.google.protobuf.ByteString + getHostnameBytes(); /** - * - * *
    * Required. Username for the SSH tunnel.
    * 
* * string username = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The username. */ java.lang.String getUsername(); /** - * - * *
    * Required. Username for the SSH tunnel.
    * 
* * string username = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for username. */ - com.google.protobuf.ByteString getUsernameBytes(); + com.google.protobuf.ByteString + getUsernameBytes(); /** - * - * *
    * Port for the SSH tunnel, default value is 22.
    * 
* * int32 port = 3; - * * @return The port. */ int getPort(); /** - * - * *
    * Input only. SSH password.
    * 
* * string password = 100 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return Whether the password field is set. */ boolean hasPassword(); /** - * - * *
    * Input only. SSH password.
    * 
* * string password = 100 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The password. */ java.lang.String getPassword(); /** - * - * *
    * Input only. SSH password.
    * 
* * string password = 100 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The bytes for password. */ - com.google.protobuf.ByteString getPasswordBytes(); + com.google.protobuf.ByteString + getPasswordBytes(); /** - * - * *
    * Input only. SSH private key.
    * 
* * string private_key = 101 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return Whether the privateKey field is set. */ boolean hasPrivateKey(); /** - * - * *
    * Input only. SSH private key.
    * 
* * string private_key = 101 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The privateKey. */ java.lang.String getPrivateKey(); /** - * - * *
    * Input only. SSH private key.
    * 
* * string private_key = 101 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The bytes for privateKey. */ - com.google.protobuf.ByteString getPrivateKeyBytes(); + com.google.protobuf.ByteString + getPrivateKeyBytes(); - public com.google.cloud.datastream.v1.ForwardSshTunnelConnectivity.AuthenticationMethodCase - getAuthenticationMethodCase(); + public com.google.cloud.datastream.v1.ForwardSshTunnelConnectivity.AuthenticationMethodCase getAuthenticationMethodCase(); } diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/GcsDestinationConfig.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/GcsDestinationConfig.java similarity index 72% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/GcsDestinationConfig.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/GcsDestinationConfig.java index 83113074..c08edd8b 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/GcsDestinationConfig.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/GcsDestinationConfig.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1/datastream_resources.proto package com.google.cloud.datastream.v1; /** - * - * *
  * Google Cloud Storage destination configuration
  * 
* * Protobuf type {@code google.cloud.datastream.v1.GcsDestinationConfig} */ -public final class GcsDestinationConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GcsDestinationConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1.GcsDestinationConfig) GcsDestinationConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GcsDestinationConfig.newBuilder() to construct. private GcsDestinationConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GcsDestinationConfig() { path_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GcsDestinationConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GcsDestinationConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,74 +53,65 @@ private GcsDestinationConfig( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + path_ = s; + break; + } + case 16: { - path_ = s; - break; + fileRotationMb_ = input.readInt32(); + break; + } + case 26: { + com.google.protobuf.Duration.Builder subBuilder = null; + if (fileRotationInterval_ != null) { + subBuilder = fileRotationInterval_.toBuilder(); } - case 16: - { - fileRotationMb_ = input.readInt32(); - break; + fileRotationInterval_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(fileRotationInterval_); + fileRotationInterval_ = subBuilder.buildPartial(); } - case 26: - { - com.google.protobuf.Duration.Builder subBuilder = null; - if (fileRotationInterval_ != null) { - subBuilder = fileRotationInterval_.toBuilder(); - } - fileRotationInterval_ = - input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(fileRotationInterval_); - fileRotationInterval_ = subBuilder.buildPartial(); - } - break; + break; + } + case 802: { + com.google.cloud.datastream.v1.AvroFileFormat.Builder subBuilder = null; + if (fileFormatCase_ == 100) { + subBuilder = ((com.google.cloud.datastream.v1.AvroFileFormat) fileFormat_).toBuilder(); } - case 802: - { - com.google.cloud.datastream.v1.AvroFileFormat.Builder subBuilder = null; - if (fileFormatCase_ == 100) { - subBuilder = - ((com.google.cloud.datastream.v1.AvroFileFormat) fileFormat_).toBuilder(); - } - fileFormat_ = - input.readMessage( - com.google.cloud.datastream.v1.AvroFileFormat.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.datastream.v1.AvroFileFormat) fileFormat_); - fileFormat_ = subBuilder.buildPartial(); - } - fileFormatCase_ = 100; - break; + fileFormat_ = + input.readMessage(com.google.cloud.datastream.v1.AvroFileFormat.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.datastream.v1.AvroFileFormat) fileFormat_); + fileFormat_ = subBuilder.buildPartial(); } - case 810: - { - com.google.cloud.datastream.v1.JsonFileFormat.Builder subBuilder = null; - if (fileFormatCase_ == 101) { - subBuilder = - ((com.google.cloud.datastream.v1.JsonFileFormat) fileFormat_).toBuilder(); - } - fileFormat_ = - input.readMessage( - com.google.cloud.datastream.v1.JsonFileFormat.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.datastream.v1.JsonFileFormat) fileFormat_); - fileFormat_ = subBuilder.buildPartial(); - } - fileFormatCase_ = 101; - break; + fileFormatCase_ = 100; + break; + } + case 810: { + com.google.cloud.datastream.v1.JsonFileFormat.Builder subBuilder = null; + if (fileFormatCase_ == 101) { + subBuilder = ((com.google.cloud.datastream.v1.JsonFileFormat) fileFormat_).toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + fileFormat_ = + input.readMessage(com.google.cloud.datastream.v1.JsonFileFormat.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.datastream.v1.JsonFileFormat) fileFormat_); + fileFormat_ = subBuilder.buildPartial(); } + fileFormatCase_ = 101; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -145,40 +119,35 @@ private GcsDestinationConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_GcsDestinationConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_GcsDestinationConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_GcsDestinationConfig_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_GcsDestinationConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.GcsDestinationConfig.class, - com.google.cloud.datastream.v1.GcsDestinationConfig.Builder.class); + com.google.cloud.datastream.v1.GcsDestinationConfig.class, com.google.cloud.datastream.v1.GcsDestinationConfig.Builder.class); } private int fileFormatCase_ = 0; private java.lang.Object fileFormat_; - public enum FileFormatCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { AVRO_FILE_FORMAT(100), JSON_FILE_FORMAT(101), FILEFORMAT_NOT_SET(0); private final int value; - private FileFormatCase(int value) { this.value = value; } @@ -194,37 +163,31 @@ public static FileFormatCase valueOf(int value) { public static FileFormatCase forNumber(int value) { switch (value) { - case 100: - return AVRO_FILE_FORMAT; - case 101: - return JSON_FILE_FORMAT; - case 0: - return FILEFORMAT_NOT_SET; - default: - return null; + case 100: return AVRO_FILE_FORMAT; + case 101: return JSON_FILE_FORMAT; + case 0: return FILEFORMAT_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public FileFormatCase getFileFormatCase() { - return FileFormatCase.forNumber(fileFormatCase_); + public FileFormatCase + getFileFormatCase() { + return FileFormatCase.forNumber( + fileFormatCase_); } public static final int PATH_FIELD_NUMBER = 1; private volatile java.lang.Object path_; /** - * - * *
    * Path inside the Cloud Storage bucket to write data to.
    * 
* * string path = 1; - * * @return The path. */ @java.lang.Override @@ -233,29 +196,29 @@ public java.lang.String getPath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); path_ = s; return s; } } /** - * - * *
    * Path inside the Cloud Storage bucket to write data to.
    * 
* * string path = 1; - * * @return The bytes for path. */ @java.lang.Override - public com.google.protobuf.ByteString getPathBytes() { + public com.google.protobuf.ByteString + getPathBytes() { java.lang.Object ref = path_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); path_ = b; return b; } else { @@ -266,14 +229,11 @@ public com.google.protobuf.ByteString getPathBytes() { public static final int FILE_ROTATION_MB_FIELD_NUMBER = 2; private int fileRotationMb_; /** - * - * *
    * The maximum file size to be saved in the bucket.
    * 
* * int32 file_rotation_mb = 2; - * * @return The fileRotationMb. */ @java.lang.Override @@ -284,15 +244,12 @@ public int getFileRotationMb() { public static final int FILE_ROTATION_INTERVAL_FIELD_NUMBER = 3; private com.google.protobuf.Duration fileRotationInterval_; /** - * - * *
    * The maximum duration for which new events are added before a file is
    * closed and a new file is created.
    * 
* * .google.protobuf.Duration file_rotation_interval = 3; - * * @return Whether the fileRotationInterval field is set. */ @java.lang.Override @@ -300,26 +257,19 @@ public boolean hasFileRotationInterval() { return fileRotationInterval_ != null; } /** - * - * *
    * The maximum duration for which new events are added before a file is
    * closed and a new file is created.
    * 
* * .google.protobuf.Duration file_rotation_interval = 3; - * * @return The fileRotationInterval. */ @java.lang.Override public com.google.protobuf.Duration getFileRotationInterval() { - return fileRotationInterval_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : fileRotationInterval_; + return fileRotationInterval_ == null ? com.google.protobuf.Duration.getDefaultInstance() : fileRotationInterval_; } /** - * - * *
    * The maximum duration for which new events are added before a file is
    * closed and a new file is created.
@@ -334,14 +284,11 @@ public com.google.protobuf.DurationOrBuilder getFileRotationIntervalOrBuilder()
 
   public static final int AVRO_FILE_FORMAT_FIELD_NUMBER = 100;
   /**
-   *
-   *
    * 
    * AVRO file format configuration.
    * 
* * .google.cloud.datastream.v1.AvroFileFormat avro_file_format = 100; - * * @return Whether the avroFileFormat field is set. */ @java.lang.Override @@ -349,26 +296,21 @@ public boolean hasAvroFileFormat() { return fileFormatCase_ == 100; } /** - * - * *
    * AVRO file format configuration.
    * 
* * .google.cloud.datastream.v1.AvroFileFormat avro_file_format = 100; - * * @return The avroFileFormat. */ @java.lang.Override public com.google.cloud.datastream.v1.AvroFileFormat getAvroFileFormat() { if (fileFormatCase_ == 100) { - return (com.google.cloud.datastream.v1.AvroFileFormat) fileFormat_; + return (com.google.cloud.datastream.v1.AvroFileFormat) fileFormat_; } return com.google.cloud.datastream.v1.AvroFileFormat.getDefaultInstance(); } /** - * - * *
    * AVRO file format configuration.
    * 
@@ -378,21 +320,18 @@ public com.google.cloud.datastream.v1.AvroFileFormat getAvroFileFormat() { @java.lang.Override public com.google.cloud.datastream.v1.AvroFileFormatOrBuilder getAvroFileFormatOrBuilder() { if (fileFormatCase_ == 100) { - return (com.google.cloud.datastream.v1.AvroFileFormat) fileFormat_; + return (com.google.cloud.datastream.v1.AvroFileFormat) fileFormat_; } return com.google.cloud.datastream.v1.AvroFileFormat.getDefaultInstance(); } public static final int JSON_FILE_FORMAT_FIELD_NUMBER = 101; /** - * - * *
    * JSON file format configuration.
    * 
* * .google.cloud.datastream.v1.JsonFileFormat json_file_format = 101; - * * @return Whether the jsonFileFormat field is set. */ @java.lang.Override @@ -400,26 +339,21 @@ public boolean hasJsonFileFormat() { return fileFormatCase_ == 101; } /** - * - * *
    * JSON file format configuration.
    * 
* * .google.cloud.datastream.v1.JsonFileFormat json_file_format = 101; - * * @return The jsonFileFormat. */ @java.lang.Override public com.google.cloud.datastream.v1.JsonFileFormat getJsonFileFormat() { if (fileFormatCase_ == 101) { - return (com.google.cloud.datastream.v1.JsonFileFormat) fileFormat_; + return (com.google.cloud.datastream.v1.JsonFileFormat) fileFormat_; } return com.google.cloud.datastream.v1.JsonFileFormat.getDefaultInstance(); } /** - * - * *
    * JSON file format configuration.
    * 
@@ -429,13 +363,12 @@ public com.google.cloud.datastream.v1.JsonFileFormat getJsonFileFormat() { @java.lang.Override public com.google.cloud.datastream.v1.JsonFileFormatOrBuilder getJsonFileFormatOrBuilder() { if (fileFormatCase_ == 101) { - return (com.google.cloud.datastream.v1.JsonFileFormat) fileFormat_; + return (com.google.cloud.datastream.v1.JsonFileFormat) fileFormat_; } return com.google.cloud.datastream.v1.JsonFileFormat.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -447,7 +380,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(path_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, path_); } @@ -476,21 +410,20 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, path_); } if (fileRotationMb_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, fileRotationMb_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, fileRotationMb_); } if (fileRotationInterval_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(3, getFileRotationInterval()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getFileRotationInterval()); } if (fileFormatCase_ == 100) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 100, (com.google.cloud.datastream.v1.AvroFileFormat) fileFormat_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(100, (com.google.cloud.datastream.v1.AvroFileFormat) fileFormat_); } if (fileFormatCase_ == 101) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 101, (com.google.cloud.datastream.v1.JsonFileFormat) fileFormat_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(101, (com.google.cloud.datastream.v1.JsonFileFormat) fileFormat_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -500,27 +433,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.datastream.v1.GcsDestinationConfig)) { return super.equals(obj); } - com.google.cloud.datastream.v1.GcsDestinationConfig other = - (com.google.cloud.datastream.v1.GcsDestinationConfig) obj; + com.google.cloud.datastream.v1.GcsDestinationConfig other = (com.google.cloud.datastream.v1.GcsDestinationConfig) obj; - if (!getPath().equals(other.getPath())) return false; - if (getFileRotationMb() != other.getFileRotationMb()) return false; + if (!getPath() + .equals(other.getPath())) return false; + if (getFileRotationMb() + != other.getFileRotationMb()) return false; if (hasFileRotationInterval() != other.hasFileRotationInterval()) return false; if (hasFileRotationInterval()) { - if (!getFileRotationInterval().equals(other.getFileRotationInterval())) return false; + if (!getFileRotationInterval() + .equals(other.getFileRotationInterval())) return false; } if (!getFileFormatCase().equals(other.getFileFormatCase())) return false; switch (fileFormatCase_) { case 100: - if (!getAvroFileFormat().equals(other.getAvroFileFormat())) return false; + if (!getAvroFileFormat() + .equals(other.getAvroFileFormat())) return false; break; case 101: - if (!getJsonFileFormat().equals(other.getJsonFileFormat())) return false; + if (!getJsonFileFormat() + .equals(other.getJsonFileFormat())) return false; break; case 0: default: @@ -562,126 +499,117 @@ public int hashCode() { } public static com.google.cloud.datastream.v1.GcsDestinationConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.GcsDestinationConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.GcsDestinationConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.GcsDestinationConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.GcsDestinationConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.GcsDestinationConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1.GcsDestinationConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.GcsDestinationConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.GcsDestinationConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1.GcsDestinationConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.GcsDestinationConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.GcsDestinationConfig 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.datastream.v1.GcsDestinationConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.GcsDestinationConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datastream.v1.GcsDestinationConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Google Cloud Storage destination configuration
    * 
* * Protobuf type {@code google.cloud.datastream.v1.GcsDestinationConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1.GcsDestinationConfig) com.google.cloud.datastream.v1.GcsDestinationConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_GcsDestinationConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_GcsDestinationConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_GcsDestinationConfig_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_GcsDestinationConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.GcsDestinationConfig.class, - com.google.cloud.datastream.v1.GcsDestinationConfig.Builder.class); + com.google.cloud.datastream.v1.GcsDestinationConfig.class, com.google.cloud.datastream.v1.GcsDestinationConfig.Builder.class); } // Construct using com.google.cloud.datastream.v1.GcsDestinationConfig.newBuilder() @@ -689,15 +617,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -717,9 +646,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_GcsDestinationConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_GcsDestinationConfig_descriptor; } @java.lang.Override @@ -738,8 +667,7 @@ public com.google.cloud.datastream.v1.GcsDestinationConfig build() { @java.lang.Override public com.google.cloud.datastream.v1.GcsDestinationConfig buildPartial() { - com.google.cloud.datastream.v1.GcsDestinationConfig result = - new com.google.cloud.datastream.v1.GcsDestinationConfig(this); + com.google.cloud.datastream.v1.GcsDestinationConfig result = new com.google.cloud.datastream.v1.GcsDestinationConfig(this); result.path_ = path_; result.fileRotationMb_ = fileRotationMb_; if (fileRotationIntervalBuilder_ == null) { @@ -770,39 +698,38 @@ public com.google.cloud.datastream.v1.GcsDestinationConfig buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1.GcsDestinationConfig) { - return mergeFrom((com.google.cloud.datastream.v1.GcsDestinationConfig) other); + return mergeFrom((com.google.cloud.datastream.v1.GcsDestinationConfig)other); } else { super.mergeFrom(other); return this; @@ -810,8 +737,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datastream.v1.GcsDestinationConfig other) { - if (other == com.google.cloud.datastream.v1.GcsDestinationConfig.getDefaultInstance()) - return this; + if (other == com.google.cloud.datastream.v1.GcsDestinationConfig.getDefaultInstance()) return this; if (!other.getPath().isEmpty()) { path_ = other.path_; onChanged(); @@ -823,20 +749,17 @@ public Builder mergeFrom(com.google.cloud.datastream.v1.GcsDestinationConfig oth mergeFileRotationInterval(other.getFileRotationInterval()); } switch (other.getFileFormatCase()) { - case AVRO_FILE_FORMAT: - { - mergeAvroFileFormat(other.getAvroFileFormat()); - break; - } - case JSON_FILE_FORMAT: - { - mergeJsonFileFormat(other.getJsonFileFormat()); - break; - } - case FILEFORMAT_NOT_SET: - { - break; - } + case AVRO_FILE_FORMAT: { + mergeAvroFileFormat(other.getAvroFileFormat()); + break; + } + case JSON_FILE_FORMAT: { + mergeJsonFileFormat(other.getJsonFileFormat()); + break; + } + case FILEFORMAT_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -857,8 +780,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datastream.v1.GcsDestinationConfig) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datastream.v1.GcsDestinationConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -867,12 +789,12 @@ public Builder mergeFrom( } return this; } - private int fileFormatCase_ = 0; private java.lang.Object fileFormat_; - - public FileFormatCase getFileFormatCase() { - return FileFormatCase.forNumber(fileFormatCase_); + public FileFormatCase + getFileFormatCase() { + return FileFormatCase.forNumber( + fileFormatCase_); } public Builder clearFileFormat() { @@ -882,22 +804,21 @@ public Builder clearFileFormat() { return this; } + private java.lang.Object path_ = ""; /** - * - * *
      * Path inside the Cloud Storage bucket to write data to.
      * 
* * string path = 1; - * * @return The path. */ public java.lang.String getPath() { java.lang.Object ref = path_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); path_ = s; return s; @@ -906,21 +827,20 @@ public java.lang.String getPath() { } } /** - * - * *
      * Path inside the Cloud Storage bucket to write data to.
      * 
* * string path = 1; - * * @return The bytes for path. */ - public com.google.protobuf.ByteString getPathBytes() { + public com.google.protobuf.ByteString + getPathBytes() { java.lang.Object ref = path_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); path_ = b; return b; } else { @@ -928,76 +848,66 @@ public com.google.protobuf.ByteString getPathBytes() { } } /** - * - * *
      * Path inside the Cloud Storage bucket to write data to.
      * 
* * string path = 1; - * * @param value The path to set. * @return This builder for chaining. */ - public Builder setPath(java.lang.String value) { + public Builder setPath( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + path_ = value; onChanged(); return this; } /** - * - * *
      * Path inside the Cloud Storage bucket to write data to.
      * 
* * string path = 1; - * * @return This builder for chaining. */ public Builder clearPath() { - + path_ = getDefaultInstance().getPath(); onChanged(); return this; } /** - * - * *
      * Path inside the Cloud Storage bucket to write data to.
      * 
* * string path = 1; - * * @param value The bytes for path to set. * @return This builder for chaining. */ - public Builder setPathBytes(com.google.protobuf.ByteString value) { + public Builder setPathBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + path_ = value; onChanged(); return this; } - private int fileRotationMb_; + private int fileRotationMb_ ; /** - * - * *
      * The maximum file size to be saved in the bucket.
      * 
* * int32 file_rotation_mb = 2; - * * @return The fileRotationMb. */ @java.lang.Override @@ -1005,36 +915,30 @@ public int getFileRotationMb() { return fileRotationMb_; } /** - * - * *
      * The maximum file size to be saved in the bucket.
      * 
* * int32 file_rotation_mb = 2; - * * @param value The fileRotationMb to set. * @return This builder for chaining. */ public Builder setFileRotationMb(int value) { - + fileRotationMb_ = value; onChanged(); return this; } /** - * - * *
      * The maximum file size to be saved in the bucket.
      * 
* * int32 file_rotation_mb = 2; - * * @return This builder for chaining. */ public Builder clearFileRotationMb() { - + fileRotationMb_ = 0; onChanged(); return this; @@ -1042,49 +946,36 @@ public Builder clearFileRotationMb() { private com.google.protobuf.Duration fileRotationInterval_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - fileRotationIntervalBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> fileRotationIntervalBuilder_; /** - * - * *
      * The maximum duration for which new events are added before a file is
      * closed and a new file is created.
      * 
* * .google.protobuf.Duration file_rotation_interval = 3; - * * @return Whether the fileRotationInterval field is set. */ public boolean hasFileRotationInterval() { return fileRotationIntervalBuilder_ != null || fileRotationInterval_ != null; } /** - * - * *
      * The maximum duration for which new events are added before a file is
      * closed and a new file is created.
      * 
* * .google.protobuf.Duration file_rotation_interval = 3; - * * @return The fileRotationInterval. */ public com.google.protobuf.Duration getFileRotationInterval() { if (fileRotationIntervalBuilder_ == null) { - return fileRotationInterval_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : fileRotationInterval_; + return fileRotationInterval_ == null ? com.google.protobuf.Duration.getDefaultInstance() : fileRotationInterval_; } else { return fileRotationIntervalBuilder_.getMessage(); } } /** - * - * *
      * The maximum duration for which new events are added before a file is
      * closed and a new file is created.
@@ -1106,8 +997,6 @@ public Builder setFileRotationInterval(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The maximum duration for which new events are added before a file is
      * closed and a new file is created.
@@ -1115,7 +1004,8 @@ public Builder setFileRotationInterval(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration file_rotation_interval = 3;
      */
-    public Builder setFileRotationInterval(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setFileRotationInterval(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (fileRotationIntervalBuilder_ == null) {
         fileRotationInterval_ = builderForValue.build();
         onChanged();
@@ -1126,8 +1016,6 @@ public Builder setFileRotationInterval(com.google.protobuf.Duration.Builder buil
       return this;
     }
     /**
-     *
-     *
      * 
      * The maximum duration for which new events are added before a file is
      * closed and a new file is created.
@@ -1139,9 +1027,7 @@ public Builder mergeFileRotationInterval(com.google.protobuf.Duration value) {
       if (fileRotationIntervalBuilder_ == null) {
         if (fileRotationInterval_ != null) {
           fileRotationInterval_ =
-              com.google.protobuf.Duration.newBuilder(fileRotationInterval_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Duration.newBuilder(fileRotationInterval_).mergeFrom(value).buildPartial();
         } else {
           fileRotationInterval_ = value;
         }
@@ -1153,8 +1039,6 @@ public Builder mergeFileRotationInterval(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The maximum duration for which new events are added before a file is
      * closed and a new file is created.
@@ -1174,8 +1058,6 @@ public Builder clearFileRotationInterval() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The maximum duration for which new events are added before a file is
      * closed and a new file is created.
@@ -1184,13 +1066,11 @@ public Builder clearFileRotationInterval() {
      * .google.protobuf.Duration file_rotation_interval = 3;
      */
     public com.google.protobuf.Duration.Builder getFileRotationIntervalBuilder() {
-
+      
       onChanged();
       return getFileRotationIntervalFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The maximum duration for which new events are added before a file is
      * closed and a new file is created.
@@ -1202,14 +1082,11 @@ public com.google.protobuf.DurationOrBuilder getFileRotationIntervalOrBuilder()
       if (fileRotationIntervalBuilder_ != null) {
         return fileRotationIntervalBuilder_.getMessageOrBuilder();
       } else {
-        return fileRotationInterval_ == null
-            ? com.google.protobuf.Duration.getDefaultInstance()
-            : fileRotationInterval_;
+        return fileRotationInterval_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : fileRotationInterval_;
       }
     }
     /**
-     *
-     *
      * 
      * The maximum duration for which new events are added before a file is
      * closed and a new file is created.
@@ -1218,36 +1095,27 @@ public com.google.protobuf.DurationOrBuilder getFileRotationIntervalOrBuilder()
      * .google.protobuf.Duration file_rotation_interval = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
         getFileRotationIntervalFieldBuilder() {
       if (fileRotationIntervalBuilder_ == null) {
-        fileRotationIntervalBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getFileRotationInterval(), getParentForChildren(), isClean());
+        fileRotationIntervalBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getFileRotationInterval(),
+                getParentForChildren(),
+                isClean());
         fileRotationInterval_ = null;
       }
       return fileRotationIntervalBuilder_;
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.datastream.v1.AvroFileFormat,
-            com.google.cloud.datastream.v1.AvroFileFormat.Builder,
-            com.google.cloud.datastream.v1.AvroFileFormatOrBuilder>
-        avroFileFormatBuilder_;
+        com.google.cloud.datastream.v1.AvroFileFormat, com.google.cloud.datastream.v1.AvroFileFormat.Builder, com.google.cloud.datastream.v1.AvroFileFormatOrBuilder> avroFileFormatBuilder_;
     /**
-     *
-     *
      * 
      * AVRO file format configuration.
      * 
* * .google.cloud.datastream.v1.AvroFileFormat avro_file_format = 100; - * * @return Whether the avroFileFormat field is set. */ @java.lang.Override @@ -1255,14 +1123,11 @@ public boolean hasAvroFileFormat() { return fileFormatCase_ == 100; } /** - * - * *
      * AVRO file format configuration.
      * 
* * .google.cloud.datastream.v1.AvroFileFormat avro_file_format = 100; - * * @return The avroFileFormat. */ @java.lang.Override @@ -1280,8 +1145,6 @@ public com.google.cloud.datastream.v1.AvroFileFormat getAvroFileFormat() { } } /** - * - * *
      * AVRO file format configuration.
      * 
@@ -1302,8 +1165,6 @@ public Builder setAvroFileFormat(com.google.cloud.datastream.v1.AvroFileFormat v return this; } /** - * - * *
      * AVRO file format configuration.
      * 
@@ -1322,8 +1183,6 @@ public Builder setAvroFileFormat( return this; } /** - * - * *
      * AVRO file format configuration.
      * 
@@ -1332,13 +1191,10 @@ public Builder setAvroFileFormat( */ public Builder mergeAvroFileFormat(com.google.cloud.datastream.v1.AvroFileFormat value) { if (avroFileFormatBuilder_ == null) { - if (fileFormatCase_ == 100 - && fileFormat_ != com.google.cloud.datastream.v1.AvroFileFormat.getDefaultInstance()) { - fileFormat_ = - com.google.cloud.datastream.v1.AvroFileFormat.newBuilder( - (com.google.cloud.datastream.v1.AvroFileFormat) fileFormat_) - .mergeFrom(value) - .buildPartial(); + if (fileFormatCase_ == 100 && + fileFormat_ != com.google.cloud.datastream.v1.AvroFileFormat.getDefaultInstance()) { + fileFormat_ = com.google.cloud.datastream.v1.AvroFileFormat.newBuilder((com.google.cloud.datastream.v1.AvroFileFormat) fileFormat_) + .mergeFrom(value).buildPartial(); } else { fileFormat_ = value; } @@ -1354,8 +1210,6 @@ public Builder mergeAvroFileFormat(com.google.cloud.datastream.v1.AvroFileFormat return this; } /** - * - * *
      * AVRO file format configuration.
      * 
@@ -1379,8 +1233,6 @@ public Builder clearAvroFileFormat() { return this; } /** - * - * *
      * AVRO file format configuration.
      * 
@@ -1391,8 +1243,6 @@ public com.google.cloud.datastream.v1.AvroFileFormat.Builder getAvroFileFormatBu return getAvroFileFormatFieldBuilder().getBuilder(); } /** - * - * *
      * AVRO file format configuration.
      * 
@@ -1411,8 +1261,6 @@ public com.google.cloud.datastream.v1.AvroFileFormatOrBuilder getAvroFileFormatO } } /** - * - * *
      * AVRO file format configuration.
      * 
@@ -1420,44 +1268,32 @@ public com.google.cloud.datastream.v1.AvroFileFormatOrBuilder getAvroFileFormatO * .google.cloud.datastream.v1.AvroFileFormat avro_file_format = 100; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.AvroFileFormat, - com.google.cloud.datastream.v1.AvroFileFormat.Builder, - com.google.cloud.datastream.v1.AvroFileFormatOrBuilder> + com.google.cloud.datastream.v1.AvroFileFormat, com.google.cloud.datastream.v1.AvroFileFormat.Builder, com.google.cloud.datastream.v1.AvroFileFormatOrBuilder> getAvroFileFormatFieldBuilder() { if (avroFileFormatBuilder_ == null) { if (!(fileFormatCase_ == 100)) { fileFormat_ = com.google.cloud.datastream.v1.AvroFileFormat.getDefaultInstance(); } - avroFileFormatBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.AvroFileFormat, - com.google.cloud.datastream.v1.AvroFileFormat.Builder, - com.google.cloud.datastream.v1.AvroFileFormatOrBuilder>( + avroFileFormatBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1.AvroFileFormat, com.google.cloud.datastream.v1.AvroFileFormat.Builder, com.google.cloud.datastream.v1.AvroFileFormatOrBuilder>( (com.google.cloud.datastream.v1.AvroFileFormat) fileFormat_, getParentForChildren(), isClean()); fileFormat_ = null; } fileFormatCase_ = 100; - onChanged(); - ; + onChanged();; return avroFileFormatBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.JsonFileFormat, - com.google.cloud.datastream.v1.JsonFileFormat.Builder, - com.google.cloud.datastream.v1.JsonFileFormatOrBuilder> - jsonFileFormatBuilder_; + com.google.cloud.datastream.v1.JsonFileFormat, com.google.cloud.datastream.v1.JsonFileFormat.Builder, com.google.cloud.datastream.v1.JsonFileFormatOrBuilder> jsonFileFormatBuilder_; /** - * - * *
      * JSON file format configuration.
      * 
* * .google.cloud.datastream.v1.JsonFileFormat json_file_format = 101; - * * @return Whether the jsonFileFormat field is set. */ @java.lang.Override @@ -1465,14 +1301,11 @@ public boolean hasJsonFileFormat() { return fileFormatCase_ == 101; } /** - * - * *
      * JSON file format configuration.
      * 
* * .google.cloud.datastream.v1.JsonFileFormat json_file_format = 101; - * * @return The jsonFileFormat. */ @java.lang.Override @@ -1490,8 +1323,6 @@ public com.google.cloud.datastream.v1.JsonFileFormat getJsonFileFormat() { } } /** - * - * *
      * JSON file format configuration.
      * 
@@ -1512,8 +1343,6 @@ public Builder setJsonFileFormat(com.google.cloud.datastream.v1.JsonFileFormat v return this; } /** - * - * *
      * JSON file format configuration.
      * 
@@ -1532,8 +1361,6 @@ public Builder setJsonFileFormat( return this; } /** - * - * *
      * JSON file format configuration.
      * 
@@ -1542,13 +1369,10 @@ public Builder setJsonFileFormat( */ public Builder mergeJsonFileFormat(com.google.cloud.datastream.v1.JsonFileFormat value) { if (jsonFileFormatBuilder_ == null) { - if (fileFormatCase_ == 101 - && fileFormat_ != com.google.cloud.datastream.v1.JsonFileFormat.getDefaultInstance()) { - fileFormat_ = - com.google.cloud.datastream.v1.JsonFileFormat.newBuilder( - (com.google.cloud.datastream.v1.JsonFileFormat) fileFormat_) - .mergeFrom(value) - .buildPartial(); + if (fileFormatCase_ == 101 && + fileFormat_ != com.google.cloud.datastream.v1.JsonFileFormat.getDefaultInstance()) { + fileFormat_ = com.google.cloud.datastream.v1.JsonFileFormat.newBuilder((com.google.cloud.datastream.v1.JsonFileFormat) fileFormat_) + .mergeFrom(value).buildPartial(); } else { fileFormat_ = value; } @@ -1564,8 +1388,6 @@ public Builder mergeJsonFileFormat(com.google.cloud.datastream.v1.JsonFileFormat return this; } /** - * - * *
      * JSON file format configuration.
      * 
@@ -1589,8 +1411,6 @@ public Builder clearJsonFileFormat() { return this; } /** - * - * *
      * JSON file format configuration.
      * 
@@ -1601,8 +1421,6 @@ public com.google.cloud.datastream.v1.JsonFileFormat.Builder getJsonFileFormatBu return getJsonFileFormatFieldBuilder().getBuilder(); } /** - * - * *
      * JSON file format configuration.
      * 
@@ -1621,8 +1439,6 @@ public com.google.cloud.datastream.v1.JsonFileFormatOrBuilder getJsonFileFormatO } } /** - * - * *
      * JSON file format configuration.
      * 
@@ -1630,32 +1446,26 @@ public com.google.cloud.datastream.v1.JsonFileFormatOrBuilder getJsonFileFormatO * .google.cloud.datastream.v1.JsonFileFormat json_file_format = 101; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.JsonFileFormat, - com.google.cloud.datastream.v1.JsonFileFormat.Builder, - com.google.cloud.datastream.v1.JsonFileFormatOrBuilder> + com.google.cloud.datastream.v1.JsonFileFormat, com.google.cloud.datastream.v1.JsonFileFormat.Builder, com.google.cloud.datastream.v1.JsonFileFormatOrBuilder> getJsonFileFormatFieldBuilder() { if (jsonFileFormatBuilder_ == null) { if (!(fileFormatCase_ == 101)) { fileFormat_ = com.google.cloud.datastream.v1.JsonFileFormat.getDefaultInstance(); } - jsonFileFormatBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.JsonFileFormat, - com.google.cloud.datastream.v1.JsonFileFormat.Builder, - com.google.cloud.datastream.v1.JsonFileFormatOrBuilder>( + jsonFileFormatBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1.JsonFileFormat, com.google.cloud.datastream.v1.JsonFileFormat.Builder, com.google.cloud.datastream.v1.JsonFileFormatOrBuilder>( (com.google.cloud.datastream.v1.JsonFileFormat) fileFormat_, getParentForChildren(), isClean()); fileFormat_ = null; } fileFormatCase_ = 101; - onChanged(); - ; + onChanged();; return jsonFileFormatBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1665,12 +1475,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1.GcsDestinationConfig) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1.GcsDestinationConfig) private static final com.google.cloud.datastream.v1.GcsDestinationConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1.GcsDestinationConfig(); } @@ -1679,16 +1489,16 @@ public static com.google.cloud.datastream.v1.GcsDestinationConfig getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GcsDestinationConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GcsDestinationConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GcsDestinationConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GcsDestinationConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1703,4 +1513,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datastream.v1.GcsDestinationConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/GcsDestinationConfigOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/GcsDestinationConfigOrBuilder.java similarity index 79% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/GcsDestinationConfigOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/GcsDestinationConfigOrBuilder.java index 0730c1a9..289bb6f0 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/GcsDestinationConfigOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/GcsDestinationConfigOrBuilder.java @@ -1,95 +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/datastream/v1/datastream_resources.proto package com.google.cloud.datastream.v1; -public interface GcsDestinationConfigOrBuilder - extends +public interface GcsDestinationConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1.GcsDestinationConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Path inside the Cloud Storage bucket to write data to.
    * 
* * string path = 1; - * * @return The path. */ java.lang.String getPath(); /** - * - * *
    * Path inside the Cloud Storage bucket to write data to.
    * 
* * string path = 1; - * * @return The bytes for path. */ - com.google.protobuf.ByteString getPathBytes(); + com.google.protobuf.ByteString + getPathBytes(); /** - * - * *
    * The maximum file size to be saved in the bucket.
    * 
* * int32 file_rotation_mb = 2; - * * @return The fileRotationMb. */ int getFileRotationMb(); /** - * - * *
    * The maximum duration for which new events are added before a file is
    * closed and a new file is created.
    * 
* * .google.protobuf.Duration file_rotation_interval = 3; - * * @return Whether the fileRotationInterval field is set. */ boolean hasFileRotationInterval(); /** - * - * *
    * The maximum duration for which new events are added before a file is
    * closed and a new file is created.
    * 
* * .google.protobuf.Duration file_rotation_interval = 3; - * * @return The fileRotationInterval. */ com.google.protobuf.Duration getFileRotationInterval(); /** - * - * *
    * The maximum duration for which new events are added before a file is
    * closed and a new file is created.
@@ -100,32 +68,24 @@ public interface GcsDestinationConfigOrBuilder
   com.google.protobuf.DurationOrBuilder getFileRotationIntervalOrBuilder();
 
   /**
-   *
-   *
    * 
    * AVRO file format configuration.
    * 
* * .google.cloud.datastream.v1.AvroFileFormat avro_file_format = 100; - * * @return Whether the avroFileFormat field is set. */ boolean hasAvroFileFormat(); /** - * - * *
    * AVRO file format configuration.
    * 
* * .google.cloud.datastream.v1.AvroFileFormat avro_file_format = 100; - * * @return The avroFileFormat. */ com.google.cloud.datastream.v1.AvroFileFormat getAvroFileFormat(); /** - * - * *
    * AVRO file format configuration.
    * 
@@ -135,32 +95,24 @@ public interface GcsDestinationConfigOrBuilder com.google.cloud.datastream.v1.AvroFileFormatOrBuilder getAvroFileFormatOrBuilder(); /** - * - * *
    * JSON file format configuration.
    * 
* * .google.cloud.datastream.v1.JsonFileFormat json_file_format = 101; - * * @return Whether the jsonFileFormat field is set. */ boolean hasJsonFileFormat(); /** - * - * *
    * JSON file format configuration.
    * 
* * .google.cloud.datastream.v1.JsonFileFormat json_file_format = 101; - * * @return The jsonFileFormat. */ com.google.cloud.datastream.v1.JsonFileFormat getJsonFileFormat(); /** - * - * *
    * JSON file format configuration.
    * 
diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/GcsProfile.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/GcsProfile.java similarity index 70% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/GcsProfile.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/GcsProfile.java index f8ac7853..e0f95c7b 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/GcsProfile.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/GcsProfile.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/datastream/v1/datastream_resources.proto package com.google.cloud.datastream.v1; /** - * - * *
  * Cloud Storage bucket profile.
  * 
* * Protobuf type {@code google.cloud.datastream.v1.GcsProfile} */ -public final class GcsProfile extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GcsProfile extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1.GcsProfile) GcsProfileOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GcsProfile.newBuilder() to construct. private GcsProfile(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GcsProfile() { bucket_ = ""; rootPath_ = ""; @@ -44,15 +26,16 @@ private GcsProfile() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GcsProfile(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GcsProfile( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,27 +54,25 @@ private GcsProfile( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - bucket_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + bucket_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - rootPath_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + rootPath_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,39 +80,34 @@ private GcsProfile( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_GcsProfile_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_GcsProfile_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_GcsProfile_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_GcsProfile_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.GcsProfile.class, - com.google.cloud.datastream.v1.GcsProfile.Builder.class); + com.google.cloud.datastream.v1.GcsProfile.class, com.google.cloud.datastream.v1.GcsProfile.Builder.class); } public static final int BUCKET_FIELD_NUMBER = 1; private volatile java.lang.Object bucket_; /** - * - * *
    * Required. The Cloud Storage bucket name.
    * 
* * string bucket = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bucket. */ @java.lang.Override @@ -140,29 +116,29 @@ public java.lang.String getBucket() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); bucket_ = s; return s; } } /** - * - * *
    * Required. The Cloud Storage bucket name.
    * 
* * string bucket = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for bucket. */ @java.lang.Override - public com.google.protobuf.ByteString getBucketBytes() { + public com.google.protobuf.ByteString + getBucketBytes() { java.lang.Object ref = bucket_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); bucket_ = b; return b; } else { @@ -173,14 +149,11 @@ public com.google.protobuf.ByteString getBucketBytes() { public static final int ROOT_PATH_FIELD_NUMBER = 2; private volatile java.lang.Object rootPath_; /** - * - * *
    * The root path inside the Cloud Storage bucket.
    * 
* * string root_path = 2; - * * @return The rootPath. */ @java.lang.Override @@ -189,29 +162,29 @@ public java.lang.String getRootPath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); rootPath_ = s; return s; } } /** - * - * *
    * The root path inside the Cloud Storage bucket.
    * 
* * string root_path = 2; - * * @return The bytes for rootPath. */ @java.lang.Override - public com.google.protobuf.ByteString getRootPathBytes() { + public com.google.protobuf.ByteString + getRootPathBytes() { java.lang.Object ref = rootPath_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); rootPath_ = b; return b; } else { @@ -220,7 +193,6 @@ public com.google.protobuf.ByteString getRootPathBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -232,7 +204,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(bucket_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, bucket_); } @@ -262,16 +235,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.datastream.v1.GcsProfile)) { return super.equals(obj); } - com.google.cloud.datastream.v1.GcsProfile other = - (com.google.cloud.datastream.v1.GcsProfile) obj; + com.google.cloud.datastream.v1.GcsProfile other = (com.google.cloud.datastream.v1.GcsProfile) obj; - if (!getBucket().equals(other.getBucket())) return false; - if (!getRootPath().equals(other.getRootPath())) return false; + if (!getBucket() + .equals(other.getBucket())) return false; + if (!getRootPath() + .equals(other.getRootPath())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -292,127 +266,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.datastream.v1.GcsProfile parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.datastream.v1.GcsProfile parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.GcsProfile parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.GcsProfile parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.GcsProfile parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.GcsProfile parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.GcsProfile parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.GcsProfile 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.datastream.v1.GcsProfile parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1.GcsProfile parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.GcsProfile parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.GcsProfile 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.datastream.v1.GcsProfile parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.GcsProfile parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datastream.v1.GcsProfile prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Cloud Storage bucket profile.
    * 
* * Protobuf type {@code google.cloud.datastream.v1.GcsProfile} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1.GcsProfile) com.google.cloud.datastream.v1.GcsProfileOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_GcsProfile_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_GcsProfile_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_GcsProfile_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_GcsProfile_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.GcsProfile.class, - com.google.cloud.datastream.v1.GcsProfile.Builder.class); + com.google.cloud.datastream.v1.GcsProfile.class, com.google.cloud.datastream.v1.GcsProfile.Builder.class); } // Construct using com.google.cloud.datastream.v1.GcsProfile.newBuilder() @@ -420,15 +385,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -440,9 +406,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_GcsProfile_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_GcsProfile_descriptor; } @java.lang.Override @@ -461,8 +427,7 @@ public com.google.cloud.datastream.v1.GcsProfile build() { @java.lang.Override public com.google.cloud.datastream.v1.GcsProfile buildPartial() { - com.google.cloud.datastream.v1.GcsProfile result = - new com.google.cloud.datastream.v1.GcsProfile(this); + com.google.cloud.datastream.v1.GcsProfile result = new com.google.cloud.datastream.v1.GcsProfile(this); result.bucket_ = bucket_; result.rootPath_ = rootPath_; onBuilt(); @@ -473,39 +438,38 @@ public com.google.cloud.datastream.v1.GcsProfile buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1.GcsProfile) { - return mergeFrom((com.google.cloud.datastream.v1.GcsProfile) other); + return mergeFrom((com.google.cloud.datastream.v1.GcsProfile)other); } else { super.mergeFrom(other); return this; @@ -553,20 +517,18 @@ public Builder mergeFrom( private java.lang.Object bucket_ = ""; /** - * - * *
      * Required. The Cloud Storage bucket name.
      * 
* * string bucket = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bucket. */ public java.lang.String getBucket() { java.lang.Object ref = bucket_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); bucket_ = s; return s; @@ -575,21 +537,20 @@ public java.lang.String getBucket() { } } /** - * - * *
      * Required. The Cloud Storage bucket name.
      * 
* * string bucket = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for bucket. */ - public com.google.protobuf.ByteString getBucketBytes() { + public com.google.protobuf.ByteString + getBucketBytes() { java.lang.Object ref = bucket_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); bucket_ = b; return b; } else { @@ -597,61 +558,54 @@ public com.google.protobuf.ByteString getBucketBytes() { } } /** - * - * *
      * Required. The Cloud Storage bucket name.
      * 
* * string bucket = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bucket to set. * @return This builder for chaining. */ - public Builder setBucket(java.lang.String value) { + public Builder setBucket( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + bucket_ = value; onChanged(); return this; } /** - * - * *
      * Required. The Cloud Storage bucket name.
      * 
* * string bucket = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearBucket() { - + bucket_ = getDefaultInstance().getBucket(); onChanged(); return this; } /** - * - * *
      * Required. The Cloud Storage bucket name.
      * 
* * string bucket = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for bucket to set. * @return This builder for chaining. */ - public Builder setBucketBytes(com.google.protobuf.ByteString value) { + public Builder setBucketBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + bucket_ = value; onChanged(); return this; @@ -659,20 +613,18 @@ public Builder setBucketBytes(com.google.protobuf.ByteString value) { private java.lang.Object rootPath_ = ""; /** - * - * *
      * The root path inside the Cloud Storage bucket.
      * 
* * string root_path = 2; - * * @return The rootPath. */ public java.lang.String getRootPath() { java.lang.Object ref = rootPath_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); rootPath_ = s; return s; @@ -681,21 +633,20 @@ public java.lang.String getRootPath() { } } /** - * - * *
      * The root path inside the Cloud Storage bucket.
      * 
* * string root_path = 2; - * * @return The bytes for rootPath. */ - public com.google.protobuf.ByteString getRootPathBytes() { + public com.google.protobuf.ByteString + getRootPathBytes() { java.lang.Object ref = rootPath_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); rootPath_ = b; return b; } else { @@ -703,68 +654,61 @@ public com.google.protobuf.ByteString getRootPathBytes() { } } /** - * - * *
      * The root path inside the Cloud Storage bucket.
      * 
* * string root_path = 2; - * * @param value The rootPath to set. * @return This builder for chaining. */ - public Builder setRootPath(java.lang.String value) { + public Builder setRootPath( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + rootPath_ = value; onChanged(); return this; } /** - * - * *
      * The root path inside the Cloud Storage bucket.
      * 
* * string root_path = 2; - * * @return This builder for chaining. */ public Builder clearRootPath() { - + rootPath_ = getDefaultInstance().getRootPath(); onChanged(); return this; } /** - * - * *
      * The root path inside the Cloud Storage bucket.
      * 
* * string root_path = 2; - * * @param value The bytes for rootPath to set. * @return This builder for chaining. */ - public Builder setRootPathBytes(com.google.protobuf.ByteString value) { + public Builder setRootPathBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + rootPath_ = 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); } @@ -774,12 +718,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1.GcsProfile) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1.GcsProfile) private static final com.google.cloud.datastream.v1.GcsProfile DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1.GcsProfile(); } @@ -788,16 +732,16 @@ public static com.google.cloud.datastream.v1.GcsProfile getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GcsProfile parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GcsProfile(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GcsProfile parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GcsProfile(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -812,4 +756,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datastream.v1.GcsProfile getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/GcsProfileOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/GcsProfileOrBuilder.java similarity index 57% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/GcsProfileOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/GcsProfileOrBuilder.java index 08fbfc7b..6d170ffc 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/GcsProfileOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/GcsProfileOrBuilder.java @@ -1,75 +1,49 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1/datastream_resources.proto package com.google.cloud.datastream.v1; -public interface GcsProfileOrBuilder - extends +public interface GcsProfileOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1.GcsProfile) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The Cloud Storage bucket name.
    * 
* * string bucket = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bucket. */ java.lang.String getBucket(); /** - * - * *
    * Required. The Cloud Storage bucket name.
    * 
* * string bucket = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for bucket. */ - com.google.protobuf.ByteString getBucketBytes(); + com.google.protobuf.ByteString + getBucketBytes(); /** - * - * *
    * The root path inside the Cloud Storage bucket.
    * 
* * string root_path = 2; - * * @return The rootPath. */ java.lang.String getRootPath(); /** - * - * *
    * The root path inside the Cloud Storage bucket.
    * 
* * string root_path = 2; - * * @return The bytes for rootPath. */ - com.google.protobuf.ByteString getRootPathBytes(); + com.google.protobuf.ByteString + getRootPathBytes(); } diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/GetConnectionProfileRequest.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/GetConnectionProfileRequest.java similarity index 64% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/GetConnectionProfileRequest.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/GetConnectionProfileRequest.java index 6d715b24..229bd33c 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/GetConnectionProfileRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/GetConnectionProfileRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1/datastream.proto package com.google.cloud.datastream.v1; /** - * - * *
  * Request message for getting a connection profile.
  * 
* * Protobuf type {@code google.cloud.datastream.v1.GetConnectionProfileRequest} */ -public final class GetConnectionProfileRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetConnectionProfileRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1.GetConnectionProfileRequest) GetConnectionProfileRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetConnectionProfileRequest.newBuilder() to construct. private GetConnectionProfileRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetConnectionProfileRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetConnectionProfileRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetConnectionProfileRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetConnectionProfileRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,41 +73,34 @@ private GetConnectionProfileRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_GetConnectionProfileRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_GetConnectionProfileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_GetConnectionProfileRequest_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_GetConnectionProfileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.GetConnectionProfileRequest.class, - com.google.cloud.datastream.v1.GetConnectionProfileRequest.Builder.class); + com.google.cloud.datastream.v1.GetConnectionProfileRequest.class, com.google.cloud.datastream.v1.GetConnectionProfileRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the connection profile resource to get.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -134,31 +109,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the connection profile resource to get.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -203,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datastream.v1.GetConnectionProfileRequest)) { return super.equals(obj); } - com.google.cloud.datastream.v1.GetConnectionProfileRequest other = - (com.google.cloud.datastream.v1.GetConnectionProfileRequest) obj; + com.google.cloud.datastream.v1.GetConnectionProfileRequest other = (com.google.cloud.datastream.v1.GetConnectionProfileRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,127 +204,117 @@ public int hashCode() { } public static com.google.cloud.datastream.v1.GetConnectionProfileRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.GetConnectionProfileRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.GetConnectionProfileRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.GetConnectionProfileRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.GetConnectionProfileRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.GetConnectionProfileRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1.GetConnectionProfileRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.GetConnectionProfileRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.GetConnectionProfileRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1.GetConnectionProfileRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.GetConnectionProfileRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.GetConnectionProfileRequest 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.datastream.v1.GetConnectionProfileRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.GetConnectionProfileRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datastream.v1.GetConnectionProfileRequest prototype) { + public static Builder newBuilder(com.google.cloud.datastream.v1.GetConnectionProfileRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for getting a connection profile.
    * 
* * Protobuf type {@code google.cloud.datastream.v1.GetConnectionProfileRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1.GetConnectionProfileRequest) com.google.cloud.datastream.v1.GetConnectionProfileRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_GetConnectionProfileRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_GetConnectionProfileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_GetConnectionProfileRequest_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_GetConnectionProfileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.GetConnectionProfileRequest.class, - com.google.cloud.datastream.v1.GetConnectionProfileRequest.Builder.class); + com.google.cloud.datastream.v1.GetConnectionProfileRequest.class, com.google.cloud.datastream.v1.GetConnectionProfileRequest.Builder.class); } // Construct using com.google.cloud.datastream.v1.GetConnectionProfileRequest.newBuilder() @@ -359,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -377,9 +341,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_GetConnectionProfileRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_GetConnectionProfileRequest_descriptor; } @java.lang.Override @@ -398,8 +362,7 @@ public com.google.cloud.datastream.v1.GetConnectionProfileRequest build() { @java.lang.Override public com.google.cloud.datastream.v1.GetConnectionProfileRequest buildPartial() { - com.google.cloud.datastream.v1.GetConnectionProfileRequest result = - new com.google.cloud.datastream.v1.GetConnectionProfileRequest(this); + com.google.cloud.datastream.v1.GetConnectionProfileRequest result = new com.google.cloud.datastream.v1.GetConnectionProfileRequest(this); result.name_ = name_; onBuilt(); return result; @@ -409,39 +372,38 @@ public com.google.cloud.datastream.v1.GetConnectionProfileRequest buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1.GetConnectionProfileRequest) { - return mergeFrom((com.google.cloud.datastream.v1.GetConnectionProfileRequest) other); + return mergeFrom((com.google.cloud.datastream.v1.GetConnectionProfileRequest)other); } else { super.mergeFrom(other); return this; @@ -449,8 +411,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datastream.v1.GetConnectionProfileRequest other) { - if (other == com.google.cloud.datastream.v1.GetConnectionProfileRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.datastream.v1.GetConnectionProfileRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -474,8 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datastream.v1.GetConnectionProfileRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datastream.v1.GetConnectionProfileRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -487,22 +447,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the connection profile resource to get.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -511,23 +467,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the connection profile resource to get.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -535,74 +488,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the connection profile resource to get.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the connection profile resource to get.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the connection profile resource to get.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -612,12 +552,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1.GetConnectionProfileRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1.GetConnectionProfileRequest) private static final com.google.cloud.datastream.v1.GetConnectionProfileRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1.GetConnectionProfileRequest(); } @@ -626,16 +566,16 @@ public static com.google.cloud.datastream.v1.GetConnectionProfileRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetConnectionProfileRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetConnectionProfileRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetConnectionProfileRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetConnectionProfileRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -650,4 +590,6 @@ public com.google.protobuf.Parser getParserForType( public com.google.cloud.datastream.v1.GetConnectionProfileRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/GetConnectionProfileRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/GetConnectionProfileRequestOrBuilder.java new file mode 100644 index 00000000..cbd87355 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/GetConnectionProfileRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datastream/v1/datastream.proto + +package com.google.cloud.datastream.v1; + +public interface GetConnectionProfileRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1.GetConnectionProfileRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the connection profile resource to get.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the connection profile resource to get.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/GetPrivateConnectionRequest.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/GetPrivateConnectionRequest.java similarity index 64% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/GetPrivateConnectionRequest.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/GetPrivateConnectionRequest.java index f769ae06..09606e94 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/GetPrivateConnectionRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/GetPrivateConnectionRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1/datastream.proto package com.google.cloud.datastream.v1; /** - * - * *
  * Request to get a private connection configuration.
  * 
* * Protobuf type {@code google.cloud.datastream.v1.GetPrivateConnectionRequest} */ -public final class GetPrivateConnectionRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetPrivateConnectionRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1.GetPrivateConnectionRequest) GetPrivateConnectionRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetPrivateConnectionRequest.newBuilder() to construct. private GetPrivateConnectionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetPrivateConnectionRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetPrivateConnectionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetPrivateConnectionRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetPrivateConnectionRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,41 +73,34 @@ private GetPrivateConnectionRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_GetPrivateConnectionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_GetPrivateConnectionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_GetPrivateConnectionRequest_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_GetPrivateConnectionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.GetPrivateConnectionRequest.class, - com.google.cloud.datastream.v1.GetPrivateConnectionRequest.Builder.class); + com.google.cloud.datastream.v1.GetPrivateConnectionRequest.class, com.google.cloud.datastream.v1.GetPrivateConnectionRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the  private connectivity configuration to get.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -134,31 +109,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the  private connectivity configuration to get.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -203,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datastream.v1.GetPrivateConnectionRequest)) { return super.equals(obj); } - com.google.cloud.datastream.v1.GetPrivateConnectionRequest other = - (com.google.cloud.datastream.v1.GetPrivateConnectionRequest) obj; + com.google.cloud.datastream.v1.GetPrivateConnectionRequest other = (com.google.cloud.datastream.v1.GetPrivateConnectionRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,127 +204,117 @@ public int hashCode() { } public static com.google.cloud.datastream.v1.GetPrivateConnectionRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.GetPrivateConnectionRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.GetPrivateConnectionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.GetPrivateConnectionRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.GetPrivateConnectionRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.GetPrivateConnectionRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1.GetPrivateConnectionRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.GetPrivateConnectionRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.GetPrivateConnectionRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1.GetPrivateConnectionRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.GetPrivateConnectionRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.GetPrivateConnectionRequest 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.datastream.v1.GetPrivateConnectionRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.GetPrivateConnectionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datastream.v1.GetPrivateConnectionRequest prototype) { + public static Builder newBuilder(com.google.cloud.datastream.v1.GetPrivateConnectionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request to get a private connection configuration.
    * 
* * Protobuf type {@code google.cloud.datastream.v1.GetPrivateConnectionRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1.GetPrivateConnectionRequest) com.google.cloud.datastream.v1.GetPrivateConnectionRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_GetPrivateConnectionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_GetPrivateConnectionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_GetPrivateConnectionRequest_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_GetPrivateConnectionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.GetPrivateConnectionRequest.class, - com.google.cloud.datastream.v1.GetPrivateConnectionRequest.Builder.class); + com.google.cloud.datastream.v1.GetPrivateConnectionRequest.class, com.google.cloud.datastream.v1.GetPrivateConnectionRequest.Builder.class); } // Construct using com.google.cloud.datastream.v1.GetPrivateConnectionRequest.newBuilder() @@ -359,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -377,9 +341,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_GetPrivateConnectionRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_GetPrivateConnectionRequest_descriptor; } @java.lang.Override @@ -398,8 +362,7 @@ public com.google.cloud.datastream.v1.GetPrivateConnectionRequest build() { @java.lang.Override public com.google.cloud.datastream.v1.GetPrivateConnectionRequest buildPartial() { - com.google.cloud.datastream.v1.GetPrivateConnectionRequest result = - new com.google.cloud.datastream.v1.GetPrivateConnectionRequest(this); + com.google.cloud.datastream.v1.GetPrivateConnectionRequest result = new com.google.cloud.datastream.v1.GetPrivateConnectionRequest(this); result.name_ = name_; onBuilt(); return result; @@ -409,39 +372,38 @@ public com.google.cloud.datastream.v1.GetPrivateConnectionRequest buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1.GetPrivateConnectionRequest) { - return mergeFrom((com.google.cloud.datastream.v1.GetPrivateConnectionRequest) other); + return mergeFrom((com.google.cloud.datastream.v1.GetPrivateConnectionRequest)other); } else { super.mergeFrom(other); return this; @@ -449,8 +411,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datastream.v1.GetPrivateConnectionRequest other) { - if (other == com.google.cloud.datastream.v1.GetPrivateConnectionRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.datastream.v1.GetPrivateConnectionRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -474,8 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datastream.v1.GetPrivateConnectionRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datastream.v1.GetPrivateConnectionRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -487,22 +447,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the  private connectivity configuration to get.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -511,23 +467,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the  private connectivity configuration to get.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -535,74 +488,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the  private connectivity configuration to get.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the  private connectivity configuration to get.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the  private connectivity configuration to get.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -612,12 +552,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1.GetPrivateConnectionRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1.GetPrivateConnectionRequest) private static final com.google.cloud.datastream.v1.GetPrivateConnectionRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1.GetPrivateConnectionRequest(); } @@ -626,16 +566,16 @@ public static com.google.cloud.datastream.v1.GetPrivateConnectionRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetPrivateConnectionRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetPrivateConnectionRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetPrivateConnectionRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetPrivateConnectionRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -650,4 +590,6 @@ public com.google.protobuf.Parser getParserForType( public com.google.cloud.datastream.v1.GetPrivateConnectionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/GetPrivateConnectionRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/GetPrivateConnectionRequestOrBuilder.java new file mode 100644 index 00000000..277aaf46 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/GetPrivateConnectionRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datastream/v1/datastream.proto + +package com.google.cloud.datastream.v1; + +public interface GetPrivateConnectionRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1.GetPrivateConnectionRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the  private connectivity configuration to get.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the  private connectivity configuration to get.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/GetRouteRequest.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/GetRouteRequest.java similarity index 65% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/GetRouteRequest.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/GetRouteRequest.java index cc4858f2..f7026f02 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/GetRouteRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/GetRouteRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1/datastream.proto package com.google.cloud.datastream.v1; /** - * - * *
  * Route get request.
  * 
* * Protobuf type {@code google.cloud.datastream.v1.GetRouteRequest} */ -public final class GetRouteRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetRouteRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1.GetRouteRequest) GetRouteRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetRouteRequest.newBuilder() to construct. private GetRouteRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetRouteRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetRouteRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetRouteRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetRouteRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,41 +73,34 @@ private GetRouteRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_GetRouteRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_GetRouteRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_GetRouteRequest_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_GetRouteRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.GetRouteRequest.class, - com.google.cloud.datastream.v1.GetRouteRequest.Builder.class); + com.google.cloud.datastream.v1.GetRouteRequest.class, com.google.cloud.datastream.v1.GetRouteRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the Route resource to get.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -134,31 +109,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the Route resource to get.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -203,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datastream.v1.GetRouteRequest)) { return super.equals(obj); } - com.google.cloud.datastream.v1.GetRouteRequest other = - (com.google.cloud.datastream.v1.GetRouteRequest) obj; + com.google.cloud.datastream.v1.GetRouteRequest other = (com.google.cloud.datastream.v1.GetRouteRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -230,127 +203,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.datastream.v1.GetRouteRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.datastream.v1.GetRouteRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.GetRouteRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.GetRouteRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.GetRouteRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.GetRouteRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.GetRouteRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.GetRouteRequest 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.datastream.v1.GetRouteRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1.GetRouteRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.GetRouteRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.GetRouteRequest 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.datastream.v1.GetRouteRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.GetRouteRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datastream.v1.GetRouteRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Route get request.
    * 
* * Protobuf type {@code google.cloud.datastream.v1.GetRouteRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1.GetRouteRequest) com.google.cloud.datastream.v1.GetRouteRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_GetRouteRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_GetRouteRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_GetRouteRequest_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_GetRouteRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.GetRouteRequest.class, - com.google.cloud.datastream.v1.GetRouteRequest.Builder.class); + com.google.cloud.datastream.v1.GetRouteRequest.class, com.google.cloud.datastream.v1.GetRouteRequest.Builder.class); } // Construct using com.google.cloud.datastream.v1.GetRouteRequest.newBuilder() @@ -358,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -376,9 +341,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_GetRouteRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_GetRouteRequest_descriptor; } @java.lang.Override @@ -397,8 +362,7 @@ public com.google.cloud.datastream.v1.GetRouteRequest build() { @java.lang.Override public com.google.cloud.datastream.v1.GetRouteRequest buildPartial() { - com.google.cloud.datastream.v1.GetRouteRequest result = - new com.google.cloud.datastream.v1.GetRouteRequest(this); + com.google.cloud.datastream.v1.GetRouteRequest result = new com.google.cloud.datastream.v1.GetRouteRequest(this); result.name_ = name_; onBuilt(); return result; @@ -408,39 +372,38 @@ public com.google.cloud.datastream.v1.GetRouteRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1.GetRouteRequest) { - return mergeFrom((com.google.cloud.datastream.v1.GetRouteRequest) other); + return mergeFrom((com.google.cloud.datastream.v1.GetRouteRequest)other); } else { super.mergeFrom(other); return this; @@ -484,22 +447,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the Route resource to get.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -508,23 +467,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the Route resource to get.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -532,74 +488,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the Route resource to get.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the Route resource to get.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the Route resource to get.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -609,12 +552,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1.GetRouteRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1.GetRouteRequest) private static final com.google.cloud.datastream.v1.GetRouteRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1.GetRouteRequest(); } @@ -623,16 +566,16 @@ public static com.google.cloud.datastream.v1.GetRouteRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetRouteRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetRouteRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetRouteRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetRouteRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -647,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datastream.v1.GetRouteRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/GetRouteRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/GetRouteRequestOrBuilder.java new file mode 100644 index 00000000..ee7f97b7 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/GetRouteRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datastream/v1/datastream.proto + +package com.google.cloud.datastream.v1; + +public interface GetRouteRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1.GetRouteRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the Route resource to get.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the Route resource to get.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/GetStreamObjectRequest.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/GetStreamObjectRequest.java similarity index 64% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/GetStreamObjectRequest.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/GetStreamObjectRequest.java index 11a6aaeb..2bb5ea6c 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/GetStreamObjectRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/GetStreamObjectRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1/datastream.proto package com.google.cloud.datastream.v1; /** - * - * *
  * Request for fetching a specific stream object.
  * 
* * Protobuf type {@code google.cloud.datastream.v1.GetStreamObjectRequest} */ -public final class GetStreamObjectRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetStreamObjectRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1.GetStreamObjectRequest) GetStreamObjectRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetStreamObjectRequest.newBuilder() to construct. private GetStreamObjectRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetStreamObjectRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetStreamObjectRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetStreamObjectRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetStreamObjectRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,41 +73,34 @@ private GetStreamObjectRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_GetStreamObjectRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_GetStreamObjectRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_GetStreamObjectRequest_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_GetStreamObjectRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.GetStreamObjectRequest.class, - com.google.cloud.datastream.v1.GetStreamObjectRequest.Builder.class); + com.google.cloud.datastream.v1.GetStreamObjectRequest.class, com.google.cloud.datastream.v1.GetStreamObjectRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the stream object resource to get.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -134,31 +109,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the stream object resource to get.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -203,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datastream.v1.GetStreamObjectRequest)) { return super.equals(obj); } - com.google.cloud.datastream.v1.GetStreamObjectRequest other = - (com.google.cloud.datastream.v1.GetStreamObjectRequest) obj; + com.google.cloud.datastream.v1.GetStreamObjectRequest other = (com.google.cloud.datastream.v1.GetStreamObjectRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,127 +204,117 @@ public int hashCode() { } public static com.google.cloud.datastream.v1.GetStreamObjectRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.GetStreamObjectRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.GetStreamObjectRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.GetStreamObjectRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.GetStreamObjectRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.GetStreamObjectRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1.GetStreamObjectRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.GetStreamObjectRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.GetStreamObjectRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1.GetStreamObjectRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.GetStreamObjectRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.GetStreamObjectRequest 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.datastream.v1.GetStreamObjectRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.GetStreamObjectRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datastream.v1.GetStreamObjectRequest prototype) { + public static Builder newBuilder(com.google.cloud.datastream.v1.GetStreamObjectRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 fetching a specific stream object.
    * 
* * Protobuf type {@code google.cloud.datastream.v1.GetStreamObjectRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1.GetStreamObjectRequest) com.google.cloud.datastream.v1.GetStreamObjectRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_GetStreamObjectRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_GetStreamObjectRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_GetStreamObjectRequest_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_GetStreamObjectRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.GetStreamObjectRequest.class, - com.google.cloud.datastream.v1.GetStreamObjectRequest.Builder.class); + com.google.cloud.datastream.v1.GetStreamObjectRequest.class, com.google.cloud.datastream.v1.GetStreamObjectRequest.Builder.class); } // Construct using com.google.cloud.datastream.v1.GetStreamObjectRequest.newBuilder() @@ -359,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -377,9 +341,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_GetStreamObjectRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_GetStreamObjectRequest_descriptor; } @java.lang.Override @@ -398,8 +362,7 @@ public com.google.cloud.datastream.v1.GetStreamObjectRequest build() { @java.lang.Override public com.google.cloud.datastream.v1.GetStreamObjectRequest buildPartial() { - com.google.cloud.datastream.v1.GetStreamObjectRequest result = - new com.google.cloud.datastream.v1.GetStreamObjectRequest(this); + com.google.cloud.datastream.v1.GetStreamObjectRequest result = new com.google.cloud.datastream.v1.GetStreamObjectRequest(this); result.name_ = name_; onBuilt(); return result; @@ -409,39 +372,38 @@ public com.google.cloud.datastream.v1.GetStreamObjectRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1.GetStreamObjectRequest) { - return mergeFrom((com.google.cloud.datastream.v1.GetStreamObjectRequest) other); + return mergeFrom((com.google.cloud.datastream.v1.GetStreamObjectRequest)other); } else { super.mergeFrom(other); return this; @@ -449,8 +411,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datastream.v1.GetStreamObjectRequest other) { - if (other == com.google.cloud.datastream.v1.GetStreamObjectRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.datastream.v1.GetStreamObjectRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -474,8 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datastream.v1.GetStreamObjectRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datastream.v1.GetStreamObjectRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -487,22 +447,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the stream object resource to get.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -511,23 +467,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the stream object resource to get.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -535,74 +488,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the stream object resource to get.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the stream object resource to get.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the stream object resource to get.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -612,12 +552,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1.GetStreamObjectRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1.GetStreamObjectRequest) private static final com.google.cloud.datastream.v1.GetStreamObjectRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1.GetStreamObjectRequest(); } @@ -626,16 +566,16 @@ public static com.google.cloud.datastream.v1.GetStreamObjectRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetStreamObjectRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetStreamObjectRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetStreamObjectRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetStreamObjectRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -650,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datastream.v1.GetStreamObjectRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/GetStreamObjectRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/GetStreamObjectRequestOrBuilder.java new file mode 100644 index 00000000..4afde35b --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/GetStreamObjectRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datastream/v1/datastream.proto + +package com.google.cloud.datastream.v1; + +public interface GetStreamObjectRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1.GetStreamObjectRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the stream object resource to get.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the stream object resource to get.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/GetStreamRequest.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/GetStreamRequest.java similarity index 65% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/GetStreamRequest.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/GetStreamRequest.java index bbe25732..1d353769 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/GetStreamRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/GetStreamRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1/datastream.proto package com.google.cloud.datastream.v1; /** - * - * *
  * Request message for getting a stream.
  * 
* * Protobuf type {@code google.cloud.datastream.v1.GetStreamRequest} */ -public final class GetStreamRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetStreamRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1.GetStreamRequest) GetStreamRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetStreamRequest.newBuilder() to construct. private GetStreamRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetStreamRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetStreamRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetStreamRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetStreamRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,41 +73,34 @@ private GetStreamRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_GetStreamRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_GetStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_GetStreamRequest_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_GetStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.GetStreamRequest.class, - com.google.cloud.datastream.v1.GetStreamRequest.Builder.class); + com.google.cloud.datastream.v1.GetStreamRequest.class, com.google.cloud.datastream.v1.GetStreamRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the stream resource to get.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -134,31 +109,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the stream resource to get.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -203,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datastream.v1.GetStreamRequest)) { return super.equals(obj); } - com.google.cloud.datastream.v1.GetStreamRequest other = - (com.google.cloud.datastream.v1.GetStreamRequest) obj; + com.google.cloud.datastream.v1.GetStreamRequest other = (com.google.cloud.datastream.v1.GetStreamRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -230,127 +203,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.datastream.v1.GetStreamRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.datastream.v1.GetStreamRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.GetStreamRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.GetStreamRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.GetStreamRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.GetStreamRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.GetStreamRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.GetStreamRequest 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.datastream.v1.GetStreamRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1.GetStreamRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.GetStreamRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.GetStreamRequest 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.datastream.v1.GetStreamRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.GetStreamRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datastream.v1.GetStreamRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for getting a stream.
    * 
* * Protobuf type {@code google.cloud.datastream.v1.GetStreamRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1.GetStreamRequest) com.google.cloud.datastream.v1.GetStreamRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_GetStreamRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_GetStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_GetStreamRequest_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_GetStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.GetStreamRequest.class, - com.google.cloud.datastream.v1.GetStreamRequest.Builder.class); + com.google.cloud.datastream.v1.GetStreamRequest.class, com.google.cloud.datastream.v1.GetStreamRequest.Builder.class); } // Construct using com.google.cloud.datastream.v1.GetStreamRequest.newBuilder() @@ -358,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -376,9 +341,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_GetStreamRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_GetStreamRequest_descriptor; } @java.lang.Override @@ -397,8 +362,7 @@ public com.google.cloud.datastream.v1.GetStreamRequest build() { @java.lang.Override public com.google.cloud.datastream.v1.GetStreamRequest buildPartial() { - com.google.cloud.datastream.v1.GetStreamRequest result = - new com.google.cloud.datastream.v1.GetStreamRequest(this); + com.google.cloud.datastream.v1.GetStreamRequest result = new com.google.cloud.datastream.v1.GetStreamRequest(this); result.name_ = name_; onBuilt(); return result; @@ -408,39 +372,38 @@ public com.google.cloud.datastream.v1.GetStreamRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1.GetStreamRequest) { - return mergeFrom((com.google.cloud.datastream.v1.GetStreamRequest) other); + return mergeFrom((com.google.cloud.datastream.v1.GetStreamRequest)other); } else { super.mergeFrom(other); return this; @@ -448,8 +411,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datastream.v1.GetStreamRequest other) { - if (other == com.google.cloud.datastream.v1.GetStreamRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.datastream.v1.GetStreamRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -485,22 +447,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the stream resource to get.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -509,23 +467,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the stream resource to get.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -533,74 +488,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the stream resource to get.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the stream resource to get.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the stream resource to get.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -610,12 +552,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1.GetStreamRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1.GetStreamRequest) private static final com.google.cloud.datastream.v1.GetStreamRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1.GetStreamRequest(); } @@ -624,16 +566,16 @@ public static com.google.cloud.datastream.v1.GetStreamRequest getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetStreamRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetStreamRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetStreamRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetStreamRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -648,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datastream.v1.GetStreamRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/GetStreamRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/GetStreamRequestOrBuilder.java new file mode 100644 index 00000000..d61ac09e --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/GetStreamRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datastream/v1/datastream.proto + +package com.google.cloud.datastream.v1; + +public interface GetStreamRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1.GetStreamRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the stream resource to get.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the stream resource to get.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/JsonFileFormat.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/JsonFileFormat.java similarity index 70% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/JsonFileFormat.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/JsonFileFormat.java index 91d0d2f9..f04271d2 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/JsonFileFormat.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/JsonFileFormat.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/datastream/v1/datastream_resources.proto package com.google.cloud.datastream.v1; /** - * - * *
  * JSON file format configuration.
  * 
* * Protobuf type {@code google.cloud.datastream.v1.JsonFileFormat} */ -public final class JsonFileFormat extends com.google.protobuf.GeneratedMessageV3 - implements +public final class JsonFileFormat extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1.JsonFileFormat) JsonFileFormatOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use JsonFileFormat.newBuilder() to construct. private JsonFileFormat(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private JsonFileFormat() { schemaFileFormat_ = 0; compression_ = 0; @@ -44,15 +26,16 @@ private JsonFileFormat() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new JsonFileFormat(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private JsonFileFormat( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,27 +54,25 @@ private JsonFileFormat( case 0: done = true; break; - case 8: - { - int rawValue = input.readEnum(); + case 8: { + int rawValue = input.readEnum(); - schemaFileFormat_ = rawValue; - break; - } - case 16: - { - int rawValue = input.readEnum(); + schemaFileFormat_ = rawValue; + break; + } + case 16: { + int rawValue = input.readEnum(); - compression_ = rawValue; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + compression_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,41 +80,36 @@ private JsonFileFormat( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_JsonFileFormat_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_JsonFileFormat_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_JsonFileFormat_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_JsonFileFormat_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.JsonFileFormat.class, - com.google.cloud.datastream.v1.JsonFileFormat.Builder.class); + com.google.cloud.datastream.v1.JsonFileFormat.class, com.google.cloud.datastream.v1.JsonFileFormat.Builder.class); } /** - * - * *
    * Schema file format.
    * 
* * Protobuf enum {@code google.cloud.datastream.v1.JsonFileFormat.SchemaFileFormat} */ - public enum SchemaFileFormat implements com.google.protobuf.ProtocolMessageEnum { + public enum SchemaFileFormat + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Unspecified schema file format.
      * 
@@ -142,8 +118,6 @@ public enum SchemaFileFormat implements com.google.protobuf.ProtocolMessageEnum */ SCHEMA_FILE_FORMAT_UNSPECIFIED(0), /** - * - * *
      * Do not attach schema file.
      * 
@@ -152,8 +126,6 @@ public enum SchemaFileFormat implements com.google.protobuf.ProtocolMessageEnum */ NO_SCHEMA_FILE(1), /** - * - * *
      * Avro schema format.
      * 
@@ -165,8 +137,6 @@ public enum SchemaFileFormat implements com.google.protobuf.ProtocolMessageEnum ; /** - * - * *
      * Unspecified schema file format.
      * 
@@ -175,8 +145,6 @@ public enum SchemaFileFormat implements com.google.protobuf.ProtocolMessageEnum */ public static final int SCHEMA_FILE_FORMAT_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Do not attach schema file.
      * 
@@ -185,8 +153,6 @@ public enum SchemaFileFormat implements com.google.protobuf.ProtocolMessageEnum */ public static final int NO_SCHEMA_FILE_VALUE = 1; /** - * - * *
      * Avro schema format.
      * 
@@ -195,6 +161,7 @@ public enum SchemaFileFormat implements com.google.protobuf.ProtocolMessageEnum */ public static final int AVRO_SCHEMA_FILE_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -219,42 +186,39 @@ public static SchemaFileFormat valueOf(int value) { */ public static SchemaFileFormat forNumber(int value) { switch (value) { - case 0: - return SCHEMA_FILE_FORMAT_UNSPECIFIED; - case 1: - return NO_SCHEMA_FILE; - case 2: - return AVRO_SCHEMA_FILE; - default: - return null; + case 0: return SCHEMA_FILE_FORMAT_UNSPECIFIED; + case 1: return NO_SCHEMA_FILE; + case 2: return AVRO_SCHEMA_FILE; + 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< + SchemaFileFormat> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public SchemaFileFormat findValueByNumber(int number) { + return SchemaFileFormat.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public SchemaFileFormat findValueByNumber(int number) { - return SchemaFileFormat.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.datastream.v1.JsonFileFormat.getDescriptor().getEnumTypes().get(0); } @@ -263,7 +227,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static SchemaFileFormat 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; @@ -281,18 +246,15 @@ private SchemaFileFormat(int value) { } /** - * - * *
    * Json file compression.
    * 
* * Protobuf enum {@code google.cloud.datastream.v1.JsonFileFormat.JsonCompression} */ - public enum JsonCompression implements com.google.protobuf.ProtocolMessageEnum { + public enum JsonCompression + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Unspecified json file compression.
      * 
@@ -301,8 +263,6 @@ public enum JsonCompression implements com.google.protobuf.ProtocolMessageEnum { */ JSON_COMPRESSION_UNSPECIFIED(0), /** - * - * *
      * Do not compress JSON file.
      * 
@@ -311,8 +271,6 @@ public enum JsonCompression implements com.google.protobuf.ProtocolMessageEnum { */ NO_COMPRESSION(1), /** - * - * *
      * Gzip compression.
      * 
@@ -324,8 +282,6 @@ public enum JsonCompression implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Unspecified json file compression.
      * 
@@ -334,8 +290,6 @@ public enum JsonCompression implements com.google.protobuf.ProtocolMessageEnum { */ public static final int JSON_COMPRESSION_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Do not compress JSON file.
      * 
@@ -344,8 +298,6 @@ public enum JsonCompression implements com.google.protobuf.ProtocolMessageEnum { */ public static final int NO_COMPRESSION_VALUE = 1; /** - * - * *
      * Gzip compression.
      * 
@@ -354,6 +306,7 @@ public enum JsonCompression implements com.google.protobuf.ProtocolMessageEnum { */ public static final int GZIP_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -378,42 +331,39 @@ public static JsonCompression valueOf(int value) { */ public static JsonCompression forNumber(int value) { switch (value) { - case 0: - return JSON_COMPRESSION_UNSPECIFIED; - case 1: - return NO_COMPRESSION; - case 2: - return GZIP; - default: - return null; + case 0: return JSON_COMPRESSION_UNSPECIFIED; + case 1: return NO_COMPRESSION; + case 2: return GZIP; + 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< + JsonCompression> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public JsonCompression findValueByNumber(int number) { + return JsonCompression.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public JsonCompression findValueByNumber(int number) { - return JsonCompression.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.datastream.v1.JsonFileFormat.getDescriptor().getEnumTypes().get(1); } @@ -422,7 +372,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static JsonCompression 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; @@ -442,83 +393,58 @@ private JsonCompression(int value) { public static final int SCHEMA_FILE_FORMAT_FIELD_NUMBER = 1; private int schemaFileFormat_; /** - * - * *
    * The schema file format along JSON data files.
    * 
* - * .google.cloud.datastream.v1.JsonFileFormat.SchemaFileFormat schema_file_format = 1; - * - * + * .google.cloud.datastream.v1.JsonFileFormat.SchemaFileFormat schema_file_format = 1; * @return The enum numeric value on the wire for schemaFileFormat. */ - @java.lang.Override - public int getSchemaFileFormatValue() { + @java.lang.Override public int getSchemaFileFormatValue() { return schemaFileFormat_; } /** - * - * *
    * The schema file format along JSON data files.
    * 
* - * .google.cloud.datastream.v1.JsonFileFormat.SchemaFileFormat schema_file_format = 1; - * - * + * .google.cloud.datastream.v1.JsonFileFormat.SchemaFileFormat schema_file_format = 1; * @return The schemaFileFormat. */ - @java.lang.Override - public com.google.cloud.datastream.v1.JsonFileFormat.SchemaFileFormat getSchemaFileFormat() { + @java.lang.Override public com.google.cloud.datastream.v1.JsonFileFormat.SchemaFileFormat getSchemaFileFormat() { @SuppressWarnings("deprecation") - com.google.cloud.datastream.v1.JsonFileFormat.SchemaFileFormat result = - com.google.cloud.datastream.v1.JsonFileFormat.SchemaFileFormat.valueOf(schemaFileFormat_); - return result == null - ? com.google.cloud.datastream.v1.JsonFileFormat.SchemaFileFormat.UNRECOGNIZED - : result; + com.google.cloud.datastream.v1.JsonFileFormat.SchemaFileFormat result = com.google.cloud.datastream.v1.JsonFileFormat.SchemaFileFormat.valueOf(schemaFileFormat_); + return result == null ? com.google.cloud.datastream.v1.JsonFileFormat.SchemaFileFormat.UNRECOGNIZED : result; } public static final int COMPRESSION_FIELD_NUMBER = 2; private int compression_; /** - * - * *
    * Compression of the loaded JSON file.
    * 
* * .google.cloud.datastream.v1.JsonFileFormat.JsonCompression compression = 2; - * * @return The enum numeric value on the wire for compression. */ - @java.lang.Override - public int getCompressionValue() { + @java.lang.Override public int getCompressionValue() { return compression_; } /** - * - * *
    * Compression of the loaded JSON file.
    * 
* * .google.cloud.datastream.v1.JsonFileFormat.JsonCompression compression = 2; - * * @return The compression. */ - @java.lang.Override - public com.google.cloud.datastream.v1.JsonFileFormat.JsonCompression getCompression() { + @java.lang.Override public com.google.cloud.datastream.v1.JsonFileFormat.JsonCompression getCompression() { @SuppressWarnings("deprecation") - com.google.cloud.datastream.v1.JsonFileFormat.JsonCompression result = - com.google.cloud.datastream.v1.JsonFileFormat.JsonCompression.valueOf(compression_); - return result == null - ? com.google.cloud.datastream.v1.JsonFileFormat.JsonCompression.UNRECOGNIZED - : result; + com.google.cloud.datastream.v1.JsonFileFormat.JsonCompression result = com.google.cloud.datastream.v1.JsonFileFormat.JsonCompression.valueOf(compression_); + return result == null ? com.google.cloud.datastream.v1.JsonFileFormat.JsonCompression.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -530,17 +456,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (schemaFileFormat_ - != com.google.cloud.datastream.v1.JsonFileFormat.SchemaFileFormat - .SCHEMA_FILE_FORMAT_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (schemaFileFormat_ != com.google.cloud.datastream.v1.JsonFileFormat.SchemaFileFormat.SCHEMA_FILE_FORMAT_UNSPECIFIED.getNumber()) { output.writeEnum(1, schemaFileFormat_); } - if (compression_ - != com.google.cloud.datastream.v1.JsonFileFormat.JsonCompression - .JSON_COMPRESSION_UNSPECIFIED - .getNumber()) { + if (compression_ != com.google.cloud.datastream.v1.JsonFileFormat.JsonCompression.JSON_COMPRESSION_UNSPECIFIED.getNumber()) { output.writeEnum(2, compression_); } unknownFields.writeTo(output); @@ -552,17 +473,13 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (schemaFileFormat_ - != com.google.cloud.datastream.v1.JsonFileFormat.SchemaFileFormat - .SCHEMA_FILE_FORMAT_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, schemaFileFormat_); + if (schemaFileFormat_ != com.google.cloud.datastream.v1.JsonFileFormat.SchemaFileFormat.SCHEMA_FILE_FORMAT_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, schemaFileFormat_); } - if (compression_ - != com.google.cloud.datastream.v1.JsonFileFormat.JsonCompression - .JSON_COMPRESSION_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, compression_); + if (compression_ != com.google.cloud.datastream.v1.JsonFileFormat.JsonCompression.JSON_COMPRESSION_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, compression_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -572,13 +489,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datastream.v1.JsonFileFormat)) { return super.equals(obj); } - com.google.cloud.datastream.v1.JsonFileFormat other = - (com.google.cloud.datastream.v1.JsonFileFormat) obj; + com.google.cloud.datastream.v1.JsonFileFormat other = (com.google.cloud.datastream.v1.JsonFileFormat) obj; if (schemaFileFormat_ != other.schemaFileFormat_) return false; if (compression_ != other.compression_) return false; @@ -602,127 +518,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.datastream.v1.JsonFileFormat parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.datastream.v1.JsonFileFormat parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.JsonFileFormat parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.JsonFileFormat parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.JsonFileFormat parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.JsonFileFormat parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.JsonFileFormat parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.JsonFileFormat 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.datastream.v1.JsonFileFormat parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1.JsonFileFormat parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.JsonFileFormat parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.JsonFileFormat 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.datastream.v1.JsonFileFormat parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.JsonFileFormat parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datastream.v1.JsonFileFormat prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * JSON file format configuration.
    * 
* * Protobuf type {@code google.cloud.datastream.v1.JsonFileFormat} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1.JsonFileFormat) com.google.cloud.datastream.v1.JsonFileFormatOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_JsonFileFormat_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_JsonFileFormat_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_JsonFileFormat_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_JsonFileFormat_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.JsonFileFormat.class, - com.google.cloud.datastream.v1.JsonFileFormat.Builder.class); + com.google.cloud.datastream.v1.JsonFileFormat.class, com.google.cloud.datastream.v1.JsonFileFormat.Builder.class); } // Construct using com.google.cloud.datastream.v1.JsonFileFormat.newBuilder() @@ -730,15 +637,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -750,9 +658,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_JsonFileFormat_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_JsonFileFormat_descriptor; } @java.lang.Override @@ -771,8 +679,7 @@ public com.google.cloud.datastream.v1.JsonFileFormat build() { @java.lang.Override public com.google.cloud.datastream.v1.JsonFileFormat buildPartial() { - com.google.cloud.datastream.v1.JsonFileFormat result = - new com.google.cloud.datastream.v1.JsonFileFormat(this); + com.google.cloud.datastream.v1.JsonFileFormat result = new com.google.cloud.datastream.v1.JsonFileFormat(this); result.schemaFileFormat_ = schemaFileFormat_; result.compression_ = compression_; onBuilt(); @@ -783,39 +690,38 @@ public com.google.cloud.datastream.v1.JsonFileFormat buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1.JsonFileFormat) { - return mergeFrom((com.google.cloud.datastream.v1.JsonFileFormat) other); + return mergeFrom((com.google.cloud.datastream.v1.JsonFileFormat)other); } else { super.mergeFrom(other); return this; @@ -861,98 +767,73 @@ public Builder mergeFrom( private int schemaFileFormat_ = 0; /** - * - * *
      * The schema file format along JSON data files.
      * 
* - * .google.cloud.datastream.v1.JsonFileFormat.SchemaFileFormat schema_file_format = 1; - * - * + * .google.cloud.datastream.v1.JsonFileFormat.SchemaFileFormat schema_file_format = 1; * @return The enum numeric value on the wire for schemaFileFormat. */ - @java.lang.Override - public int getSchemaFileFormatValue() { + @java.lang.Override public int getSchemaFileFormatValue() { return schemaFileFormat_; } /** - * - * *
      * The schema file format along JSON data files.
      * 
* - * .google.cloud.datastream.v1.JsonFileFormat.SchemaFileFormat schema_file_format = 1; - * - * + * .google.cloud.datastream.v1.JsonFileFormat.SchemaFileFormat schema_file_format = 1; * @param value The enum numeric value on the wire for schemaFileFormat to set. * @return This builder for chaining. */ public Builder setSchemaFileFormatValue(int value) { - + schemaFileFormat_ = value; onChanged(); return this; } /** - * - * *
      * The schema file format along JSON data files.
      * 
* - * .google.cloud.datastream.v1.JsonFileFormat.SchemaFileFormat schema_file_format = 1; - * - * + * .google.cloud.datastream.v1.JsonFileFormat.SchemaFileFormat schema_file_format = 1; * @return The schemaFileFormat. */ @java.lang.Override public com.google.cloud.datastream.v1.JsonFileFormat.SchemaFileFormat getSchemaFileFormat() { @SuppressWarnings("deprecation") - com.google.cloud.datastream.v1.JsonFileFormat.SchemaFileFormat result = - com.google.cloud.datastream.v1.JsonFileFormat.SchemaFileFormat.valueOf(schemaFileFormat_); - return result == null - ? com.google.cloud.datastream.v1.JsonFileFormat.SchemaFileFormat.UNRECOGNIZED - : result; + com.google.cloud.datastream.v1.JsonFileFormat.SchemaFileFormat result = com.google.cloud.datastream.v1.JsonFileFormat.SchemaFileFormat.valueOf(schemaFileFormat_); + return result == null ? com.google.cloud.datastream.v1.JsonFileFormat.SchemaFileFormat.UNRECOGNIZED : result; } /** - * - * *
      * The schema file format along JSON data files.
      * 
* - * .google.cloud.datastream.v1.JsonFileFormat.SchemaFileFormat schema_file_format = 1; - * - * + * .google.cloud.datastream.v1.JsonFileFormat.SchemaFileFormat schema_file_format = 1; * @param value The schemaFileFormat to set. * @return This builder for chaining. */ - public Builder setSchemaFileFormat( - com.google.cloud.datastream.v1.JsonFileFormat.SchemaFileFormat value) { + public Builder setSchemaFileFormat(com.google.cloud.datastream.v1.JsonFileFormat.SchemaFileFormat value) { if (value == null) { throw new NullPointerException(); } - + schemaFileFormat_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The schema file format along JSON data files.
      * 
* - * .google.cloud.datastream.v1.JsonFileFormat.SchemaFileFormat schema_file_format = 1; - * - * + * .google.cloud.datastream.v1.JsonFileFormat.SchemaFileFormat schema_file_format = 1; * @return This builder for chaining. */ public Builder clearSchemaFileFormat() { - + schemaFileFormat_ = 0; onChanged(); return this; @@ -960,100 +841,80 @@ public Builder clearSchemaFileFormat() { private int compression_ = 0; /** - * - * *
      * Compression of the loaded JSON file.
      * 
* * .google.cloud.datastream.v1.JsonFileFormat.JsonCompression compression = 2; - * * @return The enum numeric value on the wire for compression. */ - @java.lang.Override - public int getCompressionValue() { + @java.lang.Override public int getCompressionValue() { return compression_; } /** - * - * *
      * Compression of the loaded JSON file.
      * 
* * .google.cloud.datastream.v1.JsonFileFormat.JsonCompression compression = 2; - * * @param value The enum numeric value on the wire for compression to set. * @return This builder for chaining. */ public Builder setCompressionValue(int value) { - + compression_ = value; onChanged(); return this; } /** - * - * *
      * Compression of the loaded JSON file.
      * 
* * .google.cloud.datastream.v1.JsonFileFormat.JsonCompression compression = 2; - * * @return The compression. */ @java.lang.Override public com.google.cloud.datastream.v1.JsonFileFormat.JsonCompression getCompression() { @SuppressWarnings("deprecation") - com.google.cloud.datastream.v1.JsonFileFormat.JsonCompression result = - com.google.cloud.datastream.v1.JsonFileFormat.JsonCompression.valueOf(compression_); - return result == null - ? com.google.cloud.datastream.v1.JsonFileFormat.JsonCompression.UNRECOGNIZED - : result; + com.google.cloud.datastream.v1.JsonFileFormat.JsonCompression result = com.google.cloud.datastream.v1.JsonFileFormat.JsonCompression.valueOf(compression_); + return result == null ? com.google.cloud.datastream.v1.JsonFileFormat.JsonCompression.UNRECOGNIZED : result; } /** - * - * *
      * Compression of the loaded JSON file.
      * 
* * .google.cloud.datastream.v1.JsonFileFormat.JsonCompression compression = 2; - * * @param value The compression to set. * @return This builder for chaining. */ - public Builder setCompression( - com.google.cloud.datastream.v1.JsonFileFormat.JsonCompression value) { + public Builder setCompression(com.google.cloud.datastream.v1.JsonFileFormat.JsonCompression value) { if (value == null) { throw new NullPointerException(); } - + compression_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Compression of the loaded JSON file.
      * 
* * .google.cloud.datastream.v1.JsonFileFormat.JsonCompression compression = 2; - * * @return This builder for chaining. */ public Builder clearCompression() { - + compression_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1063,12 +924,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1.JsonFileFormat) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1.JsonFileFormat) private static final com.google.cloud.datastream.v1.JsonFileFormat DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1.JsonFileFormat(); } @@ -1077,16 +938,16 @@ public static com.google.cloud.datastream.v1.JsonFileFormat getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public JsonFileFormat parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new JsonFileFormat(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public JsonFileFormat parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new JsonFileFormat(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1101,4 +962,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datastream.v1.JsonFileFormat getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/JsonFileFormatOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/JsonFileFormatOrBuilder.java similarity index 63% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/JsonFileFormatOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/JsonFileFormatOrBuilder.java index ef4b8a8e..494d2d98 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/JsonFileFormatOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/JsonFileFormatOrBuilder.java @@ -1,76 +1,46 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1/datastream_resources.proto package com.google.cloud.datastream.v1; -public interface JsonFileFormatOrBuilder - extends +public interface JsonFileFormatOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1.JsonFileFormat) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The schema file format along JSON data files.
    * 
* - * .google.cloud.datastream.v1.JsonFileFormat.SchemaFileFormat schema_file_format = 1; - * - * + * .google.cloud.datastream.v1.JsonFileFormat.SchemaFileFormat schema_file_format = 1; * @return The enum numeric value on the wire for schemaFileFormat. */ int getSchemaFileFormatValue(); /** - * - * *
    * The schema file format along JSON data files.
    * 
* - * .google.cloud.datastream.v1.JsonFileFormat.SchemaFileFormat schema_file_format = 1; - * - * + * .google.cloud.datastream.v1.JsonFileFormat.SchemaFileFormat schema_file_format = 1; * @return The schemaFileFormat. */ com.google.cloud.datastream.v1.JsonFileFormat.SchemaFileFormat getSchemaFileFormat(); /** - * - * *
    * Compression of the loaded JSON file.
    * 
* * .google.cloud.datastream.v1.JsonFileFormat.JsonCompression compression = 2; - * * @return The enum numeric value on the wire for compression. */ int getCompressionValue(); /** - * - * *
    * Compression of the loaded JSON file.
    * 
* * .google.cloud.datastream.v1.JsonFileFormat.JsonCompression compression = 2; - * * @return The compression. */ com.google.cloud.datastream.v1.JsonFileFormat.JsonCompression getCompression(); diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListConnectionProfilesRequest.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListConnectionProfilesRequest.java similarity index 69% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListConnectionProfilesRequest.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListConnectionProfilesRequest.java index 174015e0..ad0a2a3c 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListConnectionProfilesRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListConnectionProfilesRequest.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/datastream/v1/datastream.proto package com.google.cloud.datastream.v1; /** - * - * *
  * Request message for listing connection profiles.
  * 
* * Protobuf type {@code google.cloud.datastream.v1.ListConnectionProfilesRequest} */ -public final class ListConnectionProfilesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListConnectionProfilesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1.ListConnectionProfilesRequest) ListConnectionProfilesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListConnectionProfilesRequest.newBuilder() to construct. private ListConnectionProfilesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListConnectionProfilesRequest() { parent_ = ""; pageToken_ = ""; @@ -46,15 +28,16 @@ private ListConnectionProfilesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListConnectionProfilesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListConnectionProfilesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,46 +56,42 @@ private ListConnectionProfilesRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - orderBy_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + filter_ = s; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + orderBy_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -120,41 +99,34 @@ private ListConnectionProfilesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_ListConnectionProfilesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_ListConnectionProfilesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_ListConnectionProfilesRequest_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_ListConnectionProfilesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.ListConnectionProfilesRequest.class, - com.google.cloud.datastream.v1.ListConnectionProfilesRequest.Builder.class); + com.google.cloud.datastream.v1.ListConnectionProfilesRequest.class, com.google.cloud.datastream.v1.ListConnectionProfilesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The parent that owns the collection of connection profiles.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -163,31 +135,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The parent that owns the collection of connection profiles.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -198,8 +168,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * Maximum number of connection profiles to return.
    * If unspecified, at most 50 connection profiles will be returned.
@@ -207,7 +175,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -218,8 +185,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * Page token received from a previous `ListConnectionProfiles` call.
    * Provide this to retrieve the subsequent page.
@@ -228,7 +193,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -237,15 +201,14 @@ 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 received from a previous `ListConnectionProfiles` call.
    * Provide this to retrieve the subsequent page.
@@ -254,15 +217,16 @@ public java.lang.String getPageToken() {
    * 
* * 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 { @@ -273,14 +237,11 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** - * - * *
    * Filter request.
    * 
* * string filter = 4; - * * @return The filter. */ @java.lang.Override @@ -289,29 +250,29 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** - * - * *
    * Filter request.
    * 
* * 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 { @@ -322,14 +283,11 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int ORDER_BY_FIELD_NUMBER = 5; private volatile java.lang.Object orderBy_; /** - * - * *
    * Order by fields for the result.
    * 
* * string order_by = 5; - * * @return The orderBy. */ @java.lang.Override @@ -338,29 +296,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; } } /** - * - * *
    * Order by fields for the result.
    * 
* * 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 { @@ -369,7 +327,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -381,7 +338,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -410,7 +368,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_); @@ -429,19 +388,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.datastream.v1.ListConnectionProfilesRequest)) { return super.equals(obj); } - com.google.cloud.datastream.v1.ListConnectionProfilesRequest other = - (com.google.cloud.datastream.v1.ListConnectionProfilesRequest) 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.datastream.v1.ListConnectionProfilesRequest other = (com.google.cloud.datastream.v1.ListConnectionProfilesRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; + if (!getOrderBy() + .equals(other.getOrderBy())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -469,127 +432,117 @@ public int hashCode() { } public static com.google.cloud.datastream.v1.ListConnectionProfilesRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.ListConnectionProfilesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.ListConnectionProfilesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.ListConnectionProfilesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.ListConnectionProfilesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.ListConnectionProfilesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1.ListConnectionProfilesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.ListConnectionProfilesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.ListConnectionProfilesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1.ListConnectionProfilesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.ListConnectionProfilesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.ListConnectionProfilesRequest 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.datastream.v1.ListConnectionProfilesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.ListConnectionProfilesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datastream.v1.ListConnectionProfilesRequest prototype) { + public static Builder newBuilder(com.google.cloud.datastream.v1.ListConnectionProfilesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for listing connection profiles.
    * 
* * Protobuf type {@code google.cloud.datastream.v1.ListConnectionProfilesRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1.ListConnectionProfilesRequest) com.google.cloud.datastream.v1.ListConnectionProfilesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_ListConnectionProfilesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_ListConnectionProfilesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_ListConnectionProfilesRequest_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_ListConnectionProfilesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.ListConnectionProfilesRequest.class, - com.google.cloud.datastream.v1.ListConnectionProfilesRequest.Builder.class); + com.google.cloud.datastream.v1.ListConnectionProfilesRequest.class, com.google.cloud.datastream.v1.ListConnectionProfilesRequest.Builder.class); } // Construct using com.google.cloud.datastream.v1.ListConnectionProfilesRequest.newBuilder() @@ -597,15 +550,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -623,14 +577,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_ListConnectionProfilesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_ListConnectionProfilesRequest_descriptor; } @java.lang.Override - public com.google.cloud.datastream.v1.ListConnectionProfilesRequest - getDefaultInstanceForType() { + public com.google.cloud.datastream.v1.ListConnectionProfilesRequest getDefaultInstanceForType() { return com.google.cloud.datastream.v1.ListConnectionProfilesRequest.getDefaultInstance(); } @@ -645,8 +598,7 @@ public com.google.cloud.datastream.v1.ListConnectionProfilesRequest build() { @java.lang.Override public com.google.cloud.datastream.v1.ListConnectionProfilesRequest buildPartial() { - com.google.cloud.datastream.v1.ListConnectionProfilesRequest result = - new com.google.cloud.datastream.v1.ListConnectionProfilesRequest(this); + com.google.cloud.datastream.v1.ListConnectionProfilesRequest result = new com.google.cloud.datastream.v1.ListConnectionProfilesRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -660,39 +612,38 @@ public com.google.cloud.datastream.v1.ListConnectionProfilesRequest buildPartial public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1.ListConnectionProfilesRequest) { - return mergeFrom((com.google.cloud.datastream.v1.ListConnectionProfilesRequest) other); + return mergeFrom((com.google.cloud.datastream.v1.ListConnectionProfilesRequest)other); } else { super.mergeFrom(other); return this; @@ -700,9 +651,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datastream.v1.ListConnectionProfilesRequest other) { - if (other - == com.google.cloud.datastream.v1.ListConnectionProfilesRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.datastream.v1.ListConnectionProfilesRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -741,8 +690,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datastream.v1.ListConnectionProfilesRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datastream.v1.ListConnectionProfilesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -754,22 +702,18 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent that owns the collection of connection profiles.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -778,23 +722,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent that owns the collection of connection profiles.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -802,76 +743,61 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent that owns the collection of connection profiles.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The parent that owns the collection of connection profiles.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The parent that owns the collection of connection profiles.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Maximum number of connection profiles to return.
      * If unspecified, at most 50 connection profiles will be returned.
@@ -879,7 +805,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -887,8 +812,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Maximum number of connection profiles to return.
      * If unspecified, at most 50 connection profiles will be returned.
@@ -896,19 +819,16 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * Maximum number of connection profiles to return.
      * If unspecified, at most 50 connection profiles will be returned.
@@ -916,11 +836,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -928,8 +847,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * Page token received from a previous `ListConnectionProfiles` call.
      * Provide this to retrieve the subsequent page.
@@ -938,13 +855,13 @@ public Builder clearPageSize() {
      * 
* * 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; @@ -953,8 +870,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * Page token received from a previous `ListConnectionProfiles` call.
      * Provide this to retrieve the subsequent page.
@@ -963,14 +878,15 @@ public java.lang.String getPageToken() {
      * 
* * 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 { @@ -978,8 +894,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * Page token received from a previous `ListConnectionProfiles` call.
      * Provide this to retrieve the subsequent page.
@@ -988,22 +902,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * Page token received from a previous `ListConnectionProfiles` call.
      * Provide this to retrieve the subsequent page.
@@ -1012,18 +924,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * Page token received from a previous `ListConnectionProfiles` call.
      * Provide this to retrieve the subsequent page.
@@ -1032,16 +941,16 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -1049,20 +958,18 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * Filter request.
      * 
* * 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; @@ -1071,21 +978,20 @@ public java.lang.String getFilter() { } } /** - * - * *
      * Filter request.
      * 
* * 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 { @@ -1093,61 +999,54 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * Filter request.
      * 
* * string filter = 4; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
      * Filter request.
      * 
* * string filter = 4; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * Filter request.
      * 
* * string filter = 4; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; @@ -1155,20 +1054,18 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { private java.lang.Object orderBy_ = ""; /** - * - * *
      * Order by fields for the result.
      * 
* * 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; @@ -1177,21 +1074,20 @@ public java.lang.String getOrderBy() { } } /** - * - * *
      * Order by fields for the result.
      * 
* * 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 { @@ -1199,68 +1095,61 @@ public com.google.protobuf.ByteString getOrderByBytes() { } } /** - * - * *
      * Order by fields for the result.
      * 
* * string order_by = 5; - * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy(java.lang.String value) { + public Builder setOrderBy( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; onChanged(); return this; } /** - * - * *
      * Order by fields for the result.
      * 
* * string order_by = 5; - * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** - * - * *
      * Order by fields for the result.
      * 
* * string order_by = 5; - * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + public Builder setOrderByBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1270,13 +1159,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1.ListConnectionProfilesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1.ListConnectionProfilesRequest) - private static final com.google.cloud.datastream.v1.ListConnectionProfilesRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.datastream.v1.ListConnectionProfilesRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1.ListConnectionProfilesRequest(); } @@ -1285,16 +1173,16 @@ public static com.google.cloud.datastream.v1.ListConnectionProfilesRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListConnectionProfilesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListConnectionProfilesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListConnectionProfilesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListConnectionProfilesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1309,4 +1197,6 @@ public com.google.protobuf.Parser getParserForTyp public com.google.cloud.datastream.v1.ListConnectionProfilesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListConnectionProfilesRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListConnectionProfilesRequestOrBuilder.java similarity index 64% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListConnectionProfilesRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListConnectionProfilesRequestOrBuilder.java index f79b030e..4981775b 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListConnectionProfilesRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListConnectionProfilesRequestOrBuilder.java @@ -1,60 +1,33 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1/datastream.proto package com.google.cloud.datastream.v1; -public interface ListConnectionProfilesRequestOrBuilder - extends +public interface ListConnectionProfilesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1.ListConnectionProfilesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The parent that owns the collection of connection profiles.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The parent that owns the collection of connection profiles.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Maximum number of connection profiles to return.
    * If unspecified, at most 50 connection profiles will be returned.
@@ -62,14 +35,11 @@ public interface ListConnectionProfilesRequestOrBuilder
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * Page token received from a previous `ListConnectionProfiles` call.
    * Provide this to retrieve the subsequent page.
@@ -78,13 +48,10 @@ public interface ListConnectionProfilesRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * Page token received from a previous `ListConnectionProfiles` call.
    * Provide this to retrieve the subsequent page.
@@ -93,58 +60,48 @@ public interface ListConnectionProfilesRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * Filter request.
    * 
* * string filter = 4; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * Filter request.
    * 
* * string filter = 4; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * Order by fields for the result.
    * 
* * string order_by = 5; - * * @return The orderBy. */ java.lang.String getOrderBy(); /** - * - * *
    * Order by fields for the result.
    * 
* * string order_by = 5; - * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString getOrderByBytes(); + com.google.protobuf.ByteString + getOrderByBytes(); } diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListConnectionProfilesResponse.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListConnectionProfilesResponse.java similarity index 74% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListConnectionProfilesResponse.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListConnectionProfilesResponse.java index 1cdcffe9..1239cda7 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListConnectionProfilesResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListConnectionProfilesResponse.java @@ -1,43 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1/datastream.proto package com.google.cloud.datastream.v1; /** - * - * *
  * Response message for listing connection profiles.
  * 
* * Protobuf type {@code google.cloud.datastream.v1.ListConnectionProfilesResponse} */ -public final class ListConnectionProfilesResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListConnectionProfilesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1.ListConnectionProfilesResponse) ListConnectionProfilesResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListConnectionProfilesResponse.newBuilder() to construct. - private ListConnectionProfilesResponse( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListConnectionProfilesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListConnectionProfilesResponse() { connectionProfiles_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -46,15 +27,16 @@ private ListConnectionProfilesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListConnectionProfilesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListConnectionProfilesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -74,43 +56,37 @@ private ListConnectionProfilesResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - connectionProfiles_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - connectionProfiles_.add( - input.readMessage( - com.google.cloud.datastream.v1.ConnectionProfile.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + connectionProfiles_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + connectionProfiles_.add( + input.readMessage(com.google.cloud.datastream.v1.ConnectionProfile.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - unreachable_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; - } - unreachable_.add(s); - break; + nextPageToken_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + unreachable_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + unreachable_.add(s); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -118,7 +94,8 @@ private ListConnectionProfilesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { connectionProfiles_ = java.util.Collections.unmodifiableList(connectionProfiles_); @@ -130,27 +107,22 @@ private ListConnectionProfilesResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_ListConnectionProfilesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_ListConnectionProfilesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_ListConnectionProfilesResponse_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_ListConnectionProfilesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.ListConnectionProfilesResponse.class, - com.google.cloud.datastream.v1.ListConnectionProfilesResponse.Builder.class); + com.google.cloud.datastream.v1.ListConnectionProfilesResponse.class, com.google.cloud.datastream.v1.ListConnectionProfilesResponse.Builder.class); } public static final int CONNECTION_PROFILES_FIELD_NUMBER = 1; private java.util.List connectionProfiles_; /** - * - * *
    * List of connection profiles.
    * 
@@ -158,13 +130,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.cloud.datastream.v1.ConnectionProfile connection_profiles = 1; */ @java.lang.Override - public java.util.List - getConnectionProfilesList() { + public java.util.List getConnectionProfilesList() { return connectionProfiles_; } /** - * - * *
    * List of connection profiles.
    * 
@@ -172,13 +141,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.cloud.datastream.v1.ConnectionProfile connection_profiles = 1; */ @java.lang.Override - public java.util.List + public java.util.List getConnectionProfilesOrBuilderList() { return connectionProfiles_; } /** - * - * *
    * List of connection profiles.
    * 
@@ -190,8 +157,6 @@ public int getConnectionProfilesCount() { return connectionProfiles_.size(); } /** - * - * *
    * List of connection profiles.
    * 
@@ -203,8 +168,6 @@ public com.google.cloud.datastream.v1.ConnectionProfile getConnectionProfiles(in return connectionProfiles_.get(index); } /** - * - * *
    * List of connection profiles.
    * 
@@ -220,15 +183,12 @@ public com.google.cloud.datastream.v1.ConnectionProfileOrBuilder getConnectionPr public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -237,30 +197,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * 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 { @@ -271,42 +231,34 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { public static final int UNREACHABLE_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList unreachable_; /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList getUnreachableList() { + public com.google.protobuf.ProtocolStringList + getUnreachableList() { return unreachable_; } /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -314,23 +266,20 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString getUnreachableBytes(int index) { + public com.google.protobuf.ByteString + getUnreachableBytes(int index) { return unreachable_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -342,7 +291,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 < connectionProfiles_.size(); i++) { output.writeMessage(1, connectionProfiles_.get(i)); } @@ -362,8 +312,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < connectionProfiles_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(1, connectionProfiles_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, connectionProfiles_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -384,17 +334,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.datastream.v1.ListConnectionProfilesResponse)) { return super.equals(obj); } - com.google.cloud.datastream.v1.ListConnectionProfilesResponse other = - (com.google.cloud.datastream.v1.ListConnectionProfilesResponse) obj; + com.google.cloud.datastream.v1.ListConnectionProfilesResponse other = (com.google.cloud.datastream.v1.ListConnectionProfilesResponse) obj; - if (!getConnectionProfilesList().equals(other.getConnectionProfilesList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; - if (!getUnreachableList().equals(other.getUnreachableList())) return false; + if (!getConnectionProfilesList() + .equals(other.getConnectionProfilesList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; + if (!getUnreachableList() + .equals(other.getUnreachableList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -422,127 +374,117 @@ public int hashCode() { } public static com.google.cloud.datastream.v1.ListConnectionProfilesResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.ListConnectionProfilesResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.ListConnectionProfilesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.ListConnectionProfilesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.ListConnectionProfilesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.ListConnectionProfilesResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1.ListConnectionProfilesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.ListConnectionProfilesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.ListConnectionProfilesResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1.ListConnectionProfilesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.ListConnectionProfilesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.ListConnectionProfilesResponse 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.datastream.v1.ListConnectionProfilesResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.ListConnectionProfilesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datastream.v1.ListConnectionProfilesResponse prototype) { + public static Builder newBuilder(com.google.cloud.datastream.v1.ListConnectionProfilesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for listing connection profiles.
    * 
* * Protobuf type {@code google.cloud.datastream.v1.ListConnectionProfilesResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1.ListConnectionProfilesResponse) com.google.cloud.datastream.v1.ListConnectionProfilesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_ListConnectionProfilesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_ListConnectionProfilesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_ListConnectionProfilesResponse_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_ListConnectionProfilesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.ListConnectionProfilesResponse.class, - com.google.cloud.datastream.v1.ListConnectionProfilesResponse.Builder.class); + com.google.cloud.datastream.v1.ListConnectionProfilesResponse.class, com.google.cloud.datastream.v1.ListConnectionProfilesResponse.Builder.class); } // Construct using com.google.cloud.datastream.v1.ListConnectionProfilesResponse.newBuilder() @@ -550,17 +492,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getConnectionProfilesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -578,14 +520,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_ListConnectionProfilesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_ListConnectionProfilesResponse_descriptor; } @java.lang.Override - public com.google.cloud.datastream.v1.ListConnectionProfilesResponse - getDefaultInstanceForType() { + public com.google.cloud.datastream.v1.ListConnectionProfilesResponse getDefaultInstanceForType() { return com.google.cloud.datastream.v1.ListConnectionProfilesResponse.getDefaultInstance(); } @@ -600,8 +541,7 @@ public com.google.cloud.datastream.v1.ListConnectionProfilesResponse build() { @java.lang.Override public com.google.cloud.datastream.v1.ListConnectionProfilesResponse buildPartial() { - com.google.cloud.datastream.v1.ListConnectionProfilesResponse result = - new com.google.cloud.datastream.v1.ListConnectionProfilesResponse(this); + com.google.cloud.datastream.v1.ListConnectionProfilesResponse result = new com.google.cloud.datastream.v1.ListConnectionProfilesResponse(this); int from_bitField0_ = bitField0_; if (connectionProfilesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -626,39 +566,38 @@ public com.google.cloud.datastream.v1.ListConnectionProfilesResponse buildPartia public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1.ListConnectionProfilesResponse) { - return mergeFrom((com.google.cloud.datastream.v1.ListConnectionProfilesResponse) other); + return mergeFrom((com.google.cloud.datastream.v1.ListConnectionProfilesResponse)other); } else { super.mergeFrom(other); return this; @@ -666,9 +605,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datastream.v1.ListConnectionProfilesResponse other) { - if (other - == com.google.cloud.datastream.v1.ListConnectionProfilesResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.datastream.v1.ListConnectionProfilesResponse.getDefaultInstance()) return this; if (connectionProfilesBuilder_ == null) { if (!other.connectionProfiles_.isEmpty()) { if (connectionProfiles_.isEmpty()) { @@ -687,10 +624,9 @@ public Builder mergeFrom(com.google.cloud.datastream.v1.ListConnectionProfilesRe connectionProfilesBuilder_ = null; connectionProfiles_ = other.connectionProfiles_; bitField0_ = (bitField0_ & ~0x00000001); - connectionProfilesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getConnectionProfilesFieldBuilder() - : null; + connectionProfilesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getConnectionProfilesFieldBuilder() : null; } else { connectionProfilesBuilder_.addAllMessages(other.connectionProfiles_); } @@ -729,9 +665,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datastream.v1.ListConnectionProfilesResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datastream.v1.ListConnectionProfilesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -740,38 +674,28 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List connectionProfiles_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureConnectionProfilesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - connectionProfiles_ = - new java.util.ArrayList( - connectionProfiles_); + connectionProfiles_ = new java.util.ArrayList(connectionProfiles_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datastream.v1.ConnectionProfile, - com.google.cloud.datastream.v1.ConnectionProfile.Builder, - com.google.cloud.datastream.v1.ConnectionProfileOrBuilder> - connectionProfilesBuilder_; + com.google.cloud.datastream.v1.ConnectionProfile, com.google.cloud.datastream.v1.ConnectionProfile.Builder, com.google.cloud.datastream.v1.ConnectionProfileOrBuilder> connectionProfilesBuilder_; /** - * - * *
      * List of connection profiles.
      * 
* * repeated .google.cloud.datastream.v1.ConnectionProfile connection_profiles = 1; */ - public java.util.List - getConnectionProfilesList() { + public java.util.List getConnectionProfilesList() { if (connectionProfilesBuilder_ == null) { return java.util.Collections.unmodifiableList(connectionProfiles_); } else { @@ -779,8 +703,6 @@ private void ensureConnectionProfilesIsMutable() { } } /** - * - * *
      * List of connection profiles.
      * 
@@ -795,8 +717,6 @@ public int getConnectionProfilesCount() { } } /** - * - * *
      * List of connection profiles.
      * 
@@ -811,8 +731,6 @@ public com.google.cloud.datastream.v1.ConnectionProfile getConnectionProfiles(in } } /** - * - * *
      * List of connection profiles.
      * 
@@ -834,8 +752,6 @@ public Builder setConnectionProfiles( return this; } /** - * - * *
      * List of connection profiles.
      * 
@@ -854,8 +770,6 @@ public Builder setConnectionProfiles( return this; } /** - * - * *
      * List of connection profiles.
      * 
@@ -876,8 +790,6 @@ public Builder addConnectionProfiles(com.google.cloud.datastream.v1.ConnectionPr return this; } /** - * - * *
      * List of connection profiles.
      * 
@@ -899,8 +811,6 @@ public Builder addConnectionProfiles( return this; } /** - * - * *
      * List of connection profiles.
      * 
@@ -919,8 +829,6 @@ public Builder addConnectionProfiles( return this; } /** - * - * *
      * List of connection profiles.
      * 
@@ -939,8 +847,6 @@ public Builder addConnectionProfiles( return this; } /** - * - * *
      * List of connection profiles.
      * 
@@ -951,7 +857,8 @@ public Builder addAllConnectionProfiles( java.lang.Iterable values) { if (connectionProfilesBuilder_ == null) { ensureConnectionProfilesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, connectionProfiles_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, connectionProfiles_); onChanged(); } else { connectionProfilesBuilder_.addAllMessages(values); @@ -959,8 +866,6 @@ public Builder addAllConnectionProfiles( return this; } /** - * - * *
      * List of connection profiles.
      * 
@@ -978,8 +883,6 @@ public Builder clearConnectionProfiles() { return this; } /** - * - * *
      * List of connection profiles.
      * 
@@ -997,8 +900,6 @@ public Builder removeConnectionProfiles(int index) { return this; } /** - * - * *
      * List of connection profiles.
      * 
@@ -1010,8 +911,6 @@ public com.google.cloud.datastream.v1.ConnectionProfile.Builder getConnectionPro return getConnectionProfilesFieldBuilder().getBuilder(index); } /** - * - * *
      * List of connection profiles.
      * 
@@ -1021,22 +920,19 @@ public com.google.cloud.datastream.v1.ConnectionProfile.Builder getConnectionPro public com.google.cloud.datastream.v1.ConnectionProfileOrBuilder getConnectionProfilesOrBuilder( int index) { if (connectionProfilesBuilder_ == null) { - return connectionProfiles_.get(index); - } else { + return connectionProfiles_.get(index); } else { return connectionProfilesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * List of connection profiles.
      * 
* * repeated .google.cloud.datastream.v1.ConnectionProfile connection_profiles = 1; */ - public java.util.List - getConnectionProfilesOrBuilderList() { + public java.util.List + getConnectionProfilesOrBuilderList() { if (connectionProfilesBuilder_ != null) { return connectionProfilesBuilder_.getMessageOrBuilderList(); } else { @@ -1044,8 +940,6 @@ public com.google.cloud.datastream.v1.ConnectionProfileOrBuilder getConnectionPr } } /** - * - * *
      * List of connection profiles.
      * 
@@ -1053,12 +947,10 @@ public com.google.cloud.datastream.v1.ConnectionProfileOrBuilder getConnectionPr * repeated .google.cloud.datastream.v1.ConnectionProfile connection_profiles = 1; */ public com.google.cloud.datastream.v1.ConnectionProfile.Builder addConnectionProfilesBuilder() { - return getConnectionProfilesFieldBuilder() - .addBuilder(com.google.cloud.datastream.v1.ConnectionProfile.getDefaultInstance()); + return getConnectionProfilesFieldBuilder().addBuilder( + com.google.cloud.datastream.v1.ConnectionProfile.getDefaultInstance()); } /** - * - * *
      * List of connection profiles.
      * 
@@ -1067,34 +959,26 @@ public com.google.cloud.datastream.v1.ConnectionProfile.Builder addConnectionPro */ public com.google.cloud.datastream.v1.ConnectionProfile.Builder addConnectionProfilesBuilder( int index) { - return getConnectionProfilesFieldBuilder() - .addBuilder(index, com.google.cloud.datastream.v1.ConnectionProfile.getDefaultInstance()); + return getConnectionProfilesFieldBuilder().addBuilder( + index, com.google.cloud.datastream.v1.ConnectionProfile.getDefaultInstance()); } /** - * - * *
      * List of connection profiles.
      * 
* * repeated .google.cloud.datastream.v1.ConnectionProfile connection_profiles = 1; */ - public java.util.List - getConnectionProfilesBuilderList() { + public java.util.List + getConnectionProfilesBuilderList() { return getConnectionProfilesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datastream.v1.ConnectionProfile, - com.google.cloud.datastream.v1.ConnectionProfile.Builder, - com.google.cloud.datastream.v1.ConnectionProfileOrBuilder> + com.google.cloud.datastream.v1.ConnectionProfile, com.google.cloud.datastream.v1.ConnectionProfile.Builder, com.google.cloud.datastream.v1.ConnectionProfileOrBuilder> getConnectionProfilesFieldBuilder() { if (connectionProfilesBuilder_ == null) { - connectionProfilesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datastream.v1.ConnectionProfile, - com.google.cloud.datastream.v1.ConnectionProfile.Builder, - com.google.cloud.datastream.v1.ConnectionProfileOrBuilder>( + connectionProfilesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datastream.v1.ConnectionProfile, com.google.cloud.datastream.v1.ConnectionProfile.Builder, com.google.cloud.datastream.v1.ConnectionProfileOrBuilder>( connectionProfiles_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1106,21 +990,19 @@ public com.google.cloud.datastream.v1.ConnectionProfile.Builder addConnectionPro private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * 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; @@ -1129,22 +1011,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * 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 { @@ -1152,115 +1033,98 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList unreachable_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList unreachable_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureUnreachableIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList getUnreachableList() { + public com.google.protobuf.ProtocolStringList + getUnreachableList() { return unreachable_.getUnmodifiableView(); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1268,90 +1132,80 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString getUnreachableBytes(int index) { + public com.google.protobuf.ByteString + getUnreachableBytes(int index) { return unreachable_.getByteString(index); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param index The index to set the value at. * @param value The unreachable to set. * @return This builder for chaining. */ - public Builder setUnreachable(int index, java.lang.String value) { + public Builder setUnreachable( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.set(index, value); onChanged(); return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param value The unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachable(java.lang.String value) { + public Builder addUnreachable( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.add(value); onChanged(); return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param values The unreachable to add. * @return This builder for chaining. */ - public Builder addAllUnreachable(java.lang.Iterable values) { + public Builder addAllUnreachable( + java.lang.Iterable values) { ensureUnreachableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachable_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, unreachable_); onChanged(); return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @return This builder for chaining. */ public Builder clearUnreachable() { @@ -1361,30 +1215,28 @@ public Builder clearUnreachable() { return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param value The bytes of the unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { + public Builder addUnreachableBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.add(value); onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1394,13 +1246,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1.ListConnectionProfilesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1.ListConnectionProfilesResponse) - private static final com.google.cloud.datastream.v1.ListConnectionProfilesResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.datastream.v1.ListConnectionProfilesResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1.ListConnectionProfilesResponse(); } @@ -1409,16 +1260,16 @@ public static com.google.cloud.datastream.v1.ListConnectionProfilesResponse getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListConnectionProfilesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListConnectionProfilesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListConnectionProfilesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListConnectionProfilesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1433,4 +1284,6 @@ public com.google.protobuf.Parser getParserForTy public com.google.cloud.datastream.v1.ListConnectionProfilesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListConnectionProfilesResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListConnectionProfilesResponseOrBuilder.java similarity index 74% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListConnectionProfilesResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListConnectionProfilesResponseOrBuilder.java index 13d60e16..e8c75079 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListConnectionProfilesResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListConnectionProfilesResponseOrBuilder.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/datastream/v1/datastream.proto package com.google.cloud.datastream.v1; -public interface ListConnectionProfilesResponseOrBuilder - extends +public interface ListConnectionProfilesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1.ListConnectionProfilesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * List of connection profiles.
    * 
* * repeated .google.cloud.datastream.v1.ConnectionProfile connection_profiles = 1; */ - java.util.List getConnectionProfilesList(); + java.util.List + getConnectionProfilesList(); /** - * - * *
    * List of connection profiles.
    * 
@@ -44,8 +25,6 @@ public interface ListConnectionProfilesResponseOrBuilder */ com.google.cloud.datastream.v1.ConnectionProfile getConnectionProfiles(int index); /** - * - * *
    * List of connection profiles.
    * 
@@ -54,19 +33,15 @@ public interface ListConnectionProfilesResponseOrBuilder */ int getConnectionProfilesCount(); /** - * - * *
    * List of connection profiles.
    * 
* * repeated .google.cloud.datastream.v1.ConnectionProfile connection_profiles = 1; */ - java.util.List + java.util.List getConnectionProfilesOrBuilderList(); /** - * - * *
    * List of connection profiles.
    * 
@@ -77,80 +52,65 @@ com.google.cloud.datastream.v1.ConnectionProfileOrBuilder getConnectionProfilesO int index); /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - java.util.List getUnreachableList(); + java.util.List + getUnreachableList(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ int getUnreachableCount(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ java.lang.String getUnreachable(int index); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - com.google.protobuf.ByteString getUnreachableBytes(int index); + com.google.protobuf.ByteString + getUnreachableBytes(int index); } diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListPrivateConnectionsRequest.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListPrivateConnectionsRequest.java similarity index 70% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListPrivateConnectionsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListPrivateConnectionsRequest.java index c526d1e8..ea9bdf30 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListPrivateConnectionsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListPrivateConnectionsRequest.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/datastream/v1/datastream.proto package com.google.cloud.datastream.v1; /** - * - * *
  * Request for listing private connections.
  * 
* * Protobuf type {@code google.cloud.datastream.v1.ListPrivateConnectionsRequest} */ -public final class ListPrivateConnectionsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListPrivateConnectionsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1.ListPrivateConnectionsRequest) ListPrivateConnectionsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListPrivateConnectionsRequest.newBuilder() to construct. private ListPrivateConnectionsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListPrivateConnectionsRequest() { parent_ = ""; pageToken_ = ""; @@ -46,15 +28,16 @@ private ListPrivateConnectionsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListPrivateConnectionsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListPrivateConnectionsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,46 +56,42 @@ private ListPrivateConnectionsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - orderBy_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + filter_ = s; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + orderBy_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -120,41 +99,34 @@ private ListPrivateConnectionsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_ListPrivateConnectionsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_ListPrivateConnectionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_ListPrivateConnectionsRequest_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_ListPrivateConnectionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.ListPrivateConnectionsRequest.class, - com.google.cloud.datastream.v1.ListPrivateConnectionsRequest.Builder.class); + com.google.cloud.datastream.v1.ListPrivateConnectionsRequest.class, com.google.cloud.datastream.v1.ListPrivateConnectionsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The parent that owns the collection of private connectivity configurations.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -163,31 +135,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The parent that owns the collection of private connectivity configurations.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -198,8 +168,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * Maximum number of private connectivity configurations to return.
    * If unspecified, at most 50 private connectivity configurations that will be
@@ -208,7 +176,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -219,8 +186,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * Page token received from a previous `ListPrivateConnections` call.
    * Provide this to retrieve the subsequent page.
@@ -230,7 +195,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -239,15 +203,14 @@ 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 received from a previous `ListPrivateConnections` call.
    * Provide this to retrieve the subsequent page.
@@ -257,15 +220,16 @@ public java.lang.String getPageToken() {
    * 
* * 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 { @@ -276,14 +240,11 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** - * - * *
    * Filter request.
    * 
* * string filter = 4; - * * @return The filter. */ @java.lang.Override @@ -292,29 +253,29 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** - * - * *
    * Filter request.
    * 
* * 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 { @@ -325,14 +286,11 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int ORDER_BY_FIELD_NUMBER = 5; private volatile java.lang.Object orderBy_; /** - * - * *
    * Order by fields for the result.
    * 
* * string order_by = 5; - * * @return The orderBy. */ @java.lang.Override @@ -341,29 +299,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; } } /** - * - * *
    * Order by fields for the result.
    * 
* * 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 { @@ -372,7 +330,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -384,7 +341,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_); } @@ -413,7 +371,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_); @@ -432,19 +391,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.datastream.v1.ListPrivateConnectionsRequest)) { return super.equals(obj); } - com.google.cloud.datastream.v1.ListPrivateConnectionsRequest other = - (com.google.cloud.datastream.v1.ListPrivateConnectionsRequest) 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.datastream.v1.ListPrivateConnectionsRequest other = (com.google.cloud.datastream.v1.ListPrivateConnectionsRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; + if (!getOrderBy() + .equals(other.getOrderBy())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -472,127 +435,117 @@ public int hashCode() { } public static com.google.cloud.datastream.v1.ListPrivateConnectionsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.ListPrivateConnectionsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.ListPrivateConnectionsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.ListPrivateConnectionsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.ListPrivateConnectionsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.ListPrivateConnectionsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1.ListPrivateConnectionsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.ListPrivateConnectionsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.ListPrivateConnectionsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1.ListPrivateConnectionsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.ListPrivateConnectionsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.ListPrivateConnectionsRequest 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.datastream.v1.ListPrivateConnectionsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.ListPrivateConnectionsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datastream.v1.ListPrivateConnectionsRequest prototype) { + public static Builder newBuilder(com.google.cloud.datastream.v1.ListPrivateConnectionsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 listing private connections.
    * 
* * Protobuf type {@code google.cloud.datastream.v1.ListPrivateConnectionsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1.ListPrivateConnectionsRequest) com.google.cloud.datastream.v1.ListPrivateConnectionsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_ListPrivateConnectionsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_ListPrivateConnectionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_ListPrivateConnectionsRequest_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_ListPrivateConnectionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.ListPrivateConnectionsRequest.class, - com.google.cloud.datastream.v1.ListPrivateConnectionsRequest.Builder.class); + com.google.cloud.datastream.v1.ListPrivateConnectionsRequest.class, com.google.cloud.datastream.v1.ListPrivateConnectionsRequest.Builder.class); } // Construct using com.google.cloud.datastream.v1.ListPrivateConnectionsRequest.newBuilder() @@ -600,15 +553,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -626,14 +580,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_ListPrivateConnectionsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_ListPrivateConnectionsRequest_descriptor; } @java.lang.Override - public com.google.cloud.datastream.v1.ListPrivateConnectionsRequest - getDefaultInstanceForType() { + public com.google.cloud.datastream.v1.ListPrivateConnectionsRequest getDefaultInstanceForType() { return com.google.cloud.datastream.v1.ListPrivateConnectionsRequest.getDefaultInstance(); } @@ -648,8 +601,7 @@ public com.google.cloud.datastream.v1.ListPrivateConnectionsRequest build() { @java.lang.Override public com.google.cloud.datastream.v1.ListPrivateConnectionsRequest buildPartial() { - com.google.cloud.datastream.v1.ListPrivateConnectionsRequest result = - new com.google.cloud.datastream.v1.ListPrivateConnectionsRequest(this); + com.google.cloud.datastream.v1.ListPrivateConnectionsRequest result = new com.google.cloud.datastream.v1.ListPrivateConnectionsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -663,39 +615,38 @@ public com.google.cloud.datastream.v1.ListPrivateConnectionsRequest buildPartial public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1.ListPrivateConnectionsRequest) { - return mergeFrom((com.google.cloud.datastream.v1.ListPrivateConnectionsRequest) other); + return mergeFrom((com.google.cloud.datastream.v1.ListPrivateConnectionsRequest)other); } else { super.mergeFrom(other); return this; @@ -703,9 +654,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datastream.v1.ListPrivateConnectionsRequest other) { - if (other - == com.google.cloud.datastream.v1.ListPrivateConnectionsRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.datastream.v1.ListPrivateConnectionsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -744,8 +693,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datastream.v1.ListPrivateConnectionsRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datastream.v1.ListPrivateConnectionsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -757,22 +705,18 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent that owns the collection of private connectivity configurations.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -781,23 +725,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent that owns the collection of private connectivity configurations.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -805,76 +746,61 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent that owns the collection of private connectivity configurations.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The parent that owns the collection of private connectivity configurations.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The parent that owns the collection of private connectivity configurations.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Maximum number of private connectivity configurations to return.
      * If unspecified, at most 50 private connectivity configurations that will be
@@ -883,7 +809,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -891,8 +816,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Maximum number of private connectivity configurations to return.
      * If unspecified, at most 50 private connectivity configurations that will be
@@ -901,19 +824,16 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * Maximum number of private connectivity configurations to return.
      * If unspecified, at most 50 private connectivity configurations that will be
@@ -922,11 +842,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -934,8 +853,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * Page token received from a previous `ListPrivateConnections` call.
      * Provide this to retrieve the subsequent page.
@@ -945,13 +862,13 @@ public Builder clearPageSize() {
      * 
* * 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,8 +877,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * Page token received from a previous `ListPrivateConnections` call.
      * Provide this to retrieve the subsequent page.
@@ -971,14 +886,15 @@ public java.lang.String getPageToken() {
      * 
* * 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 { @@ -986,8 +902,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * Page token received from a previous `ListPrivateConnections` call.
      * Provide this to retrieve the subsequent page.
@@ -997,22 +911,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * Page token received from a previous `ListPrivateConnections` call.
      * Provide this to retrieve the subsequent page.
@@ -1022,18 +934,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * Page token received from a previous `ListPrivateConnections` call.
      * Provide this to retrieve the subsequent page.
@@ -1043,16 +952,16 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -1060,20 +969,18 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * Filter request.
      * 
* * 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; @@ -1082,21 +989,20 @@ public java.lang.String getFilter() { } } /** - * - * *
      * Filter request.
      * 
* * 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 { @@ -1104,61 +1010,54 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * Filter request.
      * 
* * string filter = 4; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
      * Filter request.
      * 
* * string filter = 4; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * Filter request.
      * 
* * string filter = 4; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; @@ -1166,20 +1065,18 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { private java.lang.Object orderBy_ = ""; /** - * - * *
      * Order by fields for the result.
      * 
* * 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; @@ -1188,21 +1085,20 @@ public java.lang.String getOrderBy() { } } /** - * - * *
      * Order by fields for the result.
      * 
* * 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 { @@ -1210,68 +1106,61 @@ public com.google.protobuf.ByteString getOrderByBytes() { } } /** - * - * *
      * Order by fields for the result.
      * 
* * string order_by = 5; - * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy(java.lang.String value) { + public Builder setOrderBy( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; onChanged(); return this; } /** - * - * *
      * Order by fields for the result.
      * 
* * string order_by = 5; - * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** - * - * *
      * Order by fields for the result.
      * 
* * string order_by = 5; - * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + public Builder setOrderByBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1281,13 +1170,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1.ListPrivateConnectionsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1.ListPrivateConnectionsRequest) - private static final com.google.cloud.datastream.v1.ListPrivateConnectionsRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.datastream.v1.ListPrivateConnectionsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1.ListPrivateConnectionsRequest(); } @@ -1296,16 +1184,16 @@ public static com.google.cloud.datastream.v1.ListPrivateConnectionsRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListPrivateConnectionsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListPrivateConnectionsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListPrivateConnectionsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListPrivateConnectionsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1320,4 +1208,6 @@ public com.google.protobuf.Parser getParserForTyp public com.google.cloud.datastream.v1.ListPrivateConnectionsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListPrivateConnectionsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListPrivateConnectionsRequestOrBuilder.java similarity index 65% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListPrivateConnectionsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListPrivateConnectionsRequestOrBuilder.java index 85a2b1a6..79d053a5 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListPrivateConnectionsRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListPrivateConnectionsRequestOrBuilder.java @@ -1,60 +1,33 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1/datastream.proto package com.google.cloud.datastream.v1; -public interface ListPrivateConnectionsRequestOrBuilder - extends +public interface ListPrivateConnectionsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1.ListPrivateConnectionsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The parent that owns the collection of private connectivity configurations.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The parent that owns the collection of private connectivity configurations.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Maximum number of private connectivity configurations to return.
    * If unspecified, at most 50 private connectivity configurations that will be
@@ -63,14 +36,11 @@ public interface ListPrivateConnectionsRequestOrBuilder
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * Page token received from a previous `ListPrivateConnections` call.
    * Provide this to retrieve the subsequent page.
@@ -80,13 +50,10 @@ public interface ListPrivateConnectionsRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * Page token received from a previous `ListPrivateConnections` call.
    * Provide this to retrieve the subsequent page.
@@ -96,58 +63,48 @@ public interface ListPrivateConnectionsRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * Filter request.
    * 
* * string filter = 4; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * Filter request.
    * 
* * string filter = 4; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * Order by fields for the result.
    * 
* * string order_by = 5; - * * @return The orderBy. */ java.lang.String getOrderBy(); /** - * - * *
    * Order by fields for the result.
    * 
* * string order_by = 5; - * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString getOrderByBytes(); + com.google.protobuf.ByteString + getOrderByBytes(); } diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListPrivateConnectionsResponse.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListPrivateConnectionsResponse.java similarity index 74% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListPrivateConnectionsResponse.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListPrivateConnectionsResponse.java index cc7b19f2..4d073a50 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListPrivateConnectionsResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListPrivateConnectionsResponse.java @@ -1,43 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1/datastream.proto package com.google.cloud.datastream.v1; /** - * - * *
  * Response containing a list of private connection configurations.
  * 
* * Protobuf type {@code google.cloud.datastream.v1.ListPrivateConnectionsResponse} */ -public final class ListPrivateConnectionsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListPrivateConnectionsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1.ListPrivateConnectionsResponse) ListPrivateConnectionsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListPrivateConnectionsResponse.newBuilder() to construct. - private ListPrivateConnectionsResponse( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListPrivateConnectionsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListPrivateConnectionsResponse() { privateConnections_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -46,15 +27,16 @@ private ListPrivateConnectionsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListPrivateConnectionsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListPrivateConnectionsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -74,43 +56,37 @@ private ListPrivateConnectionsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - privateConnections_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - privateConnections_.add( - input.readMessage( - com.google.cloud.datastream.v1.PrivateConnection.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + privateConnections_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + privateConnections_.add( + input.readMessage(com.google.cloud.datastream.v1.PrivateConnection.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - unreachable_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; - } - unreachable_.add(s); - break; + nextPageToken_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + unreachable_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + unreachable_.add(s); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -118,7 +94,8 @@ private ListPrivateConnectionsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { privateConnections_ = java.util.Collections.unmodifiableList(privateConnections_); @@ -130,27 +107,22 @@ private ListPrivateConnectionsResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_ListPrivateConnectionsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_ListPrivateConnectionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_ListPrivateConnectionsResponse_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_ListPrivateConnectionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.ListPrivateConnectionsResponse.class, - com.google.cloud.datastream.v1.ListPrivateConnectionsResponse.Builder.class); + com.google.cloud.datastream.v1.ListPrivateConnectionsResponse.class, com.google.cloud.datastream.v1.ListPrivateConnectionsResponse.Builder.class); } public static final int PRIVATE_CONNECTIONS_FIELD_NUMBER = 1; private java.util.List privateConnections_; /** - * - * *
    * List of private connectivity configurations.
    * 
@@ -158,13 +130,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.cloud.datastream.v1.PrivateConnection private_connections = 1; */ @java.lang.Override - public java.util.List - getPrivateConnectionsList() { + public java.util.List getPrivateConnectionsList() { return privateConnections_; } /** - * - * *
    * List of private connectivity configurations.
    * 
@@ -172,13 +141,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.cloud.datastream.v1.PrivateConnection private_connections = 1; */ @java.lang.Override - public java.util.List + public java.util.List getPrivateConnectionsOrBuilderList() { return privateConnections_; } /** - * - * *
    * List of private connectivity configurations.
    * 
@@ -190,8 +157,6 @@ public int getPrivateConnectionsCount() { return privateConnections_.size(); } /** - * - * *
    * List of private connectivity configurations.
    * 
@@ -203,8 +168,6 @@ public com.google.cloud.datastream.v1.PrivateConnection getPrivateConnections(in return privateConnections_.get(index); } /** - * - * *
    * List of private connectivity configurations.
    * 
@@ -220,15 +183,12 @@ public com.google.cloud.datastream.v1.PrivateConnectionOrBuilder getPrivateConne public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -237,30 +197,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * 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 { @@ -271,42 +231,34 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { public static final int UNREACHABLE_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList unreachable_; /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList getUnreachableList() { + public com.google.protobuf.ProtocolStringList + getUnreachableList() { return unreachable_; } /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -314,23 +266,20 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString getUnreachableBytes(int index) { + public com.google.protobuf.ByteString + getUnreachableBytes(int index) { return unreachable_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -342,7 +291,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 < privateConnections_.size(); i++) { output.writeMessage(1, privateConnections_.get(i)); } @@ -362,8 +312,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < privateConnections_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(1, privateConnections_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, privateConnections_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -384,17 +334,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.datastream.v1.ListPrivateConnectionsResponse)) { return super.equals(obj); } - com.google.cloud.datastream.v1.ListPrivateConnectionsResponse other = - (com.google.cloud.datastream.v1.ListPrivateConnectionsResponse) obj; + com.google.cloud.datastream.v1.ListPrivateConnectionsResponse other = (com.google.cloud.datastream.v1.ListPrivateConnectionsResponse) obj; - if (!getPrivateConnectionsList().equals(other.getPrivateConnectionsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; - if (!getUnreachableList().equals(other.getUnreachableList())) return false; + if (!getPrivateConnectionsList() + .equals(other.getPrivateConnectionsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; + if (!getUnreachableList() + .equals(other.getUnreachableList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -422,127 +374,117 @@ public int hashCode() { } public static com.google.cloud.datastream.v1.ListPrivateConnectionsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.ListPrivateConnectionsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.ListPrivateConnectionsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.ListPrivateConnectionsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.ListPrivateConnectionsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.ListPrivateConnectionsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1.ListPrivateConnectionsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.ListPrivateConnectionsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.ListPrivateConnectionsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1.ListPrivateConnectionsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.ListPrivateConnectionsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.ListPrivateConnectionsResponse 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.datastream.v1.ListPrivateConnectionsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.ListPrivateConnectionsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datastream.v1.ListPrivateConnectionsResponse prototype) { + public static Builder newBuilder(com.google.cloud.datastream.v1.ListPrivateConnectionsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 containing a list of private connection configurations.
    * 
* * Protobuf type {@code google.cloud.datastream.v1.ListPrivateConnectionsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1.ListPrivateConnectionsResponse) com.google.cloud.datastream.v1.ListPrivateConnectionsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_ListPrivateConnectionsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_ListPrivateConnectionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_ListPrivateConnectionsResponse_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_ListPrivateConnectionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.ListPrivateConnectionsResponse.class, - com.google.cloud.datastream.v1.ListPrivateConnectionsResponse.Builder.class); + com.google.cloud.datastream.v1.ListPrivateConnectionsResponse.class, com.google.cloud.datastream.v1.ListPrivateConnectionsResponse.Builder.class); } // Construct using com.google.cloud.datastream.v1.ListPrivateConnectionsResponse.newBuilder() @@ -550,17 +492,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getPrivateConnectionsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -578,14 +520,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_ListPrivateConnectionsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_ListPrivateConnectionsResponse_descriptor; } @java.lang.Override - public com.google.cloud.datastream.v1.ListPrivateConnectionsResponse - getDefaultInstanceForType() { + public com.google.cloud.datastream.v1.ListPrivateConnectionsResponse getDefaultInstanceForType() { return com.google.cloud.datastream.v1.ListPrivateConnectionsResponse.getDefaultInstance(); } @@ -600,8 +541,7 @@ public com.google.cloud.datastream.v1.ListPrivateConnectionsResponse build() { @java.lang.Override public com.google.cloud.datastream.v1.ListPrivateConnectionsResponse buildPartial() { - com.google.cloud.datastream.v1.ListPrivateConnectionsResponse result = - new com.google.cloud.datastream.v1.ListPrivateConnectionsResponse(this); + com.google.cloud.datastream.v1.ListPrivateConnectionsResponse result = new com.google.cloud.datastream.v1.ListPrivateConnectionsResponse(this); int from_bitField0_ = bitField0_; if (privateConnectionsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -626,39 +566,38 @@ public com.google.cloud.datastream.v1.ListPrivateConnectionsResponse buildPartia public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1.ListPrivateConnectionsResponse) { - return mergeFrom((com.google.cloud.datastream.v1.ListPrivateConnectionsResponse) other); + return mergeFrom((com.google.cloud.datastream.v1.ListPrivateConnectionsResponse)other); } else { super.mergeFrom(other); return this; @@ -666,9 +605,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datastream.v1.ListPrivateConnectionsResponse other) { - if (other - == com.google.cloud.datastream.v1.ListPrivateConnectionsResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.datastream.v1.ListPrivateConnectionsResponse.getDefaultInstance()) return this; if (privateConnectionsBuilder_ == null) { if (!other.privateConnections_.isEmpty()) { if (privateConnections_.isEmpty()) { @@ -687,10 +624,9 @@ public Builder mergeFrom(com.google.cloud.datastream.v1.ListPrivateConnectionsRe privateConnectionsBuilder_ = null; privateConnections_ = other.privateConnections_; bitField0_ = (bitField0_ & ~0x00000001); - privateConnectionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getPrivateConnectionsFieldBuilder() - : null; + privateConnectionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getPrivateConnectionsFieldBuilder() : null; } else { privateConnectionsBuilder_.addAllMessages(other.privateConnections_); } @@ -729,9 +665,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datastream.v1.ListPrivateConnectionsResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datastream.v1.ListPrivateConnectionsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -740,38 +674,28 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List privateConnections_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensurePrivateConnectionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - privateConnections_ = - new java.util.ArrayList( - privateConnections_); + privateConnections_ = new java.util.ArrayList(privateConnections_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datastream.v1.PrivateConnection, - com.google.cloud.datastream.v1.PrivateConnection.Builder, - com.google.cloud.datastream.v1.PrivateConnectionOrBuilder> - privateConnectionsBuilder_; + com.google.cloud.datastream.v1.PrivateConnection, com.google.cloud.datastream.v1.PrivateConnection.Builder, com.google.cloud.datastream.v1.PrivateConnectionOrBuilder> privateConnectionsBuilder_; /** - * - * *
      * List of private connectivity configurations.
      * 
* * repeated .google.cloud.datastream.v1.PrivateConnection private_connections = 1; */ - public java.util.List - getPrivateConnectionsList() { + public java.util.List getPrivateConnectionsList() { if (privateConnectionsBuilder_ == null) { return java.util.Collections.unmodifiableList(privateConnections_); } else { @@ -779,8 +703,6 @@ private void ensurePrivateConnectionsIsMutable() { } } /** - * - * *
      * List of private connectivity configurations.
      * 
@@ -795,8 +717,6 @@ public int getPrivateConnectionsCount() { } } /** - * - * *
      * List of private connectivity configurations.
      * 
@@ -811,8 +731,6 @@ public com.google.cloud.datastream.v1.PrivateConnection getPrivateConnections(in } } /** - * - * *
      * List of private connectivity configurations.
      * 
@@ -834,8 +752,6 @@ public Builder setPrivateConnections( return this; } /** - * - * *
      * List of private connectivity configurations.
      * 
@@ -854,8 +770,6 @@ public Builder setPrivateConnections( return this; } /** - * - * *
      * List of private connectivity configurations.
      * 
@@ -876,8 +790,6 @@ public Builder addPrivateConnections(com.google.cloud.datastream.v1.PrivateConne return this; } /** - * - * *
      * List of private connectivity configurations.
      * 
@@ -899,8 +811,6 @@ public Builder addPrivateConnections( return this; } /** - * - * *
      * List of private connectivity configurations.
      * 
@@ -919,8 +829,6 @@ public Builder addPrivateConnections( return this; } /** - * - * *
      * List of private connectivity configurations.
      * 
@@ -939,8 +847,6 @@ public Builder addPrivateConnections( return this; } /** - * - * *
      * List of private connectivity configurations.
      * 
@@ -951,7 +857,8 @@ public Builder addAllPrivateConnections( java.lang.Iterable values) { if (privateConnectionsBuilder_ == null) { ensurePrivateConnectionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, privateConnections_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, privateConnections_); onChanged(); } else { privateConnectionsBuilder_.addAllMessages(values); @@ -959,8 +866,6 @@ public Builder addAllPrivateConnections( return this; } /** - * - * *
      * List of private connectivity configurations.
      * 
@@ -978,8 +883,6 @@ public Builder clearPrivateConnections() { return this; } /** - * - * *
      * List of private connectivity configurations.
      * 
@@ -997,8 +900,6 @@ public Builder removePrivateConnections(int index) { return this; } /** - * - * *
      * List of private connectivity configurations.
      * 
@@ -1010,8 +911,6 @@ public com.google.cloud.datastream.v1.PrivateConnection.Builder getPrivateConnec return getPrivateConnectionsFieldBuilder().getBuilder(index); } /** - * - * *
      * List of private connectivity configurations.
      * 
@@ -1021,22 +920,19 @@ public com.google.cloud.datastream.v1.PrivateConnection.Builder getPrivateConnec public com.google.cloud.datastream.v1.PrivateConnectionOrBuilder getPrivateConnectionsOrBuilder( int index) { if (privateConnectionsBuilder_ == null) { - return privateConnections_.get(index); - } else { + return privateConnections_.get(index); } else { return privateConnectionsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * List of private connectivity configurations.
      * 
* * repeated .google.cloud.datastream.v1.PrivateConnection private_connections = 1; */ - public java.util.List - getPrivateConnectionsOrBuilderList() { + public java.util.List + getPrivateConnectionsOrBuilderList() { if (privateConnectionsBuilder_ != null) { return privateConnectionsBuilder_.getMessageOrBuilderList(); } else { @@ -1044,8 +940,6 @@ public com.google.cloud.datastream.v1.PrivateConnectionOrBuilder getPrivateConne } } /** - * - * *
      * List of private connectivity configurations.
      * 
@@ -1053,12 +947,10 @@ public com.google.cloud.datastream.v1.PrivateConnectionOrBuilder getPrivateConne * repeated .google.cloud.datastream.v1.PrivateConnection private_connections = 1; */ public com.google.cloud.datastream.v1.PrivateConnection.Builder addPrivateConnectionsBuilder() { - return getPrivateConnectionsFieldBuilder() - .addBuilder(com.google.cloud.datastream.v1.PrivateConnection.getDefaultInstance()); + return getPrivateConnectionsFieldBuilder().addBuilder( + com.google.cloud.datastream.v1.PrivateConnection.getDefaultInstance()); } /** - * - * *
      * List of private connectivity configurations.
      * 
@@ -1067,34 +959,26 @@ public com.google.cloud.datastream.v1.PrivateConnection.Builder addPrivateConnec */ public com.google.cloud.datastream.v1.PrivateConnection.Builder addPrivateConnectionsBuilder( int index) { - return getPrivateConnectionsFieldBuilder() - .addBuilder(index, com.google.cloud.datastream.v1.PrivateConnection.getDefaultInstance()); + return getPrivateConnectionsFieldBuilder().addBuilder( + index, com.google.cloud.datastream.v1.PrivateConnection.getDefaultInstance()); } /** - * - * *
      * List of private connectivity configurations.
      * 
* * repeated .google.cloud.datastream.v1.PrivateConnection private_connections = 1; */ - public java.util.List - getPrivateConnectionsBuilderList() { + public java.util.List + getPrivateConnectionsBuilderList() { return getPrivateConnectionsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datastream.v1.PrivateConnection, - com.google.cloud.datastream.v1.PrivateConnection.Builder, - com.google.cloud.datastream.v1.PrivateConnectionOrBuilder> + com.google.cloud.datastream.v1.PrivateConnection, com.google.cloud.datastream.v1.PrivateConnection.Builder, com.google.cloud.datastream.v1.PrivateConnectionOrBuilder> getPrivateConnectionsFieldBuilder() { if (privateConnectionsBuilder_ == null) { - privateConnectionsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datastream.v1.PrivateConnection, - com.google.cloud.datastream.v1.PrivateConnection.Builder, - com.google.cloud.datastream.v1.PrivateConnectionOrBuilder>( + privateConnectionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datastream.v1.PrivateConnection, com.google.cloud.datastream.v1.PrivateConnection.Builder, com.google.cloud.datastream.v1.PrivateConnectionOrBuilder>( privateConnections_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1106,21 +990,19 @@ public com.google.cloud.datastream.v1.PrivateConnection.Builder addPrivateConnec private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * 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; @@ -1129,22 +1011,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * 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 { @@ -1152,115 +1033,98 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList unreachable_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList unreachable_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureUnreachableIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList getUnreachableList() { + public com.google.protobuf.ProtocolStringList + getUnreachableList() { return unreachable_.getUnmodifiableView(); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1268,90 +1132,80 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString getUnreachableBytes(int index) { + public com.google.protobuf.ByteString + getUnreachableBytes(int index) { return unreachable_.getByteString(index); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param index The index to set the value at. * @param value The unreachable to set. * @return This builder for chaining. */ - public Builder setUnreachable(int index, java.lang.String value) { + public Builder setUnreachable( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.set(index, value); onChanged(); return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param value The unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachable(java.lang.String value) { + public Builder addUnreachable( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.add(value); onChanged(); return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param values The unreachable to add. * @return This builder for chaining. */ - public Builder addAllUnreachable(java.lang.Iterable values) { + public Builder addAllUnreachable( + java.lang.Iterable values) { ensureUnreachableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachable_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, unreachable_); onChanged(); return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @return This builder for chaining. */ public Builder clearUnreachable() { @@ -1361,30 +1215,28 @@ public Builder clearUnreachable() { return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param value The bytes of the unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { + public Builder addUnreachableBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.add(value); onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1394,13 +1246,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1.ListPrivateConnectionsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1.ListPrivateConnectionsResponse) - private static final com.google.cloud.datastream.v1.ListPrivateConnectionsResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.datastream.v1.ListPrivateConnectionsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1.ListPrivateConnectionsResponse(); } @@ -1409,16 +1260,16 @@ public static com.google.cloud.datastream.v1.ListPrivateConnectionsResponse getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListPrivateConnectionsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListPrivateConnectionsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListPrivateConnectionsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListPrivateConnectionsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1433,4 +1284,6 @@ public com.google.protobuf.Parser getParserForTy public com.google.cloud.datastream.v1.ListPrivateConnectionsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListPrivateConnectionsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListPrivateConnectionsResponseOrBuilder.java similarity index 75% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListPrivateConnectionsResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListPrivateConnectionsResponseOrBuilder.java index 5eefa715..8b26670c 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListPrivateConnectionsResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListPrivateConnectionsResponseOrBuilder.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/datastream/v1/datastream.proto package com.google.cloud.datastream.v1; -public interface ListPrivateConnectionsResponseOrBuilder - extends +public interface ListPrivateConnectionsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1.ListPrivateConnectionsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * List of private connectivity configurations.
    * 
* * repeated .google.cloud.datastream.v1.PrivateConnection private_connections = 1; */ - java.util.List getPrivateConnectionsList(); + java.util.List + getPrivateConnectionsList(); /** - * - * *
    * List of private connectivity configurations.
    * 
@@ -44,8 +25,6 @@ public interface ListPrivateConnectionsResponseOrBuilder */ com.google.cloud.datastream.v1.PrivateConnection getPrivateConnections(int index); /** - * - * *
    * List of private connectivity configurations.
    * 
@@ -54,19 +33,15 @@ public interface ListPrivateConnectionsResponseOrBuilder */ int getPrivateConnectionsCount(); /** - * - * *
    * List of private connectivity configurations.
    * 
* * repeated .google.cloud.datastream.v1.PrivateConnection private_connections = 1; */ - java.util.List + java.util.List getPrivateConnectionsOrBuilderList(); /** - * - * *
    * List of private connectivity configurations.
    * 
@@ -77,80 +52,65 @@ com.google.cloud.datastream.v1.PrivateConnectionOrBuilder getPrivateConnectionsO int index); /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - java.util.List getUnreachableList(); + java.util.List + getUnreachableList(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ int getUnreachableCount(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ java.lang.String getUnreachable(int index); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - com.google.protobuf.ByteString getUnreachableBytes(int index); + com.google.protobuf.ByteString + getUnreachableBytes(int index); } diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListRoutesRequest.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListRoutesRequest.java similarity index 70% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListRoutesRequest.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListRoutesRequest.java index 36c12d9d..e99351d7 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListRoutesRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListRoutesRequest.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/datastream/v1/datastream.proto package com.google.cloud.datastream.v1; /** - * - * *
  * Route list request.
  * 
* * Protobuf type {@code google.cloud.datastream.v1.ListRoutesRequest} */ -public final class ListRoutesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListRoutesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1.ListRoutesRequest) ListRoutesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListRoutesRequest.newBuilder() to construct. private ListRoutesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListRoutesRequest() { parent_ = ""; pageToken_ = ""; @@ -46,15 +28,16 @@ private ListRoutesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListRoutesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListRoutesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,46 +56,42 @@ private ListRoutesRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - orderBy_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + filter_ = s; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + orderBy_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -120,41 +99,34 @@ private ListRoutesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_ListRoutesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_ListRoutesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_ListRoutesRequest_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_ListRoutesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.ListRoutesRequest.class, - com.google.cloud.datastream.v1.ListRoutesRequest.Builder.class); + com.google.cloud.datastream.v1.ListRoutesRequest.class, com.google.cloud.datastream.v1.ListRoutesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The parent that owns the collection of Routess.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -163,31 +135,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The parent that owns the collection of Routess.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -198,8 +168,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * Maximum number of Routes to return. The service may return
    * fewer than this value. If unspecified, at most 50 Routes
@@ -208,7 +176,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -219,8 +186,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * Page token received from a previous `ListRoutes` call.
    * Provide this to retrieve the subsequent page.
@@ -230,7 +195,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -239,15 +203,14 @@ 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 received from a previous `ListRoutes` call.
    * Provide this to retrieve the subsequent page.
@@ -257,15 +220,16 @@ public java.lang.String getPageToken() {
    * 
* * 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 { @@ -276,14 +240,11 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** - * - * *
    * Filter request.
    * 
* * string filter = 4; - * * @return The filter. */ @java.lang.Override @@ -292,29 +253,29 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** - * - * *
    * Filter request.
    * 
* * 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 { @@ -325,14 +286,11 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int ORDER_BY_FIELD_NUMBER = 5; private volatile java.lang.Object orderBy_; /** - * - * *
    * Order by fields for the result.
    * 
* * string order_by = 5; - * * @return The orderBy. */ @java.lang.Override @@ -341,29 +299,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; } } /** - * - * *
    * Order by fields for the result.
    * 
* * 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 { @@ -372,7 +330,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -384,7 +341,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_); } @@ -413,7 +371,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_); @@ -432,19 +391,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.datastream.v1.ListRoutesRequest)) { return super.equals(obj); } - com.google.cloud.datastream.v1.ListRoutesRequest other = - (com.google.cloud.datastream.v1.ListRoutesRequest) 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.datastream.v1.ListRoutesRequest other = (com.google.cloud.datastream.v1.ListRoutesRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; + if (!getOrderBy() + .equals(other.getOrderBy())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -471,127 +434,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.datastream.v1.ListRoutesRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.datastream.v1.ListRoutesRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.ListRoutesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.ListRoutesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.ListRoutesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.ListRoutesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.ListRoutesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1.ListRoutesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.ListRoutesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.ListRoutesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1.ListRoutesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.ListRoutesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.ListRoutesRequest 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.datastream.v1.ListRoutesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.ListRoutesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datastream.v1.ListRoutesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Route list request.
    * 
* * Protobuf type {@code google.cloud.datastream.v1.ListRoutesRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1.ListRoutesRequest) com.google.cloud.datastream.v1.ListRoutesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_ListRoutesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_ListRoutesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_ListRoutesRequest_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_ListRoutesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.ListRoutesRequest.class, - com.google.cloud.datastream.v1.ListRoutesRequest.Builder.class); + com.google.cloud.datastream.v1.ListRoutesRequest.class, com.google.cloud.datastream.v1.ListRoutesRequest.Builder.class); } // Construct using com.google.cloud.datastream.v1.ListRoutesRequest.newBuilder() @@ -599,15 +553,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -625,9 +580,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_ListRoutesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_ListRoutesRequest_descriptor; } @java.lang.Override @@ -646,8 +601,7 @@ public com.google.cloud.datastream.v1.ListRoutesRequest build() { @java.lang.Override public com.google.cloud.datastream.v1.ListRoutesRequest buildPartial() { - com.google.cloud.datastream.v1.ListRoutesRequest result = - new com.google.cloud.datastream.v1.ListRoutesRequest(this); + com.google.cloud.datastream.v1.ListRoutesRequest result = new com.google.cloud.datastream.v1.ListRoutesRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -661,39 +615,38 @@ public com.google.cloud.datastream.v1.ListRoutesRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1.ListRoutesRequest) { - return mergeFrom((com.google.cloud.datastream.v1.ListRoutesRequest) other); + return mergeFrom((com.google.cloud.datastream.v1.ListRoutesRequest)other); } else { super.mergeFrom(other); return this; @@ -701,8 +654,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datastream.v1.ListRoutesRequest other) { - if (other == com.google.cloud.datastream.v1.ListRoutesRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.datastream.v1.ListRoutesRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -753,22 +705,18 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent that owns the collection of Routess.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -777,23 +725,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent that owns the collection of Routess.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -801,76 +746,61 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent that owns the collection of Routess.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The parent that owns the collection of Routess.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The parent that owns the collection of Routess.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Maximum number of Routes to return. The service may return
      * fewer than this value. If unspecified, at most 50 Routes
@@ -879,7 +809,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -887,8 +816,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Maximum number of Routes to return. The service may return
      * fewer than this value. If unspecified, at most 50 Routes
@@ -897,19 +824,16 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * Maximum number of Routes to return. The service may return
      * fewer than this value. If unspecified, at most 50 Routes
@@ -918,11 +842,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -930,8 +853,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * Page token received from a previous `ListRoutes` call.
      * Provide this to retrieve the subsequent page.
@@ -941,13 +862,13 @@ public Builder clearPageSize() {
      * 
* * 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; @@ -956,8 +877,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * Page token received from a previous `ListRoutes` call.
      * Provide this to retrieve the subsequent page.
@@ -967,14 +886,15 @@ public java.lang.String getPageToken() {
      * 
* * 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,8 +902,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * Page token received from a previous `ListRoutes` call.
      * Provide this to retrieve the subsequent page.
@@ -993,22 +911,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * Page token received from a previous `ListRoutes` call.
      * Provide this to retrieve the subsequent page.
@@ -1018,18 +934,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * Page token received from a previous `ListRoutes` call.
      * Provide this to retrieve the subsequent page.
@@ -1039,16 +952,16 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -1056,20 +969,18 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * Filter request.
      * 
* * 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,21 +989,20 @@ public java.lang.String getFilter() { } } /** - * - * *
      * Filter request.
      * 
* * 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 { @@ -1100,61 +1010,54 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * Filter request.
      * 
* * string filter = 4; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
      * Filter request.
      * 
* * string filter = 4; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * Filter request.
      * 
* * string filter = 4; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; @@ -1162,20 +1065,18 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { private java.lang.Object orderBy_ = ""; /** - * - * *
      * Order by fields for the result.
      * 
* * 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; @@ -1184,21 +1085,20 @@ public java.lang.String getOrderBy() { } } /** - * - * *
      * Order by fields for the result.
      * 
* * 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 { @@ -1206,68 +1106,61 @@ public com.google.protobuf.ByteString getOrderByBytes() { } } /** - * - * *
      * Order by fields for the result.
      * 
* * string order_by = 5; - * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy(java.lang.String value) { + public Builder setOrderBy( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; onChanged(); return this; } /** - * - * *
      * Order by fields for the result.
      * 
* * string order_by = 5; - * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** - * - * *
      * Order by fields for the result.
      * 
* * string order_by = 5; - * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + public Builder setOrderByBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1277,12 +1170,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1.ListRoutesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1.ListRoutesRequest) private static final com.google.cloud.datastream.v1.ListRoutesRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1.ListRoutesRequest(); } @@ -1291,16 +1184,16 @@ public static com.google.cloud.datastream.v1.ListRoutesRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListRoutesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListRoutesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListRoutesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListRoutesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1315,4 +1208,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datastream.v1.ListRoutesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListRoutesRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListRoutesRequestOrBuilder.java similarity index 64% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListRoutesRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListRoutesRequestOrBuilder.java index 9ea59a40..00650598 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListRoutesRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListRoutesRequestOrBuilder.java @@ -1,60 +1,33 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1/datastream.proto package com.google.cloud.datastream.v1; -public interface ListRoutesRequestOrBuilder - extends +public interface ListRoutesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1.ListRoutesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The parent that owns the collection of Routess.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The parent that owns the collection of Routess.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Maximum number of Routes to return. The service may return
    * fewer than this value. If unspecified, at most 50 Routes
@@ -63,14 +36,11 @@ public interface ListRoutesRequestOrBuilder
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * Page token received from a previous `ListRoutes` call.
    * Provide this to retrieve the subsequent page.
@@ -80,13 +50,10 @@ public interface ListRoutesRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * Page token received from a previous `ListRoutes` call.
    * Provide this to retrieve the subsequent page.
@@ -96,58 +63,48 @@ public interface ListRoutesRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * Filter request.
    * 
* * string filter = 4; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * Filter request.
    * 
* * string filter = 4; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * Order by fields for the result.
    * 
* * string order_by = 5; - * * @return The orderBy. */ java.lang.String getOrderBy(); /** - * - * *
    * Order by fields for the result.
    * 
* * string order_by = 5; - * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString getOrderByBytes(); + com.google.protobuf.ByteString + getOrderByBytes(); } diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListRoutesResponse.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListRoutesResponse.java similarity index 73% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListRoutesResponse.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListRoutesResponse.java index 417ac3bd..cd7c8097 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListRoutesResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListRoutesResponse.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/datastream/v1/datastream.proto package com.google.cloud.datastream.v1; /** - * - * *
  * Route list response.
  * 
* * Protobuf type {@code google.cloud.datastream.v1.ListRoutesResponse} */ -public final class ListRoutesResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListRoutesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1.ListRoutesResponse) ListRoutesResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListRoutesResponse.newBuilder() to construct. private ListRoutesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListRoutesResponse() { routes_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -45,15 +27,16 @@ private ListRoutesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListRoutesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListRoutesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,41 +56,37 @@ private ListRoutesResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - routes_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - routes_.add( - input.readMessage( - com.google.cloud.datastream.v1.Route.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + routes_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + routes_.add( + input.readMessage(com.google.cloud.datastream.v1.Route.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - unreachable_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; - } - unreachable_.add(s); - break; + nextPageToken_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + unreachable_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + unreachable_.add(s); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -115,7 +94,8 @@ private ListRoutesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { routes_ = java.util.Collections.unmodifiableList(routes_); @@ -127,27 +107,22 @@ private ListRoutesResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_ListRoutesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_ListRoutesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_ListRoutesResponse_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_ListRoutesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.ListRoutesResponse.class, - com.google.cloud.datastream.v1.ListRoutesResponse.Builder.class); + com.google.cloud.datastream.v1.ListRoutesResponse.class, com.google.cloud.datastream.v1.ListRoutesResponse.Builder.class); } public static final int ROUTES_FIELD_NUMBER = 1; private java.util.List routes_; /** - * - * *
    * List of Routes.
    * 
@@ -159,8 +134,6 @@ public java.util.List getRoutesList() { return routes_; } /** - * - * *
    * List of Routes.
    * 
@@ -168,13 +141,11 @@ public java.util.List getRoutesList() { * repeated .google.cloud.datastream.v1.Route routes = 1; */ @java.lang.Override - public java.util.List + public java.util.List getRoutesOrBuilderList() { return routes_; } /** - * - * *
    * List of Routes.
    * 
@@ -186,8 +157,6 @@ public int getRoutesCount() { return routes_.size(); } /** - * - * *
    * List of Routes.
    * 
@@ -199,8 +168,6 @@ public com.google.cloud.datastream.v1.Route getRoutes(int index) { return routes_.get(index); } /** - * - * *
    * List of Routes.
    * 
@@ -208,22 +175,20 @@ public com.google.cloud.datastream.v1.Route getRoutes(int index) { * repeated .google.cloud.datastream.v1.Route routes = 1; */ @java.lang.Override - public com.google.cloud.datastream.v1.RouteOrBuilder getRoutesOrBuilder(int index) { + public com.google.cloud.datastream.v1.RouteOrBuilder getRoutesOrBuilder( + int index) { return routes_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -232,30 +197,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -266,42 +231,34 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { public static final int UNREACHABLE_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList unreachable_; /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList getUnreachableList() { + public com.google.protobuf.ProtocolStringList + getUnreachableList() { return unreachable_; } /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -309,23 +266,20 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString getUnreachableBytes(int index) { + public com.google.protobuf.ByteString + getUnreachableBytes(int index) { return unreachable_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -337,7 +291,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 < routes_.size(); i++) { output.writeMessage(1, routes_.get(i)); } @@ -357,7 +312,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < routes_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, routes_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, routes_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -378,17 +334,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.datastream.v1.ListRoutesResponse)) { return super.equals(obj); } - com.google.cloud.datastream.v1.ListRoutesResponse other = - (com.google.cloud.datastream.v1.ListRoutesResponse) obj; + com.google.cloud.datastream.v1.ListRoutesResponse other = (com.google.cloud.datastream.v1.ListRoutesResponse) obj; - if (!getRoutesList().equals(other.getRoutesList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; - if (!getUnreachableList().equals(other.getUnreachableList())) return false; + if (!getRoutesList() + .equals(other.getRoutesList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; + if (!getUnreachableList() + .equals(other.getUnreachableList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -416,126 +374,117 @@ public int hashCode() { } public static com.google.cloud.datastream.v1.ListRoutesResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.ListRoutesResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.ListRoutesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.ListRoutesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.ListRoutesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.ListRoutesResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1.ListRoutesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.ListRoutesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.ListRoutesResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1.ListRoutesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.ListRoutesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.ListRoutesResponse 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.datastream.v1.ListRoutesResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.ListRoutesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datastream.v1.ListRoutesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Route list response.
    * 
* * Protobuf type {@code google.cloud.datastream.v1.ListRoutesResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1.ListRoutesResponse) com.google.cloud.datastream.v1.ListRoutesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_ListRoutesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_ListRoutesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_ListRoutesResponse_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_ListRoutesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.ListRoutesResponse.class, - com.google.cloud.datastream.v1.ListRoutesResponse.Builder.class); + com.google.cloud.datastream.v1.ListRoutesResponse.class, com.google.cloud.datastream.v1.ListRoutesResponse.Builder.class); } // Construct using com.google.cloud.datastream.v1.ListRoutesResponse.newBuilder() @@ -543,17 +492,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getRoutesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -571,9 +520,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_ListRoutesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_ListRoutesResponse_descriptor; } @java.lang.Override @@ -592,8 +541,7 @@ public com.google.cloud.datastream.v1.ListRoutesResponse build() { @java.lang.Override public com.google.cloud.datastream.v1.ListRoutesResponse buildPartial() { - com.google.cloud.datastream.v1.ListRoutesResponse result = - new com.google.cloud.datastream.v1.ListRoutesResponse(this); + com.google.cloud.datastream.v1.ListRoutesResponse result = new com.google.cloud.datastream.v1.ListRoutesResponse(this); int from_bitField0_ = bitField0_; if (routesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -618,39 +566,38 @@ public com.google.cloud.datastream.v1.ListRoutesResponse buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1.ListRoutesResponse) { - return mergeFrom((com.google.cloud.datastream.v1.ListRoutesResponse) other); + return mergeFrom((com.google.cloud.datastream.v1.ListRoutesResponse)other); } else { super.mergeFrom(other); return this; @@ -658,8 +605,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datastream.v1.ListRoutesResponse other) { - if (other == com.google.cloud.datastream.v1.ListRoutesResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.datastream.v1.ListRoutesResponse.getDefaultInstance()) return this; if (routesBuilder_ == null) { if (!other.routes_.isEmpty()) { if (routes_.isEmpty()) { @@ -678,10 +624,9 @@ public Builder mergeFrom(com.google.cloud.datastream.v1.ListRoutesResponse other routesBuilder_ = null; routes_ = other.routes_; bitField0_ = (bitField0_ & ~0x00000001); - routesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getRoutesFieldBuilder() - : null; + routesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getRoutesFieldBuilder() : null; } else { routesBuilder_.addAllMessages(other.routes_); } @@ -720,8 +665,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datastream.v1.ListRoutesResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datastream.v1.ListRoutesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -730,28 +674,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List routes_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureRoutesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { routes_ = new java.util.ArrayList(routes_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datastream.v1.Route, - com.google.cloud.datastream.v1.Route.Builder, - com.google.cloud.datastream.v1.RouteOrBuilder> - routesBuilder_; + com.google.cloud.datastream.v1.Route, com.google.cloud.datastream.v1.Route.Builder, com.google.cloud.datastream.v1.RouteOrBuilder> routesBuilder_; /** - * - * *
      * List of Routes.
      * 
@@ -766,8 +703,6 @@ public java.util.List getRoutesList() { } } /** - * - * *
      * List of Routes.
      * 
@@ -782,8 +717,6 @@ public int getRoutesCount() { } } /** - * - * *
      * List of Routes.
      * 
@@ -798,15 +731,14 @@ public com.google.cloud.datastream.v1.Route getRoutes(int index) { } } /** - * - * *
      * List of Routes.
      * 
* * repeated .google.cloud.datastream.v1.Route routes = 1; */ - public Builder setRoutes(int index, com.google.cloud.datastream.v1.Route value) { + public Builder setRoutes( + int index, com.google.cloud.datastream.v1.Route value) { if (routesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -820,8 +752,6 @@ public Builder setRoutes(int index, com.google.cloud.datastream.v1.Route value) return this; } /** - * - * *
      * List of Routes.
      * 
@@ -840,8 +770,6 @@ public Builder setRoutes( return this; } /** - * - * *
      * List of Routes.
      * 
@@ -862,15 +790,14 @@ public Builder addRoutes(com.google.cloud.datastream.v1.Route value) { return this; } /** - * - * *
      * List of Routes.
      * 
* * repeated .google.cloud.datastream.v1.Route routes = 1; */ - public Builder addRoutes(int index, com.google.cloud.datastream.v1.Route value) { + public Builder addRoutes( + int index, com.google.cloud.datastream.v1.Route value) { if (routesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -884,15 +811,14 @@ public Builder addRoutes(int index, com.google.cloud.datastream.v1.Route value) return this; } /** - * - * *
      * List of Routes.
      * 
* * repeated .google.cloud.datastream.v1.Route routes = 1; */ - public Builder addRoutes(com.google.cloud.datastream.v1.Route.Builder builderForValue) { + public Builder addRoutes( + com.google.cloud.datastream.v1.Route.Builder builderForValue) { if (routesBuilder_ == null) { ensureRoutesIsMutable(); routes_.add(builderForValue.build()); @@ -903,8 +829,6 @@ public Builder addRoutes(com.google.cloud.datastream.v1.Route.Builder builderFor return this; } /** - * - * *
      * List of Routes.
      * 
@@ -923,8 +847,6 @@ public Builder addRoutes( return this; } /** - * - * *
      * List of Routes.
      * 
@@ -935,7 +857,8 @@ public Builder addAllRoutes( java.lang.Iterable values) { if (routesBuilder_ == null) { ensureRoutesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, routes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, routes_); onChanged(); } else { routesBuilder_.addAllMessages(values); @@ -943,8 +866,6 @@ public Builder addAllRoutes( return this; } /** - * - * *
      * List of Routes.
      * 
@@ -962,8 +883,6 @@ public Builder clearRoutes() { return this; } /** - * - * *
      * List of Routes.
      * 
@@ -981,44 +900,39 @@ public Builder removeRoutes(int index) { return this; } /** - * - * *
      * List of Routes.
      * 
* * repeated .google.cloud.datastream.v1.Route routes = 1; */ - public com.google.cloud.datastream.v1.Route.Builder getRoutesBuilder(int index) { + public com.google.cloud.datastream.v1.Route.Builder getRoutesBuilder( + int index) { return getRoutesFieldBuilder().getBuilder(index); } /** - * - * *
      * List of Routes.
      * 
* * repeated .google.cloud.datastream.v1.Route routes = 1; */ - public com.google.cloud.datastream.v1.RouteOrBuilder getRoutesOrBuilder(int index) { + public com.google.cloud.datastream.v1.RouteOrBuilder getRoutesOrBuilder( + int index) { if (routesBuilder_ == null) { - return routes_.get(index); - } else { + return routes_.get(index); } else { return routesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * List of Routes.
      * 
* * repeated .google.cloud.datastream.v1.Route routes = 1; */ - public java.util.List - getRoutesOrBuilderList() { + public java.util.List + getRoutesOrBuilderList() { if (routesBuilder_ != null) { return routesBuilder_.getMessageOrBuilderList(); } else { @@ -1026,8 +940,6 @@ public com.google.cloud.datastream.v1.RouteOrBuilder getRoutesOrBuilder(int inde } } /** - * - * *
      * List of Routes.
      * 
@@ -1035,47 +947,42 @@ public com.google.cloud.datastream.v1.RouteOrBuilder getRoutesOrBuilder(int inde * repeated .google.cloud.datastream.v1.Route routes = 1; */ public com.google.cloud.datastream.v1.Route.Builder addRoutesBuilder() { - return getRoutesFieldBuilder() - .addBuilder(com.google.cloud.datastream.v1.Route.getDefaultInstance()); + return getRoutesFieldBuilder().addBuilder( + com.google.cloud.datastream.v1.Route.getDefaultInstance()); } /** - * - * *
      * List of Routes.
      * 
* * repeated .google.cloud.datastream.v1.Route routes = 1; */ - public com.google.cloud.datastream.v1.Route.Builder addRoutesBuilder(int index) { - return getRoutesFieldBuilder() - .addBuilder(index, com.google.cloud.datastream.v1.Route.getDefaultInstance()); + public com.google.cloud.datastream.v1.Route.Builder addRoutesBuilder( + int index) { + return getRoutesFieldBuilder().addBuilder( + index, com.google.cloud.datastream.v1.Route.getDefaultInstance()); } /** - * - * *
      * List of Routes.
      * 
* * repeated .google.cloud.datastream.v1.Route routes = 1; */ - public java.util.List getRoutesBuilderList() { + public java.util.List + getRoutesBuilderList() { return getRoutesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datastream.v1.Route, - com.google.cloud.datastream.v1.Route.Builder, - com.google.cloud.datastream.v1.RouteOrBuilder> + com.google.cloud.datastream.v1.Route, com.google.cloud.datastream.v1.Route.Builder, com.google.cloud.datastream.v1.RouteOrBuilder> getRoutesFieldBuilder() { if (routesBuilder_ == null) { - routesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datastream.v1.Route, - com.google.cloud.datastream.v1.Route.Builder, - com.google.cloud.datastream.v1.RouteOrBuilder>( - routes_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + routesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datastream.v1.Route, com.google.cloud.datastream.v1.Route.Builder, com.google.cloud.datastream.v1.RouteOrBuilder>( + routes_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); routes_ = null; } return routesBuilder_; @@ -1083,21 +990,19 @@ public java.util.List getRoutesBui private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * 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; @@ -1106,22 +1011,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1129,115 +1033,98 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList unreachable_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList unreachable_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureUnreachableIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList getUnreachableList() { + public com.google.protobuf.ProtocolStringList + getUnreachableList() { return unreachable_.getUnmodifiableView(); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1245,90 +1132,80 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString getUnreachableBytes(int index) { + public com.google.protobuf.ByteString + getUnreachableBytes(int index) { return unreachable_.getByteString(index); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param index The index to set the value at. * @param value The unreachable to set. * @return This builder for chaining. */ - public Builder setUnreachable(int index, java.lang.String value) { + public Builder setUnreachable( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.set(index, value); onChanged(); return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param value The unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachable(java.lang.String value) { + public Builder addUnreachable( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.add(value); onChanged(); return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param values The unreachable to add. * @return This builder for chaining. */ - public Builder addAllUnreachable(java.lang.Iterable values) { + public Builder addAllUnreachable( + java.lang.Iterable values) { ensureUnreachableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachable_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, unreachable_); onChanged(); return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @return This builder for chaining. */ public Builder clearUnreachable() { @@ -1338,30 +1215,28 @@ public Builder clearUnreachable() { return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param value The bytes of the unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { + public Builder addUnreachableBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.add(value); onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1371,12 +1246,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1.ListRoutesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1.ListRoutesResponse) private static final com.google.cloud.datastream.v1.ListRoutesResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1.ListRoutesResponse(); } @@ -1385,16 +1260,16 @@ public static com.google.cloud.datastream.v1.ListRoutesResponse getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListRoutesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListRoutesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListRoutesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListRoutesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1409,4 +1284,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datastream.v1.ListRoutesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListRoutesResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListRoutesResponseOrBuilder.java similarity index 70% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListRoutesResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListRoutesResponseOrBuilder.java index 78026ace..8910746c 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListRoutesResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListRoutesResponseOrBuilder.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/datastream/v1/datastream.proto package com.google.cloud.datastream.v1; -public interface ListRoutesResponseOrBuilder - extends +public interface ListRoutesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1.ListRoutesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * List of Routes.
    * 
* * repeated .google.cloud.datastream.v1.Route routes = 1; */ - java.util.List getRoutesList(); + java.util.List + getRoutesList(); /** - * - * *
    * List of Routes.
    * 
@@ -44,8 +25,6 @@ public interface ListRoutesResponseOrBuilder */ com.google.cloud.datastream.v1.Route getRoutes(int index); /** - * - * *
    * List of Routes.
    * 
@@ -54,101 +33,84 @@ public interface ListRoutesResponseOrBuilder */ int getRoutesCount(); /** - * - * *
    * List of Routes.
    * 
* * repeated .google.cloud.datastream.v1.Route routes = 1; */ - java.util.List getRoutesOrBuilderList(); + java.util.List + getRoutesOrBuilderList(); /** - * - * *
    * List of Routes.
    * 
* * repeated .google.cloud.datastream.v1.Route routes = 1; */ - com.google.cloud.datastream.v1.RouteOrBuilder getRoutesOrBuilder(int index); + com.google.cloud.datastream.v1.RouteOrBuilder getRoutesOrBuilder( + int index); /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - java.util.List getUnreachableList(); + java.util.List + getUnreachableList(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ int getUnreachableCount(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ java.lang.String getUnreachable(int index); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - com.google.protobuf.ByteString getUnreachableBytes(int index); + com.google.protobuf.ByteString + getUnreachableBytes(int index); } diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListStreamObjectsRequest.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListStreamObjectsRequest.java similarity index 69% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListStreamObjectsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListStreamObjectsRequest.java index f7009156..c19d2e8a 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListStreamObjectsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListStreamObjectsRequest.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/datastream/v1/datastream.proto package com.google.cloud.datastream.v1; /** - * - * *
  * Request for listing all objects for a specific stream.
  * 
* * Protobuf type {@code google.cloud.datastream.v1.ListStreamObjectsRequest} */ -public final class ListStreamObjectsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListStreamObjectsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1.ListStreamObjectsRequest) ListStreamObjectsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListStreamObjectsRequest.newBuilder() to construct. private ListStreamObjectsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListStreamObjectsRequest() { parent_ = ""; pageToken_ = ""; @@ -44,15 +26,16 @@ private ListStreamObjectsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListStreamObjectsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListStreamObjectsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,32 +54,30 @@ private ListStreamObjectsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -104,41 +85,34 @@ private ListStreamObjectsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_ListStreamObjectsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_ListStreamObjectsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_ListStreamObjectsRequest_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_ListStreamObjectsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.ListStreamObjectsRequest.class, - com.google.cloud.datastream.v1.ListStreamObjectsRequest.Builder.class); + com.google.cloud.datastream.v1.ListStreamObjectsRequest.class, com.google.cloud.datastream.v1.ListStreamObjectsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The parent stream that owns the collection of objects.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -147,31 +121,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The parent stream that owns the collection of objects.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -182,15 +154,12 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * Maximum number of objects to return. Default is 50.
    * The maximum value is 1000; values above 1000 will be coerced to 1000.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -201,8 +170,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * Page token received from a previous `ListStreamObjectsRequest` call.
    * Provide this to retrieve the subsequent page.
@@ -212,7 +179,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -221,15 +187,14 @@ 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 received from a previous `ListStreamObjectsRequest` call.
    * Provide this to retrieve the subsequent page.
@@ -239,15 +204,16 @@ public java.lang.String getPageToken() {
    * 
* * 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 { @@ -256,7 +222,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -268,7 +233,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_); } @@ -291,7 +257,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_); @@ -304,17 +271,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.datastream.v1.ListStreamObjectsRequest)) { return super.equals(obj); } - com.google.cloud.datastream.v1.ListStreamObjectsRequest other = - (com.google.cloud.datastream.v1.ListStreamObjectsRequest) obj; + com.google.cloud.datastream.v1.ListStreamObjectsRequest other = (com.google.cloud.datastream.v1.ListStreamObjectsRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -338,127 +307,117 @@ public int hashCode() { } public static com.google.cloud.datastream.v1.ListStreamObjectsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.ListStreamObjectsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.ListStreamObjectsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.ListStreamObjectsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.ListStreamObjectsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.ListStreamObjectsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1.ListStreamObjectsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.ListStreamObjectsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.ListStreamObjectsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1.ListStreamObjectsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.ListStreamObjectsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.ListStreamObjectsRequest 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.datastream.v1.ListStreamObjectsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.ListStreamObjectsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datastream.v1.ListStreamObjectsRequest prototype) { + public static Builder newBuilder(com.google.cloud.datastream.v1.ListStreamObjectsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 listing all objects for a specific stream.
    * 
* * Protobuf type {@code google.cloud.datastream.v1.ListStreamObjectsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1.ListStreamObjectsRequest) com.google.cloud.datastream.v1.ListStreamObjectsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_ListStreamObjectsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_ListStreamObjectsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_ListStreamObjectsRequest_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_ListStreamObjectsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.ListStreamObjectsRequest.class, - com.google.cloud.datastream.v1.ListStreamObjectsRequest.Builder.class); + com.google.cloud.datastream.v1.ListStreamObjectsRequest.class, com.google.cloud.datastream.v1.ListStreamObjectsRequest.Builder.class); } // Construct using com.google.cloud.datastream.v1.ListStreamObjectsRequest.newBuilder() @@ -466,15 +425,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -488,9 +448,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_ListStreamObjectsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_ListStreamObjectsRequest_descriptor; } @java.lang.Override @@ -509,8 +469,7 @@ public com.google.cloud.datastream.v1.ListStreamObjectsRequest build() { @java.lang.Override public com.google.cloud.datastream.v1.ListStreamObjectsRequest buildPartial() { - com.google.cloud.datastream.v1.ListStreamObjectsRequest result = - new com.google.cloud.datastream.v1.ListStreamObjectsRequest(this); + com.google.cloud.datastream.v1.ListStreamObjectsRequest result = new com.google.cloud.datastream.v1.ListStreamObjectsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -522,39 +481,38 @@ public com.google.cloud.datastream.v1.ListStreamObjectsRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1.ListStreamObjectsRequest) { - return mergeFrom((com.google.cloud.datastream.v1.ListStreamObjectsRequest) other); + return mergeFrom((com.google.cloud.datastream.v1.ListStreamObjectsRequest)other); } else { super.mergeFrom(other); return this; @@ -562,8 +520,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datastream.v1.ListStreamObjectsRequest other) { - if (other == com.google.cloud.datastream.v1.ListStreamObjectsRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.datastream.v1.ListStreamObjectsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -594,8 +551,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datastream.v1.ListStreamObjectsRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datastream.v1.ListStreamObjectsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -607,22 +563,18 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent stream that owns the collection of objects.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -631,23 +583,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent stream that owns the collection of objects.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -655,83 +604,67 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent stream that owns the collection of objects.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The parent stream that owns the collection of objects.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The parent stream that owns the collection of objects.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Maximum number of objects to return. Default is 50.
      * The maximum value is 1000; values above 1000 will be coerced to 1000.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -739,38 +672,32 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Maximum number of objects to return. Default is 50.
      * The maximum value is 1000; values above 1000 will be coerced to 1000.
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * Maximum number of objects to return. Default is 50.
      * The maximum value is 1000; values above 1000 will be coerced to 1000.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -778,8 +705,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * Page token received from a previous `ListStreamObjectsRequest` call.
      * Provide this to retrieve the subsequent page.
@@ -789,13 +714,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -804,8 +729,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * Page token received from a previous `ListStreamObjectsRequest` call.
      * Provide this to retrieve the subsequent page.
@@ -815,14 +738,15 @@ public java.lang.String getPageToken() {
      * 
* * 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 { @@ -830,8 +754,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * Page token received from a previous `ListStreamObjectsRequest` call.
      * Provide this to retrieve the subsequent page.
@@ -841,22 +763,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * Page token received from a previous `ListStreamObjectsRequest` call.
      * Provide this to retrieve the subsequent page.
@@ -866,18 +786,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * Page token received from a previous `ListStreamObjectsRequest` call.
      * Provide this to retrieve the subsequent page.
@@ -887,23 +804,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -913,12 +830,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1.ListStreamObjectsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1.ListStreamObjectsRequest) private static final com.google.cloud.datastream.v1.ListStreamObjectsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1.ListStreamObjectsRequest(); } @@ -927,16 +844,16 @@ public static com.google.cloud.datastream.v1.ListStreamObjectsRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListStreamObjectsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListStreamObjectsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListStreamObjectsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListStreamObjectsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -951,4 +868,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datastream.v1.ListStreamObjectsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListStreamObjectsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListStreamObjectsRequestOrBuilder.java similarity index 60% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListStreamObjectsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListStreamObjectsRequestOrBuilder.java index 32bd025d..aa381f59 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListStreamObjectsRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListStreamObjectsRequestOrBuilder.java @@ -1,74 +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/datastream/v1/datastream.proto package com.google.cloud.datastream.v1; -public interface ListStreamObjectsRequestOrBuilder - extends +public interface ListStreamObjectsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1.ListStreamObjectsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The parent stream that owns the collection of objects.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The parent stream that owns the collection of objects.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Maximum number of objects to return. Default is 50.
    * The maximum value is 1000; values above 1000 will be coerced to 1000.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * Page token received from a previous `ListStreamObjectsRequest` call.
    * Provide this to retrieve the subsequent page.
@@ -78,13 +48,10 @@ public interface ListStreamObjectsRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * Page token received from a previous `ListStreamObjectsRequest` call.
    * Provide this to retrieve the subsequent page.
@@ -94,8 +61,8 @@ public interface ListStreamObjectsRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListStreamObjectsResponse.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListStreamObjectsResponse.java similarity index 73% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListStreamObjectsResponse.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListStreamObjectsResponse.java index 12f10bec..5251ff6e 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListStreamObjectsResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListStreamObjectsResponse.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/datastream/v1/datastream.proto package com.google.cloud.datastream.v1; /** - * - * *
  * Response containing the objects for a stream.
  * 
* * Protobuf type {@code google.cloud.datastream.v1.ListStreamObjectsResponse} */ -public final class ListStreamObjectsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListStreamObjectsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1.ListStreamObjectsResponse) ListStreamObjectsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListStreamObjectsResponse.newBuilder() to construct. private ListStreamObjectsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListStreamObjectsResponse() { streamObjects_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,15 +26,16 @@ private ListStreamObjectsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListStreamObjectsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListStreamObjectsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,32 +55,28 @@ private ListStreamObjectsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - streamObjects_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - streamObjects_.add( - input.readMessage( - com.google.cloud.datastream.v1.StreamObject.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + streamObjects_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + streamObjects_.add( + input.readMessage(com.google.cloud.datastream.v1.StreamObject.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -105,7 +84,8 @@ private ListStreamObjectsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { streamObjects_ = java.util.Collections.unmodifiableList(streamObjects_); @@ -114,27 +94,22 @@ private ListStreamObjectsResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_ListStreamObjectsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_ListStreamObjectsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_ListStreamObjectsResponse_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_ListStreamObjectsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.ListStreamObjectsResponse.class, - com.google.cloud.datastream.v1.ListStreamObjectsResponse.Builder.class); + com.google.cloud.datastream.v1.ListStreamObjectsResponse.class, com.google.cloud.datastream.v1.ListStreamObjectsResponse.Builder.class); } public static final int STREAM_OBJECTS_FIELD_NUMBER = 1; private java.util.List streamObjects_; /** - * - * *
    * List of stream objects.
    * 
@@ -146,8 +121,6 @@ public java.util.List getStreamObje return streamObjects_; } /** - * - * *
    * List of stream objects.
    * 
@@ -155,13 +128,11 @@ public java.util.List getStreamObje * repeated .google.cloud.datastream.v1.StreamObject stream_objects = 1; */ @java.lang.Override - public java.util.List + public java.util.List getStreamObjectsOrBuilderList() { return streamObjects_; } /** - * - * *
    * List of stream objects.
    * 
@@ -173,8 +144,6 @@ public int getStreamObjectsCount() { return streamObjects_.size(); } /** - * - * *
    * List of stream objects.
    * 
@@ -186,8 +155,6 @@ public com.google.cloud.datastream.v1.StreamObject getStreamObjects(int index) { return streamObjects_.get(index); } /** - * - * *
    * List of stream objects.
    * 
@@ -195,21 +162,19 @@ public com.google.cloud.datastream.v1.StreamObject getStreamObjects(int index) { * repeated .google.cloud.datastream.v1.StreamObject stream_objects = 1; */ @java.lang.Override - public com.google.cloud.datastream.v1.StreamObjectOrBuilder getStreamObjectsOrBuilder(int index) { + public com.google.cloud.datastream.v1.StreamObjectOrBuilder getStreamObjectsOrBuilder( + int index) { return streamObjects_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -218,29 +183,29 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -249,7 +214,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -261,7 +225,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < streamObjects_.size(); i++) { output.writeMessage(1, streamObjects_.get(i)); } @@ -278,7 +243,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < streamObjects_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, streamObjects_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, streamObjects_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -291,16 +257,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datastream.v1.ListStreamObjectsResponse)) { return super.equals(obj); } - com.google.cloud.datastream.v1.ListStreamObjectsResponse other = - (com.google.cloud.datastream.v1.ListStreamObjectsResponse) obj; + com.google.cloud.datastream.v1.ListStreamObjectsResponse other = (com.google.cloud.datastream.v1.ListStreamObjectsResponse) obj; - if (!getStreamObjectsList().equals(other.getStreamObjectsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getStreamObjectsList() + .equals(other.getStreamObjectsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -324,127 +291,117 @@ public int hashCode() { } public static com.google.cloud.datastream.v1.ListStreamObjectsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.ListStreamObjectsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.ListStreamObjectsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.ListStreamObjectsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.ListStreamObjectsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.ListStreamObjectsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1.ListStreamObjectsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.ListStreamObjectsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.ListStreamObjectsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1.ListStreamObjectsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.ListStreamObjectsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.ListStreamObjectsResponse 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.datastream.v1.ListStreamObjectsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.ListStreamObjectsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datastream.v1.ListStreamObjectsResponse prototype) { + public static Builder newBuilder(com.google.cloud.datastream.v1.ListStreamObjectsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 containing the objects for a stream.
    * 
* * Protobuf type {@code google.cloud.datastream.v1.ListStreamObjectsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1.ListStreamObjectsResponse) com.google.cloud.datastream.v1.ListStreamObjectsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_ListStreamObjectsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_ListStreamObjectsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_ListStreamObjectsResponse_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_ListStreamObjectsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.ListStreamObjectsResponse.class, - com.google.cloud.datastream.v1.ListStreamObjectsResponse.Builder.class); + com.google.cloud.datastream.v1.ListStreamObjectsResponse.class, com.google.cloud.datastream.v1.ListStreamObjectsResponse.Builder.class); } // Construct using com.google.cloud.datastream.v1.ListStreamObjectsResponse.newBuilder() @@ -452,17 +409,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getStreamObjectsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -478,9 +435,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_ListStreamObjectsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_ListStreamObjectsResponse_descriptor; } @java.lang.Override @@ -499,8 +456,7 @@ public com.google.cloud.datastream.v1.ListStreamObjectsResponse build() { @java.lang.Override public com.google.cloud.datastream.v1.ListStreamObjectsResponse buildPartial() { - com.google.cloud.datastream.v1.ListStreamObjectsResponse result = - new com.google.cloud.datastream.v1.ListStreamObjectsResponse(this); + com.google.cloud.datastream.v1.ListStreamObjectsResponse result = new com.google.cloud.datastream.v1.ListStreamObjectsResponse(this); int from_bitField0_ = bitField0_; if (streamObjectsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -520,39 +476,38 @@ public com.google.cloud.datastream.v1.ListStreamObjectsResponse buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1.ListStreamObjectsResponse) { - return mergeFrom((com.google.cloud.datastream.v1.ListStreamObjectsResponse) other); + return mergeFrom((com.google.cloud.datastream.v1.ListStreamObjectsResponse)other); } else { super.mergeFrom(other); return this; @@ -560,8 +515,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datastream.v1.ListStreamObjectsResponse other) { - if (other == com.google.cloud.datastream.v1.ListStreamObjectsResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.datastream.v1.ListStreamObjectsResponse.getDefaultInstance()) return this; if (streamObjectsBuilder_ == null) { if (!other.streamObjects_.isEmpty()) { if (streamObjects_.isEmpty()) { @@ -580,10 +534,9 @@ public Builder mergeFrom(com.google.cloud.datastream.v1.ListStreamObjectsRespons streamObjectsBuilder_ = null; streamObjects_ = other.streamObjects_; bitField0_ = (bitField0_ & ~0x00000001); - streamObjectsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getStreamObjectsFieldBuilder() - : null; + streamObjectsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getStreamObjectsFieldBuilder() : null; } else { streamObjectsBuilder_.addAllMessages(other.streamObjects_); } @@ -612,8 +565,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datastream.v1.ListStreamObjectsResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datastream.v1.ListStreamObjectsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -622,29 +574,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List streamObjects_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureStreamObjectsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - streamObjects_ = - new java.util.ArrayList(streamObjects_); + streamObjects_ = new java.util.ArrayList(streamObjects_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datastream.v1.StreamObject, - com.google.cloud.datastream.v1.StreamObject.Builder, - com.google.cloud.datastream.v1.StreamObjectOrBuilder> - streamObjectsBuilder_; + com.google.cloud.datastream.v1.StreamObject, com.google.cloud.datastream.v1.StreamObject.Builder, com.google.cloud.datastream.v1.StreamObjectOrBuilder> streamObjectsBuilder_; /** - * - * *
      * List of stream objects.
      * 
@@ -659,8 +603,6 @@ public java.util.List getStreamObje } } /** - * - * *
      * List of stream objects.
      * 
@@ -675,8 +617,6 @@ public int getStreamObjectsCount() { } } /** - * - * *
      * List of stream objects.
      * 
@@ -691,15 +631,14 @@ public com.google.cloud.datastream.v1.StreamObject getStreamObjects(int index) { } } /** - * - * *
      * List of stream objects.
      * 
* * repeated .google.cloud.datastream.v1.StreamObject stream_objects = 1; */ - public Builder setStreamObjects(int index, com.google.cloud.datastream.v1.StreamObject value) { + public Builder setStreamObjects( + int index, com.google.cloud.datastream.v1.StreamObject value) { if (streamObjectsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -713,8 +652,6 @@ public Builder setStreamObjects(int index, com.google.cloud.datastream.v1.Stream return this; } /** - * - * *
      * List of stream objects.
      * 
@@ -733,8 +670,6 @@ public Builder setStreamObjects( return this; } /** - * - * *
      * List of stream objects.
      * 
@@ -755,15 +690,14 @@ public Builder addStreamObjects(com.google.cloud.datastream.v1.StreamObject valu return this; } /** - * - * *
      * List of stream objects.
      * 
* * repeated .google.cloud.datastream.v1.StreamObject stream_objects = 1; */ - public Builder addStreamObjects(int index, com.google.cloud.datastream.v1.StreamObject value) { + public Builder addStreamObjects( + int index, com.google.cloud.datastream.v1.StreamObject value) { if (streamObjectsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -777,8 +711,6 @@ public Builder addStreamObjects(int index, com.google.cloud.datastream.v1.Stream return this; } /** - * - * *
      * List of stream objects.
      * 
@@ -797,8 +729,6 @@ public Builder addStreamObjects( return this; } /** - * - * *
      * List of stream objects.
      * 
@@ -817,8 +747,6 @@ public Builder addStreamObjects( return this; } /** - * - * *
      * List of stream objects.
      * 
@@ -829,7 +757,8 @@ public Builder addAllStreamObjects( java.lang.Iterable values) { if (streamObjectsBuilder_ == null) { ensureStreamObjectsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, streamObjects_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, streamObjects_); onChanged(); } else { streamObjectsBuilder_.addAllMessages(values); @@ -837,8 +766,6 @@ public Builder addAllStreamObjects( return this; } /** - * - * *
      * List of stream objects.
      * 
@@ -856,8 +783,6 @@ public Builder clearStreamObjects() { return this; } /** - * - * *
      * List of stream objects.
      * 
@@ -875,20 +800,17 @@ public Builder removeStreamObjects(int index) { return this; } /** - * - * *
      * List of stream objects.
      * 
* * repeated .google.cloud.datastream.v1.StreamObject stream_objects = 1; */ - public com.google.cloud.datastream.v1.StreamObject.Builder getStreamObjectsBuilder(int index) { + public com.google.cloud.datastream.v1.StreamObject.Builder getStreamObjectsBuilder( + int index) { return getStreamObjectsFieldBuilder().getBuilder(index); } /** - * - * *
      * List of stream objects.
      * 
@@ -898,22 +820,19 @@ public com.google.cloud.datastream.v1.StreamObject.Builder getStreamObjectsBuild public com.google.cloud.datastream.v1.StreamObjectOrBuilder getStreamObjectsOrBuilder( int index) { if (streamObjectsBuilder_ == null) { - return streamObjects_.get(index); - } else { + return streamObjects_.get(index); } else { return streamObjectsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * List of stream objects.
      * 
* * repeated .google.cloud.datastream.v1.StreamObject stream_objects = 1; */ - public java.util.List - getStreamObjectsOrBuilderList() { + public java.util.List + getStreamObjectsOrBuilderList() { if (streamObjectsBuilder_ != null) { return streamObjectsBuilder_.getMessageOrBuilderList(); } else { @@ -921,8 +840,6 @@ public com.google.cloud.datastream.v1.StreamObjectOrBuilder getStreamObjectsOrBu } } /** - * - * *
      * List of stream objects.
      * 
@@ -930,47 +847,38 @@ public com.google.cloud.datastream.v1.StreamObjectOrBuilder getStreamObjectsOrBu * repeated .google.cloud.datastream.v1.StreamObject stream_objects = 1; */ public com.google.cloud.datastream.v1.StreamObject.Builder addStreamObjectsBuilder() { - return getStreamObjectsFieldBuilder() - .addBuilder(com.google.cloud.datastream.v1.StreamObject.getDefaultInstance()); + return getStreamObjectsFieldBuilder().addBuilder( + com.google.cloud.datastream.v1.StreamObject.getDefaultInstance()); } /** - * - * *
      * List of stream objects.
      * 
* * repeated .google.cloud.datastream.v1.StreamObject stream_objects = 1; */ - public com.google.cloud.datastream.v1.StreamObject.Builder addStreamObjectsBuilder(int index) { - return getStreamObjectsFieldBuilder() - .addBuilder(index, com.google.cloud.datastream.v1.StreamObject.getDefaultInstance()); + public com.google.cloud.datastream.v1.StreamObject.Builder addStreamObjectsBuilder( + int index) { + return getStreamObjectsFieldBuilder().addBuilder( + index, com.google.cloud.datastream.v1.StreamObject.getDefaultInstance()); } /** - * - * *
      * List of stream objects.
      * 
* * repeated .google.cloud.datastream.v1.StreamObject stream_objects = 1; */ - public java.util.List - getStreamObjectsBuilderList() { + public java.util.List + getStreamObjectsBuilderList() { return getStreamObjectsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datastream.v1.StreamObject, - com.google.cloud.datastream.v1.StreamObject.Builder, - com.google.cloud.datastream.v1.StreamObjectOrBuilder> + com.google.cloud.datastream.v1.StreamObject, com.google.cloud.datastream.v1.StreamObject.Builder, com.google.cloud.datastream.v1.StreamObjectOrBuilder> getStreamObjectsFieldBuilder() { if (streamObjectsBuilder_ == null) { - streamObjectsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datastream.v1.StreamObject, - com.google.cloud.datastream.v1.StreamObject.Builder, - com.google.cloud.datastream.v1.StreamObjectOrBuilder>( + streamObjectsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datastream.v1.StreamObject, com.google.cloud.datastream.v1.StreamObject.Builder, com.google.cloud.datastream.v1.StreamObjectOrBuilder>( streamObjects_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -982,20 +890,18 @@ public com.google.cloud.datastream.v1.StreamObject.Builder addStreamObjectsBuild private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * 
* * 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; @@ -1004,21 +910,20 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1026,68 +931,61 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1097,12 +995,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1.ListStreamObjectsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1.ListStreamObjectsResponse) private static final com.google.cloud.datastream.v1.ListStreamObjectsResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1.ListStreamObjectsResponse(); } @@ -1111,16 +1009,16 @@ public static com.google.cloud.datastream.v1.ListStreamObjectsResponse getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListStreamObjectsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListStreamObjectsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListStreamObjectsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListStreamObjectsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1135,4 +1033,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.datastream.v1.ListStreamObjectsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListStreamObjectsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListStreamObjectsResponseOrBuilder.java similarity index 65% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListStreamObjectsResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListStreamObjectsResponseOrBuilder.java index fe71d90b..989af467 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListStreamObjectsResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListStreamObjectsResponseOrBuilder.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/datastream/v1/datastream.proto package com.google.cloud.datastream.v1; -public interface ListStreamObjectsResponseOrBuilder - extends +public interface ListStreamObjectsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1.ListStreamObjectsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * List of stream objects.
    * 
* * repeated .google.cloud.datastream.v1.StreamObject stream_objects = 1; */ - java.util.List getStreamObjectsList(); + java.util.List + getStreamObjectsList(); /** - * - * *
    * List of stream objects.
    * 
@@ -44,8 +25,6 @@ public interface ListStreamObjectsResponseOrBuilder */ com.google.cloud.datastream.v1.StreamObject getStreamObjects(int index); /** - * - * *
    * List of stream objects.
    * 
@@ -54,49 +33,41 @@ public interface ListStreamObjectsResponseOrBuilder */ int getStreamObjectsCount(); /** - * - * *
    * List of stream objects.
    * 
* * repeated .google.cloud.datastream.v1.StreamObject stream_objects = 1; */ - java.util.List + java.util.List getStreamObjectsOrBuilderList(); /** - * - * *
    * List of stream objects.
    * 
* * repeated .google.cloud.datastream.v1.StreamObject stream_objects = 1; */ - com.google.cloud.datastream.v1.StreamObjectOrBuilder getStreamObjectsOrBuilder(int index); + com.google.cloud.datastream.v1.StreamObjectOrBuilder getStreamObjectsOrBuilder( + int index); /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListStreamsRequest.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListStreamsRequest.java similarity index 70% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListStreamsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListStreamsRequest.java index 4f948dd8..b702fe76 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListStreamsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListStreamsRequest.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/datastream/v1/datastream.proto package com.google.cloud.datastream.v1; /** - * - * *
  * Request message for listing streams.
  * 
* * Protobuf type {@code google.cloud.datastream.v1.ListStreamsRequest} */ -public final class ListStreamsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListStreamsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1.ListStreamsRequest) ListStreamsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListStreamsRequest.newBuilder() to construct. private ListStreamsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListStreamsRequest() { parent_ = ""; pageToken_ = ""; @@ -46,15 +28,16 @@ private ListStreamsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListStreamsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListStreamsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,46 +56,42 @@ private ListStreamsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - orderBy_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + filter_ = s; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + orderBy_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -120,41 +99,34 @@ private ListStreamsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_ListStreamsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_ListStreamsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_ListStreamsRequest_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_ListStreamsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.ListStreamsRequest.class, - com.google.cloud.datastream.v1.ListStreamsRequest.Builder.class); + com.google.cloud.datastream.v1.ListStreamsRequest.class, com.google.cloud.datastream.v1.ListStreamsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The parent that owns the collection of streams.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -163,31 +135,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The parent that owns the collection of streams.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -198,8 +168,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * Maximum number of streams to return.
    * If unspecified, at most 50 streams will  be returned. The maximum
@@ -207,7 +175,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -218,8 +185,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * Page token received from a previous `ListStreams` call.
    * Provide this to retrieve the subsequent page.
@@ -228,7 +193,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -237,15 +201,14 @@ 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 received from a previous `ListStreams` call.
    * Provide this to retrieve the subsequent page.
@@ -254,15 +217,16 @@ public java.lang.String getPageToken() {
    * 
* * 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 { @@ -273,14 +237,11 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** - * - * *
    * Filter request.
    * 
* * string filter = 4; - * * @return The filter. */ @java.lang.Override @@ -289,29 +250,29 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** - * - * *
    * Filter request.
    * 
* * 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 { @@ -322,14 +283,11 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int ORDER_BY_FIELD_NUMBER = 5; private volatile java.lang.Object orderBy_; /** - * - * *
    * Order by fields for the result.
    * 
* * string order_by = 5; - * * @return The orderBy. */ @java.lang.Override @@ -338,29 +296,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; } } /** - * - * *
    * Order by fields for the result.
    * 
* * 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 { @@ -369,7 +327,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -381,7 +338,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -410,7 +368,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_); @@ -429,19 +388,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.datastream.v1.ListStreamsRequest)) { return super.equals(obj); } - com.google.cloud.datastream.v1.ListStreamsRequest other = - (com.google.cloud.datastream.v1.ListStreamsRequest) 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.datastream.v1.ListStreamsRequest other = (com.google.cloud.datastream.v1.ListStreamsRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; + if (!getOrderBy() + .equals(other.getOrderBy())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -469,126 +432,117 @@ public int hashCode() { } public static com.google.cloud.datastream.v1.ListStreamsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.ListStreamsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.ListStreamsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.ListStreamsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.ListStreamsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.ListStreamsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1.ListStreamsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.ListStreamsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.ListStreamsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1.ListStreamsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.ListStreamsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.ListStreamsRequest 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.datastream.v1.ListStreamsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.ListStreamsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datastream.v1.ListStreamsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for listing streams.
    * 
* * Protobuf type {@code google.cloud.datastream.v1.ListStreamsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1.ListStreamsRequest) com.google.cloud.datastream.v1.ListStreamsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_ListStreamsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_ListStreamsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_ListStreamsRequest_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_ListStreamsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.ListStreamsRequest.class, - com.google.cloud.datastream.v1.ListStreamsRequest.Builder.class); + com.google.cloud.datastream.v1.ListStreamsRequest.class, com.google.cloud.datastream.v1.ListStreamsRequest.Builder.class); } // Construct using com.google.cloud.datastream.v1.ListStreamsRequest.newBuilder() @@ -596,15 +550,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -622,9 +577,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_ListStreamsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_ListStreamsRequest_descriptor; } @java.lang.Override @@ -643,8 +598,7 @@ public com.google.cloud.datastream.v1.ListStreamsRequest build() { @java.lang.Override public com.google.cloud.datastream.v1.ListStreamsRequest buildPartial() { - com.google.cloud.datastream.v1.ListStreamsRequest result = - new com.google.cloud.datastream.v1.ListStreamsRequest(this); + com.google.cloud.datastream.v1.ListStreamsRequest result = new com.google.cloud.datastream.v1.ListStreamsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -658,39 +612,38 @@ public com.google.cloud.datastream.v1.ListStreamsRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1.ListStreamsRequest) { - return mergeFrom((com.google.cloud.datastream.v1.ListStreamsRequest) other); + return mergeFrom((com.google.cloud.datastream.v1.ListStreamsRequest)other); } else { super.mergeFrom(other); return this; @@ -698,8 +651,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datastream.v1.ListStreamsRequest other) { - if (other == com.google.cloud.datastream.v1.ListStreamsRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.datastream.v1.ListStreamsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -738,8 +690,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datastream.v1.ListStreamsRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datastream.v1.ListStreamsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -751,22 +702,18 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent that owns the collection of streams.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -775,23 +722,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent that owns the collection of streams.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -799,76 +743,61 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent that owns the collection of streams.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The parent that owns the collection of streams.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The parent that owns the collection of streams.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Maximum number of streams to return.
      * If unspecified, at most 50 streams will  be returned. The maximum
@@ -876,7 +805,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -884,8 +812,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Maximum number of streams to return.
      * If unspecified, at most 50 streams will  be returned. The maximum
@@ -893,19 +819,16 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * Maximum number of streams to return.
      * If unspecified, at most 50 streams will  be returned. The maximum
@@ -913,11 +836,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -925,8 +847,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * Page token received from a previous `ListStreams` call.
      * Provide this to retrieve the subsequent page.
@@ -935,13 +855,13 @@ public Builder clearPageSize() {
      * 
* * 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; @@ -950,8 +870,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * Page token received from a previous `ListStreams` call.
      * Provide this to retrieve the subsequent page.
@@ -960,14 +878,15 @@ public java.lang.String getPageToken() {
      * 
* * 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 { @@ -975,8 +894,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * Page token received from a previous `ListStreams` call.
      * Provide this to retrieve the subsequent page.
@@ -985,22 +902,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * Page token received from a previous `ListStreams` call.
      * Provide this to retrieve the subsequent page.
@@ -1009,18 +924,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * Page token received from a previous `ListStreams` call.
      * Provide this to retrieve the subsequent page.
@@ -1029,16 +941,16 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -1046,20 +958,18 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * Filter request.
      * 
* * 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; @@ -1068,21 +978,20 @@ public java.lang.String getFilter() { } } /** - * - * *
      * Filter request.
      * 
* * 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 { @@ -1090,61 +999,54 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * Filter request.
      * 
* * string filter = 4; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
      * Filter request.
      * 
* * string filter = 4; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * Filter request.
      * 
* * string filter = 4; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; @@ -1152,20 +1054,18 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { private java.lang.Object orderBy_ = ""; /** - * - * *
      * Order by fields for the result.
      * 
* * 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; @@ -1174,21 +1074,20 @@ public java.lang.String getOrderBy() { } } /** - * - * *
      * Order by fields for the result.
      * 
* * 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 { @@ -1196,68 +1095,61 @@ public com.google.protobuf.ByteString getOrderByBytes() { } } /** - * - * *
      * Order by fields for the result.
      * 
* * string order_by = 5; - * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy(java.lang.String value) { + public Builder setOrderBy( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; onChanged(); return this; } /** - * - * *
      * Order by fields for the result.
      * 
* * string order_by = 5; - * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** - * - * *
      * Order by fields for the result.
      * 
* * string order_by = 5; - * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + public Builder setOrderByBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1267,12 +1159,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1.ListStreamsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1.ListStreamsRequest) private static final com.google.cloud.datastream.v1.ListStreamsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1.ListStreamsRequest(); } @@ -1281,16 +1173,16 @@ public static com.google.cloud.datastream.v1.ListStreamsRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListStreamsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListStreamsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListStreamsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListStreamsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1305,4 +1197,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datastream.v1.ListStreamsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListStreamsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListStreamsRequestOrBuilder.java similarity index 64% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListStreamsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListStreamsRequestOrBuilder.java index a28162e6..37f5d587 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListStreamsRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListStreamsRequestOrBuilder.java @@ -1,60 +1,33 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1/datastream.proto package com.google.cloud.datastream.v1; -public interface ListStreamsRequestOrBuilder - extends +public interface ListStreamsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1.ListStreamsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The parent that owns the collection of streams.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The parent that owns the collection of streams.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Maximum number of streams to return.
    * If unspecified, at most 50 streams will  be returned. The maximum
@@ -62,14 +35,11 @@ public interface ListStreamsRequestOrBuilder
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * Page token received from a previous `ListStreams` call.
    * Provide this to retrieve the subsequent page.
@@ -78,13 +48,10 @@ public interface ListStreamsRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * Page token received from a previous `ListStreams` call.
    * Provide this to retrieve the subsequent page.
@@ -93,58 +60,48 @@ public interface ListStreamsRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * Filter request.
    * 
* * string filter = 4; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * Filter request.
    * 
* * string filter = 4; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * Order by fields for the result.
    * 
* * string order_by = 5; - * * @return The orderBy. */ java.lang.String getOrderBy(); /** - * - * *
    * Order by fields for the result.
    * 
* * string order_by = 5; - * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString getOrderByBytes(); + com.google.protobuf.ByteString + getOrderByBytes(); } diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListStreamsResponse.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListStreamsResponse.java similarity index 74% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListStreamsResponse.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListStreamsResponse.java index bd9e708b..41491c63 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListStreamsResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListStreamsResponse.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/datastream/v1/datastream.proto package com.google.cloud.datastream.v1; /** - * - * *
  * Response message for listing streams.
  * 
* * Protobuf type {@code google.cloud.datastream.v1.ListStreamsResponse} */ -public final class ListStreamsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListStreamsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1.ListStreamsResponse) ListStreamsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListStreamsResponse.newBuilder() to construct. private ListStreamsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListStreamsResponse() { streams_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -45,15 +27,16 @@ private ListStreamsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListStreamsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListStreamsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,41 +56,37 @@ private ListStreamsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - streams_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - streams_.add( - input.readMessage( - com.google.cloud.datastream.v1.Stream.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + streams_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + streams_.add( + input.readMessage(com.google.cloud.datastream.v1.Stream.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - unreachable_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; - } - unreachable_.add(s); - break; + nextPageToken_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + unreachable_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + unreachable_.add(s); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -115,7 +94,8 @@ private ListStreamsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { streams_ = java.util.Collections.unmodifiableList(streams_); @@ -127,27 +107,22 @@ private ListStreamsResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_ListStreamsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_ListStreamsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_ListStreamsResponse_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_ListStreamsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.ListStreamsResponse.class, - com.google.cloud.datastream.v1.ListStreamsResponse.Builder.class); + com.google.cloud.datastream.v1.ListStreamsResponse.class, com.google.cloud.datastream.v1.ListStreamsResponse.Builder.class); } public static final int STREAMS_FIELD_NUMBER = 1; private java.util.List streams_; /** - * - * *
    * List of streams
    * 
@@ -159,8 +134,6 @@ public java.util.List getStreamsList() { return streams_; } /** - * - * *
    * List of streams
    * 
@@ -168,13 +141,11 @@ public java.util.List getStreamsList() { * repeated .google.cloud.datastream.v1.Stream streams = 1; */ @java.lang.Override - public java.util.List + public java.util.List getStreamsOrBuilderList() { return streams_; } /** - * - * *
    * List of streams
    * 
@@ -186,8 +157,6 @@ public int getStreamsCount() { return streams_.size(); } /** - * - * *
    * List of streams
    * 
@@ -199,8 +168,6 @@ public com.google.cloud.datastream.v1.Stream getStreams(int index) { return streams_.get(index); } /** - * - * *
    * List of streams
    * 
@@ -208,22 +175,20 @@ public com.google.cloud.datastream.v1.Stream getStreams(int index) { * repeated .google.cloud.datastream.v1.Stream streams = 1; */ @java.lang.Override - public com.google.cloud.datastream.v1.StreamOrBuilder getStreamsOrBuilder(int index) { + public com.google.cloud.datastream.v1.StreamOrBuilder getStreamsOrBuilder( + int index) { return streams_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -232,30 +197,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -266,42 +231,34 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { public static final int UNREACHABLE_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList unreachable_; /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList getUnreachableList() { + public com.google.protobuf.ProtocolStringList + getUnreachableList() { return unreachable_; } /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -309,23 +266,20 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString getUnreachableBytes(int index) { + public com.google.protobuf.ByteString + getUnreachableBytes(int index) { return unreachable_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -337,7 +291,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 < streams_.size(); i++) { output.writeMessage(1, streams_.get(i)); } @@ -357,7 +312,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < streams_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, streams_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, streams_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -378,17 +334,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.datastream.v1.ListStreamsResponse)) { return super.equals(obj); } - com.google.cloud.datastream.v1.ListStreamsResponse other = - (com.google.cloud.datastream.v1.ListStreamsResponse) obj; + com.google.cloud.datastream.v1.ListStreamsResponse other = (com.google.cloud.datastream.v1.ListStreamsResponse) obj; - if (!getStreamsList().equals(other.getStreamsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; - if (!getUnreachableList().equals(other.getUnreachableList())) return false; + if (!getStreamsList() + .equals(other.getStreamsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; + if (!getUnreachableList() + .equals(other.getUnreachableList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -416,126 +374,117 @@ public int hashCode() { } public static com.google.cloud.datastream.v1.ListStreamsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.ListStreamsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.ListStreamsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.ListStreamsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.ListStreamsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.ListStreamsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1.ListStreamsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.ListStreamsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.ListStreamsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1.ListStreamsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.ListStreamsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.ListStreamsResponse 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.datastream.v1.ListStreamsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.ListStreamsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datastream.v1.ListStreamsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for listing streams.
    * 
* * Protobuf type {@code google.cloud.datastream.v1.ListStreamsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1.ListStreamsResponse) com.google.cloud.datastream.v1.ListStreamsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_ListStreamsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_ListStreamsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_ListStreamsResponse_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_ListStreamsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.ListStreamsResponse.class, - com.google.cloud.datastream.v1.ListStreamsResponse.Builder.class); + com.google.cloud.datastream.v1.ListStreamsResponse.class, com.google.cloud.datastream.v1.ListStreamsResponse.Builder.class); } // Construct using com.google.cloud.datastream.v1.ListStreamsResponse.newBuilder() @@ -543,17 +492,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getStreamsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -571,9 +520,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_ListStreamsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_ListStreamsResponse_descriptor; } @java.lang.Override @@ -592,8 +541,7 @@ public com.google.cloud.datastream.v1.ListStreamsResponse build() { @java.lang.Override public com.google.cloud.datastream.v1.ListStreamsResponse buildPartial() { - com.google.cloud.datastream.v1.ListStreamsResponse result = - new com.google.cloud.datastream.v1.ListStreamsResponse(this); + com.google.cloud.datastream.v1.ListStreamsResponse result = new com.google.cloud.datastream.v1.ListStreamsResponse(this); int from_bitField0_ = bitField0_; if (streamsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -618,39 +566,38 @@ public com.google.cloud.datastream.v1.ListStreamsResponse buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1.ListStreamsResponse) { - return mergeFrom((com.google.cloud.datastream.v1.ListStreamsResponse) other); + return mergeFrom((com.google.cloud.datastream.v1.ListStreamsResponse)other); } else { super.mergeFrom(other); return this; @@ -658,8 +605,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datastream.v1.ListStreamsResponse other) { - if (other == com.google.cloud.datastream.v1.ListStreamsResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.datastream.v1.ListStreamsResponse.getDefaultInstance()) return this; if (streamsBuilder_ == null) { if (!other.streams_.isEmpty()) { if (streams_.isEmpty()) { @@ -678,10 +624,9 @@ public Builder mergeFrom(com.google.cloud.datastream.v1.ListStreamsResponse othe streamsBuilder_ = null; streams_ = other.streams_; bitField0_ = (bitField0_ & ~0x00000001); - streamsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getStreamsFieldBuilder() - : null; + streamsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getStreamsFieldBuilder() : null; } else { streamsBuilder_.addAllMessages(other.streams_); } @@ -720,8 +665,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datastream.v1.ListStreamsResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datastream.v1.ListStreamsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -730,28 +674,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List streams_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureStreamsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { streams_ = new java.util.ArrayList(streams_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datastream.v1.Stream, - com.google.cloud.datastream.v1.Stream.Builder, - com.google.cloud.datastream.v1.StreamOrBuilder> - streamsBuilder_; + com.google.cloud.datastream.v1.Stream, com.google.cloud.datastream.v1.Stream.Builder, com.google.cloud.datastream.v1.StreamOrBuilder> streamsBuilder_; /** - * - * *
      * List of streams
      * 
@@ -766,8 +703,6 @@ public java.util.List getStreamsList() { } } /** - * - * *
      * List of streams
      * 
@@ -782,8 +717,6 @@ public int getStreamsCount() { } } /** - * - * *
      * List of streams
      * 
@@ -798,15 +731,14 @@ public com.google.cloud.datastream.v1.Stream getStreams(int index) { } } /** - * - * *
      * List of streams
      * 
* * repeated .google.cloud.datastream.v1.Stream streams = 1; */ - public Builder setStreams(int index, com.google.cloud.datastream.v1.Stream value) { + public Builder setStreams( + int index, com.google.cloud.datastream.v1.Stream value) { if (streamsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -820,8 +752,6 @@ public Builder setStreams(int index, com.google.cloud.datastream.v1.Stream value return this; } /** - * - * *
      * List of streams
      * 
@@ -840,8 +770,6 @@ public Builder setStreams( return this; } /** - * - * *
      * List of streams
      * 
@@ -862,15 +790,14 @@ public Builder addStreams(com.google.cloud.datastream.v1.Stream value) { return this; } /** - * - * *
      * List of streams
      * 
* * repeated .google.cloud.datastream.v1.Stream streams = 1; */ - public Builder addStreams(int index, com.google.cloud.datastream.v1.Stream value) { + public Builder addStreams( + int index, com.google.cloud.datastream.v1.Stream value) { if (streamsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -884,15 +811,14 @@ public Builder addStreams(int index, com.google.cloud.datastream.v1.Stream value return this; } /** - * - * *
      * List of streams
      * 
* * repeated .google.cloud.datastream.v1.Stream streams = 1; */ - public Builder addStreams(com.google.cloud.datastream.v1.Stream.Builder builderForValue) { + public Builder addStreams( + com.google.cloud.datastream.v1.Stream.Builder builderForValue) { if (streamsBuilder_ == null) { ensureStreamsIsMutable(); streams_.add(builderForValue.build()); @@ -903,8 +829,6 @@ public Builder addStreams(com.google.cloud.datastream.v1.Stream.Builder builderF return this; } /** - * - * *
      * List of streams
      * 
@@ -923,8 +847,6 @@ public Builder addStreams( return this; } /** - * - * *
      * List of streams
      * 
@@ -935,7 +857,8 @@ public Builder addAllStreams( java.lang.Iterable values) { if (streamsBuilder_ == null) { ensureStreamsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, streams_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, streams_); onChanged(); } else { streamsBuilder_.addAllMessages(values); @@ -943,8 +866,6 @@ public Builder addAllStreams( return this; } /** - * - * *
      * List of streams
      * 
@@ -962,8 +883,6 @@ public Builder clearStreams() { return this; } /** - * - * *
      * List of streams
      * 
@@ -981,44 +900,39 @@ public Builder removeStreams(int index) { return this; } /** - * - * *
      * List of streams
      * 
* * repeated .google.cloud.datastream.v1.Stream streams = 1; */ - public com.google.cloud.datastream.v1.Stream.Builder getStreamsBuilder(int index) { + public com.google.cloud.datastream.v1.Stream.Builder getStreamsBuilder( + int index) { return getStreamsFieldBuilder().getBuilder(index); } /** - * - * *
      * List of streams
      * 
* * repeated .google.cloud.datastream.v1.Stream streams = 1; */ - public com.google.cloud.datastream.v1.StreamOrBuilder getStreamsOrBuilder(int index) { + public com.google.cloud.datastream.v1.StreamOrBuilder getStreamsOrBuilder( + int index) { if (streamsBuilder_ == null) { - return streams_.get(index); - } else { + return streams_.get(index); } else { return streamsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * List of streams
      * 
* * repeated .google.cloud.datastream.v1.Stream streams = 1; */ - public java.util.List - getStreamsOrBuilderList() { + public java.util.List + getStreamsOrBuilderList() { if (streamsBuilder_ != null) { return streamsBuilder_.getMessageOrBuilderList(); } else { @@ -1026,8 +940,6 @@ public com.google.cloud.datastream.v1.StreamOrBuilder getStreamsOrBuilder(int in } } /** - * - * *
      * List of streams
      * 
@@ -1035,47 +947,42 @@ public com.google.cloud.datastream.v1.StreamOrBuilder getStreamsOrBuilder(int in * repeated .google.cloud.datastream.v1.Stream streams = 1; */ public com.google.cloud.datastream.v1.Stream.Builder addStreamsBuilder() { - return getStreamsFieldBuilder() - .addBuilder(com.google.cloud.datastream.v1.Stream.getDefaultInstance()); + return getStreamsFieldBuilder().addBuilder( + com.google.cloud.datastream.v1.Stream.getDefaultInstance()); } /** - * - * *
      * List of streams
      * 
* * repeated .google.cloud.datastream.v1.Stream streams = 1; */ - public com.google.cloud.datastream.v1.Stream.Builder addStreamsBuilder(int index) { - return getStreamsFieldBuilder() - .addBuilder(index, com.google.cloud.datastream.v1.Stream.getDefaultInstance()); + public com.google.cloud.datastream.v1.Stream.Builder addStreamsBuilder( + int index) { + return getStreamsFieldBuilder().addBuilder( + index, com.google.cloud.datastream.v1.Stream.getDefaultInstance()); } /** - * - * *
      * List of streams
      * 
* * repeated .google.cloud.datastream.v1.Stream streams = 1; */ - public java.util.List getStreamsBuilderList() { + public java.util.List + getStreamsBuilderList() { return getStreamsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datastream.v1.Stream, - com.google.cloud.datastream.v1.Stream.Builder, - com.google.cloud.datastream.v1.StreamOrBuilder> + com.google.cloud.datastream.v1.Stream, com.google.cloud.datastream.v1.Stream.Builder, com.google.cloud.datastream.v1.StreamOrBuilder> getStreamsFieldBuilder() { if (streamsBuilder_ == null) { - streamsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datastream.v1.Stream, - com.google.cloud.datastream.v1.Stream.Builder, - com.google.cloud.datastream.v1.StreamOrBuilder>( - streams_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + streamsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datastream.v1.Stream, com.google.cloud.datastream.v1.Stream.Builder, com.google.cloud.datastream.v1.StreamOrBuilder>( + streams_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); streams_ = null; } return streamsBuilder_; @@ -1083,21 +990,19 @@ public java.util.List getStreamsB private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * 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; @@ -1106,22 +1011,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1129,115 +1033,98 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList unreachable_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList unreachable_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureUnreachableIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList getUnreachableList() { + public com.google.protobuf.ProtocolStringList + getUnreachableList() { return unreachable_.getUnmodifiableView(); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1245,90 +1132,80 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString getUnreachableBytes(int index) { + public com.google.protobuf.ByteString + getUnreachableBytes(int index) { return unreachable_.getByteString(index); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param index The index to set the value at. * @param value The unreachable to set. * @return This builder for chaining. */ - public Builder setUnreachable(int index, java.lang.String value) { + public Builder setUnreachable( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.set(index, value); onChanged(); return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param value The unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachable(java.lang.String value) { + public Builder addUnreachable( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.add(value); onChanged(); return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param values The unreachable to add. * @return This builder for chaining. */ - public Builder addAllUnreachable(java.lang.Iterable values) { + public Builder addAllUnreachable( + java.lang.Iterable values) { ensureUnreachableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachable_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, unreachable_); onChanged(); return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @return This builder for chaining. */ public Builder clearUnreachable() { @@ -1338,30 +1215,28 @@ public Builder clearUnreachable() { return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param value The bytes of the unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { + public Builder addUnreachableBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.add(value); onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1371,12 +1246,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1.ListStreamsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1.ListStreamsResponse) private static final com.google.cloud.datastream.v1.ListStreamsResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1.ListStreamsResponse(); } @@ -1385,16 +1260,16 @@ public static com.google.cloud.datastream.v1.ListStreamsResponse getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListStreamsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListStreamsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListStreamsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListStreamsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1409,4 +1284,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datastream.v1.ListStreamsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListStreamsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListStreamsResponseOrBuilder.java similarity index 71% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListStreamsResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListStreamsResponseOrBuilder.java index 81f14af8..1ed1443c 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListStreamsResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListStreamsResponseOrBuilder.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/datastream/v1/datastream.proto package com.google.cloud.datastream.v1; -public interface ListStreamsResponseOrBuilder - extends +public interface ListStreamsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1.ListStreamsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * List of streams
    * 
* * repeated .google.cloud.datastream.v1.Stream streams = 1; */ - java.util.List getStreamsList(); + java.util.List + getStreamsList(); /** - * - * *
    * List of streams
    * 
@@ -44,8 +25,6 @@ public interface ListStreamsResponseOrBuilder */ com.google.cloud.datastream.v1.Stream getStreams(int index); /** - * - * *
    * List of streams
    * 
@@ -54,102 +33,84 @@ public interface ListStreamsResponseOrBuilder */ int getStreamsCount(); /** - * - * *
    * List of streams
    * 
* * repeated .google.cloud.datastream.v1.Stream streams = 1; */ - java.util.List + java.util.List getStreamsOrBuilderList(); /** - * - * *
    * List of streams
    * 
* * repeated .google.cloud.datastream.v1.Stream streams = 1; */ - com.google.cloud.datastream.v1.StreamOrBuilder getStreamsOrBuilder(int index); + com.google.cloud.datastream.v1.StreamOrBuilder getStreamsOrBuilder( + int index); /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - java.util.List getUnreachableList(); + java.util.List + getUnreachableList(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ int getUnreachableCount(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ java.lang.String getUnreachable(int index); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - com.google.protobuf.ByteString getUnreachableBytes(int index); + com.google.protobuf.ByteString + getUnreachableBytes(int index); } diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/LocationName.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/LocationName.java similarity index 100% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/LocationName.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/LocationName.java diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/LookupStreamObjectRequest.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/LookupStreamObjectRequest.java similarity index 62% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/LookupStreamObjectRequest.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/LookupStreamObjectRequest.java index 9edc5362..c72902f2 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/LookupStreamObjectRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/LookupStreamObjectRequest.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/datastream/v1/datastream.proto package com.google.cloud.datastream.v1; /** - * - * *
  * Request for looking up a specific stream object by its source object
  * identifier.
@@ -28,31 +11,31 @@
  *
  * Protobuf type {@code google.cloud.datastream.v1.LookupStreamObjectRequest}
  */
-public final class LookupStreamObjectRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class LookupStreamObjectRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1.LookupStreamObjectRequest)
     LookupStreamObjectRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use LookupStreamObjectRequest.newBuilder() to construct.
   private LookupStreamObjectRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private LookupStreamObjectRequest() {
     parent_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new LookupStreamObjectRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private LookupStreamObjectRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -71,37 +54,32 @@ private LookupStreamObjectRequest(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              parent_ = s;
-              break;
+            parent_ = s;
+            break;
+          }
+          case 18: {
+            com.google.cloud.datastream.v1.SourceObjectIdentifier.Builder subBuilder = null;
+            if (sourceObjectIdentifier_ != null) {
+              subBuilder = sourceObjectIdentifier_.toBuilder();
             }
-          case 18:
-            {
-              com.google.cloud.datastream.v1.SourceObjectIdentifier.Builder subBuilder = null;
-              if (sourceObjectIdentifier_ != null) {
-                subBuilder = sourceObjectIdentifier_.toBuilder();
-              }
-              sourceObjectIdentifier_ =
-                  input.readMessage(
-                      com.google.cloud.datastream.v1.SourceObjectIdentifier.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(sourceObjectIdentifier_);
-                sourceObjectIdentifier_ = subBuilder.buildPartial();
-              }
-
-              break;
+            sourceObjectIdentifier_ = input.readMessage(com.google.cloud.datastream.v1.SourceObjectIdentifier.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(sourceObjectIdentifier_);
+              sourceObjectIdentifier_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -109,41 +87,34 @@ private LookupStreamObjectRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datastream.v1.DatastreamProto
-        .internal_static_google_cloud_datastream_v1_LookupStreamObjectRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_LookupStreamObjectRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datastream.v1.DatastreamProto
-        .internal_static_google_cloud_datastream_v1_LookupStreamObjectRequest_fieldAccessorTable
+    return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_LookupStreamObjectRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datastream.v1.LookupStreamObjectRequest.class,
-            com.google.cloud.datastream.v1.LookupStreamObjectRequest.Builder.class);
+            com.google.cloud.datastream.v1.LookupStreamObjectRequest.class, com.google.cloud.datastream.v1.LookupStreamObjectRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
   private volatile java.lang.Object parent_;
   /**
-   *
-   *
    * 
    * Required. The parent stream that owns the collection of objects.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -152,31 +123,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The parent stream that owns the collection of objects.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -187,16 +156,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int SOURCE_OBJECT_IDENTIFIER_FIELD_NUMBER = 2; private com.google.cloud.datastream.v1.SourceObjectIdentifier sourceObjectIdentifier_; /** - * - * *
    * Required. The source object identifier which maps to the stream object.
    * 
* - * - * .google.cloud.datastream.v1.SourceObjectIdentifier source_object_identifier = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datastream.v1.SourceObjectIdentifier source_object_identifier = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the sourceObjectIdentifier field is set. */ @java.lang.Override @@ -204,43 +168,30 @@ public boolean hasSourceObjectIdentifier() { return sourceObjectIdentifier_ != null; } /** - * - * *
    * Required. The source object identifier which maps to the stream object.
    * 
* - * - * .google.cloud.datastream.v1.SourceObjectIdentifier source_object_identifier = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datastream.v1.SourceObjectIdentifier source_object_identifier = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The sourceObjectIdentifier. */ @java.lang.Override public com.google.cloud.datastream.v1.SourceObjectIdentifier getSourceObjectIdentifier() { - return sourceObjectIdentifier_ == null - ? com.google.cloud.datastream.v1.SourceObjectIdentifier.getDefaultInstance() - : sourceObjectIdentifier_; + return sourceObjectIdentifier_ == null ? com.google.cloud.datastream.v1.SourceObjectIdentifier.getDefaultInstance() : sourceObjectIdentifier_; } /** - * - * *
    * Required. The source object identifier which maps to the stream object.
    * 
* - * - * .google.cloud.datastream.v1.SourceObjectIdentifier source_object_identifier = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1.SourceObjectIdentifier source_object_identifier = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.datastream.v1.SourceObjectIdentifierOrBuilder - getSourceObjectIdentifierOrBuilder() { + public com.google.cloud.datastream.v1.SourceObjectIdentifierOrBuilder getSourceObjectIdentifierOrBuilder() { return getSourceObjectIdentifier(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -252,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(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -272,8 +224,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (sourceObjectIdentifier_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(2, getSourceObjectIdentifier()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getSourceObjectIdentifier()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -283,18 +235,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.datastream.v1.LookupStreamObjectRequest)) { return super.equals(obj); } - com.google.cloud.datastream.v1.LookupStreamObjectRequest other = - (com.google.cloud.datastream.v1.LookupStreamObjectRequest) obj; + com.google.cloud.datastream.v1.LookupStreamObjectRequest other = (com.google.cloud.datastream.v1.LookupStreamObjectRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasSourceObjectIdentifier() != other.hasSourceObjectIdentifier()) return false; if (hasSourceObjectIdentifier()) { - if (!getSourceObjectIdentifier().equals(other.getSourceObjectIdentifier())) return false; + if (!getSourceObjectIdentifier() + .equals(other.getSourceObjectIdentifier())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -319,104 +272,96 @@ public int hashCode() { } public static com.google.cloud.datastream.v1.LookupStreamObjectRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.LookupStreamObjectRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.LookupStreamObjectRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.LookupStreamObjectRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.LookupStreamObjectRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.LookupStreamObjectRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1.LookupStreamObjectRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.LookupStreamObjectRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.LookupStreamObjectRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1.LookupStreamObjectRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.LookupStreamObjectRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.LookupStreamObjectRequest 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.datastream.v1.LookupStreamObjectRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.LookupStreamObjectRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datastream.v1.LookupStreamObjectRequest prototype) { + public static Builder newBuilder(com.google.cloud.datastream.v1.LookupStreamObjectRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 looking up a specific stream object by its source object
    * identifier.
@@ -424,23 +369,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datastream.v1.LookupStreamObjectRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1.LookupStreamObjectRequest)
       com.google.cloud.datastream.v1.LookupStreamObjectRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datastream.v1.DatastreamProto
-          .internal_static_google_cloud_datastream_v1_LookupStreamObjectRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_LookupStreamObjectRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datastream.v1.DatastreamProto
-          .internal_static_google_cloud_datastream_v1_LookupStreamObjectRequest_fieldAccessorTable
+      return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_LookupStreamObjectRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datastream.v1.LookupStreamObjectRequest.class,
-              com.google.cloud.datastream.v1.LookupStreamObjectRequest.Builder.class);
+              com.google.cloud.datastream.v1.LookupStreamObjectRequest.class, com.google.cloud.datastream.v1.LookupStreamObjectRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datastream.v1.LookupStreamObjectRequest.newBuilder()
@@ -448,15 +391,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -472,9 +416,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datastream.v1.DatastreamProto
-          .internal_static_google_cloud_datastream_v1_LookupStreamObjectRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_LookupStreamObjectRequest_descriptor;
     }
 
     @java.lang.Override
@@ -493,8 +437,7 @@ public com.google.cloud.datastream.v1.LookupStreamObjectRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datastream.v1.LookupStreamObjectRequest buildPartial() {
-      com.google.cloud.datastream.v1.LookupStreamObjectRequest result =
-          new com.google.cloud.datastream.v1.LookupStreamObjectRequest(this);
+      com.google.cloud.datastream.v1.LookupStreamObjectRequest result = new com.google.cloud.datastream.v1.LookupStreamObjectRequest(this);
       result.parent_ = parent_;
       if (sourceObjectIdentifierBuilder_ == null) {
         result.sourceObjectIdentifier_ = sourceObjectIdentifier_;
@@ -509,39 +452,38 @@ public com.google.cloud.datastream.v1.LookupStreamObjectRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datastream.v1.LookupStreamObjectRequest) {
-        return mergeFrom((com.google.cloud.datastream.v1.LookupStreamObjectRequest) other);
+        return mergeFrom((com.google.cloud.datastream.v1.LookupStreamObjectRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -549,8 +491,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datastream.v1.LookupStreamObjectRequest other) {
-      if (other == com.google.cloud.datastream.v1.LookupStreamObjectRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datastream.v1.LookupStreamObjectRequest.getDefaultInstance()) return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         onChanged();
@@ -577,8 +518,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.datastream.v1.LookupStreamObjectRequest) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.datastream.v1.LookupStreamObjectRequest) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -590,22 +530,18 @@ public Builder mergeFrom(
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * Required. The parent stream that owns the collection of objects.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -614,23 +550,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent stream that owns the collection of objects.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -638,67 +571,54 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent stream that owns the collection of objects.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The parent stream that owns the collection of objects.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The parent stream that owns the collection of objects.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -706,61 +626,41 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.datastream.v1.SourceObjectIdentifier sourceObjectIdentifier_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.SourceObjectIdentifier, - com.google.cloud.datastream.v1.SourceObjectIdentifier.Builder, - com.google.cloud.datastream.v1.SourceObjectIdentifierOrBuilder> - sourceObjectIdentifierBuilder_; + com.google.cloud.datastream.v1.SourceObjectIdentifier, com.google.cloud.datastream.v1.SourceObjectIdentifier.Builder, com.google.cloud.datastream.v1.SourceObjectIdentifierOrBuilder> sourceObjectIdentifierBuilder_; /** - * - * *
      * Required. The source object identifier which maps to the stream object.
      * 
* - * - * .google.cloud.datastream.v1.SourceObjectIdentifier source_object_identifier = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datastream.v1.SourceObjectIdentifier source_object_identifier = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the sourceObjectIdentifier field is set. */ public boolean hasSourceObjectIdentifier() { return sourceObjectIdentifierBuilder_ != null || sourceObjectIdentifier_ != null; } /** - * - * *
      * Required. The source object identifier which maps to the stream object.
      * 
* - * - * .google.cloud.datastream.v1.SourceObjectIdentifier source_object_identifier = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datastream.v1.SourceObjectIdentifier source_object_identifier = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The sourceObjectIdentifier. */ public com.google.cloud.datastream.v1.SourceObjectIdentifier getSourceObjectIdentifier() { if (sourceObjectIdentifierBuilder_ == null) { - return sourceObjectIdentifier_ == null - ? com.google.cloud.datastream.v1.SourceObjectIdentifier.getDefaultInstance() - : sourceObjectIdentifier_; + return sourceObjectIdentifier_ == null ? com.google.cloud.datastream.v1.SourceObjectIdentifier.getDefaultInstance() : sourceObjectIdentifier_; } else { return sourceObjectIdentifierBuilder_.getMessage(); } } /** - * - * *
      * Required. The source object identifier which maps to the stream object.
      * 
* - * - * .google.cloud.datastream.v1.SourceObjectIdentifier source_object_identifier = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1.SourceObjectIdentifier source_object_identifier = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setSourceObjectIdentifier( - com.google.cloud.datastream.v1.SourceObjectIdentifier value) { + public Builder setSourceObjectIdentifier(com.google.cloud.datastream.v1.SourceObjectIdentifier value) { if (sourceObjectIdentifierBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -774,15 +674,11 @@ public Builder setSourceObjectIdentifier( return this; } /** - * - * *
      * Required. The source object identifier which maps to the stream object.
      * 
* - * - * .google.cloud.datastream.v1.SourceObjectIdentifier source_object_identifier = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1.SourceObjectIdentifier source_object_identifier = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setSourceObjectIdentifier( com.google.cloud.datastream.v1.SourceObjectIdentifier.Builder builderForValue) { @@ -796,25 +692,17 @@ public Builder setSourceObjectIdentifier( return this; } /** - * - * *
      * Required. The source object identifier which maps to the stream object.
      * 
* - * - * .google.cloud.datastream.v1.SourceObjectIdentifier source_object_identifier = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1.SourceObjectIdentifier source_object_identifier = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeSourceObjectIdentifier( - com.google.cloud.datastream.v1.SourceObjectIdentifier value) { + public Builder mergeSourceObjectIdentifier(com.google.cloud.datastream.v1.SourceObjectIdentifier value) { if (sourceObjectIdentifierBuilder_ == null) { if (sourceObjectIdentifier_ != null) { sourceObjectIdentifier_ = - com.google.cloud.datastream.v1.SourceObjectIdentifier.newBuilder( - sourceObjectIdentifier_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.datastream.v1.SourceObjectIdentifier.newBuilder(sourceObjectIdentifier_).mergeFrom(value).buildPartial(); } else { sourceObjectIdentifier_ = value; } @@ -826,15 +714,11 @@ public Builder mergeSourceObjectIdentifier( return this; } /** - * - * *
      * Required. The source object identifier which maps to the stream object.
      * 
* - * - * .google.cloud.datastream.v1.SourceObjectIdentifier source_object_identifier = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1.SourceObjectIdentifier source_object_identifier = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearSourceObjectIdentifier() { if (sourceObjectIdentifierBuilder_ == null) { @@ -848,73 +732,55 @@ public Builder clearSourceObjectIdentifier() { return this; } /** - * - * *
      * Required. The source object identifier which maps to the stream object.
      * 
* - * - * .google.cloud.datastream.v1.SourceObjectIdentifier source_object_identifier = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1.SourceObjectIdentifier source_object_identifier = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.datastream.v1.SourceObjectIdentifier.Builder - getSourceObjectIdentifierBuilder() { - + public com.google.cloud.datastream.v1.SourceObjectIdentifier.Builder getSourceObjectIdentifierBuilder() { + onChanged(); return getSourceObjectIdentifierFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The source object identifier which maps to the stream object.
      * 
* - * - * .google.cloud.datastream.v1.SourceObjectIdentifier source_object_identifier = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1.SourceObjectIdentifier source_object_identifier = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.datastream.v1.SourceObjectIdentifierOrBuilder - getSourceObjectIdentifierOrBuilder() { + public com.google.cloud.datastream.v1.SourceObjectIdentifierOrBuilder getSourceObjectIdentifierOrBuilder() { if (sourceObjectIdentifierBuilder_ != null) { return sourceObjectIdentifierBuilder_.getMessageOrBuilder(); } else { - return sourceObjectIdentifier_ == null - ? com.google.cloud.datastream.v1.SourceObjectIdentifier.getDefaultInstance() - : sourceObjectIdentifier_; + return sourceObjectIdentifier_ == null ? + com.google.cloud.datastream.v1.SourceObjectIdentifier.getDefaultInstance() : sourceObjectIdentifier_; } } /** - * - * *
      * Required. The source object identifier which maps to the stream object.
      * 
* - * - * .google.cloud.datastream.v1.SourceObjectIdentifier source_object_identifier = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1.SourceObjectIdentifier source_object_identifier = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.SourceObjectIdentifier, - com.google.cloud.datastream.v1.SourceObjectIdentifier.Builder, - com.google.cloud.datastream.v1.SourceObjectIdentifierOrBuilder> + com.google.cloud.datastream.v1.SourceObjectIdentifier, com.google.cloud.datastream.v1.SourceObjectIdentifier.Builder, com.google.cloud.datastream.v1.SourceObjectIdentifierOrBuilder> getSourceObjectIdentifierFieldBuilder() { if (sourceObjectIdentifierBuilder_ == null) { - sourceObjectIdentifierBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.SourceObjectIdentifier, - com.google.cloud.datastream.v1.SourceObjectIdentifier.Builder, - com.google.cloud.datastream.v1.SourceObjectIdentifierOrBuilder>( - getSourceObjectIdentifier(), getParentForChildren(), isClean()); + sourceObjectIdentifierBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1.SourceObjectIdentifier, com.google.cloud.datastream.v1.SourceObjectIdentifier.Builder, com.google.cloud.datastream.v1.SourceObjectIdentifierOrBuilder>( + getSourceObjectIdentifier(), + getParentForChildren(), + isClean()); sourceObjectIdentifier_ = null; } return sourceObjectIdentifierBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -924,12 +790,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1.LookupStreamObjectRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1.LookupStreamObjectRequest) private static final com.google.cloud.datastream.v1.LookupStreamObjectRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1.LookupStreamObjectRequest(); } @@ -938,16 +804,16 @@ public static com.google.cloud.datastream.v1.LookupStreamObjectRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LookupStreamObjectRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new LookupStreamObjectRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LookupStreamObjectRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new LookupStreamObjectRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -962,4 +828,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.datastream.v1.LookupStreamObjectRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/LookupStreamObjectRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/LookupStreamObjectRequestOrBuilder.java new file mode 100644 index 00000000..fb7a4690 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/LookupStreamObjectRequestOrBuilder.java @@ -0,0 +1,56 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datastream/v1/datastream.proto + +package com.google.cloud.datastream.v1; + +public interface LookupStreamObjectRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1.LookupStreamObjectRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The parent stream that owns the collection of objects.
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The parent. + */ + java.lang.String getParent(); + /** + *
+   * Required. The parent stream that owns the collection of objects.
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for parent. + */ + com.google.protobuf.ByteString + getParentBytes(); + + /** + *
+   * Required. The source object identifier which maps to the stream object.
+   * 
+ * + * .google.cloud.datastream.v1.SourceObjectIdentifier source_object_identifier = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return Whether the sourceObjectIdentifier field is set. + */ + boolean hasSourceObjectIdentifier(); + /** + *
+   * Required. The source object identifier which maps to the stream object.
+   * 
+ * + * .google.cloud.datastream.v1.SourceObjectIdentifier source_object_identifier = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The sourceObjectIdentifier. + */ + com.google.cloud.datastream.v1.SourceObjectIdentifier getSourceObjectIdentifier(); + /** + *
+   * Required. The source object identifier which maps to the stream object.
+   * 
+ * + * .google.cloud.datastream.v1.SourceObjectIdentifier source_object_identifier = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.cloud.datastream.v1.SourceObjectIdentifierOrBuilder getSourceObjectIdentifierOrBuilder(); +} diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/MysqlColumn.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/MysqlColumn.java similarity index 73% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/MysqlColumn.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/MysqlColumn.java index feae5848..361e8381 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/MysqlColumn.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/MysqlColumn.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/datastream/v1/datastream_resources.proto package com.google.cloud.datastream.v1; /** - * - * *
  * MySQL Column.
  * 
* * Protobuf type {@code google.cloud.datastream.v1.MysqlColumn} */ -public final class MysqlColumn extends com.google.protobuf.GeneratedMessageV3 - implements +public final class MysqlColumn extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1.MysqlColumn) MysqlColumnOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use MysqlColumn.newBuilder() to construct. private MysqlColumn(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private MysqlColumn() { column_ = ""; dataType_ = ""; @@ -45,15 +27,16 @@ private MysqlColumn() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new MysqlColumn(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private MysqlColumn( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,54 +55,51 @@ private MysqlColumn( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - column_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + column_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - dataType_ = s; - break; - } - case 24: - { - length_ = input.readInt32(); - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + dataType_ = s; + break; + } + case 24: { - collation_ = s; - break; - } - case 40: - { - primaryKey_ = input.readBool(); - break; - } - case 48: - { - nullable_ = input.readBool(); - break; - } - case 56: - { - ordinalPosition_ = input.readInt32(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + length_ = input.readInt32(); + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + collation_ = s; + break; + } + case 40: { + + primaryKey_ = input.readBool(); + break; + } + case 48: { + + nullable_ = input.readBool(); + break; + } + case 56: { + + ordinalPosition_ = input.readInt32(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -127,39 +107,34 @@ private MysqlColumn( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_MysqlColumn_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_MysqlColumn_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_MysqlColumn_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_MysqlColumn_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.MysqlColumn.class, - com.google.cloud.datastream.v1.MysqlColumn.Builder.class); + com.google.cloud.datastream.v1.MysqlColumn.class, com.google.cloud.datastream.v1.MysqlColumn.Builder.class); } public static final int COLUMN_FIELD_NUMBER = 1; private volatile java.lang.Object column_; /** - * - * *
    * Column name.
    * 
* * string column = 1; - * * @return The column. */ @java.lang.Override @@ -168,29 +143,29 @@ public java.lang.String getColumn() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); column_ = s; return s; } } /** - * - * *
    * Column name.
    * 
* * string column = 1; - * * @return The bytes for column. */ @java.lang.Override - public com.google.protobuf.ByteString getColumnBytes() { + public com.google.protobuf.ByteString + getColumnBytes() { java.lang.Object ref = column_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); column_ = b; return b; } else { @@ -201,15 +176,12 @@ public com.google.protobuf.ByteString getColumnBytes() { public static final int DATA_TYPE_FIELD_NUMBER = 2; private volatile java.lang.Object dataType_; /** - * - * *
    * The MySQL data type. Full data types list can be found here:
    * https://dev.mysql.com/doc/refman/8.0/en/data-types.html
    * 
* * string data_type = 2; - * * @return The dataType. */ @java.lang.Override @@ -218,30 +190,30 @@ public java.lang.String getDataType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dataType_ = s; return s; } } /** - * - * *
    * The MySQL data type. Full data types list can be found here:
    * https://dev.mysql.com/doc/refman/8.0/en/data-types.html
    * 
* * string data_type = 2; - * * @return The bytes for dataType. */ @java.lang.Override - public com.google.protobuf.ByteString getDataTypeBytes() { + public com.google.protobuf.ByteString + getDataTypeBytes() { java.lang.Object ref = dataType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); dataType_ = b; return b; } else { @@ -252,14 +224,11 @@ public com.google.protobuf.ByteString getDataTypeBytes() { public static final int LENGTH_FIELD_NUMBER = 3; private int length_; /** - * - * *
    * Column length.
    * 
* * int32 length = 3; - * * @return The length. */ @java.lang.Override @@ -270,14 +239,11 @@ public int getLength() { public static final int COLLATION_FIELD_NUMBER = 4; private volatile java.lang.Object collation_; /** - * - * *
    * Column collation.
    * 
* * string collation = 4; - * * @return The collation. */ @java.lang.Override @@ -286,29 +252,29 @@ public java.lang.String getCollation() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); collation_ = s; return s; } } /** - * - * *
    * Column collation.
    * 
* * string collation = 4; - * * @return The bytes for collation. */ @java.lang.Override - public com.google.protobuf.ByteString getCollationBytes() { + public com.google.protobuf.ByteString + getCollationBytes() { java.lang.Object ref = collation_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); collation_ = b; return b; } else { @@ -319,14 +285,11 @@ public com.google.protobuf.ByteString getCollationBytes() { public static final int PRIMARY_KEY_FIELD_NUMBER = 5; private boolean primaryKey_; /** - * - * *
    * Whether or not the column represents a primary key.
    * 
* * bool primary_key = 5; - * * @return The primaryKey. */ @java.lang.Override @@ -337,14 +300,11 @@ public boolean getPrimaryKey() { public static final int NULLABLE_FIELD_NUMBER = 6; private boolean nullable_; /** - * - * *
    * Whether or not the column can accept a null value.
    * 
* * bool nullable = 6; - * * @return The nullable. */ @java.lang.Override @@ -355,14 +315,11 @@ public boolean getNullable() { public static final int ORDINAL_POSITION_FIELD_NUMBER = 7; private int ordinalPosition_; /** - * - * *
    * The ordinal position of the column in the table.
    * 
* * int32 ordinal_position = 7; - * * @return The ordinalPosition. */ @java.lang.Override @@ -371,7 +328,6 @@ public int getOrdinalPosition() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -383,7 +339,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(column_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, column_); } @@ -421,19 +378,23 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, dataType_); } if (length_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, length_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, length_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(collation_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, collation_); } if (primaryKey_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, primaryKey_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, primaryKey_); } if (nullable_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, nullable_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(6, nullable_); } if (ordinalPosition_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(7, ordinalPosition_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(7, ordinalPosition_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -443,21 +404,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.datastream.v1.MysqlColumn)) { return super.equals(obj); } - com.google.cloud.datastream.v1.MysqlColumn other = - (com.google.cloud.datastream.v1.MysqlColumn) obj; - - if (!getColumn().equals(other.getColumn())) return false; - if (!getDataType().equals(other.getDataType())) return false; - if (getLength() != other.getLength()) return false; - if (!getCollation().equals(other.getCollation())) return false; - if (getPrimaryKey() != other.getPrimaryKey()) return false; - if (getNullable() != other.getNullable()) return false; - if (getOrdinalPosition() != other.getOrdinalPosition()) return false; + com.google.cloud.datastream.v1.MysqlColumn other = (com.google.cloud.datastream.v1.MysqlColumn) obj; + + if (!getColumn() + .equals(other.getColumn())) return false; + if (!getDataType() + .equals(other.getDataType())) return false; + if (getLength() + != other.getLength()) return false; + if (!getCollation() + .equals(other.getCollation())) return false; + if (getPrimaryKey() + != other.getPrimaryKey()) return false; + if (getNullable() + != other.getNullable()) return false; + if (getOrdinalPosition() + != other.getOrdinalPosition()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -478,9 +445,11 @@ public int hashCode() { hash = (37 * hash) + COLLATION_FIELD_NUMBER; hash = (53 * hash) + getCollation().hashCode(); hash = (37 * hash) + PRIMARY_KEY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getPrimaryKey()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getPrimaryKey()); hash = (37 * hash) + NULLABLE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getNullable()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getNullable()); hash = (37 * hash) + ORDINAL_POSITION_FIELD_NUMBER; hash = (53 * hash) + getOrdinalPosition(); hash = (29 * hash) + unknownFields.hashCode(); @@ -488,127 +457,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.datastream.v1.MysqlColumn parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.datastream.v1.MysqlColumn parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.MysqlColumn parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.MysqlColumn parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.MysqlColumn parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.MysqlColumn parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.MysqlColumn parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.MysqlColumn 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.datastream.v1.MysqlColumn parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1.MysqlColumn parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.MysqlColumn parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.MysqlColumn 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.datastream.v1.MysqlColumn parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.MysqlColumn parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datastream.v1.MysqlColumn prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * MySQL Column.
    * 
* * Protobuf type {@code google.cloud.datastream.v1.MysqlColumn} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1.MysqlColumn) com.google.cloud.datastream.v1.MysqlColumnOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_MysqlColumn_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_MysqlColumn_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_MysqlColumn_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_MysqlColumn_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.MysqlColumn.class, - com.google.cloud.datastream.v1.MysqlColumn.Builder.class); + com.google.cloud.datastream.v1.MysqlColumn.class, com.google.cloud.datastream.v1.MysqlColumn.Builder.class); } // Construct using com.google.cloud.datastream.v1.MysqlColumn.newBuilder() @@ -616,15 +576,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -646,9 +607,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_MysqlColumn_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_MysqlColumn_descriptor; } @java.lang.Override @@ -667,8 +628,7 @@ public com.google.cloud.datastream.v1.MysqlColumn build() { @java.lang.Override public com.google.cloud.datastream.v1.MysqlColumn buildPartial() { - com.google.cloud.datastream.v1.MysqlColumn result = - new com.google.cloud.datastream.v1.MysqlColumn(this); + com.google.cloud.datastream.v1.MysqlColumn result = new com.google.cloud.datastream.v1.MysqlColumn(this); result.column_ = column_; result.dataType_ = dataType_; result.length_ = length_; @@ -684,39 +644,38 @@ public com.google.cloud.datastream.v1.MysqlColumn buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1.MysqlColumn) { - return mergeFrom((com.google.cloud.datastream.v1.MysqlColumn) other); + return mergeFrom((com.google.cloud.datastream.v1.MysqlColumn)other); } else { super.mergeFrom(other); return this; @@ -780,20 +739,18 @@ public Builder mergeFrom( private java.lang.Object column_ = ""; /** - * - * *
      * Column name.
      * 
* * string column = 1; - * * @return The column. */ public java.lang.String getColumn() { java.lang.Object ref = column_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); column_ = s; return s; @@ -802,21 +759,20 @@ public java.lang.String getColumn() { } } /** - * - * *
      * Column name.
      * 
* * string column = 1; - * * @return The bytes for column. */ - public com.google.protobuf.ByteString getColumnBytes() { + public com.google.protobuf.ByteString + getColumnBytes() { java.lang.Object ref = column_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); column_ = b; return b; } else { @@ -824,61 +780,54 @@ public com.google.protobuf.ByteString getColumnBytes() { } } /** - * - * *
      * Column name.
      * 
* * string column = 1; - * * @param value The column to set. * @return This builder for chaining. */ - public Builder setColumn(java.lang.String value) { + public Builder setColumn( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + column_ = value; onChanged(); return this; } /** - * - * *
      * Column name.
      * 
* * string column = 1; - * * @return This builder for chaining. */ public Builder clearColumn() { - + column_ = getDefaultInstance().getColumn(); onChanged(); return this; } /** - * - * *
      * Column name.
      * 
* * string column = 1; - * * @param value The bytes for column to set. * @return This builder for chaining. */ - public Builder setColumnBytes(com.google.protobuf.ByteString value) { + public Builder setColumnBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + column_ = value; onChanged(); return this; @@ -886,21 +835,19 @@ public Builder setColumnBytes(com.google.protobuf.ByteString value) { private java.lang.Object dataType_ = ""; /** - * - * *
      * The MySQL data type. Full data types list can be found here:
      * https://dev.mysql.com/doc/refman/8.0/en/data-types.html
      * 
* * string data_type = 2; - * * @return The dataType. */ public java.lang.String getDataType() { java.lang.Object ref = dataType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dataType_ = s; return s; @@ -909,22 +856,21 @@ public java.lang.String getDataType() { } } /** - * - * *
      * The MySQL data type. Full data types list can be found here:
      * https://dev.mysql.com/doc/refman/8.0/en/data-types.html
      * 
* * string data_type = 2; - * * @return The bytes for dataType. */ - public com.google.protobuf.ByteString getDataTypeBytes() { + public com.google.protobuf.ByteString + getDataTypeBytes() { java.lang.Object ref = dataType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); dataType_ = b; return b; } else { @@ -932,79 +878,69 @@ public com.google.protobuf.ByteString getDataTypeBytes() { } } /** - * - * *
      * The MySQL data type. Full data types list can be found here:
      * https://dev.mysql.com/doc/refman/8.0/en/data-types.html
      * 
* * string data_type = 2; - * * @param value The dataType to set. * @return This builder for chaining. */ - public Builder setDataType(java.lang.String value) { + public Builder setDataType( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + dataType_ = value; onChanged(); return this; } /** - * - * *
      * The MySQL data type. Full data types list can be found here:
      * https://dev.mysql.com/doc/refman/8.0/en/data-types.html
      * 
* * string data_type = 2; - * * @return This builder for chaining. */ public Builder clearDataType() { - + dataType_ = getDefaultInstance().getDataType(); onChanged(); return this; } /** - * - * *
      * The MySQL data type. Full data types list can be found here:
      * https://dev.mysql.com/doc/refman/8.0/en/data-types.html
      * 
* * string data_type = 2; - * * @param value The bytes for dataType to set. * @return This builder for chaining. */ - public Builder setDataTypeBytes(com.google.protobuf.ByteString value) { + public Builder setDataTypeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + dataType_ = value; onChanged(); return this; } - private int length_; + private int length_ ; /** - * - * *
      * Column length.
      * 
* * int32 length = 3; - * * @return The length. */ @java.lang.Override @@ -1012,36 +948,30 @@ public int getLength() { return length_; } /** - * - * *
      * Column length.
      * 
* * int32 length = 3; - * * @param value The length to set. * @return This builder for chaining. */ public Builder setLength(int value) { - + length_ = value; onChanged(); return this; } /** - * - * *
      * Column length.
      * 
* * int32 length = 3; - * * @return This builder for chaining. */ public Builder clearLength() { - + length_ = 0; onChanged(); return this; @@ -1049,20 +979,18 @@ public Builder clearLength() { private java.lang.Object collation_ = ""; /** - * - * *
      * Column collation.
      * 
* * string collation = 4; - * * @return The collation. */ public java.lang.String getCollation() { java.lang.Object ref = collation_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); collation_ = s; return s; @@ -1071,21 +999,20 @@ public java.lang.String getCollation() { } } /** - * - * *
      * Column collation.
      * 
* * string collation = 4; - * * @return The bytes for collation. */ - public com.google.protobuf.ByteString getCollationBytes() { + public com.google.protobuf.ByteString + getCollationBytes() { java.lang.Object ref = collation_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); collation_ = b; return b; } else { @@ -1093,76 +1020,66 @@ public com.google.protobuf.ByteString getCollationBytes() { } } /** - * - * *
      * Column collation.
      * 
* * string collation = 4; - * * @param value The collation to set. * @return This builder for chaining. */ - public Builder setCollation(java.lang.String value) { + public Builder setCollation( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + collation_ = value; onChanged(); return this; } /** - * - * *
      * Column collation.
      * 
* * string collation = 4; - * * @return This builder for chaining. */ public Builder clearCollation() { - + collation_ = getDefaultInstance().getCollation(); onChanged(); return this; } /** - * - * *
      * Column collation.
      * 
* * string collation = 4; - * * @param value The bytes for collation to set. * @return This builder for chaining. */ - public Builder setCollationBytes(com.google.protobuf.ByteString value) { + public Builder setCollationBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + collation_ = value; onChanged(); return this; } - private boolean primaryKey_; + private boolean primaryKey_ ; /** - * - * *
      * Whether or not the column represents a primary key.
      * 
* * bool primary_key = 5; - * * @return The primaryKey. */ @java.lang.Override @@ -1170,51 +1087,42 @@ public boolean getPrimaryKey() { return primaryKey_; } /** - * - * *
      * Whether or not the column represents a primary key.
      * 
* * bool primary_key = 5; - * * @param value The primaryKey to set. * @return This builder for chaining. */ public Builder setPrimaryKey(boolean value) { - + primaryKey_ = value; onChanged(); return this; } /** - * - * *
      * Whether or not the column represents a primary key.
      * 
* * bool primary_key = 5; - * * @return This builder for chaining. */ public Builder clearPrimaryKey() { - + primaryKey_ = false; onChanged(); return this; } - private boolean nullable_; + private boolean nullable_ ; /** - * - * *
      * Whether or not the column can accept a null value.
      * 
* * bool nullable = 6; - * * @return The nullable. */ @java.lang.Override @@ -1222,51 +1130,42 @@ public boolean getNullable() { return nullable_; } /** - * - * *
      * Whether or not the column can accept a null value.
      * 
* * bool nullable = 6; - * * @param value The nullable to set. * @return This builder for chaining. */ public Builder setNullable(boolean value) { - + nullable_ = value; onChanged(); return this; } /** - * - * *
      * Whether or not the column can accept a null value.
      * 
* * bool nullable = 6; - * * @return This builder for chaining. */ public Builder clearNullable() { - + nullable_ = false; onChanged(); return this; } - private int ordinalPosition_; + private int ordinalPosition_ ; /** - * - * *
      * The ordinal position of the column in the table.
      * 
* * int32 ordinal_position = 7; - * * @return The ordinalPosition. */ @java.lang.Override @@ -1274,43 +1173,37 @@ public int getOrdinalPosition() { return ordinalPosition_; } /** - * - * *
      * The ordinal position of the column in the table.
      * 
* * int32 ordinal_position = 7; - * * @param value The ordinalPosition to set. * @return This builder for chaining. */ public Builder setOrdinalPosition(int value) { - + ordinalPosition_ = value; onChanged(); return this; } /** - * - * *
      * The ordinal position of the column in the table.
      * 
* * int32 ordinal_position = 7; - * * @return This builder for chaining. */ public Builder clearOrdinalPosition() { - + ordinalPosition_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1320,12 +1213,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1.MysqlColumn) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1.MysqlColumn) private static final com.google.cloud.datastream.v1.MysqlColumn DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1.MysqlColumn(); } @@ -1334,16 +1227,16 @@ public static com.google.cloud.datastream.v1.MysqlColumn getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MysqlColumn parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MysqlColumn(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MysqlColumn parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MysqlColumn(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1358,4 +1251,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datastream.v1.MysqlColumn getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/MysqlColumnOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/MysqlColumnOrBuilder.java similarity index 69% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/MysqlColumnOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/MysqlColumnOrBuilder.java index e99731d1..56a7195e 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/MysqlColumnOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/MysqlColumnOrBuilder.java @@ -1,153 +1,110 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1/datastream_resources.proto package com.google.cloud.datastream.v1; -public interface MysqlColumnOrBuilder - extends +public interface MysqlColumnOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1.MysqlColumn) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Column name.
    * 
* * string column = 1; - * * @return The column. */ java.lang.String getColumn(); /** - * - * *
    * Column name.
    * 
* * string column = 1; - * * @return The bytes for column. */ - com.google.protobuf.ByteString getColumnBytes(); + com.google.protobuf.ByteString + getColumnBytes(); /** - * - * *
    * The MySQL data type. Full data types list can be found here:
    * https://dev.mysql.com/doc/refman/8.0/en/data-types.html
    * 
* * string data_type = 2; - * * @return The dataType. */ java.lang.String getDataType(); /** - * - * *
    * The MySQL data type. Full data types list can be found here:
    * https://dev.mysql.com/doc/refman/8.0/en/data-types.html
    * 
* * string data_type = 2; - * * @return The bytes for dataType. */ - com.google.protobuf.ByteString getDataTypeBytes(); + com.google.protobuf.ByteString + getDataTypeBytes(); /** - * - * *
    * Column length.
    * 
* * int32 length = 3; - * * @return The length. */ int getLength(); /** - * - * *
    * Column collation.
    * 
* * string collation = 4; - * * @return The collation. */ java.lang.String getCollation(); /** - * - * *
    * Column collation.
    * 
* * string collation = 4; - * * @return The bytes for collation. */ - com.google.protobuf.ByteString getCollationBytes(); + com.google.protobuf.ByteString + getCollationBytes(); /** - * - * *
    * Whether or not the column represents a primary key.
    * 
* * bool primary_key = 5; - * * @return The primaryKey. */ boolean getPrimaryKey(); /** - * - * *
    * Whether or not the column can accept a null value.
    * 
* * bool nullable = 6; - * * @return The nullable. */ boolean getNullable(); /** - * - * *
    * The ordinal position of the column in the table.
    * 
* * int32 ordinal_position = 7; - * * @return The ordinalPosition. */ int getOrdinalPosition(); diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/MysqlDatabase.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/MysqlDatabase.java similarity index 74% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/MysqlDatabase.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/MysqlDatabase.java index 43b29990..4d36b624 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/MysqlDatabase.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/MysqlDatabase.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/datastream/v1/datastream_resources.proto package com.google.cloud.datastream.v1; /** - * - * *
  * MySQL database.
  * 
* * Protobuf type {@code google.cloud.datastream.v1.MysqlDatabase} */ -public final class MysqlDatabase extends com.google.protobuf.GeneratedMessageV3 - implements +public final class MysqlDatabase extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1.MysqlDatabase) MysqlDatabaseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use MysqlDatabase.newBuilder() to construct. private MysqlDatabase(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private MysqlDatabase() { database_ = ""; mysqlTables_ = java.util.Collections.emptyList(); @@ -44,15 +26,16 @@ private MysqlDatabase() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new MysqlDatabase(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private MysqlDatabase( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,31 +55,28 @@ private MysqlDatabase( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - database_ = s; - break; - } - case 18: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - mysqlTables_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - mysqlTables_.add( - input.readMessage( - com.google.cloud.datastream.v1.MysqlTable.parser(), extensionRegistry)); - break; + database_ = s; + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + mysqlTables_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + mysqlTables_.add( + input.readMessage(com.google.cloud.datastream.v1.MysqlTable.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -104,7 +84,8 @@ private MysqlDatabase( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { mysqlTables_ = java.util.Collections.unmodifiableList(mysqlTables_); @@ -113,33 +94,27 @@ private MysqlDatabase( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_MysqlDatabase_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_MysqlDatabase_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_MysqlDatabase_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_MysqlDatabase_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.MysqlDatabase.class, - com.google.cloud.datastream.v1.MysqlDatabase.Builder.class); + com.google.cloud.datastream.v1.MysqlDatabase.class, com.google.cloud.datastream.v1.MysqlDatabase.Builder.class); } public static final int DATABASE_FIELD_NUMBER = 1; private volatile java.lang.Object database_; /** - * - * *
    * Database name.
    * 
* * string database = 1; - * * @return The database. */ @java.lang.Override @@ -148,29 +123,29 @@ public java.lang.String getDatabase() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; } } /** - * - * *
    * Database name.
    * 
* * string database = 1; - * * @return The bytes for database. */ @java.lang.Override - public com.google.protobuf.ByteString getDatabaseBytes() { + public com.google.protobuf.ByteString + getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); database_ = b; return b; } else { @@ -181,8 +156,6 @@ public com.google.protobuf.ByteString getDatabaseBytes() { public static final int MYSQL_TABLES_FIELD_NUMBER = 2; private java.util.List mysqlTables_; /** - * - * *
    * Tables in the database.
    * 
@@ -194,8 +167,6 @@ public java.util.List getMysqlTablesL return mysqlTables_; } /** - * - * *
    * Tables in the database.
    * 
@@ -203,13 +174,11 @@ public java.util.List getMysqlTablesL * repeated .google.cloud.datastream.v1.MysqlTable mysql_tables = 2; */ @java.lang.Override - public java.util.List + public java.util.List getMysqlTablesOrBuilderList() { return mysqlTables_; } /** - * - * *
    * Tables in the database.
    * 
@@ -221,8 +190,6 @@ public int getMysqlTablesCount() { return mysqlTables_.size(); } /** - * - * *
    * Tables in the database.
    * 
@@ -234,8 +201,6 @@ public com.google.cloud.datastream.v1.MysqlTable getMysqlTables(int index) { return mysqlTables_.get(index); } /** - * - * *
    * Tables in the database.
    * 
@@ -243,12 +208,12 @@ public com.google.cloud.datastream.v1.MysqlTable getMysqlTables(int index) { * repeated .google.cloud.datastream.v1.MysqlTable mysql_tables = 2; */ @java.lang.Override - public com.google.cloud.datastream.v1.MysqlTableOrBuilder getMysqlTablesOrBuilder(int index) { + public com.google.cloud.datastream.v1.MysqlTableOrBuilder getMysqlTablesOrBuilder( + int index) { return mysqlTables_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -260,7 +225,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(database_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, database_); } @@ -280,7 +246,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, database_); } for (int i = 0; i < mysqlTables_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, mysqlTables_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, mysqlTables_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -290,16 +257,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datastream.v1.MysqlDatabase)) { return super.equals(obj); } - com.google.cloud.datastream.v1.MysqlDatabase other = - (com.google.cloud.datastream.v1.MysqlDatabase) obj; + com.google.cloud.datastream.v1.MysqlDatabase other = (com.google.cloud.datastream.v1.MysqlDatabase) obj; - if (!getDatabase().equals(other.getDatabase())) return false; - if (!getMysqlTablesList().equals(other.getMysqlTablesList())) return false; + if (!getDatabase() + .equals(other.getDatabase())) return false; + if (!getMysqlTablesList() + .equals(other.getMysqlTablesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -322,127 +290,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.datastream.v1.MysqlDatabase parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.datastream.v1.MysqlDatabase parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.MysqlDatabase parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.MysqlDatabase parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.MysqlDatabase parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.MysqlDatabase parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.MysqlDatabase parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.MysqlDatabase 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.datastream.v1.MysqlDatabase parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1.MysqlDatabase parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.MysqlDatabase parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.MysqlDatabase 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.datastream.v1.MysqlDatabase parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.MysqlDatabase parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datastream.v1.MysqlDatabase prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * MySQL database.
    * 
* * Protobuf type {@code google.cloud.datastream.v1.MysqlDatabase} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1.MysqlDatabase) com.google.cloud.datastream.v1.MysqlDatabaseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_MysqlDatabase_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_MysqlDatabase_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_MysqlDatabase_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_MysqlDatabase_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.MysqlDatabase.class, - com.google.cloud.datastream.v1.MysqlDatabase.Builder.class); + com.google.cloud.datastream.v1.MysqlDatabase.class, com.google.cloud.datastream.v1.MysqlDatabase.Builder.class); } // Construct using com.google.cloud.datastream.v1.MysqlDatabase.newBuilder() @@ -450,17 +409,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getMysqlTablesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -476,9 +435,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_MysqlDatabase_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_MysqlDatabase_descriptor; } @java.lang.Override @@ -497,8 +456,7 @@ public com.google.cloud.datastream.v1.MysqlDatabase build() { @java.lang.Override public com.google.cloud.datastream.v1.MysqlDatabase buildPartial() { - com.google.cloud.datastream.v1.MysqlDatabase result = - new com.google.cloud.datastream.v1.MysqlDatabase(this); + com.google.cloud.datastream.v1.MysqlDatabase result = new com.google.cloud.datastream.v1.MysqlDatabase(this); int from_bitField0_ = bitField0_; result.database_ = database_; if (mysqlTablesBuilder_ == null) { @@ -518,39 +476,38 @@ public com.google.cloud.datastream.v1.MysqlDatabase buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1.MysqlDatabase) { - return mergeFrom((com.google.cloud.datastream.v1.MysqlDatabase) other); + return mergeFrom((com.google.cloud.datastream.v1.MysqlDatabase)other); } else { super.mergeFrom(other); return this; @@ -581,10 +538,9 @@ public Builder mergeFrom(com.google.cloud.datastream.v1.MysqlDatabase other) { mysqlTablesBuilder_ = null; mysqlTables_ = other.mysqlTables_; bitField0_ = (bitField0_ & ~0x00000001); - mysqlTablesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getMysqlTablesFieldBuilder() - : null; + mysqlTablesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getMysqlTablesFieldBuilder() : null; } else { mysqlTablesBuilder_.addAllMessages(other.mysqlTables_); } @@ -618,25 +574,22 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object database_ = ""; /** - * - * *
      * Database name.
      * 
* * string database = 1; - * * @return The database. */ public java.lang.String getDatabase() { java.lang.Object ref = database_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; @@ -645,21 +598,20 @@ public java.lang.String getDatabase() { } } /** - * - * *
      * Database name.
      * 
* * string database = 1; - * * @return The bytes for database. */ - public com.google.protobuf.ByteString getDatabaseBytes() { + public com.google.protobuf.ByteString + getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); database_ = b; return b; } else { @@ -667,86 +619,72 @@ public com.google.protobuf.ByteString getDatabaseBytes() { } } /** - * - * *
      * Database name.
      * 
* * string database = 1; - * * @param value The database to set. * @return This builder for chaining. */ - public Builder setDatabase(java.lang.String value) { + public Builder setDatabase( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + database_ = value; onChanged(); return this; } /** - * - * *
      * Database name.
      * 
* * string database = 1; - * * @return This builder for chaining. */ public Builder clearDatabase() { - + database_ = getDefaultInstance().getDatabase(); onChanged(); return this; } /** - * - * *
      * Database name.
      * 
* * string database = 1; - * * @param value The bytes for database to set. * @return This builder for chaining. */ - public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { + public Builder setDatabaseBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + database_ = value; onChanged(); return this; } private java.util.List mysqlTables_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureMysqlTablesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - mysqlTables_ = - new java.util.ArrayList(mysqlTables_); + mysqlTables_ = new java.util.ArrayList(mysqlTables_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datastream.v1.MysqlTable, - com.google.cloud.datastream.v1.MysqlTable.Builder, - com.google.cloud.datastream.v1.MysqlTableOrBuilder> - mysqlTablesBuilder_; + com.google.cloud.datastream.v1.MysqlTable, com.google.cloud.datastream.v1.MysqlTable.Builder, com.google.cloud.datastream.v1.MysqlTableOrBuilder> mysqlTablesBuilder_; /** - * - * *
      * Tables in the database.
      * 
@@ -761,8 +699,6 @@ public java.util.List getMysqlTablesL } } /** - * - * *
      * Tables in the database.
      * 
@@ -777,8 +713,6 @@ public int getMysqlTablesCount() { } } /** - * - * *
      * Tables in the database.
      * 
@@ -793,15 +727,14 @@ public com.google.cloud.datastream.v1.MysqlTable getMysqlTables(int index) { } } /** - * - * *
      * Tables in the database.
      * 
* * repeated .google.cloud.datastream.v1.MysqlTable mysql_tables = 2; */ - public Builder setMysqlTables(int index, com.google.cloud.datastream.v1.MysqlTable value) { + public Builder setMysqlTables( + int index, com.google.cloud.datastream.v1.MysqlTable value) { if (mysqlTablesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -815,8 +748,6 @@ public Builder setMysqlTables(int index, com.google.cloud.datastream.v1.MysqlTab return this; } /** - * - * *
      * Tables in the database.
      * 
@@ -835,8 +766,6 @@ public Builder setMysqlTables( return this; } /** - * - * *
      * Tables in the database.
      * 
@@ -857,15 +786,14 @@ public Builder addMysqlTables(com.google.cloud.datastream.v1.MysqlTable value) { return this; } /** - * - * *
      * Tables in the database.
      * 
* * repeated .google.cloud.datastream.v1.MysqlTable mysql_tables = 2; */ - public Builder addMysqlTables(int index, com.google.cloud.datastream.v1.MysqlTable value) { + public Builder addMysqlTables( + int index, com.google.cloud.datastream.v1.MysqlTable value) { if (mysqlTablesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -879,8 +807,6 @@ public Builder addMysqlTables(int index, com.google.cloud.datastream.v1.MysqlTab return this; } /** - * - * *
      * Tables in the database.
      * 
@@ -899,8 +825,6 @@ public Builder addMysqlTables( return this; } /** - * - * *
      * Tables in the database.
      * 
@@ -919,8 +843,6 @@ public Builder addMysqlTables( return this; } /** - * - * *
      * Tables in the database.
      * 
@@ -931,7 +853,8 @@ public Builder addAllMysqlTables( java.lang.Iterable values) { if (mysqlTablesBuilder_ == null) { ensureMysqlTablesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, mysqlTables_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, mysqlTables_); onChanged(); } else { mysqlTablesBuilder_.addAllMessages(values); @@ -939,8 +862,6 @@ public Builder addAllMysqlTables( return this; } /** - * - * *
      * Tables in the database.
      * 
@@ -958,8 +879,6 @@ public Builder clearMysqlTables() { return this; } /** - * - * *
      * Tables in the database.
      * 
@@ -977,44 +896,39 @@ public Builder removeMysqlTables(int index) { return this; } /** - * - * *
      * Tables in the database.
      * 
* * repeated .google.cloud.datastream.v1.MysqlTable mysql_tables = 2; */ - public com.google.cloud.datastream.v1.MysqlTable.Builder getMysqlTablesBuilder(int index) { + public com.google.cloud.datastream.v1.MysqlTable.Builder getMysqlTablesBuilder( + int index) { return getMysqlTablesFieldBuilder().getBuilder(index); } /** - * - * *
      * Tables in the database.
      * 
* * repeated .google.cloud.datastream.v1.MysqlTable mysql_tables = 2; */ - public com.google.cloud.datastream.v1.MysqlTableOrBuilder getMysqlTablesOrBuilder(int index) { + public com.google.cloud.datastream.v1.MysqlTableOrBuilder getMysqlTablesOrBuilder( + int index) { if (mysqlTablesBuilder_ == null) { - return mysqlTables_.get(index); - } else { + return mysqlTables_.get(index); } else { return mysqlTablesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Tables in the database.
      * 
* * repeated .google.cloud.datastream.v1.MysqlTable mysql_tables = 2; */ - public java.util.List - getMysqlTablesOrBuilderList() { + public java.util.List + getMysqlTablesOrBuilderList() { if (mysqlTablesBuilder_ != null) { return mysqlTablesBuilder_.getMessageOrBuilderList(); } else { @@ -1022,8 +936,6 @@ public com.google.cloud.datastream.v1.MysqlTableOrBuilder getMysqlTablesOrBuilde } } /** - * - * *
      * Tables in the database.
      * 
@@ -1031,55 +943,49 @@ public com.google.cloud.datastream.v1.MysqlTableOrBuilder getMysqlTablesOrBuilde * repeated .google.cloud.datastream.v1.MysqlTable mysql_tables = 2; */ public com.google.cloud.datastream.v1.MysqlTable.Builder addMysqlTablesBuilder() { - return getMysqlTablesFieldBuilder() - .addBuilder(com.google.cloud.datastream.v1.MysqlTable.getDefaultInstance()); + return getMysqlTablesFieldBuilder().addBuilder( + com.google.cloud.datastream.v1.MysqlTable.getDefaultInstance()); } /** - * - * *
      * Tables in the database.
      * 
* * repeated .google.cloud.datastream.v1.MysqlTable mysql_tables = 2; */ - public com.google.cloud.datastream.v1.MysqlTable.Builder addMysqlTablesBuilder(int index) { - return getMysqlTablesFieldBuilder() - .addBuilder(index, com.google.cloud.datastream.v1.MysqlTable.getDefaultInstance()); + public com.google.cloud.datastream.v1.MysqlTable.Builder addMysqlTablesBuilder( + int index) { + return getMysqlTablesFieldBuilder().addBuilder( + index, com.google.cloud.datastream.v1.MysqlTable.getDefaultInstance()); } /** - * - * *
      * Tables in the database.
      * 
* * repeated .google.cloud.datastream.v1.MysqlTable mysql_tables = 2; */ - public java.util.List - getMysqlTablesBuilderList() { + public java.util.List + getMysqlTablesBuilderList() { return getMysqlTablesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datastream.v1.MysqlTable, - com.google.cloud.datastream.v1.MysqlTable.Builder, - com.google.cloud.datastream.v1.MysqlTableOrBuilder> + com.google.cloud.datastream.v1.MysqlTable, com.google.cloud.datastream.v1.MysqlTable.Builder, com.google.cloud.datastream.v1.MysqlTableOrBuilder> getMysqlTablesFieldBuilder() { if (mysqlTablesBuilder_ == null) { - mysqlTablesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datastream.v1.MysqlTable, - com.google.cloud.datastream.v1.MysqlTable.Builder, - com.google.cloud.datastream.v1.MysqlTableOrBuilder>( - mysqlTables_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + mysqlTablesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datastream.v1.MysqlTable, com.google.cloud.datastream.v1.MysqlTable.Builder, com.google.cloud.datastream.v1.MysqlTableOrBuilder>( + mysqlTables_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); mysqlTables_ = null; } return mysqlTablesBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1089,12 +995,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1.MysqlDatabase) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1.MysqlDatabase) private static final com.google.cloud.datastream.v1.MysqlDatabase DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1.MysqlDatabase(); } @@ -1103,16 +1009,16 @@ public static com.google.cloud.datastream.v1.MysqlDatabase getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MysqlDatabase parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MysqlDatabase(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MysqlDatabase parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MysqlDatabase(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1127,4 +1033,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datastream.v1.MysqlDatabase getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/MysqlDatabaseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/MysqlDatabaseOrBuilder.java similarity index 64% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/MysqlDatabaseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/MysqlDatabaseOrBuilder.java index ab3edfc2..95613a1a 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/MysqlDatabaseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/MysqlDatabaseOrBuilder.java @@ -1,66 +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/datastream/v1/datastream_resources.proto package com.google.cloud.datastream.v1; -public interface MysqlDatabaseOrBuilder - extends +public interface MysqlDatabaseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1.MysqlDatabase) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Database name.
    * 
* * string database = 1; - * * @return The database. */ java.lang.String getDatabase(); /** - * - * *
    * Database name.
    * 
* * string database = 1; - * * @return The bytes for database. */ - com.google.protobuf.ByteString getDatabaseBytes(); + com.google.protobuf.ByteString + getDatabaseBytes(); /** - * - * *
    * Tables in the database.
    * 
* * repeated .google.cloud.datastream.v1.MysqlTable mysql_tables = 2; */ - java.util.List getMysqlTablesList(); + java.util.List + getMysqlTablesList(); /** - * - * *
    * Tables in the database.
    * 
@@ -69,8 +45,6 @@ public interface MysqlDatabaseOrBuilder */ com.google.cloud.datastream.v1.MysqlTable getMysqlTables(int index); /** - * - * *
    * Tables in the database.
    * 
@@ -79,24 +53,21 @@ public interface MysqlDatabaseOrBuilder */ int getMysqlTablesCount(); /** - * - * *
    * Tables in the database.
    * 
* * repeated .google.cloud.datastream.v1.MysqlTable mysql_tables = 2; */ - java.util.List + java.util.List getMysqlTablesOrBuilderList(); /** - * - * *
    * Tables in the database.
    * 
* * repeated .google.cloud.datastream.v1.MysqlTable mysql_tables = 2; */ - com.google.cloud.datastream.v1.MysqlTableOrBuilder getMysqlTablesOrBuilder(int index); + com.google.cloud.datastream.v1.MysqlTableOrBuilder getMysqlTablesOrBuilder( + int index); } diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/MysqlProfile.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/MysqlProfile.java similarity index 70% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/MysqlProfile.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/MysqlProfile.java index 3c527bcb..31bbb412 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/MysqlProfile.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/MysqlProfile.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/datastream/v1/datastream_resources.proto package com.google.cloud.datastream.v1; /** - * - * *
  * MySQL database profile.
  * 
* * Protobuf type {@code google.cloud.datastream.v1.MysqlProfile} */ -public final class MysqlProfile extends com.google.protobuf.GeneratedMessageV3 - implements +public final class MysqlProfile extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1.MysqlProfile) MysqlProfileOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use MysqlProfile.newBuilder() to construct. private MysqlProfile(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private MysqlProfile() { hostname_ = ""; username_ = ""; @@ -45,15 +27,16 @@ private MysqlProfile() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new MysqlProfile(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private MysqlProfile( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,55 +55,49 @@ private MysqlProfile( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - hostname_ = s; - break; - } - case 16: - { - port_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + hostname_ = s; + break; + } + case 16: { - username_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + port_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - password_ = s; - break; - } - case 42: - { - com.google.cloud.datastream.v1.MysqlSslConfig.Builder subBuilder = null; - if (sslConfig_ != null) { - subBuilder = sslConfig_.toBuilder(); - } - sslConfig_ = - input.readMessage( - com.google.cloud.datastream.v1.MysqlSslConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(sslConfig_); - sslConfig_ = subBuilder.buildPartial(); - } + username_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - break; + password_ = s; + break; + } + case 42: { + com.google.cloud.datastream.v1.MysqlSslConfig.Builder subBuilder = null; + if (sslConfig_ != null) { + subBuilder = sslConfig_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + sslConfig_ = input.readMessage(com.google.cloud.datastream.v1.MysqlSslConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(sslConfig_); + sslConfig_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -128,39 +105,34 @@ private MysqlProfile( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_MysqlProfile_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_MysqlProfile_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_MysqlProfile_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_MysqlProfile_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.MysqlProfile.class, - com.google.cloud.datastream.v1.MysqlProfile.Builder.class); + com.google.cloud.datastream.v1.MysqlProfile.class, com.google.cloud.datastream.v1.MysqlProfile.Builder.class); } public static final int HOSTNAME_FIELD_NUMBER = 1; private volatile java.lang.Object hostname_; /** - * - * *
    * Required. Hostname for the MySQL connection.
    * 
* * string hostname = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The hostname. */ @java.lang.Override @@ -169,29 +141,29 @@ public java.lang.String getHostname() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); hostname_ = s; return s; } } /** - * - * *
    * Required. Hostname for the MySQL connection.
    * 
* * string hostname = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for hostname. */ @java.lang.Override - public com.google.protobuf.ByteString getHostnameBytes() { + public com.google.protobuf.ByteString + getHostnameBytes() { java.lang.Object ref = hostname_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); hostname_ = b; return b; } else { @@ -202,14 +174,11 @@ public com.google.protobuf.ByteString getHostnameBytes() { public static final int PORT_FIELD_NUMBER = 2; private int port_; /** - * - * *
    * Port for the MySQL connection, default value is 3306.
    * 
* * int32 port = 2; - * * @return The port. */ @java.lang.Override @@ -220,14 +189,11 @@ public int getPort() { public static final int USERNAME_FIELD_NUMBER = 3; private volatile java.lang.Object username_; /** - * - * *
    * Required. Username for the MySQL connection.
    * 
* * string username = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The username. */ @java.lang.Override @@ -236,29 +202,29 @@ public java.lang.String getUsername() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); username_ = s; return s; } } /** - * - * *
    * Required. Username for the MySQL connection.
    * 
* * string username = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for username. */ @java.lang.Override - public com.google.protobuf.ByteString getUsernameBytes() { + public com.google.protobuf.ByteString + getUsernameBytes() { java.lang.Object ref = username_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); username_ = b; return b; } else { @@ -269,16 +235,11 @@ public com.google.protobuf.ByteString getUsernameBytes() { public static final int PASSWORD_FIELD_NUMBER = 4; private volatile java.lang.Object password_; /** - * - * *
    * Required. Input only. Password for the MySQL connection.
    * 
* - * - * string password = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; - * - * + * string password = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; * @return The password. */ @java.lang.Override @@ -287,31 +248,29 @@ public java.lang.String getPassword() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); password_ = s; return s; } } /** - * - * *
    * Required. Input only. Password for the MySQL connection.
    * 
* - * - * string password = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; - * - * + * string password = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; * @return The bytes for password. */ @java.lang.Override - public com.google.protobuf.ByteString getPasswordBytes() { + public com.google.protobuf.ByteString + getPasswordBytes() { java.lang.Object ref = password_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); password_ = b; return b; } else { @@ -322,14 +281,11 @@ public com.google.protobuf.ByteString getPasswordBytes() { public static final int SSL_CONFIG_FIELD_NUMBER = 5; private com.google.cloud.datastream.v1.MysqlSslConfig sslConfig_; /** - * - * *
    * SSL configuration for the MySQL connection.
    * 
* * .google.cloud.datastream.v1.MysqlSslConfig ssl_config = 5; - * * @return Whether the sslConfig field is set. */ @java.lang.Override @@ -337,25 +293,18 @@ public boolean hasSslConfig() { return sslConfig_ != null; } /** - * - * *
    * SSL configuration for the MySQL connection.
    * 
* * .google.cloud.datastream.v1.MysqlSslConfig ssl_config = 5; - * * @return The sslConfig. */ @java.lang.Override public com.google.cloud.datastream.v1.MysqlSslConfig getSslConfig() { - return sslConfig_ == null - ? com.google.cloud.datastream.v1.MysqlSslConfig.getDefaultInstance() - : sslConfig_; + return sslConfig_ == null ? com.google.cloud.datastream.v1.MysqlSslConfig.getDefaultInstance() : sslConfig_; } /** - * - * *
    * SSL configuration for the MySQL connection.
    * 
@@ -368,7 +317,6 @@ public com.google.cloud.datastream.v1.MysqlSslConfigOrBuilder getSslConfigOrBuil } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -380,7 +328,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(hostname_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, hostname_); } @@ -409,7 +358,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, hostname_); } 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(username_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, username_); @@ -418,7 +368,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, password_); } if (sslConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getSslConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getSslConfig()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -428,21 +379,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.datastream.v1.MysqlProfile)) { return super.equals(obj); } - com.google.cloud.datastream.v1.MysqlProfile other = - (com.google.cloud.datastream.v1.MysqlProfile) obj; + com.google.cloud.datastream.v1.MysqlProfile other = (com.google.cloud.datastream.v1.MysqlProfile) obj; - if (!getHostname().equals(other.getHostname())) return false; - if (getPort() != other.getPort()) return false; - if (!getUsername().equals(other.getUsername())) return false; - if (!getPassword().equals(other.getPassword())) return false; + if (!getHostname() + .equals(other.getHostname())) return false; + if (getPort() + != other.getPort()) return false; + if (!getUsername() + .equals(other.getUsername())) return false; + if (!getPassword() + .equals(other.getPassword())) return false; if (hasSslConfig() != other.hasSslConfig()) return false; if (hasSslConfig()) { - if (!getSslConfig().equals(other.getSslConfig())) return false; + if (!getSslConfig() + .equals(other.getSslConfig())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -472,127 +427,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.datastream.v1.MysqlProfile parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.datastream.v1.MysqlProfile parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.MysqlProfile parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.MysqlProfile parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.MysqlProfile parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.MysqlProfile parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.MysqlProfile parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.MysqlProfile 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.datastream.v1.MysqlProfile parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1.MysqlProfile parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.MysqlProfile parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.MysqlProfile 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.datastream.v1.MysqlProfile parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.MysqlProfile parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datastream.v1.MysqlProfile prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * MySQL database profile.
    * 
* * Protobuf type {@code google.cloud.datastream.v1.MysqlProfile} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1.MysqlProfile) com.google.cloud.datastream.v1.MysqlProfileOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_MysqlProfile_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_MysqlProfile_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_MysqlProfile_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_MysqlProfile_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.MysqlProfile.class, - com.google.cloud.datastream.v1.MysqlProfile.Builder.class); + com.google.cloud.datastream.v1.MysqlProfile.class, com.google.cloud.datastream.v1.MysqlProfile.Builder.class); } // Construct using com.google.cloud.datastream.v1.MysqlProfile.newBuilder() @@ -600,15 +546,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -630,9 +577,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_MysqlProfile_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_MysqlProfile_descriptor; } @java.lang.Override @@ -651,8 +598,7 @@ public com.google.cloud.datastream.v1.MysqlProfile build() { @java.lang.Override public com.google.cloud.datastream.v1.MysqlProfile buildPartial() { - com.google.cloud.datastream.v1.MysqlProfile result = - new com.google.cloud.datastream.v1.MysqlProfile(this); + com.google.cloud.datastream.v1.MysqlProfile result = new com.google.cloud.datastream.v1.MysqlProfile(this); result.hostname_ = hostname_; result.port_ = port_; result.username_ = username_; @@ -670,39 +616,38 @@ public com.google.cloud.datastream.v1.MysqlProfile buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1.MysqlProfile) { - return mergeFrom((com.google.cloud.datastream.v1.MysqlProfile) other); + return mergeFrom((com.google.cloud.datastream.v1.MysqlProfile)other); } else { super.mergeFrom(other); return this; @@ -760,20 +705,18 @@ public Builder mergeFrom( private java.lang.Object hostname_ = ""; /** - * - * *
      * Required. Hostname for the MySQL connection.
      * 
* * string hostname = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The hostname. */ public java.lang.String getHostname() { java.lang.Object ref = hostname_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); hostname_ = s; return s; @@ -782,21 +725,20 @@ public java.lang.String getHostname() { } } /** - * - * *
      * Required. Hostname for the MySQL connection.
      * 
* * string hostname = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for hostname. */ - public com.google.protobuf.ByteString getHostnameBytes() { + public com.google.protobuf.ByteString + getHostnameBytes() { java.lang.Object ref = hostname_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); hostname_ = b; return b; } else { @@ -804,76 +746,66 @@ public com.google.protobuf.ByteString getHostnameBytes() { } } /** - * - * *
      * Required. Hostname for the MySQL connection.
      * 
* * string hostname = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The hostname to set. * @return This builder for chaining. */ - public Builder setHostname(java.lang.String value) { + public Builder setHostname( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + hostname_ = value; onChanged(); return this; } /** - * - * *
      * Required. Hostname for the MySQL connection.
      * 
* * string hostname = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearHostname() { - + hostname_ = getDefaultInstance().getHostname(); onChanged(); return this; } /** - * - * *
      * Required. Hostname for the MySQL connection.
      * 
* * string hostname = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for hostname to set. * @return This builder for chaining. */ - public Builder setHostnameBytes(com.google.protobuf.ByteString value) { + public Builder setHostnameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + hostname_ = value; onChanged(); return this; } - private int port_; + private int port_ ; /** - * - * *
      * Port for the MySQL connection, default value is 3306.
      * 
* * int32 port = 2; - * * @return The port. */ @java.lang.Override @@ -881,36 +813,30 @@ public int getPort() { return port_; } /** - * - * *
      * Port for the MySQL connection, default value is 3306.
      * 
* * int32 port = 2; - * * @param value The port to set. * @return This builder for chaining. */ public Builder setPort(int value) { - + port_ = value; onChanged(); return this; } /** - * - * *
      * Port for the MySQL connection, default value is 3306.
      * 
* * int32 port = 2; - * * @return This builder for chaining. */ public Builder clearPort() { - + port_ = 0; onChanged(); return this; @@ -918,20 +844,18 @@ public Builder clearPort() { private java.lang.Object username_ = ""; /** - * - * *
      * Required. Username for the MySQL connection.
      * 
* * string username = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The username. */ public java.lang.String getUsername() { java.lang.Object ref = username_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); username_ = s; return s; @@ -940,21 +864,20 @@ public java.lang.String getUsername() { } } /** - * - * *
      * Required. Username for the MySQL connection.
      * 
* * string username = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for username. */ - public com.google.protobuf.ByteString getUsernameBytes() { + public com.google.protobuf.ByteString + getUsernameBytes() { java.lang.Object ref = username_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); username_ = b; return b; } else { @@ -962,61 +885,54 @@ public com.google.protobuf.ByteString getUsernameBytes() { } } /** - * - * *
      * Required. Username for the MySQL connection.
      * 
* * string username = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The username to set. * @return This builder for chaining. */ - public Builder setUsername(java.lang.String value) { + public Builder setUsername( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + username_ = value; onChanged(); return this; } /** - * - * *
      * Required. Username for the MySQL connection.
      * 
* * string username = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearUsername() { - + username_ = getDefaultInstance().getUsername(); onChanged(); return this; } /** - * - * *
      * Required. Username for the MySQL connection.
      * 
* * string username = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for username to set. * @return This builder for chaining. */ - public Builder setUsernameBytes(com.google.protobuf.ByteString value) { + public Builder setUsernameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + username_ = value; onChanged(); return this; @@ -1024,22 +940,18 @@ public Builder setUsernameBytes(com.google.protobuf.ByteString value) { private java.lang.Object password_ = ""; /** - * - * *
      * Required. Input only. Password for the MySQL connection.
      * 
* - * - * string password = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; - * - * + * string password = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; * @return The password. */ public java.lang.String getPassword() { java.lang.Object ref = password_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); password_ = s; return s; @@ -1048,23 +960,20 @@ public java.lang.String getPassword() { } } /** - * - * *
      * Required. Input only. Password for the MySQL connection.
      * 
* - * - * string password = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; - * - * + * string password = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; * @return The bytes for password. */ - public com.google.protobuf.ByteString getPasswordBytes() { + public com.google.protobuf.ByteString + getPasswordBytes() { java.lang.Object ref = password_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); password_ = b; return b; } else { @@ -1072,67 +981,54 @@ public com.google.protobuf.ByteString getPasswordBytes() { } } /** - * - * *
      * Required. Input only. Password for the MySQL connection.
      * 
* - * - * string password = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; - * - * + * string password = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; * @param value The password to set. * @return This builder for chaining. */ - public Builder setPassword(java.lang.String value) { + public Builder setPassword( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + password_ = value; onChanged(); return this; } /** - * - * *
      * Required. Input only. Password for the MySQL connection.
      * 
* - * - * string password = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; - * - * + * string password = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; * @return This builder for chaining. */ public Builder clearPassword() { - + password_ = getDefaultInstance().getPassword(); onChanged(); return this; } /** - * - * *
      * Required. Input only. Password for the MySQL connection.
      * 
* - * - * string password = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; - * - * + * string password = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; * @param value The bytes for password to set. * @return This builder for chaining. */ - public Builder setPasswordBytes(com.google.protobuf.ByteString value) { + public Builder setPasswordBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + password_ = value; onChanged(); return this; @@ -1140,47 +1036,34 @@ public Builder setPasswordBytes(com.google.protobuf.ByteString value) { private com.google.cloud.datastream.v1.MysqlSslConfig sslConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.MysqlSslConfig, - com.google.cloud.datastream.v1.MysqlSslConfig.Builder, - com.google.cloud.datastream.v1.MysqlSslConfigOrBuilder> - sslConfigBuilder_; + com.google.cloud.datastream.v1.MysqlSslConfig, com.google.cloud.datastream.v1.MysqlSslConfig.Builder, com.google.cloud.datastream.v1.MysqlSslConfigOrBuilder> sslConfigBuilder_; /** - * - * *
      * SSL configuration for the MySQL connection.
      * 
* * .google.cloud.datastream.v1.MysqlSslConfig ssl_config = 5; - * * @return Whether the sslConfig field is set. */ public boolean hasSslConfig() { return sslConfigBuilder_ != null || sslConfig_ != null; } /** - * - * *
      * SSL configuration for the MySQL connection.
      * 
* * .google.cloud.datastream.v1.MysqlSslConfig ssl_config = 5; - * * @return The sslConfig. */ public com.google.cloud.datastream.v1.MysqlSslConfig getSslConfig() { if (sslConfigBuilder_ == null) { - return sslConfig_ == null - ? com.google.cloud.datastream.v1.MysqlSslConfig.getDefaultInstance() - : sslConfig_; + return sslConfig_ == null ? com.google.cloud.datastream.v1.MysqlSslConfig.getDefaultInstance() : sslConfig_; } else { return sslConfigBuilder_.getMessage(); } } /** - * - * *
      * SSL configuration for the MySQL connection.
      * 
@@ -1201,8 +1084,6 @@ public Builder setSslConfig(com.google.cloud.datastream.v1.MysqlSslConfig value) return this; } /** - * - * *
      * SSL configuration for the MySQL connection.
      * 
@@ -1221,8 +1102,6 @@ public Builder setSslConfig( return this; } /** - * - * *
      * SSL configuration for the MySQL connection.
      * 
@@ -1233,9 +1112,7 @@ public Builder mergeSslConfig(com.google.cloud.datastream.v1.MysqlSslConfig valu if (sslConfigBuilder_ == null) { if (sslConfig_ != null) { sslConfig_ = - com.google.cloud.datastream.v1.MysqlSslConfig.newBuilder(sslConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.datastream.v1.MysqlSslConfig.newBuilder(sslConfig_).mergeFrom(value).buildPartial(); } else { sslConfig_ = value; } @@ -1247,8 +1124,6 @@ public Builder mergeSslConfig(com.google.cloud.datastream.v1.MysqlSslConfig valu return this; } /** - * - * *
      * SSL configuration for the MySQL connection.
      * 
@@ -1267,8 +1142,6 @@ public Builder clearSslConfig() { return this; } /** - * - * *
      * SSL configuration for the MySQL connection.
      * 
@@ -1276,13 +1149,11 @@ public Builder clearSslConfig() { * .google.cloud.datastream.v1.MysqlSslConfig ssl_config = 5; */ public com.google.cloud.datastream.v1.MysqlSslConfig.Builder getSslConfigBuilder() { - + onChanged(); return getSslConfigFieldBuilder().getBuilder(); } /** - * - * *
      * SSL configuration for the MySQL connection.
      * 
@@ -1293,14 +1164,11 @@ public com.google.cloud.datastream.v1.MysqlSslConfigOrBuilder getSslConfigOrBuil if (sslConfigBuilder_ != null) { return sslConfigBuilder_.getMessageOrBuilder(); } else { - return sslConfig_ == null - ? com.google.cloud.datastream.v1.MysqlSslConfig.getDefaultInstance() - : sslConfig_; + return sslConfig_ == null ? + com.google.cloud.datastream.v1.MysqlSslConfig.getDefaultInstance() : sslConfig_; } } /** - * - * *
      * SSL configuration for the MySQL connection.
      * 
@@ -1308,24 +1176,21 @@ public com.google.cloud.datastream.v1.MysqlSslConfigOrBuilder getSslConfigOrBuil * .google.cloud.datastream.v1.MysqlSslConfig ssl_config = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.MysqlSslConfig, - com.google.cloud.datastream.v1.MysqlSslConfig.Builder, - com.google.cloud.datastream.v1.MysqlSslConfigOrBuilder> + com.google.cloud.datastream.v1.MysqlSslConfig, com.google.cloud.datastream.v1.MysqlSslConfig.Builder, com.google.cloud.datastream.v1.MysqlSslConfigOrBuilder> getSslConfigFieldBuilder() { if (sslConfigBuilder_ == null) { - sslConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.MysqlSslConfig, - com.google.cloud.datastream.v1.MysqlSslConfig.Builder, - com.google.cloud.datastream.v1.MysqlSslConfigOrBuilder>( - getSslConfig(), getParentForChildren(), isClean()); + sslConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1.MysqlSslConfig, com.google.cloud.datastream.v1.MysqlSslConfig.Builder, com.google.cloud.datastream.v1.MysqlSslConfigOrBuilder>( + getSslConfig(), + getParentForChildren(), + isClean()); sslConfig_ = null; } return sslConfigBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1335,12 +1200,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1.MysqlProfile) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1.MysqlProfile) private static final com.google.cloud.datastream.v1.MysqlProfile DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1.MysqlProfile(); } @@ -1349,16 +1214,16 @@ public static com.google.cloud.datastream.v1.MysqlProfile getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MysqlProfile parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MysqlProfile(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MysqlProfile parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MysqlProfile(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1373,4 +1238,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datastream.v1.MysqlProfile getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/MysqlProfileOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/MysqlProfileOrBuilder.java similarity index 66% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/MysqlProfileOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/MysqlProfileOrBuilder.java index 389974a2..588bbd08 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/MysqlProfileOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/MysqlProfileOrBuilder.java @@ -1,147 +1,101 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1/datastream_resources.proto package com.google.cloud.datastream.v1; -public interface MysqlProfileOrBuilder - extends +public interface MysqlProfileOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1.MysqlProfile) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Hostname for the MySQL connection.
    * 
* * string hostname = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The hostname. */ java.lang.String getHostname(); /** - * - * *
    * Required. Hostname for the MySQL connection.
    * 
* * string hostname = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for hostname. */ - com.google.protobuf.ByteString getHostnameBytes(); + com.google.protobuf.ByteString + getHostnameBytes(); /** - * - * *
    * Port for the MySQL connection, default value is 3306.
    * 
* * int32 port = 2; - * * @return The port. */ int getPort(); /** - * - * *
    * Required. Username for the MySQL connection.
    * 
* * string username = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The username. */ java.lang.String getUsername(); /** - * - * *
    * Required. Username for the MySQL connection.
    * 
* * string username = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for username. */ - com.google.protobuf.ByteString getUsernameBytes(); + com.google.protobuf.ByteString + getUsernameBytes(); /** - * - * *
    * Required. Input only. Password for the MySQL connection.
    * 
* - * - * string password = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; - * - * + * string password = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; * @return The password. */ java.lang.String getPassword(); /** - * - * *
    * Required. Input only. Password for the MySQL connection.
    * 
* - * - * string password = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; - * - * + * string password = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; * @return The bytes for password. */ - com.google.protobuf.ByteString getPasswordBytes(); + com.google.protobuf.ByteString + getPasswordBytes(); /** - * - * *
    * SSL configuration for the MySQL connection.
    * 
* * .google.cloud.datastream.v1.MysqlSslConfig ssl_config = 5; - * * @return Whether the sslConfig field is set. */ boolean hasSslConfig(); /** - * - * *
    * SSL configuration for the MySQL connection.
    * 
* * .google.cloud.datastream.v1.MysqlSslConfig ssl_config = 5; - * * @return The sslConfig. */ com.google.cloud.datastream.v1.MysqlSslConfig getSslConfig(); /** - * - * *
    * SSL configuration for the MySQL connection.
    * 
diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/MysqlRdbms.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/MysqlRdbms.java similarity index 75% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/MysqlRdbms.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/MysqlRdbms.java index 39c473f4..ab41fe08 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/MysqlRdbms.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/MysqlRdbms.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1/datastream_resources.proto package com.google.cloud.datastream.v1; /** - * - * *
  * MySQL database structure
  * 
* * Protobuf type {@code google.cloud.datastream.v1.MysqlRdbms} */ -public final class MysqlRdbms extends com.google.protobuf.GeneratedMessageV3 - implements +public final class MysqlRdbms extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1.MysqlRdbms) MysqlRdbmsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use MysqlRdbms.newBuilder() to construct. private MysqlRdbms(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private MysqlRdbms() { mysqlDatabases_ = 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 MysqlRdbms(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private MysqlRdbms( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,25 +54,22 @@ private MysqlRdbms( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - mysqlDatabases_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - mysqlDatabases_.add( - input.readMessage( - com.google.cloud.datastream.v1.MysqlDatabase.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + mysqlDatabases_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + mysqlDatabases_.add( + input.readMessage(com.google.cloud.datastream.v1.MysqlDatabase.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -97,7 +77,8 @@ private MysqlRdbms( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { mysqlDatabases_ = java.util.Collections.unmodifiableList(mysqlDatabases_); @@ -106,27 +87,22 @@ private MysqlRdbms( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_MysqlRdbms_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_MysqlRdbms_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_MysqlRdbms_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_MysqlRdbms_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.MysqlRdbms.class, - com.google.cloud.datastream.v1.MysqlRdbms.Builder.class); + com.google.cloud.datastream.v1.MysqlRdbms.class, com.google.cloud.datastream.v1.MysqlRdbms.Builder.class); } public static final int MYSQL_DATABASES_FIELD_NUMBER = 1; private java.util.List mysqlDatabases_; /** - * - * *
    * Mysql databases on the server
    * 
@@ -138,8 +114,6 @@ public java.util.List getMysqlData return mysqlDatabases_; } /** - * - * *
    * Mysql databases on the server
    * 
@@ -147,13 +121,11 @@ public java.util.List getMysqlData * repeated .google.cloud.datastream.v1.MysqlDatabase mysql_databases = 1; */ @java.lang.Override - public java.util.List + public java.util.List getMysqlDatabasesOrBuilderList() { return mysqlDatabases_; } /** - * - * *
    * Mysql databases on the server
    * 
@@ -165,8 +137,6 @@ public int getMysqlDatabasesCount() { return mysqlDatabases_.size(); } /** - * - * *
    * Mysql databases on the server
    * 
@@ -178,8 +148,6 @@ public com.google.cloud.datastream.v1.MysqlDatabase getMysqlDatabases(int index) return mysqlDatabases_.get(index); } /** - * - * *
    * Mysql databases on the server
    * 
@@ -193,7 +161,6 @@ public com.google.cloud.datastream.v1.MysqlDatabaseOrBuilder getMysqlDatabasesOr } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -205,7 +172,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 < mysqlDatabases_.size(); i++) { output.writeMessage(1, mysqlDatabases_.get(i)); } @@ -219,7 +187,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < mysqlDatabases_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, mysqlDatabases_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, mysqlDatabases_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -229,15 +198,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.datastream.v1.MysqlRdbms)) { return super.equals(obj); } - com.google.cloud.datastream.v1.MysqlRdbms other = - (com.google.cloud.datastream.v1.MysqlRdbms) obj; + com.google.cloud.datastream.v1.MysqlRdbms other = (com.google.cloud.datastream.v1.MysqlRdbms) obj; - if (!getMysqlDatabasesList().equals(other.getMysqlDatabasesList())) return false; + if (!getMysqlDatabasesList() + .equals(other.getMysqlDatabasesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -258,127 +227,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.datastream.v1.MysqlRdbms parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.datastream.v1.MysqlRdbms parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.MysqlRdbms parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.MysqlRdbms parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.MysqlRdbms parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.MysqlRdbms parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.MysqlRdbms parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.MysqlRdbms 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.datastream.v1.MysqlRdbms parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1.MysqlRdbms parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.MysqlRdbms parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.MysqlRdbms 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.datastream.v1.MysqlRdbms parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.MysqlRdbms parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datastream.v1.MysqlRdbms prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * MySQL database structure
    * 
* * Protobuf type {@code google.cloud.datastream.v1.MysqlRdbms} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1.MysqlRdbms) com.google.cloud.datastream.v1.MysqlRdbmsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_MysqlRdbms_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_MysqlRdbms_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_MysqlRdbms_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_MysqlRdbms_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.MysqlRdbms.class, - com.google.cloud.datastream.v1.MysqlRdbms.Builder.class); + com.google.cloud.datastream.v1.MysqlRdbms.class, com.google.cloud.datastream.v1.MysqlRdbms.Builder.class); } // Construct using com.google.cloud.datastream.v1.MysqlRdbms.newBuilder() @@ -386,17 +346,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getMysqlDatabasesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -410,9 +370,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_MysqlRdbms_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_MysqlRdbms_descriptor; } @java.lang.Override @@ -431,8 +391,7 @@ public com.google.cloud.datastream.v1.MysqlRdbms build() { @java.lang.Override public com.google.cloud.datastream.v1.MysqlRdbms buildPartial() { - com.google.cloud.datastream.v1.MysqlRdbms result = - new com.google.cloud.datastream.v1.MysqlRdbms(this); + com.google.cloud.datastream.v1.MysqlRdbms result = new com.google.cloud.datastream.v1.MysqlRdbms(this); int from_bitField0_ = bitField0_; if (mysqlDatabasesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -451,39 +410,38 @@ public com.google.cloud.datastream.v1.MysqlRdbms buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1.MysqlRdbms) { - return mergeFrom((com.google.cloud.datastream.v1.MysqlRdbms) other); + return mergeFrom((com.google.cloud.datastream.v1.MysqlRdbms)other); } else { super.mergeFrom(other); return this; @@ -510,10 +468,9 @@ public Builder mergeFrom(com.google.cloud.datastream.v1.MysqlRdbms other) { mysqlDatabasesBuilder_ = null; mysqlDatabases_ = other.mysqlDatabases_; bitField0_ = (bitField0_ & ~0x00000001); - mysqlDatabasesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getMysqlDatabasesFieldBuilder() - : null; + mysqlDatabasesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getMysqlDatabasesFieldBuilder() : null; } else { mysqlDatabasesBuilder_.addAllMessages(other.mysqlDatabases_); } @@ -547,29 +504,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List mysqlDatabases_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureMysqlDatabasesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - mysqlDatabases_ = - new java.util.ArrayList(mysqlDatabases_); + mysqlDatabases_ = new java.util.ArrayList(mysqlDatabases_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datastream.v1.MysqlDatabase, - com.google.cloud.datastream.v1.MysqlDatabase.Builder, - com.google.cloud.datastream.v1.MysqlDatabaseOrBuilder> - mysqlDatabasesBuilder_; + com.google.cloud.datastream.v1.MysqlDatabase, com.google.cloud.datastream.v1.MysqlDatabase.Builder, com.google.cloud.datastream.v1.MysqlDatabaseOrBuilder> mysqlDatabasesBuilder_; /** - * - * *
      * Mysql databases on the server
      * 
@@ -584,8 +533,6 @@ public java.util.List getMysqlData } } /** - * - * *
      * Mysql databases on the server
      * 
@@ -600,8 +547,6 @@ public int getMysqlDatabasesCount() { } } /** - * - * *
      * Mysql databases on the server
      * 
@@ -616,8 +561,6 @@ public com.google.cloud.datastream.v1.MysqlDatabase getMysqlDatabases(int index) } } /** - * - * *
      * Mysql databases on the server
      * 
@@ -639,8 +582,6 @@ public Builder setMysqlDatabases( return this; } /** - * - * *
      * Mysql databases on the server
      * 
@@ -659,8 +600,6 @@ public Builder setMysqlDatabases( return this; } /** - * - * *
      * Mysql databases on the server
      * 
@@ -681,8 +620,6 @@ public Builder addMysqlDatabases(com.google.cloud.datastream.v1.MysqlDatabase va return this; } /** - * - * *
      * Mysql databases on the server
      * 
@@ -704,8 +641,6 @@ public Builder addMysqlDatabases( return this; } /** - * - * *
      * Mysql databases on the server
      * 
@@ -724,8 +659,6 @@ public Builder addMysqlDatabases( return this; } /** - * - * *
      * Mysql databases on the server
      * 
@@ -744,8 +677,6 @@ public Builder addMysqlDatabases( return this; } /** - * - * *
      * Mysql databases on the server
      * 
@@ -756,7 +687,8 @@ public Builder addAllMysqlDatabases( java.lang.Iterable values) { if (mysqlDatabasesBuilder_ == null) { ensureMysqlDatabasesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, mysqlDatabases_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, mysqlDatabases_); onChanged(); } else { mysqlDatabasesBuilder_.addAllMessages(values); @@ -764,8 +696,6 @@ public Builder addAllMysqlDatabases( return this; } /** - * - * *
      * Mysql databases on the server
      * 
@@ -783,8 +713,6 @@ public Builder clearMysqlDatabases() { return this; } /** - * - * *
      * Mysql databases on the server
      * 
@@ -802,8 +730,6 @@ public Builder removeMysqlDatabases(int index) { return this; } /** - * - * *
      * Mysql databases on the server
      * 
@@ -815,8 +741,6 @@ public com.google.cloud.datastream.v1.MysqlDatabase.Builder getMysqlDatabasesBui return getMysqlDatabasesFieldBuilder().getBuilder(index); } /** - * - * *
      * Mysql databases on the server
      * 
@@ -826,22 +750,19 @@ public com.google.cloud.datastream.v1.MysqlDatabase.Builder getMysqlDatabasesBui public com.google.cloud.datastream.v1.MysqlDatabaseOrBuilder getMysqlDatabasesOrBuilder( int index) { if (mysqlDatabasesBuilder_ == null) { - return mysqlDatabases_.get(index); - } else { + return mysqlDatabases_.get(index); } else { return mysqlDatabasesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Mysql databases on the server
      * 
* * repeated .google.cloud.datastream.v1.MysqlDatabase mysql_databases = 1; */ - public java.util.List - getMysqlDatabasesOrBuilderList() { + public java.util.List + getMysqlDatabasesOrBuilderList() { if (mysqlDatabasesBuilder_ != null) { return mysqlDatabasesBuilder_.getMessageOrBuilderList(); } else { @@ -849,8 +770,6 @@ public com.google.cloud.datastream.v1.MysqlDatabaseOrBuilder getMysqlDatabasesOr } } /** - * - * *
      * Mysql databases on the server
      * 
@@ -858,12 +777,10 @@ public com.google.cloud.datastream.v1.MysqlDatabaseOrBuilder getMysqlDatabasesOr * repeated .google.cloud.datastream.v1.MysqlDatabase mysql_databases = 1; */ public com.google.cloud.datastream.v1.MysqlDatabase.Builder addMysqlDatabasesBuilder() { - return getMysqlDatabasesFieldBuilder() - .addBuilder(com.google.cloud.datastream.v1.MysqlDatabase.getDefaultInstance()); + return getMysqlDatabasesFieldBuilder().addBuilder( + com.google.cloud.datastream.v1.MysqlDatabase.getDefaultInstance()); } /** - * - * *
      * Mysql databases on the server
      * 
@@ -872,34 +789,26 @@ public com.google.cloud.datastream.v1.MysqlDatabase.Builder addMysqlDatabasesBui */ public com.google.cloud.datastream.v1.MysqlDatabase.Builder addMysqlDatabasesBuilder( int index) { - return getMysqlDatabasesFieldBuilder() - .addBuilder(index, com.google.cloud.datastream.v1.MysqlDatabase.getDefaultInstance()); + return getMysqlDatabasesFieldBuilder().addBuilder( + index, com.google.cloud.datastream.v1.MysqlDatabase.getDefaultInstance()); } /** - * - * *
      * Mysql databases on the server
      * 
* * repeated .google.cloud.datastream.v1.MysqlDatabase mysql_databases = 1; */ - public java.util.List - getMysqlDatabasesBuilderList() { + public java.util.List + getMysqlDatabasesBuilderList() { return getMysqlDatabasesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datastream.v1.MysqlDatabase, - com.google.cloud.datastream.v1.MysqlDatabase.Builder, - com.google.cloud.datastream.v1.MysqlDatabaseOrBuilder> + com.google.cloud.datastream.v1.MysqlDatabase, com.google.cloud.datastream.v1.MysqlDatabase.Builder, com.google.cloud.datastream.v1.MysqlDatabaseOrBuilder> getMysqlDatabasesFieldBuilder() { if (mysqlDatabasesBuilder_ == null) { - mysqlDatabasesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datastream.v1.MysqlDatabase, - com.google.cloud.datastream.v1.MysqlDatabase.Builder, - com.google.cloud.datastream.v1.MysqlDatabaseOrBuilder>( + mysqlDatabasesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datastream.v1.MysqlDatabase, com.google.cloud.datastream.v1.MysqlDatabase.Builder, com.google.cloud.datastream.v1.MysqlDatabaseOrBuilder>( mysqlDatabases_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -908,9 +817,9 @@ public com.google.cloud.datastream.v1.MysqlDatabase.Builder addMysqlDatabasesBui } return mysqlDatabasesBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -920,12 +829,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1.MysqlRdbms) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1.MysqlRdbms) private static final com.google.cloud.datastream.v1.MysqlRdbms DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1.MysqlRdbms(); } @@ -934,16 +843,16 @@ public static com.google.cloud.datastream.v1.MysqlRdbms getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MysqlRdbms parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MysqlRdbms(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MysqlRdbms parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MysqlRdbms(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -958,4 +867,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datastream.v1.MysqlRdbms getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/MysqlRdbmsOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/MysqlRdbmsOrBuilder.java similarity index 62% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/MysqlRdbmsOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/MysqlRdbmsOrBuilder.java index 3ede5e20..b9ba684b 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/MysqlRdbmsOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/MysqlRdbmsOrBuilder.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/datastream/v1/datastream_resources.proto package com.google.cloud.datastream.v1; -public interface MysqlRdbmsOrBuilder - extends +public interface MysqlRdbmsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1.MysqlRdbms) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Mysql databases on the server
    * 
* * repeated .google.cloud.datastream.v1.MysqlDatabase mysql_databases = 1; */ - java.util.List getMysqlDatabasesList(); + java.util.List + getMysqlDatabasesList(); /** - * - * *
    * Mysql databases on the server
    * 
@@ -44,8 +25,6 @@ public interface MysqlRdbmsOrBuilder */ com.google.cloud.datastream.v1.MysqlDatabase getMysqlDatabases(int index); /** - * - * *
    * Mysql databases on the server
    * 
@@ -54,24 +33,21 @@ public interface MysqlRdbmsOrBuilder */ int getMysqlDatabasesCount(); /** - * - * *
    * Mysql databases on the server
    * 
* * repeated .google.cloud.datastream.v1.MysqlDatabase mysql_databases = 1; */ - java.util.List + java.util.List getMysqlDatabasesOrBuilderList(); /** - * - * *
    * Mysql databases on the server
    * 
* * repeated .google.cloud.datastream.v1.MysqlDatabase mysql_databases = 1; */ - com.google.cloud.datastream.v1.MysqlDatabaseOrBuilder getMysqlDatabasesOrBuilder(int index); + com.google.cloud.datastream.v1.MysqlDatabaseOrBuilder getMysqlDatabasesOrBuilder( + int index); } diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/MysqlSourceConfig.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/MysqlSourceConfig.java similarity index 67% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/MysqlSourceConfig.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/MysqlSourceConfig.java index f29e43fa..164d9daa 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/MysqlSourceConfig.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/MysqlSourceConfig.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1/datastream_resources.proto package com.google.cloud.datastream.v1; /** - * - * *
  * MySQL source configuration
  * 
* * Protobuf type {@code google.cloud.datastream.v1.MysqlSourceConfig} */ -public final class MysqlSourceConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class MysqlSourceConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1.MysqlSourceConfig) MysqlSourceConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use MysqlSourceConfig.newBuilder() to construct. private MysqlSourceConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private MysqlSourceConfig() {} + private MysqlSourceConfig() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new MysqlSourceConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private MysqlSourceConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,45 +52,44 @@ private MysqlSourceConfig( case 0: done = true; break; - case 10: - { - com.google.cloud.datastream.v1.MysqlRdbms.Builder subBuilder = null; - if (includeObjects_ != null) { - subBuilder = includeObjects_.toBuilder(); - } - includeObjects_ = - input.readMessage( - com.google.cloud.datastream.v1.MysqlRdbms.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(includeObjects_); - includeObjects_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.datastream.v1.MysqlRdbms.Builder subBuilder = null; + if (includeObjects_ != null) { + subBuilder = includeObjects_.toBuilder(); } - case 18: - { - com.google.cloud.datastream.v1.MysqlRdbms.Builder subBuilder = null; - if (excludeObjects_ != null) { - subBuilder = excludeObjects_.toBuilder(); - } - excludeObjects_ = - input.readMessage( - com.google.cloud.datastream.v1.MysqlRdbms.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(excludeObjects_); - excludeObjects_ = subBuilder.buildPartial(); - } - - break; + includeObjects_ = input.readMessage(com.google.cloud.datastream.v1.MysqlRdbms.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(includeObjects_); + includeObjects_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 18: { + com.google.cloud.datastream.v1.MysqlRdbms.Builder subBuilder = null; + if (excludeObjects_ != null) { + subBuilder = excludeObjects_.toBuilder(); } + excludeObjects_ = input.readMessage(com.google.cloud.datastream.v1.MysqlRdbms.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(excludeObjects_); + excludeObjects_ = subBuilder.buildPartial(); + } + + break; + } + case 24: { + + maxConcurrentCdcTasks_ = input.readInt32(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -114,39 +97,34 @@ private MysqlSourceConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_MysqlSourceConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_MysqlSourceConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_MysqlSourceConfig_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_MysqlSourceConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.MysqlSourceConfig.class, - com.google.cloud.datastream.v1.MysqlSourceConfig.Builder.class); + com.google.cloud.datastream.v1.MysqlSourceConfig.class, com.google.cloud.datastream.v1.MysqlSourceConfig.Builder.class); } public static final int INCLUDE_OBJECTS_FIELD_NUMBER = 1; private com.google.cloud.datastream.v1.MysqlRdbms includeObjects_; /** - * - * *
    * MySQL objects to retrieve from the source.
    * 
* * .google.cloud.datastream.v1.MysqlRdbms include_objects = 1; - * * @return Whether the includeObjects field is set. */ @java.lang.Override @@ -154,25 +132,18 @@ public boolean hasIncludeObjects() { return includeObjects_ != null; } /** - * - * *
    * MySQL objects to retrieve from the source.
    * 
* * .google.cloud.datastream.v1.MysqlRdbms include_objects = 1; - * * @return The includeObjects. */ @java.lang.Override public com.google.cloud.datastream.v1.MysqlRdbms getIncludeObjects() { - return includeObjects_ == null - ? com.google.cloud.datastream.v1.MysqlRdbms.getDefaultInstance() - : includeObjects_; + return includeObjects_ == null ? com.google.cloud.datastream.v1.MysqlRdbms.getDefaultInstance() : includeObjects_; } /** - * - * *
    * MySQL objects to retrieve from the source.
    * 
@@ -187,14 +158,11 @@ public com.google.cloud.datastream.v1.MysqlRdbmsOrBuilder getIncludeObjectsOrBui public static final int EXCLUDE_OBJECTS_FIELD_NUMBER = 2; private com.google.cloud.datastream.v1.MysqlRdbms excludeObjects_; /** - * - * *
    * MySQL objects to exclude from the stream.
    * 
* * .google.cloud.datastream.v1.MysqlRdbms exclude_objects = 2; - * * @return Whether the excludeObjects field is set. */ @java.lang.Override @@ -202,25 +170,18 @@ public boolean hasExcludeObjects() { return excludeObjects_ != null; } /** - * - * *
    * MySQL objects to exclude from the stream.
    * 
* * .google.cloud.datastream.v1.MysqlRdbms exclude_objects = 2; - * * @return The excludeObjects. */ @java.lang.Override public com.google.cloud.datastream.v1.MysqlRdbms getExcludeObjects() { - return excludeObjects_ == null - ? com.google.cloud.datastream.v1.MysqlRdbms.getDefaultInstance() - : excludeObjects_; + return excludeObjects_ == null ? com.google.cloud.datastream.v1.MysqlRdbms.getDefaultInstance() : excludeObjects_; } /** - * - * *
    * MySQL objects to exclude from the stream.
    * 
@@ -232,8 +193,23 @@ public com.google.cloud.datastream.v1.MysqlRdbmsOrBuilder getExcludeObjectsOrBui return getExcludeObjects(); } - private byte memoizedIsInitialized = -1; + public static final int MAX_CONCURRENT_CDC_TASKS_FIELD_NUMBER = 3; + private int maxConcurrentCdcTasks_; + /** + *
+   * Maximum number of concurrent CDC tasks. The number should be non negative.
+   * If not set (or set to 0), the system's default value will be used.
+   * 
+ * + * int32 max_concurrent_cdc_tasks = 3; + * @return The maxConcurrentCdcTasks. + */ + @java.lang.Override + public int getMaxConcurrentCdcTasks() { + return maxConcurrentCdcTasks_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -245,13 +221,17 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (includeObjects_ != null) { output.writeMessage(1, getIncludeObjects()); } if (excludeObjects_ != null) { output.writeMessage(2, getExcludeObjects()); } + if (maxConcurrentCdcTasks_ != 0) { + output.writeInt32(3, maxConcurrentCdcTasks_); + } unknownFields.writeTo(output); } @@ -262,10 +242,16 @@ public int getSerializedSize() { size = 0; if (includeObjects_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getIncludeObjects()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getIncludeObjects()); } if (excludeObjects_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getExcludeObjects()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getExcludeObjects()); + } + if (maxConcurrentCdcTasks_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, maxConcurrentCdcTasks_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -275,22 +261,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.datastream.v1.MysqlSourceConfig)) { return super.equals(obj); } - com.google.cloud.datastream.v1.MysqlSourceConfig other = - (com.google.cloud.datastream.v1.MysqlSourceConfig) obj; + com.google.cloud.datastream.v1.MysqlSourceConfig other = (com.google.cloud.datastream.v1.MysqlSourceConfig) obj; if (hasIncludeObjects() != other.hasIncludeObjects()) return false; if (hasIncludeObjects()) { - if (!getIncludeObjects().equals(other.getIncludeObjects())) return false; + if (!getIncludeObjects() + .equals(other.getIncludeObjects())) return false; } if (hasExcludeObjects() != other.hasExcludeObjects()) return false; if (hasExcludeObjects()) { - if (!getExcludeObjects().equals(other.getExcludeObjects())) return false; + if (!getExcludeObjects() + .equals(other.getExcludeObjects())) return false; } + if (getMaxConcurrentCdcTasks() + != other.getMaxConcurrentCdcTasks()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -310,132 +299,125 @@ public int hashCode() { hash = (37 * hash) + EXCLUDE_OBJECTS_FIELD_NUMBER; hash = (53 * hash) + getExcludeObjects().hashCode(); } + hash = (37 * hash) + MAX_CONCURRENT_CDC_TASKS_FIELD_NUMBER; + hash = (53 * hash) + getMaxConcurrentCdcTasks(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.datastream.v1.MysqlSourceConfig parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.datastream.v1.MysqlSourceConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.MysqlSourceConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.MysqlSourceConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.MysqlSourceConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.MysqlSourceConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.MysqlSourceConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1.MysqlSourceConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.MysqlSourceConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.MysqlSourceConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1.MysqlSourceConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.MysqlSourceConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.MysqlSourceConfig 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.datastream.v1.MysqlSourceConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.MysqlSourceConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datastream.v1.MysqlSourceConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * MySQL source configuration
    * 
* * Protobuf type {@code google.cloud.datastream.v1.MysqlSourceConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1.MysqlSourceConfig) com.google.cloud.datastream.v1.MysqlSourceConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_MysqlSourceConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_MysqlSourceConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_MysqlSourceConfig_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_MysqlSourceConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.MysqlSourceConfig.class, - com.google.cloud.datastream.v1.MysqlSourceConfig.Builder.class); + com.google.cloud.datastream.v1.MysqlSourceConfig.class, com.google.cloud.datastream.v1.MysqlSourceConfig.Builder.class); } // Construct using com.google.cloud.datastream.v1.MysqlSourceConfig.newBuilder() @@ -443,15 +425,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -467,13 +450,15 @@ public Builder clear() { excludeObjects_ = null; excludeObjectsBuilder_ = null; } + maxConcurrentCdcTasks_ = 0; + return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_MysqlSourceConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_MysqlSourceConfig_descriptor; } @java.lang.Override @@ -492,8 +477,7 @@ public com.google.cloud.datastream.v1.MysqlSourceConfig build() { @java.lang.Override public com.google.cloud.datastream.v1.MysqlSourceConfig buildPartial() { - com.google.cloud.datastream.v1.MysqlSourceConfig result = - new com.google.cloud.datastream.v1.MysqlSourceConfig(this); + com.google.cloud.datastream.v1.MysqlSourceConfig result = new com.google.cloud.datastream.v1.MysqlSourceConfig(this); if (includeObjectsBuilder_ == null) { result.includeObjects_ = includeObjects_; } else { @@ -504,6 +488,7 @@ public com.google.cloud.datastream.v1.MysqlSourceConfig buildPartial() { } else { result.excludeObjects_ = excludeObjectsBuilder_.build(); } + result.maxConcurrentCdcTasks_ = maxConcurrentCdcTasks_; onBuilt(); return result; } @@ -512,39 +497,38 @@ public com.google.cloud.datastream.v1.MysqlSourceConfig buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1.MysqlSourceConfig) { - return mergeFrom((com.google.cloud.datastream.v1.MysqlSourceConfig) other); + return mergeFrom((com.google.cloud.datastream.v1.MysqlSourceConfig)other); } else { super.mergeFrom(other); return this; @@ -552,14 +536,16 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datastream.v1.MysqlSourceConfig other) { - if (other == com.google.cloud.datastream.v1.MysqlSourceConfig.getDefaultInstance()) - return this; + if (other == com.google.cloud.datastream.v1.MysqlSourceConfig.getDefaultInstance()) return this; if (other.hasIncludeObjects()) { mergeIncludeObjects(other.getIncludeObjects()); } if (other.hasExcludeObjects()) { mergeExcludeObjects(other.getExcludeObjects()); } + if (other.getMaxConcurrentCdcTasks() != 0) { + setMaxConcurrentCdcTasks(other.getMaxConcurrentCdcTasks()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -591,47 +577,34 @@ public Builder mergeFrom( private com.google.cloud.datastream.v1.MysqlRdbms includeObjects_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.MysqlRdbms, - com.google.cloud.datastream.v1.MysqlRdbms.Builder, - com.google.cloud.datastream.v1.MysqlRdbmsOrBuilder> - includeObjectsBuilder_; + com.google.cloud.datastream.v1.MysqlRdbms, com.google.cloud.datastream.v1.MysqlRdbms.Builder, com.google.cloud.datastream.v1.MysqlRdbmsOrBuilder> includeObjectsBuilder_; /** - * - * *
      * MySQL objects to retrieve from the source.
      * 
* * .google.cloud.datastream.v1.MysqlRdbms include_objects = 1; - * * @return Whether the includeObjects field is set. */ public boolean hasIncludeObjects() { return includeObjectsBuilder_ != null || includeObjects_ != null; } /** - * - * *
      * MySQL objects to retrieve from the source.
      * 
* * .google.cloud.datastream.v1.MysqlRdbms include_objects = 1; - * * @return The includeObjects. */ public com.google.cloud.datastream.v1.MysqlRdbms getIncludeObjects() { if (includeObjectsBuilder_ == null) { - return includeObjects_ == null - ? com.google.cloud.datastream.v1.MysqlRdbms.getDefaultInstance() - : includeObjects_; + return includeObjects_ == null ? com.google.cloud.datastream.v1.MysqlRdbms.getDefaultInstance() : includeObjects_; } else { return includeObjectsBuilder_.getMessage(); } } /** - * - * *
      * MySQL objects to retrieve from the source.
      * 
@@ -652,8 +625,6 @@ public Builder setIncludeObjects(com.google.cloud.datastream.v1.MysqlRdbms value return this; } /** - * - * *
      * MySQL objects to retrieve from the source.
      * 
@@ -672,8 +643,6 @@ public Builder setIncludeObjects( return this; } /** - * - * *
      * MySQL objects to retrieve from the source.
      * 
@@ -684,9 +653,7 @@ public Builder mergeIncludeObjects(com.google.cloud.datastream.v1.MysqlRdbms val if (includeObjectsBuilder_ == null) { if (includeObjects_ != null) { includeObjects_ = - com.google.cloud.datastream.v1.MysqlRdbms.newBuilder(includeObjects_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.datastream.v1.MysqlRdbms.newBuilder(includeObjects_).mergeFrom(value).buildPartial(); } else { includeObjects_ = value; } @@ -698,8 +665,6 @@ public Builder mergeIncludeObjects(com.google.cloud.datastream.v1.MysqlRdbms val return this; } /** - * - * *
      * MySQL objects to retrieve from the source.
      * 
@@ -718,8 +683,6 @@ public Builder clearIncludeObjects() { return this; } /** - * - * *
      * MySQL objects to retrieve from the source.
      * 
@@ -727,13 +690,11 @@ public Builder clearIncludeObjects() { * .google.cloud.datastream.v1.MysqlRdbms include_objects = 1; */ public com.google.cloud.datastream.v1.MysqlRdbms.Builder getIncludeObjectsBuilder() { - + onChanged(); return getIncludeObjectsFieldBuilder().getBuilder(); } /** - * - * *
      * MySQL objects to retrieve from the source.
      * 
@@ -744,14 +705,11 @@ public com.google.cloud.datastream.v1.MysqlRdbmsOrBuilder getIncludeObjectsOrBui if (includeObjectsBuilder_ != null) { return includeObjectsBuilder_.getMessageOrBuilder(); } else { - return includeObjects_ == null - ? com.google.cloud.datastream.v1.MysqlRdbms.getDefaultInstance() - : includeObjects_; + return includeObjects_ == null ? + com.google.cloud.datastream.v1.MysqlRdbms.getDefaultInstance() : includeObjects_; } } /** - * - * *
      * MySQL objects to retrieve from the source.
      * 
@@ -759,17 +717,14 @@ public com.google.cloud.datastream.v1.MysqlRdbmsOrBuilder getIncludeObjectsOrBui * .google.cloud.datastream.v1.MysqlRdbms include_objects = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.MysqlRdbms, - com.google.cloud.datastream.v1.MysqlRdbms.Builder, - com.google.cloud.datastream.v1.MysqlRdbmsOrBuilder> + com.google.cloud.datastream.v1.MysqlRdbms, com.google.cloud.datastream.v1.MysqlRdbms.Builder, com.google.cloud.datastream.v1.MysqlRdbmsOrBuilder> getIncludeObjectsFieldBuilder() { if (includeObjectsBuilder_ == null) { - includeObjectsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.MysqlRdbms, - com.google.cloud.datastream.v1.MysqlRdbms.Builder, - com.google.cloud.datastream.v1.MysqlRdbmsOrBuilder>( - getIncludeObjects(), getParentForChildren(), isClean()); + includeObjectsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1.MysqlRdbms, com.google.cloud.datastream.v1.MysqlRdbms.Builder, com.google.cloud.datastream.v1.MysqlRdbmsOrBuilder>( + getIncludeObjects(), + getParentForChildren(), + isClean()); includeObjects_ = null; } return includeObjectsBuilder_; @@ -777,47 +732,34 @@ public com.google.cloud.datastream.v1.MysqlRdbmsOrBuilder getIncludeObjectsOrBui private com.google.cloud.datastream.v1.MysqlRdbms excludeObjects_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.MysqlRdbms, - com.google.cloud.datastream.v1.MysqlRdbms.Builder, - com.google.cloud.datastream.v1.MysqlRdbmsOrBuilder> - excludeObjectsBuilder_; + com.google.cloud.datastream.v1.MysqlRdbms, com.google.cloud.datastream.v1.MysqlRdbms.Builder, com.google.cloud.datastream.v1.MysqlRdbmsOrBuilder> excludeObjectsBuilder_; /** - * - * *
      * MySQL objects to exclude from the stream.
      * 
* * .google.cloud.datastream.v1.MysqlRdbms exclude_objects = 2; - * * @return Whether the excludeObjects field is set. */ public boolean hasExcludeObjects() { return excludeObjectsBuilder_ != null || excludeObjects_ != null; } /** - * - * *
      * MySQL objects to exclude from the stream.
      * 
* * .google.cloud.datastream.v1.MysqlRdbms exclude_objects = 2; - * * @return The excludeObjects. */ public com.google.cloud.datastream.v1.MysqlRdbms getExcludeObjects() { if (excludeObjectsBuilder_ == null) { - return excludeObjects_ == null - ? com.google.cloud.datastream.v1.MysqlRdbms.getDefaultInstance() - : excludeObjects_; + return excludeObjects_ == null ? com.google.cloud.datastream.v1.MysqlRdbms.getDefaultInstance() : excludeObjects_; } else { return excludeObjectsBuilder_.getMessage(); } } /** - * - * *
      * MySQL objects to exclude from the stream.
      * 
@@ -838,8 +780,6 @@ public Builder setExcludeObjects(com.google.cloud.datastream.v1.MysqlRdbms value return this; } /** - * - * *
      * MySQL objects to exclude from the stream.
      * 
@@ -858,8 +798,6 @@ public Builder setExcludeObjects( return this; } /** - * - * *
      * MySQL objects to exclude from the stream.
      * 
@@ -870,9 +808,7 @@ public Builder mergeExcludeObjects(com.google.cloud.datastream.v1.MysqlRdbms val if (excludeObjectsBuilder_ == null) { if (excludeObjects_ != null) { excludeObjects_ = - com.google.cloud.datastream.v1.MysqlRdbms.newBuilder(excludeObjects_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.datastream.v1.MysqlRdbms.newBuilder(excludeObjects_).mergeFrom(value).buildPartial(); } else { excludeObjects_ = value; } @@ -884,8 +820,6 @@ public Builder mergeExcludeObjects(com.google.cloud.datastream.v1.MysqlRdbms val return this; } /** - * - * *
      * MySQL objects to exclude from the stream.
      * 
@@ -904,8 +838,6 @@ public Builder clearExcludeObjects() { return this; } /** - * - * *
      * MySQL objects to exclude from the stream.
      * 
@@ -913,13 +845,11 @@ public Builder clearExcludeObjects() { * .google.cloud.datastream.v1.MysqlRdbms exclude_objects = 2; */ public com.google.cloud.datastream.v1.MysqlRdbms.Builder getExcludeObjectsBuilder() { - + onChanged(); return getExcludeObjectsFieldBuilder().getBuilder(); } /** - * - * *
      * MySQL objects to exclude from the stream.
      * 
@@ -930,14 +860,11 @@ public com.google.cloud.datastream.v1.MysqlRdbmsOrBuilder getExcludeObjectsOrBui if (excludeObjectsBuilder_ != null) { return excludeObjectsBuilder_.getMessageOrBuilder(); } else { - return excludeObjects_ == null - ? com.google.cloud.datastream.v1.MysqlRdbms.getDefaultInstance() - : excludeObjects_; + return excludeObjects_ == null ? + com.google.cloud.datastream.v1.MysqlRdbms.getDefaultInstance() : excludeObjects_; } } /** - * - * *
      * MySQL objects to exclude from the stream.
      * 
@@ -945,24 +872,67 @@ public com.google.cloud.datastream.v1.MysqlRdbmsOrBuilder getExcludeObjectsOrBui * .google.cloud.datastream.v1.MysqlRdbms exclude_objects = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.MysqlRdbms, - com.google.cloud.datastream.v1.MysqlRdbms.Builder, - com.google.cloud.datastream.v1.MysqlRdbmsOrBuilder> + com.google.cloud.datastream.v1.MysqlRdbms, com.google.cloud.datastream.v1.MysqlRdbms.Builder, com.google.cloud.datastream.v1.MysqlRdbmsOrBuilder> getExcludeObjectsFieldBuilder() { if (excludeObjectsBuilder_ == null) { - excludeObjectsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.MysqlRdbms, - com.google.cloud.datastream.v1.MysqlRdbms.Builder, - com.google.cloud.datastream.v1.MysqlRdbmsOrBuilder>( - getExcludeObjects(), getParentForChildren(), isClean()); + excludeObjectsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1.MysqlRdbms, com.google.cloud.datastream.v1.MysqlRdbms.Builder, com.google.cloud.datastream.v1.MysqlRdbmsOrBuilder>( + getExcludeObjects(), + getParentForChildren(), + isClean()); excludeObjects_ = null; } return excludeObjectsBuilder_; } + private int maxConcurrentCdcTasks_ ; + /** + *
+     * Maximum number of concurrent CDC tasks. The number should be non negative.
+     * If not set (or set to 0), the system's default value will be used.
+     * 
+ * + * int32 max_concurrent_cdc_tasks = 3; + * @return The maxConcurrentCdcTasks. + */ + @java.lang.Override + public int getMaxConcurrentCdcTasks() { + return maxConcurrentCdcTasks_; + } + /** + *
+     * Maximum number of concurrent CDC tasks. The number should be non negative.
+     * If not set (or set to 0), the system's default value will be used.
+     * 
+ * + * int32 max_concurrent_cdc_tasks = 3; + * @param value The maxConcurrentCdcTasks to set. + * @return This builder for chaining. + */ + public Builder setMaxConcurrentCdcTasks(int value) { + + maxConcurrentCdcTasks_ = value; + onChanged(); + return this; + } + /** + *
+     * Maximum number of concurrent CDC tasks. The number should be non negative.
+     * If not set (or set to 0), the system's default value will be used.
+     * 
+ * + * int32 max_concurrent_cdc_tasks = 3; + * @return This builder for chaining. + */ + public Builder clearMaxConcurrentCdcTasks() { + + maxConcurrentCdcTasks_ = 0; + onChanged(); + return this; + } @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -972,12 +942,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1.MysqlSourceConfig) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1.MysqlSourceConfig) private static final com.google.cloud.datastream.v1.MysqlSourceConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1.MysqlSourceConfig(); } @@ -986,16 +956,16 @@ public static com.google.cloud.datastream.v1.MysqlSourceConfig getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MysqlSourceConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MysqlSourceConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MysqlSourceConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MysqlSourceConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1010,4 +980,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datastream.v1.MysqlSourceConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/MysqlSourceConfigOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/MysqlSourceConfigOrBuilder.java similarity index 71% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/MysqlSourceConfigOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/MysqlSourceConfigOrBuilder.java index 6e48479b..cd867780 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/MysqlSourceConfigOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/MysqlSourceConfigOrBuilder.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/datastream/v1/datastream_resources.proto package com.google.cloud.datastream.v1; -public interface MysqlSourceConfigOrBuilder - extends +public interface MysqlSourceConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1.MysqlSourceConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * MySQL objects to retrieve from the source.
    * 
* * .google.cloud.datastream.v1.MysqlRdbms include_objects = 1; - * * @return Whether the includeObjects field is set. */ boolean hasIncludeObjects(); /** - * - * *
    * MySQL objects to retrieve from the source.
    * 
* * .google.cloud.datastream.v1.MysqlRdbms include_objects = 1; - * * @return The includeObjects. */ com.google.cloud.datastream.v1.MysqlRdbms getIncludeObjects(); /** - * - * *
    * MySQL objects to retrieve from the source.
    * 
@@ -59,32 +35,24 @@ public interface MysqlSourceConfigOrBuilder com.google.cloud.datastream.v1.MysqlRdbmsOrBuilder getIncludeObjectsOrBuilder(); /** - * - * *
    * MySQL objects to exclude from the stream.
    * 
* * .google.cloud.datastream.v1.MysqlRdbms exclude_objects = 2; - * * @return Whether the excludeObjects field is set. */ boolean hasExcludeObjects(); /** - * - * *
    * MySQL objects to exclude from the stream.
    * 
* * .google.cloud.datastream.v1.MysqlRdbms exclude_objects = 2; - * * @return The excludeObjects. */ com.google.cloud.datastream.v1.MysqlRdbms getExcludeObjects(); /** - * - * *
    * MySQL objects to exclude from the stream.
    * 
@@ -92,4 +60,15 @@ public interface MysqlSourceConfigOrBuilder * .google.cloud.datastream.v1.MysqlRdbms exclude_objects = 2; */ com.google.cloud.datastream.v1.MysqlRdbmsOrBuilder getExcludeObjectsOrBuilder(); + + /** + *
+   * Maximum number of concurrent CDC tasks. The number should be non negative.
+   * If not set (or set to 0), the system's default value will be used.
+   * 
+ * + * int32 max_concurrent_cdc_tasks = 3; + * @return The maxConcurrentCdcTasks. + */ + int getMaxConcurrentCdcTasks(); } diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/MysqlSslConfig.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/MysqlSslConfig.java similarity index 75% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/MysqlSslConfig.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/MysqlSslConfig.java index 70670879..81675be7 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/MysqlSslConfig.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/MysqlSslConfig.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/datastream/v1/datastream_resources.proto package com.google.cloud.datastream.v1; /** - * - * *
  * MySQL SSL configuration information.
  * 
* * Protobuf type {@code google.cloud.datastream.v1.MysqlSslConfig} */ -public final class MysqlSslConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class MysqlSslConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1.MysqlSslConfig) MysqlSslConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use MysqlSslConfig.newBuilder() to construct. private MysqlSslConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private MysqlSslConfig() { clientKey_ = ""; clientCertificate_ = ""; @@ -45,15 +27,16 @@ private MysqlSslConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new MysqlSslConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private MysqlSslConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,49 +55,46 @@ private MysqlSslConfig( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - clientKey_ = s; - break; - } - case 16: - { - clientKeySet_ = input.readBool(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + clientKey_ = s; + break; + } + case 16: { - clientCertificate_ = s; - break; - } - case 32: - { - clientCertificateSet_ = input.readBool(); - break; - } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + clientKeySet_ = input.readBool(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - caCertificate_ = s; - break; - } - case 48: - { - caCertificateSet_ = input.readBool(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + clientCertificate_ = s; + break; + } + case 32: { + + clientCertificateSet_ = input.readBool(); + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + caCertificate_ = s; + break; + } + case 48: { + + caCertificateSet_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -122,33 +102,29 @@ private MysqlSslConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_MysqlSslConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_MysqlSslConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_MysqlSslConfig_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_MysqlSslConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.MysqlSslConfig.class, - com.google.cloud.datastream.v1.MysqlSslConfig.Builder.class); + com.google.cloud.datastream.v1.MysqlSslConfig.class, com.google.cloud.datastream.v1.MysqlSslConfig.Builder.class); } public static final int CLIENT_KEY_FIELD_NUMBER = 1; private volatile java.lang.Object clientKey_; /** - * - * *
    * Input only. PEM-encoded private key associated with the Client Certificate.
    * If this field is used then the 'client_certificate' and the
@@ -156,7 +132,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string client_key = 1 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The clientKey. */ @java.lang.Override @@ -165,15 +140,14 @@ public java.lang.String getClientKey() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clientKey_ = s; return s; } } /** - * - * *
    * Input only. PEM-encoded private key associated with the Client Certificate.
    * If this field is used then the 'client_certificate' and the
@@ -181,15 +155,16 @@ public java.lang.String getClientKey() {
    * 
* * string client_key = 1 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The bytes for clientKey. */ @java.lang.Override - public com.google.protobuf.ByteString getClientKeyBytes() { + public com.google.protobuf.ByteString + getClientKeyBytes() { java.lang.Object ref = clientKey_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clientKey_ = b; return b; } else { @@ -200,14 +175,11 @@ public com.google.protobuf.ByteString getClientKeyBytes() { public static final int CLIENT_KEY_SET_FIELD_NUMBER = 2; private boolean clientKeySet_; /** - * - * *
    * Output only. Indicates whether the client_key field is set.
    * 
* * bool client_key_set = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The clientKeySet. */ @java.lang.Override @@ -218,8 +190,6 @@ public boolean getClientKeySet() { public static final int CLIENT_CERTIFICATE_FIELD_NUMBER = 3; private volatile java.lang.Object clientCertificate_; /** - * - * *
    * Input only. PEM-encoded certificate that will be used by the replica to
    * authenticate against the source database server. If this field is used
@@ -227,7 +197,6 @@ public boolean getClientKeySet() {
    * 
* * string client_certificate = 3 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The clientCertificate. */ @java.lang.Override @@ -236,15 +205,14 @@ public java.lang.String getClientCertificate() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clientCertificate_ = s; return s; } } /** - * - * *
    * Input only. PEM-encoded certificate that will be used by the replica to
    * authenticate against the source database server. If this field is used
@@ -252,15 +220,16 @@ public java.lang.String getClientCertificate() {
    * 
* * string client_certificate = 3 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The bytes for clientCertificate. */ @java.lang.Override - public com.google.protobuf.ByteString getClientCertificateBytes() { + public com.google.protobuf.ByteString + getClientCertificateBytes() { java.lang.Object ref = clientCertificate_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clientCertificate_ = b; return b; } else { @@ -271,14 +240,11 @@ public com.google.protobuf.ByteString getClientCertificateBytes() { public static final int CLIENT_CERTIFICATE_SET_FIELD_NUMBER = 4; private boolean clientCertificateSet_; /** - * - * *
    * Output only. Indicates whether the client_certificate field is set.
    * 
* * bool client_certificate_set = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The clientCertificateSet. */ @java.lang.Override @@ -289,15 +255,12 @@ public boolean getClientCertificateSet() { public static final int CA_CERTIFICATE_FIELD_NUMBER = 5; private volatile java.lang.Object caCertificate_; /** - * - * *
-   * Input only. PEM-encoded certificate of the CA that signed the source
-   * database server's certificate.
+   * Input only. PEM-encoded certificate of the CA that signed the source database
+   * server's certificate.
    * 
* * string ca_certificate = 5 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The caCertificate. */ @java.lang.Override @@ -306,30 +269,30 @@ public java.lang.String getCaCertificate() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); caCertificate_ = s; return s; } } /** - * - * *
-   * Input only. PEM-encoded certificate of the CA that signed the source
-   * database server's certificate.
+   * Input only. PEM-encoded certificate of the CA that signed the source database
+   * server's certificate.
    * 
* * string ca_certificate = 5 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The bytes for caCertificate. */ @java.lang.Override - public com.google.protobuf.ByteString getCaCertificateBytes() { + public com.google.protobuf.ByteString + getCaCertificateBytes() { java.lang.Object ref = caCertificate_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); caCertificate_ = b; return b; } else { @@ -340,14 +303,11 @@ public com.google.protobuf.ByteString getCaCertificateBytes() { public static final int CA_CERTIFICATE_SET_FIELD_NUMBER = 6; private boolean caCertificateSet_; /** - * - * *
    * Output only. Indicates whether the ca_certificate field is set.
    * 
* * bool ca_certificate_set = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The caCertificateSet. */ @java.lang.Override @@ -356,7 +316,6 @@ public boolean getCaCertificateSet() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -368,7 +327,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(clientKey_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, clientKey_); } @@ -400,19 +360,22 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, clientKey_); } if (clientKeySet_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, clientKeySet_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, clientKeySet_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clientCertificate_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, clientCertificate_); } if (clientCertificateSet_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, clientCertificateSet_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, clientCertificateSet_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(caCertificate_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, caCertificate_); } if (caCertificateSet_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, caCertificateSet_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(6, caCertificateSet_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -422,20 +385,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.datastream.v1.MysqlSslConfig)) { return super.equals(obj); } - com.google.cloud.datastream.v1.MysqlSslConfig other = - (com.google.cloud.datastream.v1.MysqlSslConfig) obj; - - if (!getClientKey().equals(other.getClientKey())) return false; - if (getClientKeySet() != other.getClientKeySet()) return false; - if (!getClientCertificate().equals(other.getClientCertificate())) return false; - if (getClientCertificateSet() != other.getClientCertificateSet()) return false; - if (!getCaCertificate().equals(other.getCaCertificate())) return false; - if (getCaCertificateSet() != other.getCaCertificateSet()) return false; + com.google.cloud.datastream.v1.MysqlSslConfig other = (com.google.cloud.datastream.v1.MysqlSslConfig) obj; + + if (!getClientKey() + .equals(other.getClientKey())) return false; + if (getClientKeySet() + != other.getClientKeySet()) return false; + if (!getClientCertificate() + .equals(other.getClientCertificate())) return false; + if (getClientCertificateSet() + != other.getClientCertificateSet()) return false; + if (!getCaCertificate() + .equals(other.getCaCertificate())) return false; + if (getCaCertificateSet() + != other.getCaCertificateSet()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -450,141 +418,135 @@ public int hashCode() { hash = (37 * hash) + CLIENT_KEY_FIELD_NUMBER; hash = (53 * hash) + getClientKey().hashCode(); hash = (37 * hash) + CLIENT_KEY_SET_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getClientKeySet()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getClientKeySet()); hash = (37 * hash) + CLIENT_CERTIFICATE_FIELD_NUMBER; hash = (53 * hash) + getClientCertificate().hashCode(); hash = (37 * hash) + CLIENT_CERTIFICATE_SET_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getClientCertificateSet()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getClientCertificateSet()); hash = (37 * hash) + CA_CERTIFICATE_FIELD_NUMBER; hash = (53 * hash) + getCaCertificate().hashCode(); hash = (37 * hash) + CA_CERTIFICATE_SET_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getCaCertificateSet()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getCaCertificateSet()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.datastream.v1.MysqlSslConfig parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.datastream.v1.MysqlSslConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.MysqlSslConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.MysqlSslConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.MysqlSslConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.MysqlSslConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.MysqlSslConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.MysqlSslConfig 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.datastream.v1.MysqlSslConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1.MysqlSslConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.MysqlSslConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.MysqlSslConfig 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.datastream.v1.MysqlSslConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.MysqlSslConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datastream.v1.MysqlSslConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * MySQL SSL configuration information.
    * 
* * Protobuf type {@code google.cloud.datastream.v1.MysqlSslConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1.MysqlSslConfig) com.google.cloud.datastream.v1.MysqlSslConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_MysqlSslConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_MysqlSslConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_MysqlSslConfig_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_MysqlSslConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.MysqlSslConfig.class, - com.google.cloud.datastream.v1.MysqlSslConfig.Builder.class); + com.google.cloud.datastream.v1.MysqlSslConfig.class, com.google.cloud.datastream.v1.MysqlSslConfig.Builder.class); } // Construct using com.google.cloud.datastream.v1.MysqlSslConfig.newBuilder() @@ -592,15 +554,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -620,9 +583,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_MysqlSslConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_MysqlSslConfig_descriptor; } @java.lang.Override @@ -641,8 +604,7 @@ public com.google.cloud.datastream.v1.MysqlSslConfig build() { @java.lang.Override public com.google.cloud.datastream.v1.MysqlSslConfig buildPartial() { - com.google.cloud.datastream.v1.MysqlSslConfig result = - new com.google.cloud.datastream.v1.MysqlSslConfig(this); + com.google.cloud.datastream.v1.MysqlSslConfig result = new com.google.cloud.datastream.v1.MysqlSslConfig(this); result.clientKey_ = clientKey_; result.clientKeySet_ = clientKeySet_; result.clientCertificate_ = clientCertificate_; @@ -657,39 +619,38 @@ public com.google.cloud.datastream.v1.MysqlSslConfig buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1.MysqlSslConfig) { - return mergeFrom((com.google.cloud.datastream.v1.MysqlSslConfig) other); + return mergeFrom((com.google.cloud.datastream.v1.MysqlSslConfig)other); } else { super.mergeFrom(other); return this; @@ -750,8 +711,6 @@ public Builder mergeFrom( private java.lang.Object clientKey_ = ""; /** - * - * *
      * Input only. PEM-encoded private key associated with the Client Certificate.
      * If this field is used then the 'client_certificate' and the
@@ -759,13 +718,13 @@ public Builder mergeFrom(
      * 
* * string client_key = 1 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The clientKey. */ public java.lang.String getClientKey() { java.lang.Object ref = clientKey_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clientKey_ = s; return s; @@ -774,8 +733,6 @@ public java.lang.String getClientKey() { } } /** - * - * *
      * Input only. PEM-encoded private key associated with the Client Certificate.
      * If this field is used then the 'client_certificate' and the
@@ -783,14 +740,15 @@ public java.lang.String getClientKey() {
      * 
* * string client_key = 1 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The bytes for clientKey. */ - public com.google.protobuf.ByteString getClientKeyBytes() { + public com.google.protobuf.ByteString + getClientKeyBytes() { java.lang.Object ref = clientKey_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clientKey_ = b; return b; } else { @@ -798,8 +756,6 @@ public com.google.protobuf.ByteString getClientKeyBytes() { } } /** - * - * *
      * Input only. PEM-encoded private key associated with the Client Certificate.
      * If this field is used then the 'client_certificate' and the
@@ -807,22 +763,20 @@ public com.google.protobuf.ByteString getClientKeyBytes() {
      * 
* * string client_key = 1 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @param value The clientKey to set. * @return This builder for chaining. */ - public Builder setClientKey(java.lang.String value) { + public Builder setClientKey( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clientKey_ = value; onChanged(); return this; } /** - * - * *
      * Input only. PEM-encoded private key associated with the Client Certificate.
      * If this field is used then the 'client_certificate' and the
@@ -830,18 +784,15 @@ public Builder setClientKey(java.lang.String value) {
      * 
* * string client_key = 1 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearClientKey() { - + clientKey_ = getDefaultInstance().getClientKey(); onChanged(); return this; } /** - * - * *
      * Input only. PEM-encoded private key associated with the Client Certificate.
      * If this field is used then the 'client_certificate' and the
@@ -849,31 +800,28 @@ public Builder clearClientKey() {
      * 
* * string client_key = 1 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @param value The bytes for clientKey to set. * @return This builder for chaining. */ - public Builder setClientKeyBytes(com.google.protobuf.ByteString value) { + public Builder setClientKeyBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clientKey_ = value; onChanged(); return this; } - private boolean clientKeySet_; + private boolean clientKeySet_ ; /** - * - * *
      * Output only. Indicates whether the client_key field is set.
      * 
* * bool client_key_set = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The clientKeySet. */ @java.lang.Override @@ -881,36 +829,30 @@ public boolean getClientKeySet() { return clientKeySet_; } /** - * - * *
      * Output only. Indicates whether the client_key field is set.
      * 
* * bool client_key_set = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The clientKeySet to set. * @return This builder for chaining. */ public Builder setClientKeySet(boolean value) { - + clientKeySet_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Indicates whether the client_key field is set.
      * 
* * bool client_key_set = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearClientKeySet() { - + clientKeySet_ = false; onChanged(); return this; @@ -918,8 +860,6 @@ public Builder clearClientKeySet() { private java.lang.Object clientCertificate_ = ""; /** - * - * *
      * Input only. PEM-encoded certificate that will be used by the replica to
      * authenticate against the source database server. If this field is used
@@ -927,13 +867,13 @@ public Builder clearClientKeySet() {
      * 
* * string client_certificate = 3 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The clientCertificate. */ public java.lang.String getClientCertificate() { java.lang.Object ref = clientCertificate_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clientCertificate_ = s; return s; @@ -942,8 +882,6 @@ public java.lang.String getClientCertificate() { } } /** - * - * *
      * Input only. PEM-encoded certificate that will be used by the replica to
      * authenticate against the source database server. If this field is used
@@ -951,14 +889,15 @@ public java.lang.String getClientCertificate() {
      * 
* * string client_certificate = 3 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The bytes for clientCertificate. */ - public com.google.protobuf.ByteString getClientCertificateBytes() { + public com.google.protobuf.ByteString + getClientCertificateBytes() { java.lang.Object ref = clientCertificate_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clientCertificate_ = b; return b; } else { @@ -966,8 +905,6 @@ public com.google.protobuf.ByteString getClientCertificateBytes() { } } /** - * - * *
      * Input only. PEM-encoded certificate that will be used by the replica to
      * authenticate against the source database server. If this field is used
@@ -975,22 +912,20 @@ public com.google.protobuf.ByteString getClientCertificateBytes() {
      * 
* * string client_certificate = 3 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @param value The clientCertificate to set. * @return This builder for chaining. */ - public Builder setClientCertificate(java.lang.String value) { + public Builder setClientCertificate( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clientCertificate_ = value; onChanged(); return this; } /** - * - * *
      * Input only. PEM-encoded certificate that will be used by the replica to
      * authenticate against the source database server. If this field is used
@@ -998,18 +933,15 @@ public Builder setClientCertificate(java.lang.String value) {
      * 
* * string client_certificate = 3 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearClientCertificate() { - + clientCertificate_ = getDefaultInstance().getClientCertificate(); onChanged(); return this; } /** - * - * *
      * Input only. PEM-encoded certificate that will be used by the replica to
      * authenticate against the source database server. If this field is used
@@ -1017,31 +949,28 @@ public Builder clearClientCertificate() {
      * 
* * string client_certificate = 3 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @param value The bytes for clientCertificate to set. * @return This builder for chaining. */ - public Builder setClientCertificateBytes(com.google.protobuf.ByteString value) { + public Builder setClientCertificateBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clientCertificate_ = value; onChanged(); return this; } - private boolean clientCertificateSet_; + private boolean clientCertificateSet_ ; /** - * - * *
      * Output only. Indicates whether the client_certificate field is set.
      * 
* * bool client_certificate_set = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The clientCertificateSet. */ @java.lang.Override @@ -1049,36 +978,30 @@ public boolean getClientCertificateSet() { return clientCertificateSet_; } /** - * - * *
      * Output only. Indicates whether the client_certificate field is set.
      * 
* * bool client_certificate_set = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The clientCertificateSet to set. * @return This builder for chaining. */ public Builder setClientCertificateSet(boolean value) { - + clientCertificateSet_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Indicates whether the client_certificate field is set.
      * 
* * bool client_certificate_set = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearClientCertificateSet() { - + clientCertificateSet_ = false; onChanged(); return this; @@ -1086,21 +1009,19 @@ public Builder clearClientCertificateSet() { private java.lang.Object caCertificate_ = ""; /** - * - * *
-     * Input only. PEM-encoded certificate of the CA that signed the source
-     * database server's certificate.
+     * Input only. PEM-encoded certificate of the CA that signed the source database
+     * server's certificate.
      * 
* * string ca_certificate = 5 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The caCertificate. */ public java.lang.String getCaCertificate() { java.lang.Object ref = caCertificate_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); caCertificate_ = s; return s; @@ -1109,22 +1030,21 @@ public java.lang.String getCaCertificate() { } } /** - * - * *
-     * Input only. PEM-encoded certificate of the CA that signed the source
-     * database server's certificate.
+     * Input only. PEM-encoded certificate of the CA that signed the source database
+     * server's certificate.
      * 
* * string ca_certificate = 5 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The bytes for caCertificate. */ - public com.google.protobuf.ByteString getCaCertificateBytes() { + public com.google.protobuf.ByteString + getCaCertificateBytes() { java.lang.Object ref = caCertificate_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); caCertificate_ = b; return b; } else { @@ -1132,79 +1052,69 @@ public com.google.protobuf.ByteString getCaCertificateBytes() { } } /** - * - * *
-     * Input only. PEM-encoded certificate of the CA that signed the source
-     * database server's certificate.
+     * Input only. PEM-encoded certificate of the CA that signed the source database
+     * server's certificate.
      * 
* * string ca_certificate = 5 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @param value The caCertificate to set. * @return This builder for chaining. */ - public Builder setCaCertificate(java.lang.String value) { + public Builder setCaCertificate( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + caCertificate_ = value; onChanged(); return this; } /** - * - * *
-     * Input only. PEM-encoded certificate of the CA that signed the source
-     * database server's certificate.
+     * Input only. PEM-encoded certificate of the CA that signed the source database
+     * server's certificate.
      * 
* * string ca_certificate = 5 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearCaCertificate() { - + caCertificate_ = getDefaultInstance().getCaCertificate(); onChanged(); return this; } /** - * - * *
-     * Input only. PEM-encoded certificate of the CA that signed the source
-     * database server's certificate.
+     * Input only. PEM-encoded certificate of the CA that signed the source database
+     * server's certificate.
      * 
* * string ca_certificate = 5 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @param value The bytes for caCertificate to set. * @return This builder for chaining. */ - public Builder setCaCertificateBytes(com.google.protobuf.ByteString value) { + public Builder setCaCertificateBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + caCertificate_ = value; onChanged(); return this; } - private boolean caCertificateSet_; + private boolean caCertificateSet_ ; /** - * - * *
      * Output only. Indicates whether the ca_certificate field is set.
      * 
* * bool ca_certificate_set = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The caCertificateSet. */ @java.lang.Override @@ -1212,43 +1122,37 @@ public boolean getCaCertificateSet() { return caCertificateSet_; } /** - * - * *
      * Output only. Indicates whether the ca_certificate field is set.
      * 
* * bool ca_certificate_set = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The caCertificateSet to set. * @return This builder for chaining. */ public Builder setCaCertificateSet(boolean value) { - + caCertificateSet_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Indicates whether the ca_certificate field is set.
      * 
* * bool ca_certificate_set = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearCaCertificateSet() { - + caCertificateSet_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1258,12 +1162,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1.MysqlSslConfig) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1.MysqlSslConfig) private static final com.google.cloud.datastream.v1.MysqlSslConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1.MysqlSslConfig(); } @@ -1272,16 +1176,16 @@ public static com.google.cloud.datastream.v1.MysqlSslConfig getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MysqlSslConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MysqlSslConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MysqlSslConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MysqlSslConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1296,4 +1200,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datastream.v1.MysqlSslConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/MysqlSslConfigOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/MysqlSslConfigOrBuilder.java similarity index 75% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/MysqlSslConfigOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/MysqlSslConfigOrBuilder.java index 07af8fd6..646eeb56 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/MysqlSslConfigOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/MysqlSslConfigOrBuilder.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/datastream/v1/datastream_resources.proto package com.google.cloud.datastream.v1; -public interface MysqlSslConfigOrBuilder - extends +public interface MysqlSslConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1.MysqlSslConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Input only. PEM-encoded private key associated with the Client Certificate.
    * If this field is used then the 'client_certificate' and the
@@ -33,13 +15,10 @@ public interface MysqlSslConfigOrBuilder
    * 
* * string client_key = 1 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The clientKey. */ java.lang.String getClientKey(); /** - * - * *
    * Input only. PEM-encoded private key associated with the Client Certificate.
    * If this field is used then the 'client_certificate' and the
@@ -47,27 +26,22 @@ public interface MysqlSslConfigOrBuilder
    * 
* * string client_key = 1 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The bytes for clientKey. */ - com.google.protobuf.ByteString getClientKeyBytes(); + com.google.protobuf.ByteString + getClientKeyBytes(); /** - * - * *
    * Output only. Indicates whether the client_key field is set.
    * 
* * bool client_key_set = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The clientKeySet. */ boolean getClientKeySet(); /** - * - * *
    * Input only. PEM-encoded certificate that will be used by the replica to
    * authenticate against the source database server. If this field is used
@@ -75,13 +49,10 @@ public interface MysqlSslConfigOrBuilder
    * 
* * string client_certificate = 3 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The clientCertificate. */ java.lang.String getClientCertificate(); /** - * - * *
    * Input only. PEM-encoded certificate that will be used by the replica to
    * authenticate against the source database server. If this field is used
@@ -89,60 +60,49 @@ public interface MysqlSslConfigOrBuilder
    * 
* * string client_certificate = 3 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The bytes for clientCertificate. */ - com.google.protobuf.ByteString getClientCertificateBytes(); + com.google.protobuf.ByteString + getClientCertificateBytes(); /** - * - * *
    * Output only. Indicates whether the client_certificate field is set.
    * 
* * bool client_certificate_set = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The clientCertificateSet. */ boolean getClientCertificateSet(); /** - * - * *
-   * Input only. PEM-encoded certificate of the CA that signed the source
-   * database server's certificate.
+   * Input only. PEM-encoded certificate of the CA that signed the source database
+   * server's certificate.
    * 
* * string ca_certificate = 5 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The caCertificate. */ java.lang.String getCaCertificate(); /** - * - * *
-   * Input only. PEM-encoded certificate of the CA that signed the source
-   * database server's certificate.
+   * Input only. PEM-encoded certificate of the CA that signed the source database
+   * server's certificate.
    * 
* * string ca_certificate = 5 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The bytes for caCertificate. */ - com.google.protobuf.ByteString getCaCertificateBytes(); + com.google.protobuf.ByteString + getCaCertificateBytes(); /** - * - * *
    * Output only. Indicates whether the ca_certificate field is set.
    * 
* * bool ca_certificate_set = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The caCertificateSet. */ boolean getCaCertificateSet(); diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/MysqlTable.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/MysqlTable.java similarity index 70% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/MysqlTable.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/MysqlTable.java index 9e1efd5f..dcf914aa 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/MysqlTable.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/MysqlTable.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/datastream/v1/datastream_resources.proto package com.google.cloud.datastream.v1; /** - * - * *
  * MySQL table.
  * 
* * Protobuf type {@code google.cloud.datastream.v1.MysqlTable} */ -public final class MysqlTable extends com.google.protobuf.GeneratedMessageV3 - implements +public final class MysqlTable extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1.MysqlTable) MysqlTableOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use MysqlTable.newBuilder() to construct. private MysqlTable(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private MysqlTable() { table_ = ""; mysqlColumns_ = java.util.Collections.emptyList(); @@ -44,15 +26,16 @@ private MysqlTable() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new MysqlTable(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private MysqlTable( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,32 +55,28 @@ private MysqlTable( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - table_ = s; - break; - } - case 18: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - mysqlColumns_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - mysqlColumns_.add( - input.readMessage( - com.google.cloud.datastream.v1.MysqlColumn.parser(), extensionRegistry)); - break; + table_ = s; + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + mysqlColumns_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + mysqlColumns_.add( + input.readMessage(com.google.cloud.datastream.v1.MysqlColumn.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -105,7 +84,8 @@ private MysqlTable( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { mysqlColumns_ = java.util.Collections.unmodifiableList(mysqlColumns_); @@ -114,33 +94,27 @@ private MysqlTable( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_MysqlTable_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_MysqlTable_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_MysqlTable_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_MysqlTable_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.MysqlTable.class, - com.google.cloud.datastream.v1.MysqlTable.Builder.class); + com.google.cloud.datastream.v1.MysqlTable.class, com.google.cloud.datastream.v1.MysqlTable.Builder.class); } public static final int TABLE_FIELD_NUMBER = 1; private volatile java.lang.Object table_; /** - * - * *
    * Table name.
    * 
* * string table = 1; - * * @return The table. */ @java.lang.Override @@ -149,29 +123,29 @@ public java.lang.String getTable() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); table_ = s; return s; } } /** - * - * *
    * Table name.
    * 
* * string table = 1; - * * @return The bytes for table. */ @java.lang.Override - public com.google.protobuf.ByteString getTableBytes() { + public com.google.protobuf.ByteString + getTableBytes() { java.lang.Object ref = table_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); table_ = b; return b; } else { @@ -182,11 +156,9 @@ public com.google.protobuf.ByteString getTableBytes() { public static final int MYSQL_COLUMNS_FIELD_NUMBER = 2; private java.util.List mysqlColumns_; /** - * - * *
    * MySQL columns in the database.
-   * When unspecified as part of include/exclude lists, includes/excludes
+   * When unspecified as part of include/exclude objects, includes/excludes
    * everything.
    * 
* @@ -197,27 +169,23 @@ public java.util.List getMysqlColumn return mysqlColumns_; } /** - * - * *
    * MySQL columns in the database.
-   * When unspecified as part of include/exclude lists, includes/excludes
+   * When unspecified as part of include/exclude objects, includes/excludes
    * everything.
    * 
* * repeated .google.cloud.datastream.v1.MysqlColumn mysql_columns = 2; */ @java.lang.Override - public java.util.List + public java.util.List getMysqlColumnsOrBuilderList() { return mysqlColumns_; } /** - * - * *
    * MySQL columns in the database.
-   * When unspecified as part of include/exclude lists, includes/excludes
+   * When unspecified as part of include/exclude objects, includes/excludes
    * everything.
    * 
* @@ -228,11 +196,9 @@ public int getMysqlColumnsCount() { return mysqlColumns_.size(); } /** - * - * *
    * MySQL columns in the database.
-   * When unspecified as part of include/exclude lists, includes/excludes
+   * When unspecified as part of include/exclude objects, includes/excludes
    * everything.
    * 
* @@ -243,23 +209,21 @@ public com.google.cloud.datastream.v1.MysqlColumn getMysqlColumns(int index) { return mysqlColumns_.get(index); } /** - * - * *
    * MySQL columns in the database.
-   * When unspecified as part of include/exclude lists, includes/excludes
+   * When unspecified as part of include/exclude objects, includes/excludes
    * everything.
    * 
* * repeated .google.cloud.datastream.v1.MysqlColumn mysql_columns = 2; */ @java.lang.Override - public com.google.cloud.datastream.v1.MysqlColumnOrBuilder getMysqlColumnsOrBuilder(int index) { + public com.google.cloud.datastream.v1.MysqlColumnOrBuilder getMysqlColumnsOrBuilder( + int index) { return mysqlColumns_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -271,7 +235,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(table_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, table_); } @@ -291,7 +256,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, table_); } for (int i = 0; i < mysqlColumns_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, mysqlColumns_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, mysqlColumns_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -301,16 +267,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.datastream.v1.MysqlTable)) { return super.equals(obj); } - com.google.cloud.datastream.v1.MysqlTable other = - (com.google.cloud.datastream.v1.MysqlTable) obj; + com.google.cloud.datastream.v1.MysqlTable other = (com.google.cloud.datastream.v1.MysqlTable) obj; - if (!getTable().equals(other.getTable())) return false; - if (!getMysqlColumnsList().equals(other.getMysqlColumnsList())) return false; + if (!getTable() + .equals(other.getTable())) return false; + if (!getMysqlColumnsList() + .equals(other.getMysqlColumnsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -333,127 +300,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.datastream.v1.MysqlTable parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.datastream.v1.MysqlTable parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.MysqlTable parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.MysqlTable parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.MysqlTable parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.MysqlTable parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.MysqlTable parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.MysqlTable 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.datastream.v1.MysqlTable parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1.MysqlTable parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.MysqlTable parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.MysqlTable 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.datastream.v1.MysqlTable parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.MysqlTable parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datastream.v1.MysqlTable prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * MySQL table.
    * 
* * Protobuf type {@code google.cloud.datastream.v1.MysqlTable} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1.MysqlTable) com.google.cloud.datastream.v1.MysqlTableOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_MysqlTable_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_MysqlTable_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_MysqlTable_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_MysqlTable_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.MysqlTable.class, - com.google.cloud.datastream.v1.MysqlTable.Builder.class); + com.google.cloud.datastream.v1.MysqlTable.class, com.google.cloud.datastream.v1.MysqlTable.Builder.class); } // Construct using com.google.cloud.datastream.v1.MysqlTable.newBuilder() @@ -461,17 +419,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getMysqlColumnsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -487,9 +445,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_MysqlTable_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_MysqlTable_descriptor; } @java.lang.Override @@ -508,8 +466,7 @@ public com.google.cloud.datastream.v1.MysqlTable build() { @java.lang.Override public com.google.cloud.datastream.v1.MysqlTable buildPartial() { - com.google.cloud.datastream.v1.MysqlTable result = - new com.google.cloud.datastream.v1.MysqlTable(this); + com.google.cloud.datastream.v1.MysqlTable result = new com.google.cloud.datastream.v1.MysqlTable(this); int from_bitField0_ = bitField0_; result.table_ = table_; if (mysqlColumnsBuilder_ == null) { @@ -529,39 +486,38 @@ public com.google.cloud.datastream.v1.MysqlTable buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1.MysqlTable) { - return mergeFrom((com.google.cloud.datastream.v1.MysqlTable) other); + return mergeFrom((com.google.cloud.datastream.v1.MysqlTable)other); } else { super.mergeFrom(other); return this; @@ -592,10 +548,9 @@ public Builder mergeFrom(com.google.cloud.datastream.v1.MysqlTable other) { mysqlColumnsBuilder_ = null; mysqlColumns_ = other.mysqlColumns_; bitField0_ = (bitField0_ & ~0x00000001); - mysqlColumnsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getMysqlColumnsFieldBuilder() - : null; + mysqlColumnsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getMysqlColumnsFieldBuilder() : null; } else { mysqlColumnsBuilder_.addAllMessages(other.mysqlColumns_); } @@ -629,25 +584,22 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object table_ = ""; /** - * - * *
      * Table name.
      * 
* * string table = 1; - * * @return The table. */ public java.lang.String getTable() { java.lang.Object ref = table_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); table_ = s; return s; @@ -656,21 +608,20 @@ public java.lang.String getTable() { } } /** - * - * *
      * Table name.
      * 
* * string table = 1; - * * @return The bytes for table. */ - public com.google.protobuf.ByteString getTableBytes() { + public com.google.protobuf.ByteString + getTableBytes() { java.lang.Object ref = table_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); table_ = b; return b; } else { @@ -678,89 +629,75 @@ public com.google.protobuf.ByteString getTableBytes() { } } /** - * - * *
      * Table name.
      * 
* * string table = 1; - * * @param value The table to set. * @return This builder for chaining. */ - public Builder setTable(java.lang.String value) { + public Builder setTable( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + table_ = value; onChanged(); return this; } /** - * - * *
      * Table name.
      * 
* * string table = 1; - * * @return This builder for chaining. */ public Builder clearTable() { - + table_ = getDefaultInstance().getTable(); onChanged(); return this; } /** - * - * *
      * Table name.
      * 
* * string table = 1; - * * @param value The bytes for table to set. * @return This builder for chaining. */ - public Builder setTableBytes(com.google.protobuf.ByteString value) { + public Builder setTableBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + table_ = value; onChanged(); return this; } private java.util.List mysqlColumns_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureMysqlColumnsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - mysqlColumns_ = - new java.util.ArrayList(mysqlColumns_); + mysqlColumns_ = new java.util.ArrayList(mysqlColumns_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datastream.v1.MysqlColumn, - com.google.cloud.datastream.v1.MysqlColumn.Builder, - com.google.cloud.datastream.v1.MysqlColumnOrBuilder> - mysqlColumnsBuilder_; + com.google.cloud.datastream.v1.MysqlColumn, com.google.cloud.datastream.v1.MysqlColumn.Builder, com.google.cloud.datastream.v1.MysqlColumnOrBuilder> mysqlColumnsBuilder_; /** - * - * *
      * MySQL columns in the database.
-     * When unspecified as part of include/exclude lists, includes/excludes
+     * When unspecified as part of include/exclude objects, includes/excludes
      * everything.
      * 
* @@ -774,11 +711,9 @@ public java.util.List getMysqlColumn } } /** - * - * *
      * MySQL columns in the database.
-     * When unspecified as part of include/exclude lists, includes/excludes
+     * When unspecified as part of include/exclude objects, includes/excludes
      * everything.
      * 
* @@ -792,11 +727,9 @@ public int getMysqlColumnsCount() { } } /** - * - * *
      * MySQL columns in the database.
-     * When unspecified as part of include/exclude lists, includes/excludes
+     * When unspecified as part of include/exclude objects, includes/excludes
      * everything.
      * 
* @@ -810,17 +743,16 @@ public com.google.cloud.datastream.v1.MysqlColumn getMysqlColumns(int index) { } } /** - * - * *
      * MySQL columns in the database.
-     * When unspecified as part of include/exclude lists, includes/excludes
+     * When unspecified as part of include/exclude objects, includes/excludes
      * everything.
      * 
* * repeated .google.cloud.datastream.v1.MysqlColumn mysql_columns = 2; */ - public Builder setMysqlColumns(int index, com.google.cloud.datastream.v1.MysqlColumn value) { + public Builder setMysqlColumns( + int index, com.google.cloud.datastream.v1.MysqlColumn value) { if (mysqlColumnsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -834,11 +766,9 @@ public Builder setMysqlColumns(int index, com.google.cloud.datastream.v1.MysqlCo return this; } /** - * - * *
      * MySQL columns in the database.
-     * When unspecified as part of include/exclude lists, includes/excludes
+     * When unspecified as part of include/exclude objects, includes/excludes
      * everything.
      * 
* @@ -856,11 +786,9 @@ public Builder setMysqlColumns( return this; } /** - * - * *
      * MySQL columns in the database.
-     * When unspecified as part of include/exclude lists, includes/excludes
+     * When unspecified as part of include/exclude objects, includes/excludes
      * everything.
      * 
* @@ -880,17 +808,16 @@ public Builder addMysqlColumns(com.google.cloud.datastream.v1.MysqlColumn value) return this; } /** - * - * *
      * MySQL columns in the database.
-     * When unspecified as part of include/exclude lists, includes/excludes
+     * When unspecified as part of include/exclude objects, includes/excludes
      * everything.
      * 
* * repeated .google.cloud.datastream.v1.MysqlColumn mysql_columns = 2; */ - public Builder addMysqlColumns(int index, com.google.cloud.datastream.v1.MysqlColumn value) { + public Builder addMysqlColumns( + int index, com.google.cloud.datastream.v1.MysqlColumn value) { if (mysqlColumnsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -904,11 +831,9 @@ public Builder addMysqlColumns(int index, com.google.cloud.datastream.v1.MysqlCo return this; } /** - * - * *
      * MySQL columns in the database.
-     * When unspecified as part of include/exclude lists, includes/excludes
+     * When unspecified as part of include/exclude objects, includes/excludes
      * everything.
      * 
* @@ -926,11 +851,9 @@ public Builder addMysqlColumns( return this; } /** - * - * *
      * MySQL columns in the database.
-     * When unspecified as part of include/exclude lists, includes/excludes
+     * When unspecified as part of include/exclude objects, includes/excludes
      * everything.
      * 
* @@ -948,11 +871,9 @@ public Builder addMysqlColumns( return this; } /** - * - * *
      * MySQL columns in the database.
-     * When unspecified as part of include/exclude lists, includes/excludes
+     * When unspecified as part of include/exclude objects, includes/excludes
      * everything.
      * 
* @@ -962,7 +883,8 @@ public Builder addAllMysqlColumns( java.lang.Iterable values) { if (mysqlColumnsBuilder_ == null) { ensureMysqlColumnsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, mysqlColumns_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, mysqlColumns_); onChanged(); } else { mysqlColumnsBuilder_.addAllMessages(values); @@ -970,11 +892,9 @@ public Builder addAllMysqlColumns( return this; } /** - * - * *
      * MySQL columns in the database.
-     * When unspecified as part of include/exclude lists, includes/excludes
+     * When unspecified as part of include/exclude objects, includes/excludes
      * everything.
      * 
* @@ -991,11 +911,9 @@ public Builder clearMysqlColumns() { return this; } /** - * - * *
      * MySQL columns in the database.
-     * When unspecified as part of include/exclude lists, includes/excludes
+     * When unspecified as part of include/exclude objects, includes/excludes
      * everything.
      * 
* @@ -1012,50 +930,45 @@ public Builder removeMysqlColumns(int index) { return this; } /** - * - * *
      * MySQL columns in the database.
-     * When unspecified as part of include/exclude lists, includes/excludes
+     * When unspecified as part of include/exclude objects, includes/excludes
      * everything.
      * 
* * repeated .google.cloud.datastream.v1.MysqlColumn mysql_columns = 2; */ - public com.google.cloud.datastream.v1.MysqlColumn.Builder getMysqlColumnsBuilder(int index) { + public com.google.cloud.datastream.v1.MysqlColumn.Builder getMysqlColumnsBuilder( + int index) { return getMysqlColumnsFieldBuilder().getBuilder(index); } /** - * - * *
      * MySQL columns in the database.
-     * When unspecified as part of include/exclude lists, includes/excludes
+     * When unspecified as part of include/exclude objects, includes/excludes
      * everything.
      * 
* * repeated .google.cloud.datastream.v1.MysqlColumn mysql_columns = 2; */ - public com.google.cloud.datastream.v1.MysqlColumnOrBuilder getMysqlColumnsOrBuilder(int index) { + public com.google.cloud.datastream.v1.MysqlColumnOrBuilder getMysqlColumnsOrBuilder( + int index) { if (mysqlColumnsBuilder_ == null) { - return mysqlColumns_.get(index); - } else { + return mysqlColumns_.get(index); } else { return mysqlColumnsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * MySQL columns in the database.
-     * When unspecified as part of include/exclude lists, includes/excludes
+     * When unspecified as part of include/exclude objects, includes/excludes
      * everything.
      * 
* * repeated .google.cloud.datastream.v1.MysqlColumn mysql_columns = 2; */ - public java.util.List - getMysqlColumnsOrBuilderList() { + public java.util.List + getMysqlColumnsOrBuilderList() { if (mysqlColumnsBuilder_ != null) { return mysqlColumnsBuilder_.getMessageOrBuilderList(); } else { @@ -1063,70 +976,62 @@ public com.google.cloud.datastream.v1.MysqlColumnOrBuilder getMysqlColumnsOrBuil } } /** - * - * *
      * MySQL columns in the database.
-     * When unspecified as part of include/exclude lists, includes/excludes
+     * When unspecified as part of include/exclude objects, includes/excludes
      * everything.
      * 
* * repeated .google.cloud.datastream.v1.MysqlColumn mysql_columns = 2; */ public com.google.cloud.datastream.v1.MysqlColumn.Builder addMysqlColumnsBuilder() { - return getMysqlColumnsFieldBuilder() - .addBuilder(com.google.cloud.datastream.v1.MysqlColumn.getDefaultInstance()); + return getMysqlColumnsFieldBuilder().addBuilder( + com.google.cloud.datastream.v1.MysqlColumn.getDefaultInstance()); } /** - * - * *
      * MySQL columns in the database.
-     * When unspecified as part of include/exclude lists, includes/excludes
+     * When unspecified as part of include/exclude objects, includes/excludes
      * everything.
      * 
* * repeated .google.cloud.datastream.v1.MysqlColumn mysql_columns = 2; */ - public com.google.cloud.datastream.v1.MysqlColumn.Builder addMysqlColumnsBuilder(int index) { - return getMysqlColumnsFieldBuilder() - .addBuilder(index, com.google.cloud.datastream.v1.MysqlColumn.getDefaultInstance()); + public com.google.cloud.datastream.v1.MysqlColumn.Builder addMysqlColumnsBuilder( + int index) { + return getMysqlColumnsFieldBuilder().addBuilder( + index, com.google.cloud.datastream.v1.MysqlColumn.getDefaultInstance()); } /** - * - * *
      * MySQL columns in the database.
-     * When unspecified as part of include/exclude lists, includes/excludes
+     * When unspecified as part of include/exclude objects, includes/excludes
      * everything.
      * 
* * repeated .google.cloud.datastream.v1.MysqlColumn mysql_columns = 2; */ - public java.util.List - getMysqlColumnsBuilderList() { + public java.util.List + getMysqlColumnsBuilderList() { return getMysqlColumnsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datastream.v1.MysqlColumn, - com.google.cloud.datastream.v1.MysqlColumn.Builder, - com.google.cloud.datastream.v1.MysqlColumnOrBuilder> + com.google.cloud.datastream.v1.MysqlColumn, com.google.cloud.datastream.v1.MysqlColumn.Builder, com.google.cloud.datastream.v1.MysqlColumnOrBuilder> getMysqlColumnsFieldBuilder() { if (mysqlColumnsBuilder_ == null) { - mysqlColumnsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datastream.v1.MysqlColumn, - com.google.cloud.datastream.v1.MysqlColumn.Builder, - com.google.cloud.datastream.v1.MysqlColumnOrBuilder>( - mysqlColumns_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + mysqlColumnsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datastream.v1.MysqlColumn, com.google.cloud.datastream.v1.MysqlColumn.Builder, com.google.cloud.datastream.v1.MysqlColumnOrBuilder>( + mysqlColumns_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); mysqlColumns_ = null; } return mysqlColumnsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1136,12 +1041,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1.MysqlTable) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1.MysqlTable) private static final com.google.cloud.datastream.v1.MysqlTable DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1.MysqlTable(); } @@ -1150,16 +1055,16 @@ public static com.google.cloud.datastream.v1.MysqlTable getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MysqlTable parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MysqlTable(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MysqlTable parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MysqlTable(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1174,4 +1079,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datastream.v1.MysqlTable getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/MysqlTableOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/MysqlTableOrBuilder.java similarity index 57% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/MysqlTableOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/MysqlTableOrBuilder.java index 494e62d3..7933dfca 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/MysqlTableOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/MysqlTableOrBuilder.java @@ -1,71 +1,47 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1/datastream_resources.proto package com.google.cloud.datastream.v1; -public interface MysqlTableOrBuilder - extends +public interface MysqlTableOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1.MysqlTable) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Table name.
    * 
* * string table = 1; - * * @return The table. */ java.lang.String getTable(); /** - * - * *
    * Table name.
    * 
* * string table = 1; - * * @return The bytes for table. */ - com.google.protobuf.ByteString getTableBytes(); + com.google.protobuf.ByteString + getTableBytes(); /** - * - * *
    * MySQL columns in the database.
-   * When unspecified as part of include/exclude lists, includes/excludes
+   * When unspecified as part of include/exclude objects, includes/excludes
    * everything.
    * 
* * repeated .google.cloud.datastream.v1.MysqlColumn mysql_columns = 2; */ - java.util.List getMysqlColumnsList(); + java.util.List + getMysqlColumnsList(); /** - * - * *
    * MySQL columns in the database.
-   * When unspecified as part of include/exclude lists, includes/excludes
+   * When unspecified as part of include/exclude objects, includes/excludes
    * everything.
    * 
* @@ -73,11 +49,9 @@ public interface MysqlTableOrBuilder */ com.google.cloud.datastream.v1.MysqlColumn getMysqlColumns(int index); /** - * - * *
    * MySQL columns in the database.
-   * When unspecified as part of include/exclude lists, includes/excludes
+   * When unspecified as part of include/exclude objects, includes/excludes
    * everything.
    * 
* @@ -85,28 +59,25 @@ public interface MysqlTableOrBuilder */ int getMysqlColumnsCount(); /** - * - * *
    * MySQL columns in the database.
-   * When unspecified as part of include/exclude lists, includes/excludes
+   * When unspecified as part of include/exclude objects, includes/excludes
    * everything.
    * 
* * repeated .google.cloud.datastream.v1.MysqlColumn mysql_columns = 2; */ - java.util.List + java.util.List getMysqlColumnsOrBuilderList(); /** - * - * *
    * MySQL columns in the database.
-   * When unspecified as part of include/exclude lists, includes/excludes
+   * When unspecified as part of include/exclude objects, includes/excludes
    * everything.
    * 
* * repeated .google.cloud.datastream.v1.MysqlColumn mysql_columns = 2; */ - com.google.cloud.datastream.v1.MysqlColumnOrBuilder getMysqlColumnsOrBuilder(int index); + com.google.cloud.datastream.v1.MysqlColumnOrBuilder getMysqlColumnsOrBuilder( + int index); } diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/OperationMetadata.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/OperationMetadata.java similarity index 69% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/OperationMetadata.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/OperationMetadata.java index 5b510e35..09feb745 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/OperationMetadata.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/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/datastream/v1/datastream.proto package com.google.cloud.datastream.v1; /** - * - * *
  * Represents the metadata of the long-running operation.
  * 
* * Protobuf type {@code google.cloud.datastream.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.datastream.v1.OperationMetadata) OperationMetadataOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use OperationMetadata.newBuilder() to construct. private OperationMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private OperationMetadata() { target_ = ""; verb_ = ""; @@ -46,15 +28,16 @@ private OperationMetadata() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new OperationMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private OperationMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,92 +56,81 @@ private OperationMetadata( case 0: done = true; break; - case 10: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); } - case 18: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (endTime_ != null) { - subBuilder = endTime_.toBuilder(); - } - endTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(endTime_); - endTime_ = subBuilder.buildPartial(); - } - - break; + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - target_ = s; - break; + break; + } + case 18: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (endTime_ != null) { + subBuilder = endTime_.toBuilder(); } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - - verb_ = s; - break; + endTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(endTime_); + endTime_ = subBuilder.buildPartial(); } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); - statusMessage_ = s; - break; - } - case 48: - { - requestedCancellation_ = input.readBool(); - break; - } - case 58: - { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + target_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + verb_ = s; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + statusMessage_ = s; + break; + } + case 48: { - apiVersion_ = s; - break; + requestedCancellation_ = input.readBool(); + break; + } + case 58: { + java.lang.String s = input.readStringRequireUtf8(); + + apiVersion_ = s; + break; + } + case 66: { + com.google.cloud.datastream.v1.ValidationResult.Builder subBuilder = null; + if (validationResult_ != null) { + subBuilder = validationResult_.toBuilder(); } - case 66: - { - com.google.cloud.datastream.v1.ValidationResult.Builder subBuilder = null; - if (validationResult_ != null) { - subBuilder = validationResult_.toBuilder(); - } - validationResult_ = - input.readMessage( - com.google.cloud.datastream.v1.ValidationResult.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(validationResult_); - validationResult_ = subBuilder.buildPartial(); - } - - break; + validationResult_ = input.readMessage(com.google.cloud.datastream.v1.ValidationResult.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(validationResult_); + validationResult_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -166,40 +138,34 @@ private OperationMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_OperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_OperationMetadata_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.OperationMetadata.class, - com.google.cloud.datastream.v1.OperationMetadata.Builder.class); + com.google.cloud.datastream.v1.OperationMetadata.class, com.google.cloud.datastream.v1.OperationMetadata.Builder.class); } public static final int CREATE_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -207,15 +173,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -223,14 +185,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -240,15 +199,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp endTime_; /** - * - * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the endTime field is set. */ @java.lang.Override @@ -256,15 +211,11 @@ public boolean hasEndTime() { return endTime_ != null; } /** - * - * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The endTime. */ @java.lang.Override @@ -272,14 +223,11 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { @@ -289,14 +237,11 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { public static final int TARGET_FIELD_NUMBER = 3; private volatile java.lang.Object target_; /** - * - * *
    * Output only. Server-defined resource path for the target of the operation.
    * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The target. */ @java.lang.Override @@ -305,29 +250,29 @@ public java.lang.String getTarget() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); target_ = s; return s; } } /** - * - * *
    * Output only. Server-defined resource path for the target of the operation.
    * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for target. */ @java.lang.Override - public com.google.protobuf.ByteString getTargetBytes() { + public com.google.protobuf.ByteString + getTargetBytes() { java.lang.Object ref = target_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); target_ = b; return b; } else { @@ -338,14 +283,11 @@ public com.google.protobuf.ByteString getTargetBytes() { public static final int VERB_FIELD_NUMBER = 4; private volatile java.lang.Object verb_; /** - * - * *
    * Output only. Name of the verb executed by the operation.
    * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The verb. */ @java.lang.Override @@ -354,29 +296,29 @@ public java.lang.String getVerb() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); verb_ = s; return s; } } /** - * - * *
    * Output only. Name of the verb executed by the operation.
    * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for verb. */ @java.lang.Override - public com.google.protobuf.ByteString getVerbBytes() { + public com.google.protobuf.ByteString + getVerbBytes() { java.lang.Object ref = verb_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); verb_ = b; return b; } else { @@ -387,14 +329,11 @@ public com.google.protobuf.ByteString getVerbBytes() { public static final int STATUS_MESSAGE_FIELD_NUMBER = 5; private volatile java.lang.Object statusMessage_; /** - * - * *
    * Output only. Human-readable status of the operation, if any.
    * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The statusMessage. */ @java.lang.Override @@ -403,29 +342,29 @@ public java.lang.String getStatusMessage() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); statusMessage_ = s; return s; } } /** - * - * *
    * Output only. Human-readable status of the operation, if any.
    * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for statusMessage. */ @java.lang.Override - public com.google.protobuf.ByteString getStatusMessageBytes() { + public com.google.protobuf.ByteString + getStatusMessageBytes() { java.lang.Object ref = statusMessage_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); statusMessage_ = b; return b; } else { @@ -436,8 +375,6 @@ public com.google.protobuf.ByteString getStatusMessageBytes() { public static final int REQUESTED_CANCELLATION_FIELD_NUMBER = 6; private boolean requestedCancellation_; /** - * - * *
    * Output only. Identifies whether the user has requested cancellation
    * of the operation. Operations that have successfully been cancelled
@@ -446,7 +383,6 @@ public com.google.protobuf.ByteString getStatusMessageBytes() {
    * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The requestedCancellation. */ @java.lang.Override @@ -457,14 +393,11 @@ public boolean getRequestedCancellation() { public static final int API_VERSION_FIELD_NUMBER = 7; private volatile java.lang.Object apiVersion_; /** - * - * *
    * Output only. API version used to start the operation.
    * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The apiVersion. */ @java.lang.Override @@ -473,29 +406,29 @@ public java.lang.String getApiVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); apiVersion_ = s; return s; } } /** - * - * *
    * Output only. API version used to start the operation.
    * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for apiVersion. */ @java.lang.Override - public com.google.protobuf.ByteString getApiVersionBytes() { + public com.google.protobuf.ByteString + getApiVersionBytes() { java.lang.Object ref = apiVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); apiVersion_ = b; return b; } else { @@ -506,16 +439,11 @@ public com.google.protobuf.ByteString getApiVersionBytes() { public static final int VALIDATION_RESULT_FIELD_NUMBER = 8; private com.google.cloud.datastream.v1.ValidationResult validationResult_; /** - * - * *
    * Output only. Results of executed validations if there are any.
    * 
* - * - * .google.cloud.datastream.v1.ValidationResult validation_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datastream.v1.ValidationResult validation_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the validationResult field is set. */ @java.lang.Override @@ -523,34 +451,23 @@ public boolean hasValidationResult() { return validationResult_ != null; } /** - * - * *
    * Output only. Results of executed validations if there are any.
    * 
* - * - * .google.cloud.datastream.v1.ValidationResult validation_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datastream.v1.ValidationResult validation_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The validationResult. */ @java.lang.Override public com.google.cloud.datastream.v1.ValidationResult getValidationResult() { - return validationResult_ == null - ? com.google.cloud.datastream.v1.ValidationResult.getDefaultInstance() - : validationResult_; + return validationResult_ == null ? com.google.cloud.datastream.v1.ValidationResult.getDefaultInstance() : validationResult_; } /** - * - * *
    * Output only. Results of executed validations if there are any.
    * 
* - * - * .google.cloud.datastream.v1.ValidationResult validation_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datastream.v1.ValidationResult validation_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.datastream.v1.ValidationResultOrBuilder getValidationResultOrBuilder() { @@ -558,7 +475,6 @@ public com.google.cloud.datastream.v1.ValidationResultOrBuilder getValidationRes } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -570,7 +486,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()); } @@ -605,10 +522,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_); @@ -620,13 +539,15 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, statusMessage_); } if (requestedCancellation_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, requestedCancellation_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(6, requestedCancellation_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(apiVersion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, apiVersion_); } if (validationResult_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getValidationResult()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, getValidationResult()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -636,30 +557,37 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datastream.v1.OperationMetadata)) { return super.equals(obj); } - com.google.cloud.datastream.v1.OperationMetadata other = - (com.google.cloud.datastream.v1.OperationMetadata) obj; + com.google.cloud.datastream.v1.OperationMetadata other = (com.google.cloud.datastream.v1.OperationMetadata) obj; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime().equals(other.getEndTime())) return false; - } - if (!getTarget().equals(other.getTarget())) return false; - if (!getVerb().equals(other.getVerb())) return false; - if (!getStatusMessage().equals(other.getStatusMessage())) return false; - if (getRequestedCancellation() != other.getRequestedCancellation()) return false; - if (!getApiVersion().equals(other.getApiVersion())) return false; + if (!getEndTime() + .equals(other.getEndTime())) return false; + } + if (!getTarget() + .equals(other.getTarget())) return false; + if (!getVerb() + .equals(other.getVerb())) return false; + if (!getStatusMessage() + .equals(other.getStatusMessage())) return false; + if (getRequestedCancellation() + != other.getRequestedCancellation()) return false; + if (!getApiVersion() + .equals(other.getApiVersion())) return false; if (hasValidationResult() != other.hasValidationResult()) return false; if (hasValidationResult()) { - if (!getValidationResult().equals(other.getValidationResult())) return false; + if (!getValidationResult() + .equals(other.getValidationResult())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -687,7 +615,8 @@ public int hashCode() { hash = (37 * hash) + STATUS_MESSAGE_FIELD_NUMBER; hash = (53 * hash) + getStatusMessage().hashCode(); hash = (37 * hash) + REQUESTED_CANCELLATION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRequestedCancellation()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getRequestedCancellation()); hash = (37 * hash) + API_VERSION_FIELD_NUMBER; hash = (53 * hash) + getApiVersion().hashCode(); if (hasValidationResult()) { @@ -699,127 +628,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.datastream.v1.OperationMetadata parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.datastream.v1.OperationMetadata parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.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.datastream.v1.OperationMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.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.datastream.v1.OperationMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.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.datastream.v1.OperationMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.OperationMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.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.datastream.v1.OperationMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.OperationMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.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.datastream.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.datastream.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.datastream.v1.OperationMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Represents the metadata of the long-running operation.
    * 
* * Protobuf type {@code google.cloud.datastream.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.datastream.v1.OperationMetadata) com.google.cloud.datastream.v1.OperationMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_OperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_OperationMetadata_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.OperationMetadata.class, - com.google.cloud.datastream.v1.OperationMetadata.Builder.class); + com.google.cloud.datastream.v1.OperationMetadata.class, com.google.cloud.datastream.v1.OperationMetadata.Builder.class); } // Construct using com.google.cloud.datastream.v1.OperationMetadata.newBuilder() @@ -827,15 +747,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -871,9 +792,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_OperationMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_OperationMetadata_descriptor; } @java.lang.Override @@ -892,8 +813,7 @@ public com.google.cloud.datastream.v1.OperationMetadata build() { @java.lang.Override public com.google.cloud.datastream.v1.OperationMetadata buildPartial() { - com.google.cloud.datastream.v1.OperationMetadata result = - new com.google.cloud.datastream.v1.OperationMetadata(this); + com.google.cloud.datastream.v1.OperationMetadata result = new com.google.cloud.datastream.v1.OperationMetadata(this); if (createTimeBuilder_ == null) { result.createTime_ = createTime_; } else { @@ -922,39 +842,38 @@ public com.google.cloud.datastream.v1.OperationMetadata buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1.OperationMetadata) { - return mergeFrom((com.google.cloud.datastream.v1.OperationMetadata) other); + return mergeFrom((com.google.cloud.datastream.v1.OperationMetadata)other); } else { super.mergeFrom(other); return this; @@ -962,8 +881,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datastream.v1.OperationMetadata other) { - if (other == com.google.cloud.datastream.v1.OperationMetadata.getDefaultInstance()) - return this; + if (other == com.google.cloud.datastream.v1.OperationMetadata.getDefaultInstance()) return this; if (other.hasCreateTime()) { mergeCreateTime(other.getCreateTime()); } @@ -1023,58 +941,39 @@ public Builder mergeFrom( private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -1090,17 +989,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -1111,21 +1007,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1137,15 +1029,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -1159,64 +1047,48 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; @@ -1224,35 +1096,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_; /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the endTime field is set. */ public boolean hasEndTime() { return endTimeBuilder_ != null || endTime_ != null; } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1263,14 +1124,11 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { @@ -1286,16 +1144,14 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); onChanged(); @@ -1306,20 +1162,17 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) return this; } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { if (endTime_ != null) { endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } @@ -1331,14 +1184,11 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearEndTime() { if (endTimeBuilder_ == null) { @@ -1352,59 +1202,48 @@ public Builder clearEndTime() { return this; } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { - + onChanged(); return getEndTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { - endTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getEndTime(), getParentForChildren(), isClean()); + endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getEndTime(), + getParentForChildren(), + isClean()); endTime_ = null; } return endTimeBuilder_; @@ -1412,20 +1251,18 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { private java.lang.Object target_ = ""; /** - * - * *
      * Output only. Server-defined resource path for the target of the operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The target. */ public java.lang.String getTarget() { java.lang.Object ref = target_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); target_ = s; return s; @@ -1434,21 +1271,20 @@ public java.lang.String getTarget() { } } /** - * - * *
      * Output only. Server-defined resource path for the target of the operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for target. */ - public com.google.protobuf.ByteString getTargetBytes() { + public com.google.protobuf.ByteString + getTargetBytes() { java.lang.Object ref = target_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); target_ = b; return b; } else { @@ -1456,61 +1292,54 @@ public com.google.protobuf.ByteString getTargetBytes() { } } /** - * - * *
      * Output only. Server-defined resource path for the target of the operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The target to set. * @return This builder for chaining. */ - public Builder setTarget(java.lang.String value) { + public Builder setTarget( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + target_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Server-defined resource path for the target of the operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearTarget() { - + target_ = getDefaultInstance().getTarget(); onChanged(); return this; } /** - * - * *
      * Output only. Server-defined resource path for the target of the operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for target to set. * @return This builder for chaining. */ - public Builder setTargetBytes(com.google.protobuf.ByteString value) { + public Builder setTargetBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + target_ = value; onChanged(); return this; @@ -1518,20 +1347,18 @@ public Builder setTargetBytes(com.google.protobuf.ByteString value) { private java.lang.Object verb_ = ""; /** - * - * *
      * Output only. Name of the verb executed by the operation.
      * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The verb. */ public java.lang.String getVerb() { java.lang.Object ref = verb_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); verb_ = s; return s; @@ -1540,21 +1367,20 @@ public java.lang.String getVerb() { } } /** - * - * *
      * Output only. Name of the verb executed by the operation.
      * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for verb. */ - public com.google.protobuf.ByteString getVerbBytes() { + public com.google.protobuf.ByteString + getVerbBytes() { java.lang.Object ref = verb_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); verb_ = b; return b; } else { @@ -1562,61 +1388,54 @@ public com.google.protobuf.ByteString getVerbBytes() { } } /** - * - * *
      * Output only. Name of the verb executed by the operation.
      * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The verb to set. * @return This builder for chaining. */ - public Builder setVerb(java.lang.String value) { + public Builder setVerb( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + verb_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Name of the verb executed by the operation.
      * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearVerb() { - + verb_ = getDefaultInstance().getVerb(); onChanged(); return this; } /** - * - * *
      * Output only. Name of the verb executed by the operation.
      * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for verb to set. * @return This builder for chaining. */ - public Builder setVerbBytes(com.google.protobuf.ByteString value) { + public Builder setVerbBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + verb_ = value; onChanged(); return this; @@ -1624,20 +1443,18 @@ public Builder setVerbBytes(com.google.protobuf.ByteString value) { private java.lang.Object statusMessage_ = ""; /** - * - * *
      * Output only. Human-readable status of the operation, if any.
      * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The statusMessage. */ public java.lang.String getStatusMessage() { java.lang.Object ref = statusMessage_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); statusMessage_ = s; return s; @@ -1646,21 +1463,20 @@ public java.lang.String getStatusMessage() { } } /** - * - * *
      * Output only. Human-readable status of the operation, if any.
      * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for statusMessage. */ - public com.google.protobuf.ByteString getStatusMessageBytes() { + public com.google.protobuf.ByteString + getStatusMessageBytes() { java.lang.Object ref = statusMessage_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); statusMessage_ = b; return b; } else { @@ -1668,70 +1484,61 @@ public com.google.protobuf.ByteString getStatusMessageBytes() { } } /** - * - * *
      * Output only. Human-readable status of the operation, if any.
      * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The statusMessage to set. * @return This builder for chaining. */ - public Builder setStatusMessage(java.lang.String value) { + public Builder setStatusMessage( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + statusMessage_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Human-readable status of the operation, if any.
      * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearStatusMessage() { - + statusMessage_ = getDefaultInstance().getStatusMessage(); onChanged(); return this; } /** - * - * *
      * Output only. Human-readable status of the operation, if any.
      * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for statusMessage to set. * @return This builder for chaining. */ - public Builder setStatusMessageBytes(com.google.protobuf.ByteString value) { + public Builder setStatusMessageBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + statusMessage_ = value; onChanged(); return this; } - private boolean requestedCancellation_; + private boolean requestedCancellation_ ; /** - * - * *
      * Output only. Identifies whether the user has requested cancellation
      * of the operation. Operations that have successfully been cancelled
@@ -1740,7 +1547,6 @@ public Builder setStatusMessageBytes(com.google.protobuf.ByteString value) {
      * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The requestedCancellation. */ @java.lang.Override @@ -1748,8 +1554,6 @@ public boolean getRequestedCancellation() { return requestedCancellation_; } /** - * - * *
      * Output only. Identifies whether the user has requested cancellation
      * of the operation. Operations that have successfully been cancelled
@@ -1758,19 +1562,16 @@ public boolean getRequestedCancellation() {
      * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The requestedCancellation to set. * @return This builder for chaining. */ public Builder setRequestedCancellation(boolean value) { - + requestedCancellation_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Identifies whether the user has requested cancellation
      * of the operation. Operations that have successfully been cancelled
@@ -1779,11 +1580,10 @@ public Builder setRequestedCancellation(boolean value) {
      * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearRequestedCancellation() { - + requestedCancellation_ = false; onChanged(); return this; @@ -1791,20 +1591,18 @@ public Builder clearRequestedCancellation() { private java.lang.Object apiVersion_ = ""; /** - * - * *
      * Output only. API version used to start the operation.
      * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The apiVersion. */ public java.lang.String getApiVersion() { java.lang.Object ref = apiVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); apiVersion_ = s; return s; @@ -1813,21 +1611,20 @@ public java.lang.String getApiVersion() { } } /** - * - * *
      * Output only. API version used to start the operation.
      * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for apiVersion. */ - public com.google.protobuf.ByteString getApiVersionBytes() { + public com.google.protobuf.ByteString + getApiVersionBytes() { java.lang.Object ref = apiVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); apiVersion_ = b; return b; } else { @@ -1835,61 +1632,54 @@ public com.google.protobuf.ByteString getApiVersionBytes() { } } /** - * - * *
      * Output only. API version used to start the operation.
      * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The apiVersion to set. * @return This builder for chaining. */ - public Builder setApiVersion(java.lang.String value) { + public Builder setApiVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + apiVersion_ = value; onChanged(); return this; } /** - * - * *
      * Output only. API version used to start the operation.
      * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearApiVersion() { - + apiVersion_ = getDefaultInstance().getApiVersion(); onChanged(); return this; } /** - * - * *
      * Output only. API version used to start the operation.
      * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for apiVersion to set. * @return This builder for chaining. */ - public Builder setApiVersionBytes(com.google.protobuf.ByteString value) { + public Builder setApiVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + apiVersion_ = value; onChanged(); return this; @@ -1897,58 +1687,39 @@ public Builder setApiVersionBytes(com.google.protobuf.ByteString value) { private com.google.cloud.datastream.v1.ValidationResult validationResult_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.ValidationResult, - com.google.cloud.datastream.v1.ValidationResult.Builder, - com.google.cloud.datastream.v1.ValidationResultOrBuilder> - validationResultBuilder_; + com.google.cloud.datastream.v1.ValidationResult, com.google.cloud.datastream.v1.ValidationResult.Builder, com.google.cloud.datastream.v1.ValidationResultOrBuilder> validationResultBuilder_; /** - * - * *
      * Output only. Results of executed validations if there are any.
      * 
* - * - * .google.cloud.datastream.v1.ValidationResult validation_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datastream.v1.ValidationResult validation_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the validationResult field is set. */ public boolean hasValidationResult() { return validationResultBuilder_ != null || validationResult_ != null; } /** - * - * *
      * Output only. Results of executed validations if there are any.
      * 
* - * - * .google.cloud.datastream.v1.ValidationResult validation_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datastream.v1.ValidationResult validation_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The validationResult. */ public com.google.cloud.datastream.v1.ValidationResult getValidationResult() { if (validationResultBuilder_ == null) { - return validationResult_ == null - ? com.google.cloud.datastream.v1.ValidationResult.getDefaultInstance() - : validationResult_; + return validationResult_ == null ? com.google.cloud.datastream.v1.ValidationResult.getDefaultInstance() : validationResult_; } else { return validationResultBuilder_.getMessage(); } } /** - * - * *
      * Output only. Results of executed validations if there are any.
      * 
* - * - * .google.cloud.datastream.v1.ValidationResult validation_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datastream.v1.ValidationResult validation_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setValidationResult(com.google.cloud.datastream.v1.ValidationResult value) { if (validationResultBuilder_ == null) { @@ -1964,15 +1735,11 @@ public Builder setValidationResult(com.google.cloud.datastream.v1.ValidationResu return this; } /** - * - * *
      * Output only. Results of executed validations if there are any.
      * 
* - * - * .google.cloud.datastream.v1.ValidationResult validation_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datastream.v1.ValidationResult validation_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setValidationResult( com.google.cloud.datastream.v1.ValidationResult.Builder builderForValue) { @@ -1986,23 +1753,17 @@ public Builder setValidationResult( return this; } /** - * - * *
      * Output only. Results of executed validations if there are any.
      * 
* - * - * .google.cloud.datastream.v1.ValidationResult validation_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datastream.v1.ValidationResult validation_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeValidationResult(com.google.cloud.datastream.v1.ValidationResult value) { if (validationResultBuilder_ == null) { if (validationResult_ != null) { validationResult_ = - com.google.cloud.datastream.v1.ValidationResult.newBuilder(validationResult_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.datastream.v1.ValidationResult.newBuilder(validationResult_).mergeFrom(value).buildPartial(); } else { validationResult_ = value; } @@ -2014,15 +1775,11 @@ public Builder mergeValidationResult(com.google.cloud.datastream.v1.ValidationRe return this; } /** - * - * *
      * Output only. Results of executed validations if there are any.
      * 
* - * - * .google.cloud.datastream.v1.ValidationResult validation_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datastream.v1.ValidationResult validation_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearValidationResult() { if (validationResultBuilder_ == null) { @@ -2036,71 +1793,55 @@ public Builder clearValidationResult() { return this; } /** - * - * *
      * Output only. Results of executed validations if there are any.
      * 
* - * - * .google.cloud.datastream.v1.ValidationResult validation_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datastream.v1.ValidationResult validation_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.datastream.v1.ValidationResult.Builder getValidationResultBuilder() { - + onChanged(); return getValidationResultFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Results of executed validations if there are any.
      * 
* - * - * .google.cloud.datastream.v1.ValidationResult validation_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datastream.v1.ValidationResult validation_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.datastream.v1.ValidationResultOrBuilder getValidationResultOrBuilder() { if (validationResultBuilder_ != null) { return validationResultBuilder_.getMessageOrBuilder(); } else { - return validationResult_ == null - ? com.google.cloud.datastream.v1.ValidationResult.getDefaultInstance() - : validationResult_; + return validationResult_ == null ? + com.google.cloud.datastream.v1.ValidationResult.getDefaultInstance() : validationResult_; } } /** - * - * *
      * Output only. Results of executed validations if there are any.
      * 
* - * - * .google.cloud.datastream.v1.ValidationResult validation_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datastream.v1.ValidationResult validation_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.ValidationResult, - com.google.cloud.datastream.v1.ValidationResult.Builder, - com.google.cloud.datastream.v1.ValidationResultOrBuilder> + com.google.cloud.datastream.v1.ValidationResult, com.google.cloud.datastream.v1.ValidationResult.Builder, com.google.cloud.datastream.v1.ValidationResultOrBuilder> getValidationResultFieldBuilder() { if (validationResultBuilder_ == null) { - validationResultBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.ValidationResult, - com.google.cloud.datastream.v1.ValidationResult.Builder, - com.google.cloud.datastream.v1.ValidationResultOrBuilder>( - getValidationResult(), getParentForChildren(), isClean()); + validationResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1.ValidationResult, com.google.cloud.datastream.v1.ValidationResult.Builder, com.google.cloud.datastream.v1.ValidationResultOrBuilder>( + getValidationResult(), + getParentForChildren(), + isClean()); validationResult_ = null; } return validationResultBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2110,12 +1851,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1.OperationMetadata) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1.OperationMetadata) private static final com.google.cloud.datastream.v1.OperationMetadata DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1.OperationMetadata(); } @@ -2124,16 +1865,16 @@ public static com.google.cloud.datastream.v1.OperationMetadata getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OperationMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OperationMetadata(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OperationMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OperationMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2148,4 +1889,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datastream.v1.OperationMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/OperationMetadataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/OperationMetadataOrBuilder.java similarity index 72% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/OperationMetadataOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/OperationMetadataOrBuilder.java index fd0a674f..1ea49f22 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/OperationMetadataOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/OperationMetadataOrBuilder.java @@ -1,182 +1,127 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1/datastream.proto package com.google.cloud.datastream.v1; -public interface OperationMetadataOrBuilder - extends +public interface OperationMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1.OperationMetadata) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); /** - * - * *
    * Output only. Server-defined resource path for the target of the operation.
    * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The target. */ java.lang.String getTarget(); /** - * - * *
    * Output only. Server-defined resource path for the target of the operation.
    * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for target. */ - com.google.protobuf.ByteString getTargetBytes(); + com.google.protobuf.ByteString + getTargetBytes(); /** - * - * *
    * Output only. Name of the verb executed by the operation.
    * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The verb. */ java.lang.String getVerb(); /** - * - * *
    * Output only. Name of the verb executed by the operation.
    * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for verb. */ - com.google.protobuf.ByteString getVerbBytes(); + com.google.protobuf.ByteString + getVerbBytes(); /** - * - * *
    * Output only. Human-readable status of the operation, if any.
    * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The statusMessage. */ java.lang.String getStatusMessage(); /** - * - * *
    * Output only. Human-readable status of the operation, if any.
    * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for statusMessage. */ - com.google.protobuf.ByteString getStatusMessageBytes(); + com.google.protobuf.ByteString + getStatusMessageBytes(); /** - * - * *
    * Output only. Identifies whether the user has requested cancellation
    * of the operation. Operations that have successfully been cancelled
@@ -185,74 +130,54 @@ public interface OperationMetadataOrBuilder
    * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The requestedCancellation. */ boolean getRequestedCancellation(); /** - * - * *
    * Output only. API version used to start the operation.
    * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The apiVersion. */ java.lang.String getApiVersion(); /** - * - * *
    * Output only. API version used to start the operation.
    * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for apiVersion. */ - com.google.protobuf.ByteString getApiVersionBytes(); + com.google.protobuf.ByteString + getApiVersionBytes(); /** - * - * *
    * Output only. Results of executed validations if there are any.
    * 
* - * - * .google.cloud.datastream.v1.ValidationResult validation_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datastream.v1.ValidationResult validation_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the validationResult field is set. */ boolean hasValidationResult(); /** - * - * *
    * Output only. Results of executed validations if there are any.
    * 
* - * - * .google.cloud.datastream.v1.ValidationResult validation_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datastream.v1.ValidationResult validation_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The validationResult. */ com.google.cloud.datastream.v1.ValidationResult getValidationResult(); /** - * - * *
    * Output only. Results of executed validations if there are any.
    * 
* - * - * .google.cloud.datastream.v1.ValidationResult validation_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datastream.v1.ValidationResult validation_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.datastream.v1.ValidationResultOrBuilder getValidationResultOrBuilder(); } diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/OracleColumn.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/OracleColumn.java similarity index 73% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/OracleColumn.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/OracleColumn.java index 28c40ad2..b14e3843 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/OracleColumn.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/OracleColumn.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/datastream/v1/datastream_resources.proto package com.google.cloud.datastream.v1; /** - * - * *
  * Oracle Column.
  * 
* * Protobuf type {@code google.cloud.datastream.v1.OracleColumn} */ -public final class OracleColumn extends com.google.protobuf.GeneratedMessageV3 - implements +public final class OracleColumn extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1.OracleColumn) OracleColumnOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use OracleColumn.newBuilder() to construct. private OracleColumn(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private OracleColumn() { column_ = ""; dataType_ = ""; @@ -45,15 +27,16 @@ private OracleColumn() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new OracleColumn(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private OracleColumn( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,64 +55,61 @@ private OracleColumn( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - column_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + column_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - dataType_ = s; - break; - } - case 24: - { - length_ = input.readInt32(); - break; - } - case 32: - { - precision_ = input.readInt32(); - break; - } - case 40: - { - scale_ = input.readInt32(); - break; - } - case 50: - { - java.lang.String s = input.readStringRequireUtf8(); + dataType_ = s; + break; + } + case 24: { - encoding_ = s; - break; - } - case 56: - { - primaryKey_ = input.readBool(); - break; - } - case 64: - { - nullable_ = input.readBool(); - break; - } - case 72: - { - ordinalPosition_ = input.readInt32(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + length_ = input.readInt32(); + break; + } + case 32: { + + precision_ = input.readInt32(); + break; + } + case 40: { + + scale_ = input.readInt32(); + break; + } + case 50: { + java.lang.String s = input.readStringRequireUtf8(); + + encoding_ = s; + break; + } + case 56: { + + primaryKey_ = input.readBool(); + break; + } + case 64: { + + nullable_ = input.readBool(); + break; + } + case 72: { + + ordinalPosition_ = input.readInt32(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -137,39 +117,34 @@ private OracleColumn( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_OracleColumn_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_OracleColumn_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_OracleColumn_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_OracleColumn_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.OracleColumn.class, - com.google.cloud.datastream.v1.OracleColumn.Builder.class); + com.google.cloud.datastream.v1.OracleColumn.class, com.google.cloud.datastream.v1.OracleColumn.Builder.class); } public static final int COLUMN_FIELD_NUMBER = 1; private volatile java.lang.Object column_; /** - * - * *
    * Column name.
    * 
* * string column = 1; - * * @return The column. */ @java.lang.Override @@ -178,29 +153,29 @@ public java.lang.String getColumn() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); column_ = s; return s; } } /** - * - * *
    * Column name.
    * 
* * string column = 1; - * * @return The bytes for column. */ @java.lang.Override - public com.google.protobuf.ByteString getColumnBytes() { + public com.google.protobuf.ByteString + getColumnBytes() { java.lang.Object ref = column_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); column_ = b; return b; } else { @@ -211,14 +186,11 @@ public com.google.protobuf.ByteString getColumnBytes() { public static final int DATA_TYPE_FIELD_NUMBER = 2; private volatile java.lang.Object dataType_; /** - * - * *
    * The Oracle data type.
    * 
* * string data_type = 2; - * * @return The dataType. */ @java.lang.Override @@ -227,29 +199,29 @@ public java.lang.String getDataType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dataType_ = s; return s; } } /** - * - * *
    * The Oracle data type.
    * 
* * string data_type = 2; - * * @return The bytes for dataType. */ @java.lang.Override - public com.google.protobuf.ByteString getDataTypeBytes() { + public com.google.protobuf.ByteString + getDataTypeBytes() { java.lang.Object ref = dataType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); dataType_ = b; return b; } else { @@ -260,14 +232,11 @@ public com.google.protobuf.ByteString getDataTypeBytes() { public static final int LENGTH_FIELD_NUMBER = 3; private int length_; /** - * - * *
    * Column length.
    * 
* * int32 length = 3; - * * @return The length. */ @java.lang.Override @@ -278,14 +247,11 @@ public int getLength() { public static final int PRECISION_FIELD_NUMBER = 4; private int precision_; /** - * - * *
    * Column precision.
    * 
* * int32 precision = 4; - * * @return The precision. */ @java.lang.Override @@ -296,14 +262,11 @@ public int getPrecision() { public static final int SCALE_FIELD_NUMBER = 5; private int scale_; /** - * - * *
    * Column scale.
    * 
* * int32 scale = 5; - * * @return The scale. */ @java.lang.Override @@ -314,14 +277,11 @@ public int getScale() { public static final int ENCODING_FIELD_NUMBER = 6; private volatile java.lang.Object encoding_; /** - * - * *
    * Column encoding.
    * 
* * string encoding = 6; - * * @return The encoding. */ @java.lang.Override @@ -330,29 +290,29 @@ public java.lang.String getEncoding() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); encoding_ = s; return s; } } /** - * - * *
    * Column encoding.
    * 
* * string encoding = 6; - * * @return The bytes for encoding. */ @java.lang.Override - public com.google.protobuf.ByteString getEncodingBytes() { + public com.google.protobuf.ByteString + getEncodingBytes() { java.lang.Object ref = encoding_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); encoding_ = b; return b; } else { @@ -363,14 +323,11 @@ public com.google.protobuf.ByteString getEncodingBytes() { public static final int PRIMARY_KEY_FIELD_NUMBER = 7; private boolean primaryKey_; /** - * - * *
    * Whether or not the column represents a primary key.
    * 
* * bool primary_key = 7; - * * @return The primaryKey. */ @java.lang.Override @@ -381,14 +338,11 @@ public boolean getPrimaryKey() { public static final int NULLABLE_FIELD_NUMBER = 8; private boolean nullable_; /** - * - * *
    * Whether or not the column can accept a null value.
    * 
* * bool nullable = 8; - * * @return The nullable. */ @java.lang.Override @@ -399,14 +353,11 @@ public boolean getNullable() { public static final int ORDINAL_POSITION_FIELD_NUMBER = 9; private int ordinalPosition_; /** - * - * *
    * The ordinal position of the column in the table.
    * 
* * int32 ordinal_position = 9; - * * @return The ordinalPosition. */ @java.lang.Override @@ -415,7 +366,6 @@ public int getOrdinalPosition() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -427,7 +377,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(column_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, column_); } @@ -471,25 +422,31 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, dataType_); } if (length_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, length_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, length_); } if (precision_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, precision_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, precision_); } if (scale_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, scale_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(5, scale_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(encoding_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, encoding_); } if (primaryKey_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(7, primaryKey_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(7, primaryKey_); } if (nullable_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(8, nullable_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(8, nullable_); } if (ordinalPosition_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(9, ordinalPosition_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(9, ordinalPosition_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -499,23 +456,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.datastream.v1.OracleColumn)) { return super.equals(obj); } - com.google.cloud.datastream.v1.OracleColumn other = - (com.google.cloud.datastream.v1.OracleColumn) obj; - - if (!getColumn().equals(other.getColumn())) return false; - if (!getDataType().equals(other.getDataType())) return false; - if (getLength() != other.getLength()) return false; - if (getPrecision() != other.getPrecision()) return false; - if (getScale() != other.getScale()) return false; - if (!getEncoding().equals(other.getEncoding())) return false; - if (getPrimaryKey() != other.getPrimaryKey()) return false; - if (getNullable() != other.getNullable()) return false; - if (getOrdinalPosition() != other.getOrdinalPosition()) return false; + com.google.cloud.datastream.v1.OracleColumn other = (com.google.cloud.datastream.v1.OracleColumn) obj; + + if (!getColumn() + .equals(other.getColumn())) return false; + if (!getDataType() + .equals(other.getDataType())) return false; + if (getLength() + != other.getLength()) return false; + if (getPrecision() + != other.getPrecision()) return false; + if (getScale() + != other.getScale()) return false; + if (!getEncoding() + .equals(other.getEncoding())) return false; + if (getPrimaryKey() + != other.getPrimaryKey()) return false; + if (getNullable() + != other.getNullable()) return false; + if (getOrdinalPosition() + != other.getOrdinalPosition()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -540,9 +505,11 @@ public int hashCode() { hash = (37 * hash) + ENCODING_FIELD_NUMBER; hash = (53 * hash) + getEncoding().hashCode(); hash = (37 * hash) + PRIMARY_KEY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getPrimaryKey()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getPrimaryKey()); hash = (37 * hash) + NULLABLE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getNullable()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getNullable()); hash = (37 * hash) + ORDINAL_POSITION_FIELD_NUMBER; hash = (53 * hash) + getOrdinalPosition(); hash = (29 * hash) + unknownFields.hashCode(); @@ -550,127 +517,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.datastream.v1.OracleColumn parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.datastream.v1.OracleColumn parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.OracleColumn parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.OracleColumn parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.OracleColumn parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.OracleColumn parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.OracleColumn parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.OracleColumn 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.datastream.v1.OracleColumn parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1.OracleColumn parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.OracleColumn parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.OracleColumn 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.datastream.v1.OracleColumn parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.OracleColumn parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datastream.v1.OracleColumn prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Oracle Column.
    * 
* * Protobuf type {@code google.cloud.datastream.v1.OracleColumn} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1.OracleColumn) com.google.cloud.datastream.v1.OracleColumnOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_OracleColumn_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_OracleColumn_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_OracleColumn_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_OracleColumn_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.OracleColumn.class, - com.google.cloud.datastream.v1.OracleColumn.Builder.class); + com.google.cloud.datastream.v1.OracleColumn.class, com.google.cloud.datastream.v1.OracleColumn.Builder.class); } // Construct using com.google.cloud.datastream.v1.OracleColumn.newBuilder() @@ -678,15 +636,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -712,9 +671,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_OracleColumn_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_OracleColumn_descriptor; } @java.lang.Override @@ -733,8 +692,7 @@ public com.google.cloud.datastream.v1.OracleColumn build() { @java.lang.Override public com.google.cloud.datastream.v1.OracleColumn buildPartial() { - com.google.cloud.datastream.v1.OracleColumn result = - new com.google.cloud.datastream.v1.OracleColumn(this); + com.google.cloud.datastream.v1.OracleColumn result = new com.google.cloud.datastream.v1.OracleColumn(this); result.column_ = column_; result.dataType_ = dataType_; result.length_ = length_; @@ -752,39 +710,38 @@ public com.google.cloud.datastream.v1.OracleColumn buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1.OracleColumn) { - return mergeFrom((com.google.cloud.datastream.v1.OracleColumn) other); + return mergeFrom((com.google.cloud.datastream.v1.OracleColumn)other); } else { super.mergeFrom(other); return this; @@ -854,20 +811,18 @@ public Builder mergeFrom( private java.lang.Object column_ = ""; /** - * - * *
      * Column name.
      * 
* * string column = 1; - * * @return The column. */ public java.lang.String getColumn() { java.lang.Object ref = column_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); column_ = s; return s; @@ -876,21 +831,20 @@ public java.lang.String getColumn() { } } /** - * - * *
      * Column name.
      * 
* * string column = 1; - * * @return The bytes for column. */ - public com.google.protobuf.ByteString getColumnBytes() { + public com.google.protobuf.ByteString + getColumnBytes() { java.lang.Object ref = column_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); column_ = b; return b; } else { @@ -898,61 +852,54 @@ public com.google.protobuf.ByteString getColumnBytes() { } } /** - * - * *
      * Column name.
      * 
* * string column = 1; - * * @param value The column to set. * @return This builder for chaining. */ - public Builder setColumn(java.lang.String value) { + public Builder setColumn( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + column_ = value; onChanged(); return this; } /** - * - * *
      * Column name.
      * 
* * string column = 1; - * * @return This builder for chaining. */ public Builder clearColumn() { - + column_ = getDefaultInstance().getColumn(); onChanged(); return this; } /** - * - * *
      * Column name.
      * 
* * string column = 1; - * * @param value The bytes for column to set. * @return This builder for chaining. */ - public Builder setColumnBytes(com.google.protobuf.ByteString value) { + public Builder setColumnBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + column_ = value; onChanged(); return this; @@ -960,20 +907,18 @@ public Builder setColumnBytes(com.google.protobuf.ByteString value) { private java.lang.Object dataType_ = ""; /** - * - * *
      * The Oracle data type.
      * 
* * string data_type = 2; - * * @return The dataType. */ public java.lang.String getDataType() { java.lang.Object ref = dataType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dataType_ = s; return s; @@ -982,21 +927,20 @@ public java.lang.String getDataType() { } } /** - * - * *
      * The Oracle data type.
      * 
* * string data_type = 2; - * * @return The bytes for dataType. */ - public com.google.protobuf.ByteString getDataTypeBytes() { + public com.google.protobuf.ByteString + getDataTypeBytes() { java.lang.Object ref = dataType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); dataType_ = b; return b; } else { @@ -1004,76 +948,66 @@ public com.google.protobuf.ByteString getDataTypeBytes() { } } /** - * - * *
      * The Oracle data type.
      * 
* * string data_type = 2; - * * @param value The dataType to set. * @return This builder for chaining. */ - public Builder setDataType(java.lang.String value) { + public Builder setDataType( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + dataType_ = value; onChanged(); return this; } /** - * - * *
      * The Oracle data type.
      * 
* * string data_type = 2; - * * @return This builder for chaining. */ public Builder clearDataType() { - + dataType_ = getDefaultInstance().getDataType(); onChanged(); return this; } /** - * - * *
      * The Oracle data type.
      * 
* * string data_type = 2; - * * @param value The bytes for dataType to set. * @return This builder for chaining. */ - public Builder setDataTypeBytes(com.google.protobuf.ByteString value) { + public Builder setDataTypeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + dataType_ = value; onChanged(); return this; } - private int length_; + private int length_ ; /** - * - * *
      * Column length.
      * 
* * int32 length = 3; - * * @return The length. */ @java.lang.Override @@ -1081,51 +1015,42 @@ public int getLength() { return length_; } /** - * - * *
      * Column length.
      * 
* * int32 length = 3; - * * @param value The length to set. * @return This builder for chaining. */ public Builder setLength(int value) { - + length_ = value; onChanged(); return this; } /** - * - * *
      * Column length.
      * 
* * int32 length = 3; - * * @return This builder for chaining. */ public Builder clearLength() { - + length_ = 0; onChanged(); return this; } - private int precision_; + private int precision_ ; /** - * - * *
      * Column precision.
      * 
* * int32 precision = 4; - * * @return The precision. */ @java.lang.Override @@ -1133,51 +1058,42 @@ public int getPrecision() { return precision_; } /** - * - * *
      * Column precision.
      * 
* * int32 precision = 4; - * * @param value The precision to set. * @return This builder for chaining. */ public Builder setPrecision(int value) { - + precision_ = value; onChanged(); return this; } /** - * - * *
      * Column precision.
      * 
* * int32 precision = 4; - * * @return This builder for chaining. */ public Builder clearPrecision() { - + precision_ = 0; onChanged(); return this; } - private int scale_; + private int scale_ ; /** - * - * *
      * Column scale.
      * 
* * int32 scale = 5; - * * @return The scale. */ @java.lang.Override @@ -1185,36 +1101,30 @@ public int getScale() { return scale_; } /** - * - * *
      * Column scale.
      * 
* * int32 scale = 5; - * * @param value The scale to set. * @return This builder for chaining. */ public Builder setScale(int value) { - + scale_ = value; onChanged(); return this; } /** - * - * *
      * Column scale.
      * 
* * int32 scale = 5; - * * @return This builder for chaining. */ public Builder clearScale() { - + scale_ = 0; onChanged(); return this; @@ -1222,20 +1132,18 @@ public Builder clearScale() { private java.lang.Object encoding_ = ""; /** - * - * *
      * Column encoding.
      * 
* * string encoding = 6; - * * @return The encoding. */ public java.lang.String getEncoding() { java.lang.Object ref = encoding_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); encoding_ = s; return s; @@ -1244,21 +1152,20 @@ public java.lang.String getEncoding() { } } /** - * - * *
      * Column encoding.
      * 
* * string encoding = 6; - * * @return The bytes for encoding. */ - public com.google.protobuf.ByteString getEncodingBytes() { + public com.google.protobuf.ByteString + getEncodingBytes() { java.lang.Object ref = encoding_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); encoding_ = b; return b; } else { @@ -1266,76 +1173,66 @@ public com.google.protobuf.ByteString getEncodingBytes() { } } /** - * - * *
      * Column encoding.
      * 
* * string encoding = 6; - * * @param value The encoding to set. * @return This builder for chaining. */ - public Builder setEncoding(java.lang.String value) { + public Builder setEncoding( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + encoding_ = value; onChanged(); return this; } /** - * - * *
      * Column encoding.
      * 
* * string encoding = 6; - * * @return This builder for chaining. */ public Builder clearEncoding() { - + encoding_ = getDefaultInstance().getEncoding(); onChanged(); return this; } /** - * - * *
      * Column encoding.
      * 
* * string encoding = 6; - * * @param value The bytes for encoding to set. * @return This builder for chaining. */ - public Builder setEncodingBytes(com.google.protobuf.ByteString value) { + public Builder setEncodingBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + encoding_ = value; onChanged(); return this; } - private boolean primaryKey_; + private boolean primaryKey_ ; /** - * - * *
      * Whether or not the column represents a primary key.
      * 
* * bool primary_key = 7; - * * @return The primaryKey. */ @java.lang.Override @@ -1343,51 +1240,42 @@ public boolean getPrimaryKey() { return primaryKey_; } /** - * - * *
      * Whether or not the column represents a primary key.
      * 
* * bool primary_key = 7; - * * @param value The primaryKey to set. * @return This builder for chaining. */ public Builder setPrimaryKey(boolean value) { - + primaryKey_ = value; onChanged(); return this; } /** - * - * *
      * Whether or not the column represents a primary key.
      * 
* * bool primary_key = 7; - * * @return This builder for chaining. */ public Builder clearPrimaryKey() { - + primaryKey_ = false; onChanged(); return this; } - private boolean nullable_; + private boolean nullable_ ; /** - * - * *
      * Whether or not the column can accept a null value.
      * 
* * bool nullable = 8; - * * @return The nullable. */ @java.lang.Override @@ -1395,51 +1283,42 @@ public boolean getNullable() { return nullable_; } /** - * - * *
      * Whether or not the column can accept a null value.
      * 
* * bool nullable = 8; - * * @param value The nullable to set. * @return This builder for chaining. */ public Builder setNullable(boolean value) { - + nullable_ = value; onChanged(); return this; } /** - * - * *
      * Whether or not the column can accept a null value.
      * 
* * bool nullable = 8; - * * @return This builder for chaining. */ public Builder clearNullable() { - + nullable_ = false; onChanged(); return this; } - private int ordinalPosition_; + private int ordinalPosition_ ; /** - * - * *
      * The ordinal position of the column in the table.
      * 
* * int32 ordinal_position = 9; - * * @return The ordinalPosition. */ @java.lang.Override @@ -1447,43 +1326,37 @@ public int getOrdinalPosition() { return ordinalPosition_; } /** - * - * *
      * The ordinal position of the column in the table.
      * 
* * int32 ordinal_position = 9; - * * @param value The ordinalPosition to set. * @return This builder for chaining. */ public Builder setOrdinalPosition(int value) { - + ordinalPosition_ = value; onChanged(); return this; } /** - * - * *
      * The ordinal position of the column in the table.
      * 
* * int32 ordinal_position = 9; - * * @return This builder for chaining. */ public Builder clearOrdinalPosition() { - + ordinalPosition_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1493,12 +1366,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1.OracleColumn) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1.OracleColumn) private static final com.google.cloud.datastream.v1.OracleColumn DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1.OracleColumn(); } @@ -1507,16 +1380,16 @@ public static com.google.cloud.datastream.v1.OracleColumn getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OracleColumn parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OracleColumn(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OracleColumn parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OracleColumn(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1531,4 +1404,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datastream.v1.OracleColumn getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/OracleColumnOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/OracleColumnOrBuilder.java similarity index 69% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/OracleColumnOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/OracleColumnOrBuilder.java index ca779761..6e4f0635 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/OracleColumnOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/OracleColumnOrBuilder.java @@ -1,177 +1,128 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1/datastream_resources.proto package com.google.cloud.datastream.v1; -public interface OracleColumnOrBuilder - extends +public interface OracleColumnOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1.OracleColumn) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Column name.
    * 
* * string column = 1; - * * @return The column. */ java.lang.String getColumn(); /** - * - * *
    * Column name.
    * 
* * string column = 1; - * * @return The bytes for column. */ - com.google.protobuf.ByteString getColumnBytes(); + com.google.protobuf.ByteString + getColumnBytes(); /** - * - * *
    * The Oracle data type.
    * 
* * string data_type = 2; - * * @return The dataType. */ java.lang.String getDataType(); /** - * - * *
    * The Oracle data type.
    * 
* * string data_type = 2; - * * @return The bytes for dataType. */ - com.google.protobuf.ByteString getDataTypeBytes(); + com.google.protobuf.ByteString + getDataTypeBytes(); /** - * - * *
    * Column length.
    * 
* * int32 length = 3; - * * @return The length. */ int getLength(); /** - * - * *
    * Column precision.
    * 
* * int32 precision = 4; - * * @return The precision. */ int getPrecision(); /** - * - * *
    * Column scale.
    * 
* * int32 scale = 5; - * * @return The scale. */ int getScale(); /** - * - * *
    * Column encoding.
    * 
* * string encoding = 6; - * * @return The encoding. */ java.lang.String getEncoding(); /** - * - * *
    * Column encoding.
    * 
* * string encoding = 6; - * * @return The bytes for encoding. */ - com.google.protobuf.ByteString getEncodingBytes(); + com.google.protobuf.ByteString + getEncodingBytes(); /** - * - * *
    * Whether or not the column represents a primary key.
    * 
* * bool primary_key = 7; - * * @return The primaryKey. */ boolean getPrimaryKey(); /** - * - * *
    * Whether or not the column can accept a null value.
    * 
* * bool nullable = 8; - * * @return The nullable. */ boolean getNullable(); /** - * - * *
    * The ordinal position of the column in the table.
    * 
* * int32 ordinal_position = 9; - * * @return The ordinalPosition. */ int getOrdinalPosition(); diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/OracleProfile.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/OracleProfile.java similarity index 69% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/OracleProfile.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/OracleProfile.java index 5131482f..5710b1d8 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/OracleProfile.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/OracleProfile.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/datastream/v1/datastream_resources.proto package com.google.cloud.datastream.v1; /** - * - * *
  * Oracle database profile.
  * 
* * Protobuf type {@code google.cloud.datastream.v1.OracleProfile} */ -public final class OracleProfile extends com.google.protobuf.GeneratedMessageV3 - implements +public final class OracleProfile extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1.OracleProfile) OracleProfileOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use OracleProfile.newBuilder() to construct. private OracleProfile(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private OracleProfile() { hostname_ = ""; username_ = ""; @@ -46,15 +28,16 @@ private OracleProfile() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new OracleProfile(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private OracleProfile( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -74,64 +57,55 @@ private OracleProfile( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - hostname_ = s; - break; - } - case 16: - { - port_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + hostname_ = s; + break; + } + case 16: { - username_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + port_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - password_ = s; - break; - } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + username_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - databaseService_ = s; - break; - } - case 50: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - connectionAttributes_ = - com.google.protobuf.MapField.newMapField( - ConnectionAttributesDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; - } - com.google.protobuf.MapEntry - connectionAttributes__ = - input.readMessage( - ConnectionAttributesDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - connectionAttributes_ - .getMutableMap() - .put(connectionAttributes__.getKey(), connectionAttributes__.getValue()); - break; + password_ = s; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + databaseService_ = s; + break; + } + case 50: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + connectionAttributes_ = com.google.protobuf.MapField.newMapField( + ConnectionAttributesDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + com.google.protobuf.MapEntry + connectionAttributes__ = input.readMessage( + ConnectionAttributesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + connectionAttributes_.getMutableMap().put( + connectionAttributes__.getKey(), connectionAttributes__.getValue()); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -139,50 +113,46 @@ private OracleProfile( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_OracleProfile_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_OracleProfile_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 6: return internalGetConnectionAttributes(); 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.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_OracleProfile_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_OracleProfile_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.OracleProfile.class, - com.google.cloud.datastream.v1.OracleProfile.Builder.class); + com.google.cloud.datastream.v1.OracleProfile.class, com.google.cloud.datastream.v1.OracleProfile.Builder.class); } public static final int HOSTNAME_FIELD_NUMBER = 1; private volatile java.lang.Object hostname_; /** - * - * *
    * Required. Hostname for the Oracle connection.
    * 
* * string hostname = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The hostname. */ @java.lang.Override @@ -191,29 +161,29 @@ public java.lang.String getHostname() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); hostname_ = s; return s; } } /** - * - * *
    * Required. Hostname for the Oracle connection.
    * 
* * string hostname = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for hostname. */ @java.lang.Override - public com.google.protobuf.ByteString getHostnameBytes() { + public com.google.protobuf.ByteString + getHostnameBytes() { java.lang.Object ref = hostname_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); hostname_ = b; return b; } else { @@ -224,14 +194,11 @@ public com.google.protobuf.ByteString getHostnameBytes() { public static final int PORT_FIELD_NUMBER = 2; private int port_; /** - * - * *
    * Port for the Oracle connection, default value is 1521.
    * 
* * int32 port = 2; - * * @return The port. */ @java.lang.Override @@ -242,14 +209,11 @@ public int getPort() { public static final int USERNAME_FIELD_NUMBER = 3; private volatile java.lang.Object username_; /** - * - * *
    * Required. Username for the Oracle connection.
    * 
* * string username = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The username. */ @java.lang.Override @@ -258,29 +222,29 @@ public java.lang.String getUsername() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); username_ = s; return s; } } /** - * - * *
    * Required. Username for the Oracle connection.
    * 
* * string username = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for username. */ @java.lang.Override - public com.google.protobuf.ByteString getUsernameBytes() { + public com.google.protobuf.ByteString + getUsernameBytes() { java.lang.Object ref = username_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); username_ = b; return b; } else { @@ -291,14 +255,11 @@ public com.google.protobuf.ByteString getUsernameBytes() { public static final int PASSWORD_FIELD_NUMBER = 4; private volatile java.lang.Object password_; /** - * - * *
    * Required. Password for the Oracle connection.
    * 
* * string password = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The password. */ @java.lang.Override @@ -307,29 +268,29 @@ public java.lang.String getPassword() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); password_ = s; return s; } } /** - * - * *
    * Required. Password for the Oracle connection.
    * 
* * string password = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for password. */ @java.lang.Override - public com.google.protobuf.ByteString getPasswordBytes() { + public com.google.protobuf.ByteString + getPasswordBytes() { java.lang.Object ref = password_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); password_ = b; return b; } else { @@ -340,14 +301,11 @@ public com.google.protobuf.ByteString getPasswordBytes() { public static final int DATABASE_SERVICE_FIELD_NUMBER = 5; private volatile java.lang.Object databaseService_; /** - * - * *
    * Required. Database for the Oracle connection.
    * 
* * string database_service = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The databaseService. */ @java.lang.Override @@ -356,29 +314,29 @@ public java.lang.String getDatabaseService() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); databaseService_ = s; return s; } } /** - * - * *
    * Required. Database for the Oracle connection.
    * 
* * string database_service = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for databaseService. */ @java.lang.Override - public com.google.protobuf.ByteString getDatabaseServiceBytes() { + public com.google.protobuf.ByteString + getDatabaseServiceBytes() { java.lang.Object ref = databaseService_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); databaseService_ = b; return b; } else { @@ -387,22 +345,21 @@ public com.google.protobuf.ByteString getDatabaseServiceBytes() { } public static final int CONNECTION_ATTRIBUTES_FIELD_NUMBER = 6; - private static final class ConnectionAttributesDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_OracleProfile_ConnectionAttributesEntry_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.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_OracleProfile_ConnectionAttributesEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - - private com.google.protobuf.MapField connectionAttributes_; - + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> connectionAttributes_; private com.google.protobuf.MapField - internalGetConnectionAttributes() { + internalGetConnectionAttributes() { if (connectionAttributes_ == null) { return com.google.protobuf.MapField.emptyMapField( ConnectionAttributesDefaultEntryHolder.defaultEntry); @@ -414,30 +371,28 @@ public int getConnectionAttributesCount() { return internalGetConnectionAttributes().getMap().size(); } /** - * - * *
    * Connection string attributes
    * 
* * map<string, string> connection_attributes = 6; */ + @java.lang.Override - public boolean containsConnectionAttributes(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsConnectionAttributes( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetConnectionAttributes().getMap().containsKey(key); } - /** Use {@link #getConnectionAttributesMap()} instead. */ + /** + * Use {@link #getConnectionAttributesMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getConnectionAttributes() { return getConnectionAttributesMap(); } /** - * - * *
    * Connection string attributes
    * 
@@ -445,12 +400,11 @@ public java.util.Map getConnectionAttributes * map<string, string> connection_attributes = 6; */ @java.lang.Override + public java.util.Map getConnectionAttributesMap() { return internalGetConnectionAttributes().getMap(); } /** - * - * *
    * Connection string attributes
    * 
@@ -458,18 +412,16 @@ public java.util.Map getConnectionAttributes * map<string, string> connection_attributes = 6; */ @java.lang.Override + public java.lang.String getConnectionAttributesOrDefault( - java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetConnectionAttributes().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * Connection string attributes
    * 
@@ -477,10 +429,10 @@ public java.lang.String getConnectionAttributesOrDefault( * map<string, string> connection_attributes = 6; */ @java.lang.Override - public java.lang.String getConnectionAttributesOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + + public java.lang.String getConnectionAttributesOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetConnectionAttributes().getMap(); if (!map.containsKey(key)) { @@ -490,7 +442,6 @@ public java.lang.String getConnectionAttributesOrThrow(java.lang.String key) { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -502,7 +453,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(hostname_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, hostname_); } @@ -518,7 +470,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(databaseService_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, databaseService_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( output, internalGetConnectionAttributes(), ConnectionAttributesDefaultEntryHolder.defaultEntry, @@ -536,7 +489,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, hostname_); } 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(username_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, username_); @@ -547,15 +501,15 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(databaseService_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, databaseService_); } - for (java.util.Map.Entry entry : - internalGetConnectionAttributes().getMap().entrySet()) { - com.google.protobuf.MapEntry connectionAttributes__ = - ConnectionAttributesDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, connectionAttributes__); + for (java.util.Map.Entry entry + : internalGetConnectionAttributes().getMap().entrySet()) { + com.google.protobuf.MapEntry + connectionAttributes__ = ConnectionAttributesDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, connectionAttributes__); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -565,21 +519,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.datastream.v1.OracleProfile)) { return super.equals(obj); } - com.google.cloud.datastream.v1.OracleProfile other = - (com.google.cloud.datastream.v1.OracleProfile) obj; - - if (!getHostname().equals(other.getHostname())) return false; - if (getPort() != other.getPort()) return false; - if (!getUsername().equals(other.getUsername())) return false; - if (!getPassword().equals(other.getPassword())) return false; - if (!getDatabaseService().equals(other.getDatabaseService())) return false; - if (!internalGetConnectionAttributes().equals(other.internalGetConnectionAttributes())) - return false; + com.google.cloud.datastream.v1.OracleProfile other = (com.google.cloud.datastream.v1.OracleProfile) obj; + + if (!getHostname() + .equals(other.getHostname())) return false; + if (getPort() + != other.getPort()) return false; + if (!getUsername() + .equals(other.getUsername())) return false; + if (!getPassword() + .equals(other.getPassword())) return false; + if (!getDatabaseService() + .equals(other.getDatabaseService())) return false; + if (!internalGetConnectionAttributes().equals( + other.internalGetConnectionAttributes())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -610,147 +568,140 @@ public int hashCode() { return hash; } - public static com.google.cloud.datastream.v1.OracleProfile parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.datastream.v1.OracleProfile parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.OracleProfile parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.OracleProfile parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.OracleProfile parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.OracleProfile parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.OracleProfile parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.OracleProfile 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.datastream.v1.OracleProfile parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1.OracleProfile parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.OracleProfile parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.OracleProfile 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.datastream.v1.OracleProfile parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.OracleProfile parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datastream.v1.OracleProfile prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Oracle database profile.
    * 
* * Protobuf type {@code google.cloud.datastream.v1.OracleProfile} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1.OracleProfile) com.google.cloud.datastream.v1.OracleProfileOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_OracleProfile_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_OracleProfile_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 6: return internalGetConnectionAttributes(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField(int number) { + protected com.google.protobuf.MapField internalGetMutableMapField( + int number) { switch (number) { case 6: return internalGetMutableConnectionAttributes(); 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.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_OracleProfile_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_OracleProfile_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.OracleProfile.class, - com.google.cloud.datastream.v1.OracleProfile.Builder.class); + com.google.cloud.datastream.v1.OracleProfile.class, com.google.cloud.datastream.v1.OracleProfile.Builder.class); } // Construct using com.google.cloud.datastream.v1.OracleProfile.newBuilder() @@ -758,15 +709,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -785,9 +737,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_OracleProfile_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_OracleProfile_descriptor; } @java.lang.Override @@ -806,8 +758,7 @@ public com.google.cloud.datastream.v1.OracleProfile build() { @java.lang.Override public com.google.cloud.datastream.v1.OracleProfile buildPartial() { - com.google.cloud.datastream.v1.OracleProfile result = - new com.google.cloud.datastream.v1.OracleProfile(this); + com.google.cloud.datastream.v1.OracleProfile result = new com.google.cloud.datastream.v1.OracleProfile(this); int from_bitField0_ = bitField0_; result.hostname_ = hostname_; result.port_ = port_; @@ -824,39 +775,38 @@ public com.google.cloud.datastream.v1.OracleProfile buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1.OracleProfile) { - return mergeFrom((com.google.cloud.datastream.v1.OracleProfile) other); + return mergeFrom((com.google.cloud.datastream.v1.OracleProfile)other); } else { super.mergeFrom(other); return this; @@ -884,7 +834,8 @@ public Builder mergeFrom(com.google.cloud.datastream.v1.OracleProfile other) { databaseService_ = other.databaseService_; onChanged(); } - internalGetMutableConnectionAttributes().mergeFrom(other.internalGetConnectionAttributes()); + internalGetMutableConnectionAttributes().mergeFrom( + other.internalGetConnectionAttributes()); this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -913,25 +864,22 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object hostname_ = ""; /** - * - * *
      * Required. Hostname for the Oracle connection.
      * 
* * string hostname = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The hostname. */ public java.lang.String getHostname() { java.lang.Object ref = hostname_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); hostname_ = s; return s; @@ -940,21 +888,20 @@ public java.lang.String getHostname() { } } /** - * - * *
      * Required. Hostname for the Oracle connection.
      * 
* * string hostname = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for hostname. */ - public com.google.protobuf.ByteString getHostnameBytes() { + public com.google.protobuf.ByteString + getHostnameBytes() { java.lang.Object ref = hostname_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); hostname_ = b; return b; } else { @@ -962,76 +909,66 @@ public com.google.protobuf.ByteString getHostnameBytes() { } } /** - * - * *
      * Required. Hostname for the Oracle connection.
      * 
* * string hostname = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The hostname to set. * @return This builder for chaining. */ - public Builder setHostname(java.lang.String value) { + public Builder setHostname( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + hostname_ = value; onChanged(); return this; } /** - * - * *
      * Required. Hostname for the Oracle connection.
      * 
* * string hostname = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearHostname() { - + hostname_ = getDefaultInstance().getHostname(); onChanged(); return this; } /** - * - * *
      * Required. Hostname for the Oracle connection.
      * 
* * string hostname = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for hostname to set. * @return This builder for chaining. */ - public Builder setHostnameBytes(com.google.protobuf.ByteString value) { + public Builder setHostnameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + hostname_ = value; onChanged(); return this; } - private int port_; + private int port_ ; /** - * - * *
      * Port for the Oracle connection, default value is 1521.
      * 
* * int32 port = 2; - * * @return The port. */ @java.lang.Override @@ -1039,36 +976,30 @@ public int getPort() { return port_; } /** - * - * *
      * Port for the Oracle connection, default value is 1521.
      * 
* * int32 port = 2; - * * @param value The port to set. * @return This builder for chaining. */ public Builder setPort(int value) { - + port_ = value; onChanged(); return this; } /** - * - * *
      * Port for the Oracle connection, default value is 1521.
      * 
* * int32 port = 2; - * * @return This builder for chaining. */ public Builder clearPort() { - + port_ = 0; onChanged(); return this; @@ -1076,20 +1007,18 @@ public Builder clearPort() { private java.lang.Object username_ = ""; /** - * - * *
      * Required. Username for the Oracle connection.
      * 
* * string username = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The username. */ public java.lang.String getUsername() { java.lang.Object ref = username_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); username_ = s; return s; @@ -1098,21 +1027,20 @@ public java.lang.String getUsername() { } } /** - * - * *
      * Required. Username for the Oracle connection.
      * 
* * string username = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for username. */ - public com.google.protobuf.ByteString getUsernameBytes() { + public com.google.protobuf.ByteString + getUsernameBytes() { java.lang.Object ref = username_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); username_ = b; return b; } else { @@ -1120,61 +1048,54 @@ public com.google.protobuf.ByteString getUsernameBytes() { } } /** - * - * *
      * Required. Username for the Oracle connection.
      * 
* * string username = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The username to set. * @return This builder for chaining. */ - public Builder setUsername(java.lang.String value) { + public Builder setUsername( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + username_ = value; onChanged(); return this; } /** - * - * *
      * Required. Username for the Oracle connection.
      * 
* * string username = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearUsername() { - + username_ = getDefaultInstance().getUsername(); onChanged(); return this; } /** - * - * *
      * Required. Username for the Oracle connection.
      * 
* * string username = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for username to set. * @return This builder for chaining. */ - public Builder setUsernameBytes(com.google.protobuf.ByteString value) { + public Builder setUsernameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + username_ = value; onChanged(); return this; @@ -1182,20 +1103,18 @@ public Builder setUsernameBytes(com.google.protobuf.ByteString value) { private java.lang.Object password_ = ""; /** - * - * *
      * Required. Password for the Oracle connection.
      * 
* * string password = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The password. */ public java.lang.String getPassword() { java.lang.Object ref = password_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); password_ = s; return s; @@ -1204,21 +1123,20 @@ public java.lang.String getPassword() { } } /** - * - * *
      * Required. Password for the Oracle connection.
      * 
* * string password = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for password. */ - public com.google.protobuf.ByteString getPasswordBytes() { + public com.google.protobuf.ByteString + getPasswordBytes() { java.lang.Object ref = password_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); password_ = b; return b; } else { @@ -1226,61 +1144,54 @@ public com.google.protobuf.ByteString getPasswordBytes() { } } /** - * - * *
      * Required. Password for the Oracle connection.
      * 
* * string password = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The password to set. * @return This builder for chaining. */ - public Builder setPassword(java.lang.String value) { + public Builder setPassword( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + password_ = value; onChanged(); return this; } /** - * - * *
      * Required. Password for the Oracle connection.
      * 
* * string password = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearPassword() { - + password_ = getDefaultInstance().getPassword(); onChanged(); return this; } /** - * - * *
      * Required. Password for the Oracle connection.
      * 
* * string password = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for password to set. * @return This builder for chaining. */ - public Builder setPasswordBytes(com.google.protobuf.ByteString value) { + public Builder setPasswordBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + password_ = value; onChanged(); return this; @@ -1288,20 +1199,18 @@ public Builder setPasswordBytes(com.google.protobuf.ByteString value) { private java.lang.Object databaseService_ = ""; /** - * - * *
      * Required. Database for the Oracle connection.
      * 
* * string database_service = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The databaseService. */ public java.lang.String getDatabaseService() { java.lang.Object ref = databaseService_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); databaseService_ = s; return s; @@ -1310,21 +1219,20 @@ public java.lang.String getDatabaseService() { } } /** - * - * *
      * Required. Database for the Oracle connection.
      * 
* * string database_service = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for databaseService. */ - public com.google.protobuf.ByteString getDatabaseServiceBytes() { + public com.google.protobuf.ByteString + getDatabaseServiceBytes() { java.lang.Object ref = databaseService_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); databaseService_ = b; return b; } else { @@ -1332,85 +1240,75 @@ public com.google.protobuf.ByteString getDatabaseServiceBytes() { } } /** - * - * *
      * Required. Database for the Oracle connection.
      * 
* * string database_service = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The databaseService to set. * @return This builder for chaining. */ - public Builder setDatabaseService(java.lang.String value) { + public Builder setDatabaseService( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + databaseService_ = value; onChanged(); return this; } /** - * - * *
      * Required. Database for the Oracle connection.
      * 
* * string database_service = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearDatabaseService() { - + databaseService_ = getDefaultInstance().getDatabaseService(); onChanged(); return this; } /** - * - * *
      * Required. Database for the Oracle connection.
      * 
* * string database_service = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for databaseService to set. * @return This builder for chaining. */ - public Builder setDatabaseServiceBytes(com.google.protobuf.ByteString value) { + public Builder setDatabaseServiceBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + databaseService_ = value; onChanged(); return this; } - private com.google.protobuf.MapField connectionAttributes_; - + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> connectionAttributes_; private com.google.protobuf.MapField - internalGetConnectionAttributes() { + internalGetConnectionAttributes() { if (connectionAttributes_ == null) { return com.google.protobuf.MapField.emptyMapField( ConnectionAttributesDefaultEntryHolder.defaultEntry); } return connectionAttributes_; } - private com.google.protobuf.MapField - internalGetMutableConnectionAttributes() { - onChanged(); - ; + internalGetMutableConnectionAttributes() { + onChanged();; if (connectionAttributes_ == null) { - connectionAttributes_ = - com.google.protobuf.MapField.newMapField( - ConnectionAttributesDefaultEntryHolder.defaultEntry); + connectionAttributes_ = com.google.protobuf.MapField.newMapField( + ConnectionAttributesDefaultEntryHolder.defaultEntry); } if (!connectionAttributes_.isMutable()) { connectionAttributes_ = connectionAttributes_.copy(); @@ -1422,30 +1320,28 @@ public int getConnectionAttributesCount() { return internalGetConnectionAttributes().getMap().size(); } /** - * - * *
      * Connection string attributes
      * 
* * map<string, string> connection_attributes = 6; */ + @java.lang.Override - public boolean containsConnectionAttributes(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsConnectionAttributes( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetConnectionAttributes().getMap().containsKey(key); } - /** Use {@link #getConnectionAttributesMap()} instead. */ + /** + * Use {@link #getConnectionAttributesMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getConnectionAttributes() { return getConnectionAttributesMap(); } /** - * - * *
      * Connection string attributes
      * 
@@ -1453,12 +1349,11 @@ public java.util.Map getConnectionAttributes * map<string, string> connection_attributes = 6; */ @java.lang.Override + public java.util.Map getConnectionAttributesMap() { return internalGetConnectionAttributes().getMap(); } /** - * - * *
      * Connection string attributes
      * 
@@ -1466,18 +1361,16 @@ public java.util.Map getConnectionAttributes * map<string, string> connection_attributes = 6; */ @java.lang.Override + public java.lang.String getConnectionAttributesOrDefault( - java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetConnectionAttributes().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * Connection string attributes
      * 
@@ -1485,10 +1378,10 @@ public java.lang.String getConnectionAttributesOrDefault( * map<string, string> connection_attributes = 6; */ @java.lang.Override - public java.lang.String getConnectionAttributesOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + + public java.lang.String getConnectionAttributesOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetConnectionAttributes().getMap(); if (!map.containsKey(key)) { @@ -1498,67 +1391,69 @@ public java.lang.String getConnectionAttributesOrThrow(java.lang.String key) { } public Builder clearConnectionAttributes() { - internalGetMutableConnectionAttributes().getMutableMap().clear(); + internalGetMutableConnectionAttributes().getMutableMap() + .clear(); return this; } /** - * - * *
      * Connection string attributes
      * 
* * map<string, string> connection_attributes = 6; */ - public Builder removeConnectionAttributes(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableConnectionAttributes().getMutableMap().remove(key); + + public Builder removeConnectionAttributes( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableConnectionAttributes().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map getMutableConnectionAttributes() { + public java.util.Map + getMutableConnectionAttributes() { return internalGetMutableConnectionAttributes().getMutableMap(); } /** - * - * *
      * Connection string attributes
      * 
* * map<string, string> connection_attributes = 6; */ - public Builder putConnectionAttributes(java.lang.String key, java.lang.String value) { - if (key == null) { - throw new NullPointerException("map key"); - } + public Builder putConnectionAttributes( + java.lang.String key, + java.lang.String value) { + if (key == null) { throw new NullPointerException("map key"); } if (value == null) { - throw new NullPointerException("map value"); - } + throw new NullPointerException("map value"); +} - internalGetMutableConnectionAttributes().getMutableMap().put(key, value); + internalGetMutableConnectionAttributes().getMutableMap() + .put(key, value); return this; } /** - * - * *
      * Connection string attributes
      * 
* * map<string, string> connection_attributes = 6; */ + public Builder putAllConnectionAttributes( java.util.Map values) { - internalGetMutableConnectionAttributes().getMutableMap().putAll(values); + internalGetMutableConnectionAttributes().getMutableMap() + .putAll(values); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1568,12 +1463,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1.OracleProfile) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1.OracleProfile) private static final com.google.cloud.datastream.v1.OracleProfile DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1.OracleProfile(); } @@ -1582,16 +1477,16 @@ public static com.google.cloud.datastream.v1.OracleProfile getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OracleProfile parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OracleProfile(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OracleProfile parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OracleProfile(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1606,4 +1501,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datastream.v1.OracleProfile getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/OracleProfileOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/OracleProfileOrBuilder.java similarity index 67% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/OracleProfileOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/OracleProfileOrBuilder.java index fdd1a702..582d1c17 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/OracleProfileOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/OracleProfileOrBuilder.java @@ -1,144 +1,103 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1/datastream_resources.proto package com.google.cloud.datastream.v1; -public interface OracleProfileOrBuilder - extends +public interface OracleProfileOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1.OracleProfile) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Hostname for the Oracle connection.
    * 
* * string hostname = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The hostname. */ java.lang.String getHostname(); /** - * - * *
    * Required. Hostname for the Oracle connection.
    * 
* * string hostname = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for hostname. */ - com.google.protobuf.ByteString getHostnameBytes(); + com.google.protobuf.ByteString + getHostnameBytes(); /** - * - * *
    * Port for the Oracle connection, default value is 1521.
    * 
* * int32 port = 2; - * * @return The port. */ int getPort(); /** - * - * *
    * Required. Username for the Oracle connection.
    * 
* * string username = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The username. */ java.lang.String getUsername(); /** - * - * *
    * Required. Username for the Oracle connection.
    * 
* * string username = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for username. */ - com.google.protobuf.ByteString getUsernameBytes(); + com.google.protobuf.ByteString + getUsernameBytes(); /** - * - * *
    * Required. Password for the Oracle connection.
    * 
* * string password = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The password. */ java.lang.String getPassword(); /** - * - * *
    * Required. Password for the Oracle connection.
    * 
* * string password = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for password. */ - com.google.protobuf.ByteString getPasswordBytes(); + com.google.protobuf.ByteString + getPasswordBytes(); /** - * - * *
    * Required. Database for the Oracle connection.
    * 
* * string database_service = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The databaseService. */ java.lang.String getDatabaseService(); /** - * - * *
    * Required. Database for the Oracle connection.
    * 
* * string database_service = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for databaseService. */ - com.google.protobuf.ByteString getDatabaseServiceBytes(); + com.google.protobuf.ByteString + getDatabaseServiceBytes(); /** - * - * *
    * Connection string attributes
    * 
@@ -147,31 +106,30 @@ public interface OracleProfileOrBuilder */ int getConnectionAttributesCount(); /** - * - * *
    * Connection string attributes
    * 
* * map<string, string> connection_attributes = 6; */ - boolean containsConnectionAttributes(java.lang.String key); - /** Use {@link #getConnectionAttributesMap()} instead. */ + boolean containsConnectionAttributes( + java.lang.String key); + /** + * Use {@link #getConnectionAttributesMap()} instead. + */ @java.lang.Deprecated - java.util.Map getConnectionAttributes(); + java.util.Map + getConnectionAttributes(); /** - * - * *
    * Connection string attributes
    * 
* * map<string, string> connection_attributes = 6; */ - java.util.Map getConnectionAttributesMap(); + java.util.Map + getConnectionAttributesMap(); /** - * - * *
    * Connection string attributes
    * 
@@ -180,18 +138,18 @@ public interface OracleProfileOrBuilder */ /* nullable */ - java.lang.String getConnectionAttributesOrDefault( +java.lang.String getConnectionAttributesOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue); +java.lang.String defaultValue); /** - * - * *
    * Connection string attributes
    * 
* * map<string, string> connection_attributes = 6; */ - java.lang.String getConnectionAttributesOrThrow(java.lang.String key); + + java.lang.String getConnectionAttributesOrThrow( + java.lang.String key); } diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/OracleRdbms.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/OracleRdbms.java similarity index 74% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/OracleRdbms.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/OracleRdbms.java index b3925e8d..804e5399 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/OracleRdbms.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/OracleRdbms.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1/datastream_resources.proto package com.google.cloud.datastream.v1; /** - * - * *
  * Oracle database structure.
  * 
* * Protobuf type {@code google.cloud.datastream.v1.OracleRdbms} */ -public final class OracleRdbms extends com.google.protobuf.GeneratedMessageV3 - implements +public final class OracleRdbms extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1.OracleRdbms) OracleRdbmsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use OracleRdbms.newBuilder() to construct. private OracleRdbms(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private OracleRdbms() { oracleSchemas_ = 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 OracleRdbms(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private OracleRdbms( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,25 +54,22 @@ private OracleRdbms( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - oracleSchemas_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - oracleSchemas_.add( - input.readMessage( - com.google.cloud.datastream.v1.OracleSchema.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + oracleSchemas_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + oracleSchemas_.add( + input.readMessage(com.google.cloud.datastream.v1.OracleSchema.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -97,7 +77,8 @@ private OracleRdbms( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { oracleSchemas_ = java.util.Collections.unmodifiableList(oracleSchemas_); @@ -106,27 +87,22 @@ private OracleRdbms( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_OracleRdbms_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_OracleRdbms_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_OracleRdbms_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_OracleRdbms_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.OracleRdbms.class, - com.google.cloud.datastream.v1.OracleRdbms.Builder.class); + com.google.cloud.datastream.v1.OracleRdbms.class, com.google.cloud.datastream.v1.OracleRdbms.Builder.class); } public static final int ORACLE_SCHEMAS_FIELD_NUMBER = 1; private java.util.List oracleSchemas_; /** - * - * *
    * Oracle schemas/databases in the database server.
    * 
@@ -138,8 +114,6 @@ public java.util.List getOracleSche return oracleSchemas_; } /** - * - * *
    * Oracle schemas/databases in the database server.
    * 
@@ -147,13 +121,11 @@ public java.util.List getOracleSche * repeated .google.cloud.datastream.v1.OracleSchema oracle_schemas = 1; */ @java.lang.Override - public java.util.List + public java.util.List getOracleSchemasOrBuilderList() { return oracleSchemas_; } /** - * - * *
    * Oracle schemas/databases in the database server.
    * 
@@ -165,8 +137,6 @@ public int getOracleSchemasCount() { return oracleSchemas_.size(); } /** - * - * *
    * Oracle schemas/databases in the database server.
    * 
@@ -178,8 +148,6 @@ public com.google.cloud.datastream.v1.OracleSchema getOracleSchemas(int index) { return oracleSchemas_.get(index); } /** - * - * *
    * Oracle schemas/databases in the database server.
    * 
@@ -187,12 +155,12 @@ public com.google.cloud.datastream.v1.OracleSchema getOracleSchemas(int index) { * repeated .google.cloud.datastream.v1.OracleSchema oracle_schemas = 1; */ @java.lang.Override - public com.google.cloud.datastream.v1.OracleSchemaOrBuilder getOracleSchemasOrBuilder(int index) { + public com.google.cloud.datastream.v1.OracleSchemaOrBuilder getOracleSchemasOrBuilder( + int index) { return oracleSchemas_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -204,7 +172,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 < oracleSchemas_.size(); i++) { output.writeMessage(1, oracleSchemas_.get(i)); } @@ -218,7 +187,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < oracleSchemas_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, oracleSchemas_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, oracleSchemas_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -228,15 +198,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.datastream.v1.OracleRdbms)) { return super.equals(obj); } - com.google.cloud.datastream.v1.OracleRdbms other = - (com.google.cloud.datastream.v1.OracleRdbms) obj; + com.google.cloud.datastream.v1.OracleRdbms other = (com.google.cloud.datastream.v1.OracleRdbms) obj; - if (!getOracleSchemasList().equals(other.getOracleSchemasList())) return false; + if (!getOracleSchemasList() + .equals(other.getOracleSchemasList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -257,127 +227,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.datastream.v1.OracleRdbms parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.datastream.v1.OracleRdbms parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.OracleRdbms parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.OracleRdbms parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.OracleRdbms parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.OracleRdbms parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.OracleRdbms parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.OracleRdbms 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.datastream.v1.OracleRdbms parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1.OracleRdbms parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.OracleRdbms parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.OracleRdbms 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.datastream.v1.OracleRdbms parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.OracleRdbms parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datastream.v1.OracleRdbms prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Oracle database structure.
    * 
* * Protobuf type {@code google.cloud.datastream.v1.OracleRdbms} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1.OracleRdbms) com.google.cloud.datastream.v1.OracleRdbmsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_OracleRdbms_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_OracleRdbms_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_OracleRdbms_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_OracleRdbms_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.OracleRdbms.class, - com.google.cloud.datastream.v1.OracleRdbms.Builder.class); + com.google.cloud.datastream.v1.OracleRdbms.class, com.google.cloud.datastream.v1.OracleRdbms.Builder.class); } // Construct using com.google.cloud.datastream.v1.OracleRdbms.newBuilder() @@ -385,17 +346,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getOracleSchemasFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -409,9 +370,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_OracleRdbms_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_OracleRdbms_descriptor; } @java.lang.Override @@ -430,8 +391,7 @@ public com.google.cloud.datastream.v1.OracleRdbms build() { @java.lang.Override public com.google.cloud.datastream.v1.OracleRdbms buildPartial() { - com.google.cloud.datastream.v1.OracleRdbms result = - new com.google.cloud.datastream.v1.OracleRdbms(this); + com.google.cloud.datastream.v1.OracleRdbms result = new com.google.cloud.datastream.v1.OracleRdbms(this); int from_bitField0_ = bitField0_; if (oracleSchemasBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -450,39 +410,38 @@ public com.google.cloud.datastream.v1.OracleRdbms buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1.OracleRdbms) { - return mergeFrom((com.google.cloud.datastream.v1.OracleRdbms) other); + return mergeFrom((com.google.cloud.datastream.v1.OracleRdbms)other); } else { super.mergeFrom(other); return this; @@ -509,10 +468,9 @@ public Builder mergeFrom(com.google.cloud.datastream.v1.OracleRdbms other) { oracleSchemasBuilder_ = null; oracleSchemas_ = other.oracleSchemas_; bitField0_ = (bitField0_ & ~0x00000001); - oracleSchemasBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getOracleSchemasFieldBuilder() - : null; + oracleSchemasBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getOracleSchemasFieldBuilder() : null; } else { oracleSchemasBuilder_.addAllMessages(other.oracleSchemas_); } @@ -546,29 +504,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List oracleSchemas_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureOracleSchemasIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - oracleSchemas_ = - new java.util.ArrayList(oracleSchemas_); + oracleSchemas_ = new java.util.ArrayList(oracleSchemas_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datastream.v1.OracleSchema, - com.google.cloud.datastream.v1.OracleSchema.Builder, - com.google.cloud.datastream.v1.OracleSchemaOrBuilder> - oracleSchemasBuilder_; + com.google.cloud.datastream.v1.OracleSchema, com.google.cloud.datastream.v1.OracleSchema.Builder, com.google.cloud.datastream.v1.OracleSchemaOrBuilder> oracleSchemasBuilder_; /** - * - * *
      * Oracle schemas/databases in the database server.
      * 
@@ -583,8 +533,6 @@ public java.util.List getOracleSche } } /** - * - * *
      * Oracle schemas/databases in the database server.
      * 
@@ -599,8 +547,6 @@ public int getOracleSchemasCount() { } } /** - * - * *
      * Oracle schemas/databases in the database server.
      * 
@@ -615,15 +561,14 @@ public com.google.cloud.datastream.v1.OracleSchema getOracleSchemas(int index) { } } /** - * - * *
      * Oracle schemas/databases in the database server.
      * 
* * repeated .google.cloud.datastream.v1.OracleSchema oracle_schemas = 1; */ - public Builder setOracleSchemas(int index, com.google.cloud.datastream.v1.OracleSchema value) { + public Builder setOracleSchemas( + int index, com.google.cloud.datastream.v1.OracleSchema value) { if (oracleSchemasBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -637,8 +582,6 @@ public Builder setOracleSchemas(int index, com.google.cloud.datastream.v1.Oracle return this; } /** - * - * *
      * Oracle schemas/databases in the database server.
      * 
@@ -657,8 +600,6 @@ public Builder setOracleSchemas( return this; } /** - * - * *
      * Oracle schemas/databases in the database server.
      * 
@@ -679,15 +620,14 @@ public Builder addOracleSchemas(com.google.cloud.datastream.v1.OracleSchema valu return this; } /** - * - * *
      * Oracle schemas/databases in the database server.
      * 
* * repeated .google.cloud.datastream.v1.OracleSchema oracle_schemas = 1; */ - public Builder addOracleSchemas(int index, com.google.cloud.datastream.v1.OracleSchema value) { + public Builder addOracleSchemas( + int index, com.google.cloud.datastream.v1.OracleSchema value) { if (oracleSchemasBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -701,8 +641,6 @@ public Builder addOracleSchemas(int index, com.google.cloud.datastream.v1.Oracle return this; } /** - * - * *
      * Oracle schemas/databases in the database server.
      * 
@@ -721,8 +659,6 @@ public Builder addOracleSchemas( return this; } /** - * - * *
      * Oracle schemas/databases in the database server.
      * 
@@ -741,8 +677,6 @@ public Builder addOracleSchemas( return this; } /** - * - * *
      * Oracle schemas/databases in the database server.
      * 
@@ -753,7 +687,8 @@ public Builder addAllOracleSchemas( java.lang.Iterable values) { if (oracleSchemasBuilder_ == null) { ensureOracleSchemasIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, oracleSchemas_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, oracleSchemas_); onChanged(); } else { oracleSchemasBuilder_.addAllMessages(values); @@ -761,8 +696,6 @@ public Builder addAllOracleSchemas( return this; } /** - * - * *
      * Oracle schemas/databases in the database server.
      * 
@@ -780,8 +713,6 @@ public Builder clearOracleSchemas() { return this; } /** - * - * *
      * Oracle schemas/databases in the database server.
      * 
@@ -799,20 +730,17 @@ public Builder removeOracleSchemas(int index) { return this; } /** - * - * *
      * Oracle schemas/databases in the database server.
      * 
* * repeated .google.cloud.datastream.v1.OracleSchema oracle_schemas = 1; */ - public com.google.cloud.datastream.v1.OracleSchema.Builder getOracleSchemasBuilder(int index) { + public com.google.cloud.datastream.v1.OracleSchema.Builder getOracleSchemasBuilder( + int index) { return getOracleSchemasFieldBuilder().getBuilder(index); } /** - * - * *
      * Oracle schemas/databases in the database server.
      * 
@@ -822,22 +750,19 @@ public com.google.cloud.datastream.v1.OracleSchema.Builder getOracleSchemasBuild public com.google.cloud.datastream.v1.OracleSchemaOrBuilder getOracleSchemasOrBuilder( int index) { if (oracleSchemasBuilder_ == null) { - return oracleSchemas_.get(index); - } else { + return oracleSchemas_.get(index); } else { return oracleSchemasBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Oracle schemas/databases in the database server.
      * 
* * repeated .google.cloud.datastream.v1.OracleSchema oracle_schemas = 1; */ - public java.util.List - getOracleSchemasOrBuilderList() { + public java.util.List + getOracleSchemasOrBuilderList() { if (oracleSchemasBuilder_ != null) { return oracleSchemasBuilder_.getMessageOrBuilderList(); } else { @@ -845,8 +770,6 @@ public com.google.cloud.datastream.v1.OracleSchemaOrBuilder getOracleSchemasOrBu } } /** - * - * *
      * Oracle schemas/databases in the database server.
      * 
@@ -854,47 +777,38 @@ public com.google.cloud.datastream.v1.OracleSchemaOrBuilder getOracleSchemasOrBu * repeated .google.cloud.datastream.v1.OracleSchema oracle_schemas = 1; */ public com.google.cloud.datastream.v1.OracleSchema.Builder addOracleSchemasBuilder() { - return getOracleSchemasFieldBuilder() - .addBuilder(com.google.cloud.datastream.v1.OracleSchema.getDefaultInstance()); + return getOracleSchemasFieldBuilder().addBuilder( + com.google.cloud.datastream.v1.OracleSchema.getDefaultInstance()); } /** - * - * *
      * Oracle schemas/databases in the database server.
      * 
* * repeated .google.cloud.datastream.v1.OracleSchema oracle_schemas = 1; */ - public com.google.cloud.datastream.v1.OracleSchema.Builder addOracleSchemasBuilder(int index) { - return getOracleSchemasFieldBuilder() - .addBuilder(index, com.google.cloud.datastream.v1.OracleSchema.getDefaultInstance()); + public com.google.cloud.datastream.v1.OracleSchema.Builder addOracleSchemasBuilder( + int index) { + return getOracleSchemasFieldBuilder().addBuilder( + index, com.google.cloud.datastream.v1.OracleSchema.getDefaultInstance()); } /** - * - * *
      * Oracle schemas/databases in the database server.
      * 
* * repeated .google.cloud.datastream.v1.OracleSchema oracle_schemas = 1; */ - public java.util.List - getOracleSchemasBuilderList() { + public java.util.List + getOracleSchemasBuilderList() { return getOracleSchemasFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datastream.v1.OracleSchema, - com.google.cloud.datastream.v1.OracleSchema.Builder, - com.google.cloud.datastream.v1.OracleSchemaOrBuilder> + com.google.cloud.datastream.v1.OracleSchema, com.google.cloud.datastream.v1.OracleSchema.Builder, com.google.cloud.datastream.v1.OracleSchemaOrBuilder> getOracleSchemasFieldBuilder() { if (oracleSchemasBuilder_ == null) { - oracleSchemasBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datastream.v1.OracleSchema, - com.google.cloud.datastream.v1.OracleSchema.Builder, - com.google.cloud.datastream.v1.OracleSchemaOrBuilder>( + oracleSchemasBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datastream.v1.OracleSchema, com.google.cloud.datastream.v1.OracleSchema.Builder, com.google.cloud.datastream.v1.OracleSchemaOrBuilder>( oracleSchemas_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -903,9 +817,9 @@ public com.google.cloud.datastream.v1.OracleSchema.Builder addOracleSchemasBuild } return oracleSchemasBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -915,12 +829,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1.OracleRdbms) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1.OracleRdbms) private static final com.google.cloud.datastream.v1.OracleRdbms DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1.OracleRdbms(); } @@ -929,16 +843,16 @@ public static com.google.cloud.datastream.v1.OracleRdbms getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OracleRdbms parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OracleRdbms(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OracleRdbms parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OracleRdbms(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -953,4 +867,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datastream.v1.OracleRdbms getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/OracleRdbmsOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/OracleRdbmsOrBuilder.java similarity index 64% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/OracleRdbmsOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/OracleRdbmsOrBuilder.java index d5a46d0e..edefd8e8 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/OracleRdbmsOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/OracleRdbmsOrBuilder.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/datastream/v1/datastream_resources.proto package com.google.cloud.datastream.v1; -public interface OracleRdbmsOrBuilder - extends +public interface OracleRdbmsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1.OracleRdbms) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Oracle schemas/databases in the database server.
    * 
* * repeated .google.cloud.datastream.v1.OracleSchema oracle_schemas = 1; */ - java.util.List getOracleSchemasList(); + java.util.List + getOracleSchemasList(); /** - * - * *
    * Oracle schemas/databases in the database server.
    * 
@@ -44,8 +25,6 @@ public interface OracleRdbmsOrBuilder */ com.google.cloud.datastream.v1.OracleSchema getOracleSchemas(int index); /** - * - * *
    * Oracle schemas/databases in the database server.
    * 
@@ -54,24 +33,21 @@ public interface OracleRdbmsOrBuilder */ int getOracleSchemasCount(); /** - * - * *
    * Oracle schemas/databases in the database server.
    * 
* * repeated .google.cloud.datastream.v1.OracleSchema oracle_schemas = 1; */ - java.util.List + java.util.List getOracleSchemasOrBuilderList(); /** - * - * *
    * Oracle schemas/databases in the database server.
    * 
* * repeated .google.cloud.datastream.v1.OracleSchema oracle_schemas = 1; */ - com.google.cloud.datastream.v1.OracleSchemaOrBuilder getOracleSchemasOrBuilder(int index); + com.google.cloud.datastream.v1.OracleSchemaOrBuilder getOracleSchemasOrBuilder( + int index); } diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/OracleSchema.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/OracleSchema.java similarity index 73% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/OracleSchema.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/OracleSchema.java index 7256ff56..7466d811 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/OracleSchema.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/OracleSchema.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/datastream/v1/datastream_resources.proto package com.google.cloud.datastream.v1; /** - * - * *
  * Oracle schema.
  * 
* * Protobuf type {@code google.cloud.datastream.v1.OracleSchema} */ -public final class OracleSchema extends com.google.protobuf.GeneratedMessageV3 - implements +public final class OracleSchema extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1.OracleSchema) OracleSchemaOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use OracleSchema.newBuilder() to construct. private OracleSchema(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private OracleSchema() { schema_ = ""; oracleTables_ = java.util.Collections.emptyList(); @@ -44,15 +26,16 @@ private OracleSchema() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new OracleSchema(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private OracleSchema( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,32 +55,28 @@ private OracleSchema( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - schema_ = s; - break; - } - case 18: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - oracleTables_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - oracleTables_.add( - input.readMessage( - com.google.cloud.datastream.v1.OracleTable.parser(), extensionRegistry)); - break; + schema_ = s; + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + oracleTables_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + oracleTables_.add( + input.readMessage(com.google.cloud.datastream.v1.OracleTable.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -105,7 +84,8 @@ private OracleSchema( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { oracleTables_ = java.util.Collections.unmodifiableList(oracleTables_); @@ -114,33 +94,27 @@ private OracleSchema( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_OracleSchema_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_OracleSchema_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_OracleSchema_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_OracleSchema_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.OracleSchema.class, - com.google.cloud.datastream.v1.OracleSchema.Builder.class); + com.google.cloud.datastream.v1.OracleSchema.class, com.google.cloud.datastream.v1.OracleSchema.Builder.class); } public static final int SCHEMA_FIELD_NUMBER = 1; private volatile java.lang.Object schema_; /** - * - * *
    * Schema name.
    * 
* * string schema = 1; - * * @return The schema. */ @java.lang.Override @@ -149,29 +123,29 @@ public java.lang.String getSchema() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); schema_ = s; return s; } } /** - * - * *
    * Schema name.
    * 
* * string schema = 1; - * * @return The bytes for schema. */ @java.lang.Override - public com.google.protobuf.ByteString getSchemaBytes() { + public com.google.protobuf.ByteString + getSchemaBytes() { java.lang.Object ref = schema_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); schema_ = b; return b; } else { @@ -182,8 +156,6 @@ public com.google.protobuf.ByteString getSchemaBytes() { public static final int ORACLE_TABLES_FIELD_NUMBER = 2; private java.util.List oracleTables_; /** - * - * *
    * Tables in the schema.
    * 
@@ -195,8 +167,6 @@ public java.util.List getOracleTable return oracleTables_; } /** - * - * *
    * Tables in the schema.
    * 
@@ -204,13 +174,11 @@ public java.util.List getOracleTable * repeated .google.cloud.datastream.v1.OracleTable oracle_tables = 2; */ @java.lang.Override - public java.util.List + public java.util.List getOracleTablesOrBuilderList() { return oracleTables_; } /** - * - * *
    * Tables in the schema.
    * 
@@ -222,8 +190,6 @@ public int getOracleTablesCount() { return oracleTables_.size(); } /** - * - * *
    * Tables in the schema.
    * 
@@ -235,8 +201,6 @@ public com.google.cloud.datastream.v1.OracleTable getOracleTables(int index) { return oracleTables_.get(index); } /** - * - * *
    * Tables in the schema.
    * 
@@ -244,12 +208,12 @@ public com.google.cloud.datastream.v1.OracleTable getOracleTables(int index) { * repeated .google.cloud.datastream.v1.OracleTable oracle_tables = 2; */ @java.lang.Override - public com.google.cloud.datastream.v1.OracleTableOrBuilder getOracleTablesOrBuilder(int index) { + public com.google.cloud.datastream.v1.OracleTableOrBuilder getOracleTablesOrBuilder( + int index) { return oracleTables_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -261,7 +225,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schema_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, schema_); } @@ -281,7 +246,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, schema_); } for (int i = 0; i < oracleTables_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, oracleTables_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, oracleTables_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -291,16 +257,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datastream.v1.OracleSchema)) { return super.equals(obj); } - com.google.cloud.datastream.v1.OracleSchema other = - (com.google.cloud.datastream.v1.OracleSchema) obj; + com.google.cloud.datastream.v1.OracleSchema other = (com.google.cloud.datastream.v1.OracleSchema) obj; - if (!getSchema().equals(other.getSchema())) return false; - if (!getOracleTablesList().equals(other.getOracleTablesList())) return false; + if (!getSchema() + .equals(other.getSchema())) return false; + if (!getOracleTablesList() + .equals(other.getOracleTablesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -323,127 +290,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.datastream.v1.OracleSchema parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.datastream.v1.OracleSchema parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.OracleSchema parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.OracleSchema parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.OracleSchema parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.OracleSchema parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.OracleSchema parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.OracleSchema 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.datastream.v1.OracleSchema parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1.OracleSchema parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.OracleSchema parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.OracleSchema 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.datastream.v1.OracleSchema parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.OracleSchema parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datastream.v1.OracleSchema prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Oracle schema.
    * 
* * Protobuf type {@code google.cloud.datastream.v1.OracleSchema} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1.OracleSchema) com.google.cloud.datastream.v1.OracleSchemaOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_OracleSchema_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_OracleSchema_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_OracleSchema_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_OracleSchema_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.OracleSchema.class, - com.google.cloud.datastream.v1.OracleSchema.Builder.class); + com.google.cloud.datastream.v1.OracleSchema.class, com.google.cloud.datastream.v1.OracleSchema.Builder.class); } // Construct using com.google.cloud.datastream.v1.OracleSchema.newBuilder() @@ -451,17 +409,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getOracleTablesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -477,9 +435,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_OracleSchema_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_OracleSchema_descriptor; } @java.lang.Override @@ -498,8 +456,7 @@ public com.google.cloud.datastream.v1.OracleSchema build() { @java.lang.Override public com.google.cloud.datastream.v1.OracleSchema buildPartial() { - com.google.cloud.datastream.v1.OracleSchema result = - new com.google.cloud.datastream.v1.OracleSchema(this); + com.google.cloud.datastream.v1.OracleSchema result = new com.google.cloud.datastream.v1.OracleSchema(this); int from_bitField0_ = bitField0_; result.schema_ = schema_; if (oracleTablesBuilder_ == null) { @@ -519,39 +476,38 @@ public com.google.cloud.datastream.v1.OracleSchema buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1.OracleSchema) { - return mergeFrom((com.google.cloud.datastream.v1.OracleSchema) other); + return mergeFrom((com.google.cloud.datastream.v1.OracleSchema)other); } else { super.mergeFrom(other); return this; @@ -582,10 +538,9 @@ public Builder mergeFrom(com.google.cloud.datastream.v1.OracleSchema other) { oracleTablesBuilder_ = null; oracleTables_ = other.oracleTables_; bitField0_ = (bitField0_ & ~0x00000001); - oracleTablesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getOracleTablesFieldBuilder() - : null; + oracleTablesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getOracleTablesFieldBuilder() : null; } else { oracleTablesBuilder_.addAllMessages(other.oracleTables_); } @@ -619,25 +574,22 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object schema_ = ""; /** - * - * *
      * Schema name.
      * 
* * string schema = 1; - * * @return The schema. */ public java.lang.String getSchema() { java.lang.Object ref = schema_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); schema_ = s; return s; @@ -646,21 +598,20 @@ public java.lang.String getSchema() { } } /** - * - * *
      * Schema name.
      * 
* * string schema = 1; - * * @return The bytes for schema. */ - public com.google.protobuf.ByteString getSchemaBytes() { + public com.google.protobuf.ByteString + getSchemaBytes() { java.lang.Object ref = schema_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); schema_ = b; return b; } else { @@ -668,86 +619,72 @@ public com.google.protobuf.ByteString getSchemaBytes() { } } /** - * - * *
      * Schema name.
      * 
* * string schema = 1; - * * @param value The schema to set. * @return This builder for chaining. */ - public Builder setSchema(java.lang.String value) { + public Builder setSchema( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + schema_ = value; onChanged(); return this; } /** - * - * *
      * Schema name.
      * 
* * string schema = 1; - * * @return This builder for chaining. */ public Builder clearSchema() { - + schema_ = getDefaultInstance().getSchema(); onChanged(); return this; } /** - * - * *
      * Schema name.
      * 
* * string schema = 1; - * * @param value The bytes for schema to set. * @return This builder for chaining. */ - public Builder setSchemaBytes(com.google.protobuf.ByteString value) { + public Builder setSchemaBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + schema_ = value; onChanged(); return this; } private java.util.List oracleTables_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureOracleTablesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - oracleTables_ = - new java.util.ArrayList(oracleTables_); + oracleTables_ = new java.util.ArrayList(oracleTables_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datastream.v1.OracleTable, - com.google.cloud.datastream.v1.OracleTable.Builder, - com.google.cloud.datastream.v1.OracleTableOrBuilder> - oracleTablesBuilder_; + com.google.cloud.datastream.v1.OracleTable, com.google.cloud.datastream.v1.OracleTable.Builder, com.google.cloud.datastream.v1.OracleTableOrBuilder> oracleTablesBuilder_; /** - * - * *
      * Tables in the schema.
      * 
@@ -762,8 +699,6 @@ public java.util.List getOracleTable } } /** - * - * *
      * Tables in the schema.
      * 
@@ -778,8 +713,6 @@ public int getOracleTablesCount() { } } /** - * - * *
      * Tables in the schema.
      * 
@@ -794,15 +727,14 @@ public com.google.cloud.datastream.v1.OracleTable getOracleTables(int index) { } } /** - * - * *
      * Tables in the schema.
      * 
* * repeated .google.cloud.datastream.v1.OracleTable oracle_tables = 2; */ - public Builder setOracleTables(int index, com.google.cloud.datastream.v1.OracleTable value) { + public Builder setOracleTables( + int index, com.google.cloud.datastream.v1.OracleTable value) { if (oracleTablesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -816,8 +748,6 @@ public Builder setOracleTables(int index, com.google.cloud.datastream.v1.OracleT return this; } /** - * - * *
      * Tables in the schema.
      * 
@@ -836,8 +766,6 @@ public Builder setOracleTables( return this; } /** - * - * *
      * Tables in the schema.
      * 
@@ -858,15 +786,14 @@ public Builder addOracleTables(com.google.cloud.datastream.v1.OracleTable value) return this; } /** - * - * *
      * Tables in the schema.
      * 
* * repeated .google.cloud.datastream.v1.OracleTable oracle_tables = 2; */ - public Builder addOracleTables(int index, com.google.cloud.datastream.v1.OracleTable value) { + public Builder addOracleTables( + int index, com.google.cloud.datastream.v1.OracleTable value) { if (oracleTablesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -880,8 +807,6 @@ public Builder addOracleTables(int index, com.google.cloud.datastream.v1.OracleT return this; } /** - * - * *
      * Tables in the schema.
      * 
@@ -900,8 +825,6 @@ public Builder addOracleTables( return this; } /** - * - * *
      * Tables in the schema.
      * 
@@ -920,8 +843,6 @@ public Builder addOracleTables( return this; } /** - * - * *
      * Tables in the schema.
      * 
@@ -932,7 +853,8 @@ public Builder addAllOracleTables( java.lang.Iterable values) { if (oracleTablesBuilder_ == null) { ensureOracleTablesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, oracleTables_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, oracleTables_); onChanged(); } else { oracleTablesBuilder_.addAllMessages(values); @@ -940,8 +862,6 @@ public Builder addAllOracleTables( return this; } /** - * - * *
      * Tables in the schema.
      * 
@@ -959,8 +879,6 @@ public Builder clearOracleTables() { return this; } /** - * - * *
      * Tables in the schema.
      * 
@@ -978,44 +896,39 @@ public Builder removeOracleTables(int index) { return this; } /** - * - * *
      * Tables in the schema.
      * 
* * repeated .google.cloud.datastream.v1.OracleTable oracle_tables = 2; */ - public com.google.cloud.datastream.v1.OracleTable.Builder getOracleTablesBuilder(int index) { + public com.google.cloud.datastream.v1.OracleTable.Builder getOracleTablesBuilder( + int index) { return getOracleTablesFieldBuilder().getBuilder(index); } /** - * - * *
      * Tables in the schema.
      * 
* * repeated .google.cloud.datastream.v1.OracleTable oracle_tables = 2; */ - public com.google.cloud.datastream.v1.OracleTableOrBuilder getOracleTablesOrBuilder(int index) { + public com.google.cloud.datastream.v1.OracleTableOrBuilder getOracleTablesOrBuilder( + int index) { if (oracleTablesBuilder_ == null) { - return oracleTables_.get(index); - } else { + return oracleTables_.get(index); } else { return oracleTablesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Tables in the schema.
      * 
* * repeated .google.cloud.datastream.v1.OracleTable oracle_tables = 2; */ - public java.util.List - getOracleTablesOrBuilderList() { + public java.util.List + getOracleTablesOrBuilderList() { if (oracleTablesBuilder_ != null) { return oracleTablesBuilder_.getMessageOrBuilderList(); } else { @@ -1023,8 +936,6 @@ public com.google.cloud.datastream.v1.OracleTableOrBuilder getOracleTablesOrBuil } } /** - * - * *
      * Tables in the schema.
      * 
@@ -1032,55 +943,49 @@ public com.google.cloud.datastream.v1.OracleTableOrBuilder getOracleTablesOrBuil * repeated .google.cloud.datastream.v1.OracleTable oracle_tables = 2; */ public com.google.cloud.datastream.v1.OracleTable.Builder addOracleTablesBuilder() { - return getOracleTablesFieldBuilder() - .addBuilder(com.google.cloud.datastream.v1.OracleTable.getDefaultInstance()); + return getOracleTablesFieldBuilder().addBuilder( + com.google.cloud.datastream.v1.OracleTable.getDefaultInstance()); } /** - * - * *
      * Tables in the schema.
      * 
* * repeated .google.cloud.datastream.v1.OracleTable oracle_tables = 2; */ - public com.google.cloud.datastream.v1.OracleTable.Builder addOracleTablesBuilder(int index) { - return getOracleTablesFieldBuilder() - .addBuilder(index, com.google.cloud.datastream.v1.OracleTable.getDefaultInstance()); + public com.google.cloud.datastream.v1.OracleTable.Builder addOracleTablesBuilder( + int index) { + return getOracleTablesFieldBuilder().addBuilder( + index, com.google.cloud.datastream.v1.OracleTable.getDefaultInstance()); } /** - * - * *
      * Tables in the schema.
      * 
* * repeated .google.cloud.datastream.v1.OracleTable oracle_tables = 2; */ - public java.util.List - getOracleTablesBuilderList() { + public java.util.List + getOracleTablesBuilderList() { return getOracleTablesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datastream.v1.OracleTable, - com.google.cloud.datastream.v1.OracleTable.Builder, - com.google.cloud.datastream.v1.OracleTableOrBuilder> + com.google.cloud.datastream.v1.OracleTable, com.google.cloud.datastream.v1.OracleTable.Builder, com.google.cloud.datastream.v1.OracleTableOrBuilder> getOracleTablesFieldBuilder() { if (oracleTablesBuilder_ == null) { - oracleTablesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datastream.v1.OracleTable, - com.google.cloud.datastream.v1.OracleTable.Builder, - com.google.cloud.datastream.v1.OracleTableOrBuilder>( - oracleTables_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + oracleTablesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datastream.v1.OracleTable, com.google.cloud.datastream.v1.OracleTable.Builder, com.google.cloud.datastream.v1.OracleTableOrBuilder>( + oracleTables_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); oracleTables_ = null; } return oracleTablesBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1090,12 +995,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1.OracleSchema) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1.OracleSchema) private static final com.google.cloud.datastream.v1.OracleSchema DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1.OracleSchema(); } @@ -1104,16 +1009,16 @@ public static com.google.cloud.datastream.v1.OracleSchema getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OracleSchema parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OracleSchema(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OracleSchema parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OracleSchema(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1128,4 +1033,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datastream.v1.OracleSchema getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/OracleSchemaOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/OracleSchemaOrBuilder.java similarity index 64% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/OracleSchemaOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/OracleSchemaOrBuilder.java index 955e55b4..4518baf5 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/OracleSchemaOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/OracleSchemaOrBuilder.java @@ -1,66 +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/datastream/v1/datastream_resources.proto package com.google.cloud.datastream.v1; -public interface OracleSchemaOrBuilder - extends +public interface OracleSchemaOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1.OracleSchema) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Schema name.
    * 
* * string schema = 1; - * * @return The schema. */ java.lang.String getSchema(); /** - * - * *
    * Schema name.
    * 
* * string schema = 1; - * * @return The bytes for schema. */ - com.google.protobuf.ByteString getSchemaBytes(); + com.google.protobuf.ByteString + getSchemaBytes(); /** - * - * *
    * Tables in the schema.
    * 
* * repeated .google.cloud.datastream.v1.OracleTable oracle_tables = 2; */ - java.util.List getOracleTablesList(); + java.util.List + getOracleTablesList(); /** - * - * *
    * Tables in the schema.
    * 
@@ -69,8 +45,6 @@ public interface OracleSchemaOrBuilder */ com.google.cloud.datastream.v1.OracleTable getOracleTables(int index); /** - * - * *
    * Tables in the schema.
    * 
@@ -79,24 +53,21 @@ public interface OracleSchemaOrBuilder */ int getOracleTablesCount(); /** - * - * *
    * Tables in the schema.
    * 
* * repeated .google.cloud.datastream.v1.OracleTable oracle_tables = 2; */ - java.util.List + java.util.List getOracleTablesOrBuilderList(); /** - * - * *
    * Tables in the schema.
    * 
* * repeated .google.cloud.datastream.v1.OracleTable oracle_tables = 2; */ - com.google.cloud.datastream.v1.OracleTableOrBuilder getOracleTablesOrBuilder(int index); + com.google.cloud.datastream.v1.OracleTableOrBuilder getOracleTablesOrBuilder( + int index); } diff --git a/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/OracleSourceConfig.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/OracleSourceConfig.java new file mode 100644 index 00000000..8f702c2f --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/OracleSourceConfig.java @@ -0,0 +1,2436 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datastream/v1/datastream_resources.proto + +package com.google.cloud.datastream.v1; + +/** + *
+ * Oracle data source configuration
+ * 
+ * + * Protobuf type {@code google.cloud.datastream.v1.OracleSourceConfig} + */ +public final class OracleSourceConfig extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1.OracleSourceConfig) + OracleSourceConfigOrBuilder { +private static final long serialVersionUID = 0L; + // Use OracleSourceConfig.newBuilder() to construct. + private OracleSourceConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private OracleSourceConfig() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new OracleSourceConfig(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private OracleSourceConfig( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + com.google.cloud.datastream.v1.OracleRdbms.Builder subBuilder = null; + if (includeObjects_ != null) { + subBuilder = includeObjects_.toBuilder(); + } + includeObjects_ = input.readMessage(com.google.cloud.datastream.v1.OracleRdbms.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(includeObjects_); + includeObjects_ = subBuilder.buildPartial(); + } + + break; + } + case 18: { + com.google.cloud.datastream.v1.OracleRdbms.Builder subBuilder = null; + if (excludeObjects_ != null) { + subBuilder = excludeObjects_.toBuilder(); + } + excludeObjects_ = input.readMessage(com.google.cloud.datastream.v1.OracleRdbms.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(excludeObjects_); + excludeObjects_ = subBuilder.buildPartial(); + } + + break; + } + case 24: { + + maxConcurrentCdcTasks_ = input.readInt32(); + break; + } + case 802: { + com.google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjects.Builder subBuilder = null; + if (largeObjectsHandlingCase_ == 100) { + subBuilder = ((com.google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjects) largeObjectsHandling_).toBuilder(); + } + largeObjectsHandling_ = + input.readMessage(com.google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjects.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjects) largeObjectsHandling_); + largeObjectsHandling_ = subBuilder.buildPartial(); + } + largeObjectsHandlingCase_ = 100; + break; + } + case 818: { + com.google.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjects.Builder subBuilder = null; + if (largeObjectsHandlingCase_ == 102) { + subBuilder = ((com.google.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjects) largeObjectsHandling_).toBuilder(); + } + largeObjectsHandling_ = + input.readMessage(com.google.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjects.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjects) largeObjectsHandling_); + largeObjectsHandling_ = subBuilder.buildPartial(); + } + largeObjectsHandlingCase_ = 102; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_OracleSourceConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_OracleSourceConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.datastream.v1.OracleSourceConfig.class, com.google.cloud.datastream.v1.OracleSourceConfig.Builder.class); + } + + public interface DropLargeObjectsOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjects) + com.google.protobuf.MessageOrBuilder { + } + /** + *
+   * Configuration to drop large object values.
+   * 
+ * + * Protobuf type {@code google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjects} + */ + public static final class DropLargeObjects extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjects) + DropLargeObjectsOrBuilder { + private static final long serialVersionUID = 0L; + // Use DropLargeObjects.newBuilder() to construct. + private DropLargeObjects(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private DropLargeObjects() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new DropLargeObjects(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private DropLargeObjects( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_OracleSourceConfig_DropLargeObjects_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_OracleSourceConfig_DropLargeObjects_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjects.class, com.google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjects.Builder.class); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjects)) { + return super.equals(obj); + } + com.google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjects other = (com.google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjects) obj; + + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjects parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjects 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.datastream.v1.OracleSourceConfig.DropLargeObjects parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjects parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjects parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjects parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjects parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjects 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.datastream.v1.OracleSourceConfig.DropLargeObjects parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjects parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjects parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjects 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 static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjects prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Configuration to drop large object values.
+     * 
+ * + * Protobuf type {@code google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjects} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjects) + com.google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjectsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_OracleSourceConfig_DropLargeObjects_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_OracleSourceConfig_DropLargeObjects_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjects.class, com.google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjects.Builder.class); + } + + // Construct using com.google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjects.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_OracleSourceConfig_DropLargeObjects_descriptor; + } + + @java.lang.Override + public com.google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjects getDefaultInstanceForType() { + return com.google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjects.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjects build() { + com.google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjects result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjects buildPartial() { + com.google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjects result = new com.google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjects(this); + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjects) { + return mergeFrom((com.google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjects)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjects other) { + if (other == com.google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjects.getDefaultInstance()) return this; + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjects parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjects) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjects) + } + + // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjects) + private static final com.google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjects DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjects(); + } + + public static com.google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjects getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DropLargeObjects parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DropLargeObjects(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjects getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface StreamLargeObjectsOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjects) + com.google.protobuf.MessageOrBuilder { + } + /** + *
+   * Configuration to stream large object values.
+   * 
+ * + * Protobuf type {@code google.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjects} + */ + public static final class StreamLargeObjects extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjects) + StreamLargeObjectsOrBuilder { + private static final long serialVersionUID = 0L; + // Use StreamLargeObjects.newBuilder() to construct. + private StreamLargeObjects(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private StreamLargeObjects() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new StreamLargeObjects(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private StreamLargeObjects( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_OracleSourceConfig_StreamLargeObjects_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_OracleSourceConfig_StreamLargeObjects_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjects.class, com.google.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjects.Builder.class); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjects)) { + return super.equals(obj); + } + com.google.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjects other = (com.google.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjects) obj; + + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjects parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjects 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.datastream.v1.OracleSourceConfig.StreamLargeObjects parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjects parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjects parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjects parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjects parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjects 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.datastream.v1.OracleSourceConfig.StreamLargeObjects parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjects parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjects parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjects 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 static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjects prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Configuration to stream large object values.
+     * 
+ * + * Protobuf type {@code google.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjects} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjects) + com.google.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjectsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_OracleSourceConfig_StreamLargeObjects_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_OracleSourceConfig_StreamLargeObjects_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjects.class, com.google.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjects.Builder.class); + } + + // Construct using com.google.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjects.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_OracleSourceConfig_StreamLargeObjects_descriptor; + } + + @java.lang.Override + public com.google.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjects getDefaultInstanceForType() { + return com.google.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjects.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjects build() { + com.google.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjects result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjects buildPartial() { + com.google.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjects result = new com.google.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjects(this); + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjects) { + return mergeFrom((com.google.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjects)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjects other) { + if (other == com.google.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjects.getDefaultInstance()) return this; + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjects parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjects) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjects) + } + + // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjects) + private static final com.google.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjects DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjects(); + } + + public static com.google.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjects getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StreamLargeObjects parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StreamLargeObjects(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjects getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + private int largeObjectsHandlingCase_ = 0; + private java.lang.Object largeObjectsHandling_; + public enum LargeObjectsHandlingCase + implements com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { + DROP_LARGE_OBJECTS(100), + STREAM_LARGE_OBJECTS(102), + LARGEOBJECTSHANDLING_NOT_SET(0); + private final int value; + private LargeObjectsHandlingCase(int value) { + this.value = value; + } + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static LargeObjectsHandlingCase valueOf(int value) { + return forNumber(value); + } + + public static LargeObjectsHandlingCase forNumber(int value) { + switch (value) { + case 100: return DROP_LARGE_OBJECTS; + case 102: return STREAM_LARGE_OBJECTS; + case 0: return LARGEOBJECTSHANDLING_NOT_SET; + default: return null; + } + } + public int getNumber() { + return this.value; + } + }; + + public LargeObjectsHandlingCase + getLargeObjectsHandlingCase() { + return LargeObjectsHandlingCase.forNumber( + largeObjectsHandlingCase_); + } + + public static final int INCLUDE_OBJECTS_FIELD_NUMBER = 1; + private com.google.cloud.datastream.v1.OracleRdbms includeObjects_; + /** + *
+   * Oracle objects to include in the stream.
+   * 
+ * + * .google.cloud.datastream.v1.OracleRdbms include_objects = 1; + * @return Whether the includeObjects field is set. + */ + @java.lang.Override + public boolean hasIncludeObjects() { + return includeObjects_ != null; + } + /** + *
+   * Oracle objects to include in the stream.
+   * 
+ * + * .google.cloud.datastream.v1.OracleRdbms include_objects = 1; + * @return The includeObjects. + */ + @java.lang.Override + public com.google.cloud.datastream.v1.OracleRdbms getIncludeObjects() { + return includeObjects_ == null ? com.google.cloud.datastream.v1.OracleRdbms.getDefaultInstance() : includeObjects_; + } + /** + *
+   * Oracle objects to include in the stream.
+   * 
+ * + * .google.cloud.datastream.v1.OracleRdbms include_objects = 1; + */ + @java.lang.Override + public com.google.cloud.datastream.v1.OracleRdbmsOrBuilder getIncludeObjectsOrBuilder() { + return getIncludeObjects(); + } + + public static final int EXCLUDE_OBJECTS_FIELD_NUMBER = 2; + private com.google.cloud.datastream.v1.OracleRdbms excludeObjects_; + /** + *
+   * Oracle objects to exclude from the stream.
+   * 
+ * + * .google.cloud.datastream.v1.OracleRdbms exclude_objects = 2; + * @return Whether the excludeObjects field is set. + */ + @java.lang.Override + public boolean hasExcludeObjects() { + return excludeObjects_ != null; + } + /** + *
+   * Oracle objects to exclude from the stream.
+   * 
+ * + * .google.cloud.datastream.v1.OracleRdbms exclude_objects = 2; + * @return The excludeObjects. + */ + @java.lang.Override + public com.google.cloud.datastream.v1.OracleRdbms getExcludeObjects() { + return excludeObjects_ == null ? com.google.cloud.datastream.v1.OracleRdbms.getDefaultInstance() : excludeObjects_; + } + /** + *
+   * Oracle objects to exclude from the stream.
+   * 
+ * + * .google.cloud.datastream.v1.OracleRdbms exclude_objects = 2; + */ + @java.lang.Override + public com.google.cloud.datastream.v1.OracleRdbmsOrBuilder getExcludeObjectsOrBuilder() { + return getExcludeObjects(); + } + + public static final int MAX_CONCURRENT_CDC_TASKS_FIELD_NUMBER = 3; + private int maxConcurrentCdcTasks_; + /** + *
+   * Maximum number of concurrent CDC tasks. The number should be non negative.
+   * If not set (or set to 0), the system's default value will be used.
+   * 
+ * + * int32 max_concurrent_cdc_tasks = 3; + * @return The maxConcurrentCdcTasks. + */ + @java.lang.Override + public int getMaxConcurrentCdcTasks() { + return maxConcurrentCdcTasks_; + } + + public static final int DROP_LARGE_OBJECTS_FIELD_NUMBER = 100; + /** + *
+   * Drop large object values.
+   * 
+ * + * .google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjects drop_large_objects = 100; + * @return Whether the dropLargeObjects field is set. + */ + @java.lang.Override + public boolean hasDropLargeObjects() { + return largeObjectsHandlingCase_ == 100; + } + /** + *
+   * Drop large object values.
+   * 
+ * + * .google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjects drop_large_objects = 100; + * @return The dropLargeObjects. + */ + @java.lang.Override + public com.google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjects getDropLargeObjects() { + if (largeObjectsHandlingCase_ == 100) { + return (com.google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjects) largeObjectsHandling_; + } + return com.google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjects.getDefaultInstance(); + } + /** + *
+   * Drop large object values.
+   * 
+ * + * .google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjects drop_large_objects = 100; + */ + @java.lang.Override + public com.google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjectsOrBuilder getDropLargeObjectsOrBuilder() { + if (largeObjectsHandlingCase_ == 100) { + return (com.google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjects) largeObjectsHandling_; + } + return com.google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjects.getDefaultInstance(); + } + + public static final int STREAM_LARGE_OBJECTS_FIELD_NUMBER = 102; + /** + *
+   * Stream large object values.
+   * 
+ * + * .google.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjects stream_large_objects = 102; + * @return Whether the streamLargeObjects field is set. + */ + @java.lang.Override + public boolean hasStreamLargeObjects() { + return largeObjectsHandlingCase_ == 102; + } + /** + *
+   * Stream large object values.
+   * 
+ * + * .google.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjects stream_large_objects = 102; + * @return The streamLargeObjects. + */ + @java.lang.Override + public com.google.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjects getStreamLargeObjects() { + if (largeObjectsHandlingCase_ == 102) { + return (com.google.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjects) largeObjectsHandling_; + } + return com.google.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjects.getDefaultInstance(); + } + /** + *
+   * Stream large object values.
+   * 
+ * + * .google.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjects stream_large_objects = 102; + */ + @java.lang.Override + public com.google.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjectsOrBuilder getStreamLargeObjectsOrBuilder() { + if (largeObjectsHandlingCase_ == 102) { + return (com.google.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjects) largeObjectsHandling_; + } + return com.google.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjects.getDefaultInstance(); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (includeObjects_ != null) { + output.writeMessage(1, getIncludeObjects()); + } + if (excludeObjects_ != null) { + output.writeMessage(2, getExcludeObjects()); + } + if (maxConcurrentCdcTasks_ != 0) { + output.writeInt32(3, maxConcurrentCdcTasks_); + } + if (largeObjectsHandlingCase_ == 100) { + output.writeMessage(100, (com.google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjects) largeObjectsHandling_); + } + if (largeObjectsHandlingCase_ == 102) { + output.writeMessage(102, (com.google.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjects) largeObjectsHandling_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (includeObjects_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getIncludeObjects()); + } + if (excludeObjects_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getExcludeObjects()); + } + if (maxConcurrentCdcTasks_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, maxConcurrentCdcTasks_); + } + if (largeObjectsHandlingCase_ == 100) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(100, (com.google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjects) largeObjectsHandling_); + } + if (largeObjectsHandlingCase_ == 102) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(102, (com.google.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjects) largeObjectsHandling_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.datastream.v1.OracleSourceConfig)) { + return super.equals(obj); + } + com.google.cloud.datastream.v1.OracleSourceConfig other = (com.google.cloud.datastream.v1.OracleSourceConfig) obj; + + if (hasIncludeObjects() != other.hasIncludeObjects()) return false; + if (hasIncludeObjects()) { + if (!getIncludeObjects() + .equals(other.getIncludeObjects())) return false; + } + if (hasExcludeObjects() != other.hasExcludeObjects()) return false; + if (hasExcludeObjects()) { + if (!getExcludeObjects() + .equals(other.getExcludeObjects())) return false; + } + if (getMaxConcurrentCdcTasks() + != other.getMaxConcurrentCdcTasks()) return false; + if (!getLargeObjectsHandlingCase().equals(other.getLargeObjectsHandlingCase())) return false; + switch (largeObjectsHandlingCase_) { + case 100: + if (!getDropLargeObjects() + .equals(other.getDropLargeObjects())) return false; + break; + case 102: + if (!getStreamLargeObjects() + .equals(other.getStreamLargeObjects())) return false; + break; + case 0: + default: + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasIncludeObjects()) { + hash = (37 * hash) + INCLUDE_OBJECTS_FIELD_NUMBER; + hash = (53 * hash) + getIncludeObjects().hashCode(); + } + if (hasExcludeObjects()) { + hash = (37 * hash) + EXCLUDE_OBJECTS_FIELD_NUMBER; + hash = (53 * hash) + getExcludeObjects().hashCode(); + } + hash = (37 * hash) + MAX_CONCURRENT_CDC_TASKS_FIELD_NUMBER; + hash = (53 * hash) + getMaxConcurrentCdcTasks(); + switch (largeObjectsHandlingCase_) { + case 100: + hash = (37 * hash) + DROP_LARGE_OBJECTS_FIELD_NUMBER; + hash = (53 * hash) + getDropLargeObjects().hashCode(); + break; + case 102: + hash = (37 * hash) + STREAM_LARGE_OBJECTS_FIELD_NUMBER; + hash = (53 * hash) + getStreamLargeObjects().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.datastream.v1.OracleSourceConfig parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.datastream.v1.OracleSourceConfig 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.datastream.v1.OracleSourceConfig parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.datastream.v1.OracleSourceConfig parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.datastream.v1.OracleSourceConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.datastream.v1.OracleSourceConfig parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.datastream.v1.OracleSourceConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.datastream.v1.OracleSourceConfig 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.datastream.v1.OracleSourceConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.datastream.v1.OracleSourceConfig parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.datastream.v1.OracleSourceConfig parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.datastream.v1.OracleSourceConfig 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 static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.datastream.v1.OracleSourceConfig prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * Oracle data source configuration
+   * 
+ * + * Protobuf type {@code google.cloud.datastream.v1.OracleSourceConfig} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1.OracleSourceConfig) + com.google.cloud.datastream.v1.OracleSourceConfigOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_OracleSourceConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_OracleSourceConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.datastream.v1.OracleSourceConfig.class, com.google.cloud.datastream.v1.OracleSourceConfig.Builder.class); + } + + // Construct using com.google.cloud.datastream.v1.OracleSourceConfig.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (includeObjectsBuilder_ == null) { + includeObjects_ = null; + } else { + includeObjects_ = null; + includeObjectsBuilder_ = null; + } + if (excludeObjectsBuilder_ == null) { + excludeObjects_ = null; + } else { + excludeObjects_ = null; + excludeObjectsBuilder_ = null; + } + maxConcurrentCdcTasks_ = 0; + + largeObjectsHandlingCase_ = 0; + largeObjectsHandling_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_OracleSourceConfig_descriptor; + } + + @java.lang.Override + public com.google.cloud.datastream.v1.OracleSourceConfig getDefaultInstanceForType() { + return com.google.cloud.datastream.v1.OracleSourceConfig.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.datastream.v1.OracleSourceConfig build() { + com.google.cloud.datastream.v1.OracleSourceConfig result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.datastream.v1.OracleSourceConfig buildPartial() { + com.google.cloud.datastream.v1.OracleSourceConfig result = new com.google.cloud.datastream.v1.OracleSourceConfig(this); + if (includeObjectsBuilder_ == null) { + result.includeObjects_ = includeObjects_; + } else { + result.includeObjects_ = includeObjectsBuilder_.build(); + } + if (excludeObjectsBuilder_ == null) { + result.excludeObjects_ = excludeObjects_; + } else { + result.excludeObjects_ = excludeObjectsBuilder_.build(); + } + result.maxConcurrentCdcTasks_ = maxConcurrentCdcTasks_; + if (largeObjectsHandlingCase_ == 100) { + if (dropLargeObjectsBuilder_ == null) { + result.largeObjectsHandling_ = largeObjectsHandling_; + } else { + result.largeObjectsHandling_ = dropLargeObjectsBuilder_.build(); + } + } + if (largeObjectsHandlingCase_ == 102) { + if (streamLargeObjectsBuilder_ == null) { + result.largeObjectsHandling_ = largeObjectsHandling_; + } else { + result.largeObjectsHandling_ = streamLargeObjectsBuilder_.build(); + } + } + result.largeObjectsHandlingCase_ = largeObjectsHandlingCase_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.datastream.v1.OracleSourceConfig) { + return mergeFrom((com.google.cloud.datastream.v1.OracleSourceConfig)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.datastream.v1.OracleSourceConfig other) { + if (other == com.google.cloud.datastream.v1.OracleSourceConfig.getDefaultInstance()) return this; + if (other.hasIncludeObjects()) { + mergeIncludeObjects(other.getIncludeObjects()); + } + if (other.hasExcludeObjects()) { + mergeExcludeObjects(other.getExcludeObjects()); + } + if (other.getMaxConcurrentCdcTasks() != 0) { + setMaxConcurrentCdcTasks(other.getMaxConcurrentCdcTasks()); + } + switch (other.getLargeObjectsHandlingCase()) { + case DROP_LARGE_OBJECTS: { + mergeDropLargeObjects(other.getDropLargeObjects()); + break; + } + case STREAM_LARGE_OBJECTS: { + mergeStreamLargeObjects(other.getStreamLargeObjects()); + break; + } + case LARGEOBJECTSHANDLING_NOT_SET: { + break; + } + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.datastream.v1.OracleSourceConfig parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.datastream.v1.OracleSourceConfig) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int largeObjectsHandlingCase_ = 0; + private java.lang.Object largeObjectsHandling_; + public LargeObjectsHandlingCase + getLargeObjectsHandlingCase() { + return LargeObjectsHandlingCase.forNumber( + largeObjectsHandlingCase_); + } + + public Builder clearLargeObjectsHandling() { + largeObjectsHandlingCase_ = 0; + largeObjectsHandling_ = null; + onChanged(); + return this; + } + + + private com.google.cloud.datastream.v1.OracleRdbms includeObjects_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1.OracleRdbms, com.google.cloud.datastream.v1.OracleRdbms.Builder, com.google.cloud.datastream.v1.OracleRdbmsOrBuilder> includeObjectsBuilder_; + /** + *
+     * Oracle objects to include in the stream.
+     * 
+ * + * .google.cloud.datastream.v1.OracleRdbms include_objects = 1; + * @return Whether the includeObjects field is set. + */ + public boolean hasIncludeObjects() { + return includeObjectsBuilder_ != null || includeObjects_ != null; + } + /** + *
+     * Oracle objects to include in the stream.
+     * 
+ * + * .google.cloud.datastream.v1.OracleRdbms include_objects = 1; + * @return The includeObjects. + */ + public com.google.cloud.datastream.v1.OracleRdbms getIncludeObjects() { + if (includeObjectsBuilder_ == null) { + return includeObjects_ == null ? com.google.cloud.datastream.v1.OracleRdbms.getDefaultInstance() : includeObjects_; + } else { + return includeObjectsBuilder_.getMessage(); + } + } + /** + *
+     * Oracle objects to include in the stream.
+     * 
+ * + * .google.cloud.datastream.v1.OracleRdbms include_objects = 1; + */ + public Builder setIncludeObjects(com.google.cloud.datastream.v1.OracleRdbms value) { + if (includeObjectsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + includeObjects_ = value; + onChanged(); + } else { + includeObjectsBuilder_.setMessage(value); + } + + return this; + } + /** + *
+     * Oracle objects to include in the stream.
+     * 
+ * + * .google.cloud.datastream.v1.OracleRdbms include_objects = 1; + */ + public Builder setIncludeObjects( + com.google.cloud.datastream.v1.OracleRdbms.Builder builderForValue) { + if (includeObjectsBuilder_ == null) { + includeObjects_ = builderForValue.build(); + onChanged(); + } else { + includeObjectsBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+     * Oracle objects to include in the stream.
+     * 
+ * + * .google.cloud.datastream.v1.OracleRdbms include_objects = 1; + */ + public Builder mergeIncludeObjects(com.google.cloud.datastream.v1.OracleRdbms value) { + if (includeObjectsBuilder_ == null) { + if (includeObjects_ != null) { + includeObjects_ = + com.google.cloud.datastream.v1.OracleRdbms.newBuilder(includeObjects_).mergeFrom(value).buildPartial(); + } else { + includeObjects_ = value; + } + onChanged(); + } else { + includeObjectsBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+     * Oracle objects to include in the stream.
+     * 
+ * + * .google.cloud.datastream.v1.OracleRdbms include_objects = 1; + */ + public Builder clearIncludeObjects() { + if (includeObjectsBuilder_ == null) { + includeObjects_ = null; + onChanged(); + } else { + includeObjects_ = null; + includeObjectsBuilder_ = null; + } + + return this; + } + /** + *
+     * Oracle objects to include in the stream.
+     * 
+ * + * .google.cloud.datastream.v1.OracleRdbms include_objects = 1; + */ + public com.google.cloud.datastream.v1.OracleRdbms.Builder getIncludeObjectsBuilder() { + + onChanged(); + return getIncludeObjectsFieldBuilder().getBuilder(); + } + /** + *
+     * Oracle objects to include in the stream.
+     * 
+ * + * .google.cloud.datastream.v1.OracleRdbms include_objects = 1; + */ + public com.google.cloud.datastream.v1.OracleRdbmsOrBuilder getIncludeObjectsOrBuilder() { + if (includeObjectsBuilder_ != null) { + return includeObjectsBuilder_.getMessageOrBuilder(); + } else { + return includeObjects_ == null ? + com.google.cloud.datastream.v1.OracleRdbms.getDefaultInstance() : includeObjects_; + } + } + /** + *
+     * Oracle objects to include in the stream.
+     * 
+ * + * .google.cloud.datastream.v1.OracleRdbms include_objects = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1.OracleRdbms, com.google.cloud.datastream.v1.OracleRdbms.Builder, com.google.cloud.datastream.v1.OracleRdbmsOrBuilder> + getIncludeObjectsFieldBuilder() { + if (includeObjectsBuilder_ == null) { + includeObjectsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1.OracleRdbms, com.google.cloud.datastream.v1.OracleRdbms.Builder, com.google.cloud.datastream.v1.OracleRdbmsOrBuilder>( + getIncludeObjects(), + getParentForChildren(), + isClean()); + includeObjects_ = null; + } + return includeObjectsBuilder_; + } + + private com.google.cloud.datastream.v1.OracleRdbms excludeObjects_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1.OracleRdbms, com.google.cloud.datastream.v1.OracleRdbms.Builder, com.google.cloud.datastream.v1.OracleRdbmsOrBuilder> excludeObjectsBuilder_; + /** + *
+     * Oracle objects to exclude from the stream.
+     * 
+ * + * .google.cloud.datastream.v1.OracleRdbms exclude_objects = 2; + * @return Whether the excludeObjects field is set. + */ + public boolean hasExcludeObjects() { + return excludeObjectsBuilder_ != null || excludeObjects_ != null; + } + /** + *
+     * Oracle objects to exclude from the stream.
+     * 
+ * + * .google.cloud.datastream.v1.OracleRdbms exclude_objects = 2; + * @return The excludeObjects. + */ + public com.google.cloud.datastream.v1.OracleRdbms getExcludeObjects() { + if (excludeObjectsBuilder_ == null) { + return excludeObjects_ == null ? com.google.cloud.datastream.v1.OracleRdbms.getDefaultInstance() : excludeObjects_; + } else { + return excludeObjectsBuilder_.getMessage(); + } + } + /** + *
+     * Oracle objects to exclude from the stream.
+     * 
+ * + * .google.cloud.datastream.v1.OracleRdbms exclude_objects = 2; + */ + public Builder setExcludeObjects(com.google.cloud.datastream.v1.OracleRdbms value) { + if (excludeObjectsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + excludeObjects_ = value; + onChanged(); + } else { + excludeObjectsBuilder_.setMessage(value); + } + + return this; + } + /** + *
+     * Oracle objects to exclude from the stream.
+     * 
+ * + * .google.cloud.datastream.v1.OracleRdbms exclude_objects = 2; + */ + public Builder setExcludeObjects( + com.google.cloud.datastream.v1.OracleRdbms.Builder builderForValue) { + if (excludeObjectsBuilder_ == null) { + excludeObjects_ = builderForValue.build(); + onChanged(); + } else { + excludeObjectsBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+     * Oracle objects to exclude from the stream.
+     * 
+ * + * .google.cloud.datastream.v1.OracleRdbms exclude_objects = 2; + */ + public Builder mergeExcludeObjects(com.google.cloud.datastream.v1.OracleRdbms value) { + if (excludeObjectsBuilder_ == null) { + if (excludeObjects_ != null) { + excludeObjects_ = + com.google.cloud.datastream.v1.OracleRdbms.newBuilder(excludeObjects_).mergeFrom(value).buildPartial(); + } else { + excludeObjects_ = value; + } + onChanged(); + } else { + excludeObjectsBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+     * Oracle objects to exclude from the stream.
+     * 
+ * + * .google.cloud.datastream.v1.OracleRdbms exclude_objects = 2; + */ + public Builder clearExcludeObjects() { + if (excludeObjectsBuilder_ == null) { + excludeObjects_ = null; + onChanged(); + } else { + excludeObjects_ = null; + excludeObjectsBuilder_ = null; + } + + return this; + } + /** + *
+     * Oracle objects to exclude from the stream.
+     * 
+ * + * .google.cloud.datastream.v1.OracleRdbms exclude_objects = 2; + */ + public com.google.cloud.datastream.v1.OracleRdbms.Builder getExcludeObjectsBuilder() { + + onChanged(); + return getExcludeObjectsFieldBuilder().getBuilder(); + } + /** + *
+     * Oracle objects to exclude from the stream.
+     * 
+ * + * .google.cloud.datastream.v1.OracleRdbms exclude_objects = 2; + */ + public com.google.cloud.datastream.v1.OracleRdbmsOrBuilder getExcludeObjectsOrBuilder() { + if (excludeObjectsBuilder_ != null) { + return excludeObjectsBuilder_.getMessageOrBuilder(); + } else { + return excludeObjects_ == null ? + com.google.cloud.datastream.v1.OracleRdbms.getDefaultInstance() : excludeObjects_; + } + } + /** + *
+     * Oracle objects to exclude from the stream.
+     * 
+ * + * .google.cloud.datastream.v1.OracleRdbms exclude_objects = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1.OracleRdbms, com.google.cloud.datastream.v1.OracleRdbms.Builder, com.google.cloud.datastream.v1.OracleRdbmsOrBuilder> + getExcludeObjectsFieldBuilder() { + if (excludeObjectsBuilder_ == null) { + excludeObjectsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1.OracleRdbms, com.google.cloud.datastream.v1.OracleRdbms.Builder, com.google.cloud.datastream.v1.OracleRdbmsOrBuilder>( + getExcludeObjects(), + getParentForChildren(), + isClean()); + excludeObjects_ = null; + } + return excludeObjectsBuilder_; + } + + private int maxConcurrentCdcTasks_ ; + /** + *
+     * Maximum number of concurrent CDC tasks. The number should be non negative.
+     * If not set (or set to 0), the system's default value will be used.
+     * 
+ * + * int32 max_concurrent_cdc_tasks = 3; + * @return The maxConcurrentCdcTasks. + */ + @java.lang.Override + public int getMaxConcurrentCdcTasks() { + return maxConcurrentCdcTasks_; + } + /** + *
+     * Maximum number of concurrent CDC tasks. The number should be non negative.
+     * If not set (or set to 0), the system's default value will be used.
+     * 
+ * + * int32 max_concurrent_cdc_tasks = 3; + * @param value The maxConcurrentCdcTasks to set. + * @return This builder for chaining. + */ + public Builder setMaxConcurrentCdcTasks(int value) { + + maxConcurrentCdcTasks_ = value; + onChanged(); + return this; + } + /** + *
+     * Maximum number of concurrent CDC tasks. The number should be non negative.
+     * If not set (or set to 0), the system's default value will be used.
+     * 
+ * + * int32 max_concurrent_cdc_tasks = 3; + * @return This builder for chaining. + */ + public Builder clearMaxConcurrentCdcTasks() { + + maxConcurrentCdcTasks_ = 0; + onChanged(); + return this; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjects, com.google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjects.Builder, com.google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjectsOrBuilder> dropLargeObjectsBuilder_; + /** + *
+     * Drop large object values.
+     * 
+ * + * .google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjects drop_large_objects = 100; + * @return Whether the dropLargeObjects field is set. + */ + @java.lang.Override + public boolean hasDropLargeObjects() { + return largeObjectsHandlingCase_ == 100; + } + /** + *
+     * Drop large object values.
+     * 
+ * + * .google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjects drop_large_objects = 100; + * @return The dropLargeObjects. + */ + @java.lang.Override + public com.google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjects getDropLargeObjects() { + if (dropLargeObjectsBuilder_ == null) { + if (largeObjectsHandlingCase_ == 100) { + return (com.google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjects) largeObjectsHandling_; + } + return com.google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjects.getDefaultInstance(); + } else { + if (largeObjectsHandlingCase_ == 100) { + return dropLargeObjectsBuilder_.getMessage(); + } + return com.google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjects.getDefaultInstance(); + } + } + /** + *
+     * Drop large object values.
+     * 
+ * + * .google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjects drop_large_objects = 100; + */ + public Builder setDropLargeObjects(com.google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjects value) { + if (dropLargeObjectsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + largeObjectsHandling_ = value; + onChanged(); + } else { + dropLargeObjectsBuilder_.setMessage(value); + } + largeObjectsHandlingCase_ = 100; + return this; + } + /** + *
+     * Drop large object values.
+     * 
+ * + * .google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjects drop_large_objects = 100; + */ + public Builder setDropLargeObjects( + com.google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjects.Builder builderForValue) { + if (dropLargeObjectsBuilder_ == null) { + largeObjectsHandling_ = builderForValue.build(); + onChanged(); + } else { + dropLargeObjectsBuilder_.setMessage(builderForValue.build()); + } + largeObjectsHandlingCase_ = 100; + return this; + } + /** + *
+     * Drop large object values.
+     * 
+ * + * .google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjects drop_large_objects = 100; + */ + public Builder mergeDropLargeObjects(com.google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjects value) { + if (dropLargeObjectsBuilder_ == null) { + if (largeObjectsHandlingCase_ == 100 && + largeObjectsHandling_ != com.google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjects.getDefaultInstance()) { + largeObjectsHandling_ = com.google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjects.newBuilder((com.google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjects) largeObjectsHandling_) + .mergeFrom(value).buildPartial(); + } else { + largeObjectsHandling_ = value; + } + onChanged(); + } else { + if (largeObjectsHandlingCase_ == 100) { + dropLargeObjectsBuilder_.mergeFrom(value); + } else { + dropLargeObjectsBuilder_.setMessage(value); + } + } + largeObjectsHandlingCase_ = 100; + return this; + } + /** + *
+     * Drop large object values.
+     * 
+ * + * .google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjects drop_large_objects = 100; + */ + public Builder clearDropLargeObjects() { + if (dropLargeObjectsBuilder_ == null) { + if (largeObjectsHandlingCase_ == 100) { + largeObjectsHandlingCase_ = 0; + largeObjectsHandling_ = null; + onChanged(); + } + } else { + if (largeObjectsHandlingCase_ == 100) { + largeObjectsHandlingCase_ = 0; + largeObjectsHandling_ = null; + } + dropLargeObjectsBuilder_.clear(); + } + return this; + } + /** + *
+     * Drop large object values.
+     * 
+ * + * .google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjects drop_large_objects = 100; + */ + public com.google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjects.Builder getDropLargeObjectsBuilder() { + return getDropLargeObjectsFieldBuilder().getBuilder(); + } + /** + *
+     * Drop large object values.
+     * 
+ * + * .google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjects drop_large_objects = 100; + */ + @java.lang.Override + public com.google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjectsOrBuilder getDropLargeObjectsOrBuilder() { + if ((largeObjectsHandlingCase_ == 100) && (dropLargeObjectsBuilder_ != null)) { + return dropLargeObjectsBuilder_.getMessageOrBuilder(); + } else { + if (largeObjectsHandlingCase_ == 100) { + return (com.google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjects) largeObjectsHandling_; + } + return com.google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjects.getDefaultInstance(); + } + } + /** + *
+     * Drop large object values.
+     * 
+ * + * .google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjects drop_large_objects = 100; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjects, com.google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjects.Builder, com.google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjectsOrBuilder> + getDropLargeObjectsFieldBuilder() { + if (dropLargeObjectsBuilder_ == null) { + if (!(largeObjectsHandlingCase_ == 100)) { + largeObjectsHandling_ = com.google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjects.getDefaultInstance(); + } + dropLargeObjectsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjects, com.google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjects.Builder, com.google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjectsOrBuilder>( + (com.google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjects) largeObjectsHandling_, + getParentForChildren(), + isClean()); + largeObjectsHandling_ = null; + } + largeObjectsHandlingCase_ = 100; + onChanged();; + return dropLargeObjectsBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjects, com.google.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjects.Builder, com.google.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjectsOrBuilder> streamLargeObjectsBuilder_; + /** + *
+     * Stream large object values.
+     * 
+ * + * .google.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjects stream_large_objects = 102; + * @return Whether the streamLargeObjects field is set. + */ + @java.lang.Override + public boolean hasStreamLargeObjects() { + return largeObjectsHandlingCase_ == 102; + } + /** + *
+     * Stream large object values.
+     * 
+ * + * .google.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjects stream_large_objects = 102; + * @return The streamLargeObjects. + */ + @java.lang.Override + public com.google.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjects getStreamLargeObjects() { + if (streamLargeObjectsBuilder_ == null) { + if (largeObjectsHandlingCase_ == 102) { + return (com.google.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjects) largeObjectsHandling_; + } + return com.google.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjects.getDefaultInstance(); + } else { + if (largeObjectsHandlingCase_ == 102) { + return streamLargeObjectsBuilder_.getMessage(); + } + return com.google.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjects.getDefaultInstance(); + } + } + /** + *
+     * Stream large object values.
+     * 
+ * + * .google.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjects stream_large_objects = 102; + */ + public Builder setStreamLargeObjects(com.google.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjects value) { + if (streamLargeObjectsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + largeObjectsHandling_ = value; + onChanged(); + } else { + streamLargeObjectsBuilder_.setMessage(value); + } + largeObjectsHandlingCase_ = 102; + return this; + } + /** + *
+     * Stream large object values.
+     * 
+ * + * .google.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjects stream_large_objects = 102; + */ + public Builder setStreamLargeObjects( + com.google.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjects.Builder builderForValue) { + if (streamLargeObjectsBuilder_ == null) { + largeObjectsHandling_ = builderForValue.build(); + onChanged(); + } else { + streamLargeObjectsBuilder_.setMessage(builderForValue.build()); + } + largeObjectsHandlingCase_ = 102; + return this; + } + /** + *
+     * Stream large object values.
+     * 
+ * + * .google.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjects stream_large_objects = 102; + */ + public Builder mergeStreamLargeObjects(com.google.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjects value) { + if (streamLargeObjectsBuilder_ == null) { + if (largeObjectsHandlingCase_ == 102 && + largeObjectsHandling_ != com.google.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjects.getDefaultInstance()) { + largeObjectsHandling_ = com.google.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjects.newBuilder((com.google.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjects) largeObjectsHandling_) + .mergeFrom(value).buildPartial(); + } else { + largeObjectsHandling_ = value; + } + onChanged(); + } else { + if (largeObjectsHandlingCase_ == 102) { + streamLargeObjectsBuilder_.mergeFrom(value); + } else { + streamLargeObjectsBuilder_.setMessage(value); + } + } + largeObjectsHandlingCase_ = 102; + return this; + } + /** + *
+     * Stream large object values.
+     * 
+ * + * .google.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjects stream_large_objects = 102; + */ + public Builder clearStreamLargeObjects() { + if (streamLargeObjectsBuilder_ == null) { + if (largeObjectsHandlingCase_ == 102) { + largeObjectsHandlingCase_ = 0; + largeObjectsHandling_ = null; + onChanged(); + } + } else { + if (largeObjectsHandlingCase_ == 102) { + largeObjectsHandlingCase_ = 0; + largeObjectsHandling_ = null; + } + streamLargeObjectsBuilder_.clear(); + } + return this; + } + /** + *
+     * Stream large object values.
+     * 
+ * + * .google.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjects stream_large_objects = 102; + */ + public com.google.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjects.Builder getStreamLargeObjectsBuilder() { + return getStreamLargeObjectsFieldBuilder().getBuilder(); + } + /** + *
+     * Stream large object values.
+     * 
+ * + * .google.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjects stream_large_objects = 102; + */ + @java.lang.Override + public com.google.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjectsOrBuilder getStreamLargeObjectsOrBuilder() { + if ((largeObjectsHandlingCase_ == 102) && (streamLargeObjectsBuilder_ != null)) { + return streamLargeObjectsBuilder_.getMessageOrBuilder(); + } else { + if (largeObjectsHandlingCase_ == 102) { + return (com.google.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjects) largeObjectsHandling_; + } + return com.google.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjects.getDefaultInstance(); + } + } + /** + *
+     * Stream large object values.
+     * 
+ * + * .google.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjects stream_large_objects = 102; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjects, com.google.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjects.Builder, com.google.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjectsOrBuilder> + getStreamLargeObjectsFieldBuilder() { + if (streamLargeObjectsBuilder_ == null) { + if (!(largeObjectsHandlingCase_ == 102)) { + largeObjectsHandling_ = com.google.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjects.getDefaultInstance(); + } + streamLargeObjectsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjects, com.google.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjects.Builder, com.google.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjectsOrBuilder>( + (com.google.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjects) largeObjectsHandling_, + getParentForChildren(), + isClean()); + largeObjectsHandling_ = null; + } + largeObjectsHandlingCase_ = 102; + onChanged();; + return streamLargeObjectsBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1.OracleSourceConfig) + } + + // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1.OracleSourceConfig) + private static final com.google.cloud.datastream.v1.OracleSourceConfig DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.datastream.v1.OracleSourceConfig(); + } + + public static com.google.cloud.datastream.v1.OracleSourceConfig getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OracleSourceConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OracleSourceConfig(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.datastream.v1.OracleSourceConfig getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/OracleSourceConfigOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/OracleSourceConfigOrBuilder.java new file mode 100644 index 00000000..52c3ff0f --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/OracleSourceConfigOrBuilder.java @@ -0,0 +1,130 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datastream/v1/datastream_resources.proto + +package com.google.cloud.datastream.v1; + +public interface OracleSourceConfigOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1.OracleSourceConfig) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Oracle objects to include in the stream.
+   * 
+ * + * .google.cloud.datastream.v1.OracleRdbms include_objects = 1; + * @return Whether the includeObjects field is set. + */ + boolean hasIncludeObjects(); + /** + *
+   * Oracle objects to include in the stream.
+   * 
+ * + * .google.cloud.datastream.v1.OracleRdbms include_objects = 1; + * @return The includeObjects. + */ + com.google.cloud.datastream.v1.OracleRdbms getIncludeObjects(); + /** + *
+   * Oracle objects to include in the stream.
+   * 
+ * + * .google.cloud.datastream.v1.OracleRdbms include_objects = 1; + */ + com.google.cloud.datastream.v1.OracleRdbmsOrBuilder getIncludeObjectsOrBuilder(); + + /** + *
+   * Oracle objects to exclude from the stream.
+   * 
+ * + * .google.cloud.datastream.v1.OracleRdbms exclude_objects = 2; + * @return Whether the excludeObjects field is set. + */ + boolean hasExcludeObjects(); + /** + *
+   * Oracle objects to exclude from the stream.
+   * 
+ * + * .google.cloud.datastream.v1.OracleRdbms exclude_objects = 2; + * @return The excludeObjects. + */ + com.google.cloud.datastream.v1.OracleRdbms getExcludeObjects(); + /** + *
+   * Oracle objects to exclude from the stream.
+   * 
+ * + * .google.cloud.datastream.v1.OracleRdbms exclude_objects = 2; + */ + com.google.cloud.datastream.v1.OracleRdbmsOrBuilder getExcludeObjectsOrBuilder(); + + /** + *
+   * Maximum number of concurrent CDC tasks. The number should be non negative.
+   * If not set (or set to 0), the system's default value will be used.
+   * 
+ * + * int32 max_concurrent_cdc_tasks = 3; + * @return The maxConcurrentCdcTasks. + */ + int getMaxConcurrentCdcTasks(); + + /** + *
+   * Drop large object values.
+   * 
+ * + * .google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjects drop_large_objects = 100; + * @return Whether the dropLargeObjects field is set. + */ + boolean hasDropLargeObjects(); + /** + *
+   * Drop large object values.
+   * 
+ * + * .google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjects drop_large_objects = 100; + * @return The dropLargeObjects. + */ + com.google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjects getDropLargeObjects(); + /** + *
+   * Drop large object values.
+   * 
+ * + * .google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjects drop_large_objects = 100; + */ + com.google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjectsOrBuilder getDropLargeObjectsOrBuilder(); + + /** + *
+   * Stream large object values.
+   * 
+ * + * .google.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjects stream_large_objects = 102; + * @return Whether the streamLargeObjects field is set. + */ + boolean hasStreamLargeObjects(); + /** + *
+   * Stream large object values.
+   * 
+ * + * .google.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjects stream_large_objects = 102; + * @return The streamLargeObjects. + */ + com.google.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjects getStreamLargeObjects(); + /** + *
+   * Stream large object values.
+   * 
+ * + * .google.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjects stream_large_objects = 102; + */ + com.google.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjectsOrBuilder getStreamLargeObjectsOrBuilder(); + + public com.google.cloud.datastream.v1.OracleSourceConfig.LargeObjectsHandlingCase getLargeObjectsHandlingCase(); +} diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/OracleTable.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/OracleTable.java similarity index 71% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/OracleTable.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/OracleTable.java index feb7de63..e0fa7d25 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/OracleTable.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/OracleTable.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/datastream/v1/datastream_resources.proto package com.google.cloud.datastream.v1; /** - * - * *
  * Oracle table.
  * 
* * Protobuf type {@code google.cloud.datastream.v1.OracleTable} */ -public final class OracleTable extends com.google.protobuf.GeneratedMessageV3 - implements +public final class OracleTable extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1.OracleTable) OracleTableOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use OracleTable.newBuilder() to construct. private OracleTable(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private OracleTable() { table_ = ""; oracleColumns_ = java.util.Collections.emptyList(); @@ -44,15 +26,16 @@ private OracleTable() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new OracleTable(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private OracleTable( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,32 +55,28 @@ private OracleTable( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - table_ = s; - break; - } - case 18: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - oracleColumns_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - oracleColumns_.add( - input.readMessage( - com.google.cloud.datastream.v1.OracleColumn.parser(), extensionRegistry)); - break; + table_ = s; + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + oracleColumns_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + oracleColumns_.add( + input.readMessage(com.google.cloud.datastream.v1.OracleColumn.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -105,7 +84,8 @@ private OracleTable( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { oracleColumns_ = java.util.Collections.unmodifiableList(oracleColumns_); @@ -114,33 +94,27 @@ private OracleTable( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_OracleTable_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_OracleTable_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_OracleTable_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_OracleTable_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.OracleTable.class, - com.google.cloud.datastream.v1.OracleTable.Builder.class); + com.google.cloud.datastream.v1.OracleTable.class, com.google.cloud.datastream.v1.OracleTable.Builder.class); } public static final int TABLE_FIELD_NUMBER = 1; private volatile java.lang.Object table_; /** - * - * *
    * Table name.
    * 
* * string table = 1; - * * @return The table. */ @java.lang.Override @@ -149,29 +123,29 @@ public java.lang.String getTable() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); table_ = s; return s; } } /** - * - * *
    * Table name.
    * 
* * string table = 1; - * * @return The bytes for table. */ @java.lang.Override - public com.google.protobuf.ByteString getTableBytes() { + public com.google.protobuf.ByteString + getTableBytes() { java.lang.Object ref = table_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); table_ = b; return b; } else { @@ -182,11 +156,9 @@ public com.google.protobuf.ByteString getTableBytes() { public static final int ORACLE_COLUMNS_FIELD_NUMBER = 2; private java.util.List oracleColumns_; /** - * - * *
    * Oracle columns in the schema.
-   * When unspecified as part of inclue/exclude lists, includes/excludes
+   * When unspecified as part of include/exclude objects, includes/excludes
    * everything.
    * 
* @@ -197,27 +169,23 @@ public java.util.List getOracleColu return oracleColumns_; } /** - * - * *
    * Oracle columns in the schema.
-   * When unspecified as part of inclue/exclude lists, includes/excludes
+   * When unspecified as part of include/exclude objects, includes/excludes
    * everything.
    * 
* * repeated .google.cloud.datastream.v1.OracleColumn oracle_columns = 2; */ @java.lang.Override - public java.util.List + public java.util.List getOracleColumnsOrBuilderList() { return oracleColumns_; } /** - * - * *
    * Oracle columns in the schema.
-   * When unspecified as part of inclue/exclude lists, includes/excludes
+   * When unspecified as part of include/exclude objects, includes/excludes
    * everything.
    * 
* @@ -228,11 +196,9 @@ public int getOracleColumnsCount() { return oracleColumns_.size(); } /** - * - * *
    * Oracle columns in the schema.
-   * When unspecified as part of inclue/exclude lists, includes/excludes
+   * When unspecified as part of include/exclude objects, includes/excludes
    * everything.
    * 
* @@ -243,23 +209,21 @@ public com.google.cloud.datastream.v1.OracleColumn getOracleColumns(int index) { return oracleColumns_.get(index); } /** - * - * *
    * Oracle columns in the schema.
-   * When unspecified as part of inclue/exclude lists, includes/excludes
+   * When unspecified as part of include/exclude objects, includes/excludes
    * everything.
    * 
* * repeated .google.cloud.datastream.v1.OracleColumn oracle_columns = 2; */ @java.lang.Override - public com.google.cloud.datastream.v1.OracleColumnOrBuilder getOracleColumnsOrBuilder(int index) { + public com.google.cloud.datastream.v1.OracleColumnOrBuilder getOracleColumnsOrBuilder( + int index) { return oracleColumns_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -271,7 +235,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(table_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, table_); } @@ -291,7 +256,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, table_); } for (int i = 0; i < oracleColumns_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, oracleColumns_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, oracleColumns_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -301,16 +267,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.datastream.v1.OracleTable)) { return super.equals(obj); } - com.google.cloud.datastream.v1.OracleTable other = - (com.google.cloud.datastream.v1.OracleTable) obj; + com.google.cloud.datastream.v1.OracleTable other = (com.google.cloud.datastream.v1.OracleTable) obj; - if (!getTable().equals(other.getTable())) return false; - if (!getOracleColumnsList().equals(other.getOracleColumnsList())) return false; + if (!getTable() + .equals(other.getTable())) return false; + if (!getOracleColumnsList() + .equals(other.getOracleColumnsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -333,127 +300,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.datastream.v1.OracleTable parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.datastream.v1.OracleTable parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.OracleTable parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.OracleTable parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.OracleTable parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.OracleTable parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.OracleTable parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.OracleTable 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.datastream.v1.OracleTable parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1.OracleTable parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.OracleTable parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.OracleTable 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.datastream.v1.OracleTable parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.OracleTable parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datastream.v1.OracleTable prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Oracle table.
    * 
* * Protobuf type {@code google.cloud.datastream.v1.OracleTable} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1.OracleTable) com.google.cloud.datastream.v1.OracleTableOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_OracleTable_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_OracleTable_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_OracleTable_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_OracleTable_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.OracleTable.class, - com.google.cloud.datastream.v1.OracleTable.Builder.class); + com.google.cloud.datastream.v1.OracleTable.class, com.google.cloud.datastream.v1.OracleTable.Builder.class); } // Construct using com.google.cloud.datastream.v1.OracleTable.newBuilder() @@ -461,17 +419,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getOracleColumnsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -487,9 +445,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_OracleTable_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_OracleTable_descriptor; } @java.lang.Override @@ -508,8 +466,7 @@ public com.google.cloud.datastream.v1.OracleTable build() { @java.lang.Override public com.google.cloud.datastream.v1.OracleTable buildPartial() { - com.google.cloud.datastream.v1.OracleTable result = - new com.google.cloud.datastream.v1.OracleTable(this); + com.google.cloud.datastream.v1.OracleTable result = new com.google.cloud.datastream.v1.OracleTable(this); int from_bitField0_ = bitField0_; result.table_ = table_; if (oracleColumnsBuilder_ == null) { @@ -529,39 +486,38 @@ public com.google.cloud.datastream.v1.OracleTable buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1.OracleTable) { - return mergeFrom((com.google.cloud.datastream.v1.OracleTable) other); + return mergeFrom((com.google.cloud.datastream.v1.OracleTable)other); } else { super.mergeFrom(other); return this; @@ -592,10 +548,9 @@ public Builder mergeFrom(com.google.cloud.datastream.v1.OracleTable other) { oracleColumnsBuilder_ = null; oracleColumns_ = other.oracleColumns_; bitField0_ = (bitField0_ & ~0x00000001); - oracleColumnsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getOracleColumnsFieldBuilder() - : null; + oracleColumnsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getOracleColumnsFieldBuilder() : null; } else { oracleColumnsBuilder_.addAllMessages(other.oracleColumns_); } @@ -629,25 +584,22 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object table_ = ""; /** - * - * *
      * Table name.
      * 
* * string table = 1; - * * @return The table. */ public java.lang.String getTable() { java.lang.Object ref = table_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); table_ = s; return s; @@ -656,21 +608,20 @@ public java.lang.String getTable() { } } /** - * - * *
      * Table name.
      * 
* * string table = 1; - * * @return The bytes for table. */ - public com.google.protobuf.ByteString getTableBytes() { + public com.google.protobuf.ByteString + getTableBytes() { java.lang.Object ref = table_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); table_ = b; return b; } else { @@ -678,89 +629,75 @@ public com.google.protobuf.ByteString getTableBytes() { } } /** - * - * *
      * Table name.
      * 
* * string table = 1; - * * @param value The table to set. * @return This builder for chaining. */ - public Builder setTable(java.lang.String value) { + public Builder setTable( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + table_ = value; onChanged(); return this; } /** - * - * *
      * Table name.
      * 
* * string table = 1; - * * @return This builder for chaining. */ public Builder clearTable() { - + table_ = getDefaultInstance().getTable(); onChanged(); return this; } /** - * - * *
      * Table name.
      * 
* * string table = 1; - * * @param value The bytes for table to set. * @return This builder for chaining. */ - public Builder setTableBytes(com.google.protobuf.ByteString value) { + public Builder setTableBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + table_ = value; onChanged(); return this; } private java.util.List oracleColumns_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureOracleColumnsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - oracleColumns_ = - new java.util.ArrayList(oracleColumns_); + oracleColumns_ = new java.util.ArrayList(oracleColumns_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datastream.v1.OracleColumn, - com.google.cloud.datastream.v1.OracleColumn.Builder, - com.google.cloud.datastream.v1.OracleColumnOrBuilder> - oracleColumnsBuilder_; + com.google.cloud.datastream.v1.OracleColumn, com.google.cloud.datastream.v1.OracleColumn.Builder, com.google.cloud.datastream.v1.OracleColumnOrBuilder> oracleColumnsBuilder_; /** - * - * *
      * Oracle columns in the schema.
-     * When unspecified as part of inclue/exclude lists, includes/excludes
+     * When unspecified as part of include/exclude objects, includes/excludes
      * everything.
      * 
* @@ -774,11 +711,9 @@ public java.util.List getOracleColu } } /** - * - * *
      * Oracle columns in the schema.
-     * When unspecified as part of inclue/exclude lists, includes/excludes
+     * When unspecified as part of include/exclude objects, includes/excludes
      * everything.
      * 
* @@ -792,11 +727,9 @@ public int getOracleColumnsCount() { } } /** - * - * *
      * Oracle columns in the schema.
-     * When unspecified as part of inclue/exclude lists, includes/excludes
+     * When unspecified as part of include/exclude objects, includes/excludes
      * everything.
      * 
* @@ -810,17 +743,16 @@ public com.google.cloud.datastream.v1.OracleColumn getOracleColumns(int index) { } } /** - * - * *
      * Oracle columns in the schema.
-     * When unspecified as part of inclue/exclude lists, includes/excludes
+     * When unspecified as part of include/exclude objects, includes/excludes
      * everything.
      * 
* * repeated .google.cloud.datastream.v1.OracleColumn oracle_columns = 2; */ - public Builder setOracleColumns(int index, com.google.cloud.datastream.v1.OracleColumn value) { + public Builder setOracleColumns( + int index, com.google.cloud.datastream.v1.OracleColumn value) { if (oracleColumnsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -834,11 +766,9 @@ public Builder setOracleColumns(int index, com.google.cloud.datastream.v1.Oracle return this; } /** - * - * *
      * Oracle columns in the schema.
-     * When unspecified as part of inclue/exclude lists, includes/excludes
+     * When unspecified as part of include/exclude objects, includes/excludes
      * everything.
      * 
* @@ -856,11 +786,9 @@ public Builder setOracleColumns( return this; } /** - * - * *
      * Oracle columns in the schema.
-     * When unspecified as part of inclue/exclude lists, includes/excludes
+     * When unspecified as part of include/exclude objects, includes/excludes
      * everything.
      * 
* @@ -880,17 +808,16 @@ public Builder addOracleColumns(com.google.cloud.datastream.v1.OracleColumn valu return this; } /** - * - * *
      * Oracle columns in the schema.
-     * When unspecified as part of inclue/exclude lists, includes/excludes
+     * When unspecified as part of include/exclude objects, includes/excludes
      * everything.
      * 
* * repeated .google.cloud.datastream.v1.OracleColumn oracle_columns = 2; */ - public Builder addOracleColumns(int index, com.google.cloud.datastream.v1.OracleColumn value) { + public Builder addOracleColumns( + int index, com.google.cloud.datastream.v1.OracleColumn value) { if (oracleColumnsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -904,11 +831,9 @@ public Builder addOracleColumns(int index, com.google.cloud.datastream.v1.Oracle return this; } /** - * - * *
      * Oracle columns in the schema.
-     * When unspecified as part of inclue/exclude lists, includes/excludes
+     * When unspecified as part of include/exclude objects, includes/excludes
      * everything.
      * 
* @@ -926,11 +851,9 @@ public Builder addOracleColumns( return this; } /** - * - * *
      * Oracle columns in the schema.
-     * When unspecified as part of inclue/exclude lists, includes/excludes
+     * When unspecified as part of include/exclude objects, includes/excludes
      * everything.
      * 
* @@ -948,11 +871,9 @@ public Builder addOracleColumns( return this; } /** - * - * *
      * Oracle columns in the schema.
-     * When unspecified as part of inclue/exclude lists, includes/excludes
+     * When unspecified as part of include/exclude objects, includes/excludes
      * everything.
      * 
* @@ -962,7 +883,8 @@ public Builder addAllOracleColumns( java.lang.Iterable values) { if (oracleColumnsBuilder_ == null) { ensureOracleColumnsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, oracleColumns_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, oracleColumns_); onChanged(); } else { oracleColumnsBuilder_.addAllMessages(values); @@ -970,11 +892,9 @@ public Builder addAllOracleColumns( return this; } /** - * - * *
      * Oracle columns in the schema.
-     * When unspecified as part of inclue/exclude lists, includes/excludes
+     * When unspecified as part of include/exclude objects, includes/excludes
      * everything.
      * 
* @@ -991,11 +911,9 @@ public Builder clearOracleColumns() { return this; } /** - * - * *
      * Oracle columns in the schema.
-     * When unspecified as part of inclue/exclude lists, includes/excludes
+     * When unspecified as part of include/exclude objects, includes/excludes
      * everything.
      * 
* @@ -1012,25 +930,22 @@ public Builder removeOracleColumns(int index) { return this; } /** - * - * *
      * Oracle columns in the schema.
-     * When unspecified as part of inclue/exclude lists, includes/excludes
+     * When unspecified as part of include/exclude objects, includes/excludes
      * everything.
      * 
* * repeated .google.cloud.datastream.v1.OracleColumn oracle_columns = 2; */ - public com.google.cloud.datastream.v1.OracleColumn.Builder getOracleColumnsBuilder(int index) { + public com.google.cloud.datastream.v1.OracleColumn.Builder getOracleColumnsBuilder( + int index) { return getOracleColumnsFieldBuilder().getBuilder(index); } /** - * - * *
      * Oracle columns in the schema.
-     * When unspecified as part of inclue/exclude lists, includes/excludes
+     * When unspecified as part of include/exclude objects, includes/excludes
      * everything.
      * 
* @@ -1039,24 +954,21 @@ public com.google.cloud.datastream.v1.OracleColumn.Builder getOracleColumnsBuild public com.google.cloud.datastream.v1.OracleColumnOrBuilder getOracleColumnsOrBuilder( int index) { if (oracleColumnsBuilder_ == null) { - return oracleColumns_.get(index); - } else { + return oracleColumns_.get(index); } else { return oracleColumnsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Oracle columns in the schema.
-     * When unspecified as part of inclue/exclude lists, includes/excludes
+     * When unspecified as part of include/exclude objects, includes/excludes
      * everything.
      * 
* * repeated .google.cloud.datastream.v1.OracleColumn oracle_columns = 2; */ - public java.util.List - getOracleColumnsOrBuilderList() { + public java.util.List + getOracleColumnsOrBuilderList() { if (oracleColumnsBuilder_ != null) { return oracleColumnsBuilder_.getMessageOrBuilderList(); } else { @@ -1064,62 +976,51 @@ public com.google.cloud.datastream.v1.OracleColumnOrBuilder getOracleColumnsOrBu } } /** - * - * *
      * Oracle columns in the schema.
-     * When unspecified as part of inclue/exclude lists, includes/excludes
+     * When unspecified as part of include/exclude objects, includes/excludes
      * everything.
      * 
* * repeated .google.cloud.datastream.v1.OracleColumn oracle_columns = 2; */ public com.google.cloud.datastream.v1.OracleColumn.Builder addOracleColumnsBuilder() { - return getOracleColumnsFieldBuilder() - .addBuilder(com.google.cloud.datastream.v1.OracleColumn.getDefaultInstance()); + return getOracleColumnsFieldBuilder().addBuilder( + com.google.cloud.datastream.v1.OracleColumn.getDefaultInstance()); } /** - * - * *
      * Oracle columns in the schema.
-     * When unspecified as part of inclue/exclude lists, includes/excludes
+     * When unspecified as part of include/exclude objects, includes/excludes
      * everything.
      * 
* * repeated .google.cloud.datastream.v1.OracleColumn oracle_columns = 2; */ - public com.google.cloud.datastream.v1.OracleColumn.Builder addOracleColumnsBuilder(int index) { - return getOracleColumnsFieldBuilder() - .addBuilder(index, com.google.cloud.datastream.v1.OracleColumn.getDefaultInstance()); + public com.google.cloud.datastream.v1.OracleColumn.Builder addOracleColumnsBuilder( + int index) { + return getOracleColumnsFieldBuilder().addBuilder( + index, com.google.cloud.datastream.v1.OracleColumn.getDefaultInstance()); } /** - * - * *
      * Oracle columns in the schema.
-     * When unspecified as part of inclue/exclude lists, includes/excludes
+     * When unspecified as part of include/exclude objects, includes/excludes
      * everything.
      * 
* * repeated .google.cloud.datastream.v1.OracleColumn oracle_columns = 2; */ - public java.util.List - getOracleColumnsBuilderList() { + public java.util.List + getOracleColumnsBuilderList() { return getOracleColumnsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datastream.v1.OracleColumn, - com.google.cloud.datastream.v1.OracleColumn.Builder, - com.google.cloud.datastream.v1.OracleColumnOrBuilder> + com.google.cloud.datastream.v1.OracleColumn, com.google.cloud.datastream.v1.OracleColumn.Builder, com.google.cloud.datastream.v1.OracleColumnOrBuilder> getOracleColumnsFieldBuilder() { if (oracleColumnsBuilder_ == null) { - oracleColumnsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datastream.v1.OracleColumn, - com.google.cloud.datastream.v1.OracleColumn.Builder, - com.google.cloud.datastream.v1.OracleColumnOrBuilder>( + oracleColumnsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datastream.v1.OracleColumn, com.google.cloud.datastream.v1.OracleColumn.Builder, com.google.cloud.datastream.v1.OracleColumnOrBuilder>( oracleColumns_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1128,9 +1029,9 @@ public com.google.cloud.datastream.v1.OracleColumn.Builder addOracleColumnsBuild } return oracleColumnsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1140,12 +1041,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1.OracleTable) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1.OracleTable) private static final com.google.cloud.datastream.v1.OracleTable DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1.OracleTable(); } @@ -1154,16 +1055,16 @@ public static com.google.cloud.datastream.v1.OracleTable getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OracleTable parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OracleTable(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OracleTable parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OracleTable(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1178,4 +1079,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datastream.v1.OracleTable getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/OracleTableOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/OracleTableOrBuilder.java similarity index 57% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/OracleTableOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/OracleTableOrBuilder.java index c4ba1b16..902a499e 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/OracleTableOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/OracleTableOrBuilder.java @@ -1,71 +1,47 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1/datastream_resources.proto package com.google.cloud.datastream.v1; -public interface OracleTableOrBuilder - extends +public interface OracleTableOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1.OracleTable) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Table name.
    * 
* * string table = 1; - * * @return The table. */ java.lang.String getTable(); /** - * - * *
    * Table name.
    * 
* * string table = 1; - * * @return The bytes for table. */ - com.google.protobuf.ByteString getTableBytes(); + com.google.protobuf.ByteString + getTableBytes(); /** - * - * *
    * Oracle columns in the schema.
-   * When unspecified as part of inclue/exclude lists, includes/excludes
+   * When unspecified as part of include/exclude objects, includes/excludes
    * everything.
    * 
* * repeated .google.cloud.datastream.v1.OracleColumn oracle_columns = 2; */ - java.util.List getOracleColumnsList(); + java.util.List + getOracleColumnsList(); /** - * - * *
    * Oracle columns in the schema.
-   * When unspecified as part of inclue/exclude lists, includes/excludes
+   * When unspecified as part of include/exclude objects, includes/excludes
    * everything.
    * 
* @@ -73,11 +49,9 @@ public interface OracleTableOrBuilder */ com.google.cloud.datastream.v1.OracleColumn getOracleColumns(int index); /** - * - * *
    * Oracle columns in the schema.
-   * When unspecified as part of inclue/exclude lists, includes/excludes
+   * When unspecified as part of include/exclude objects, includes/excludes
    * everything.
    * 
* @@ -85,28 +59,25 @@ public interface OracleTableOrBuilder */ int getOracleColumnsCount(); /** - * - * *
    * Oracle columns in the schema.
-   * When unspecified as part of inclue/exclude lists, includes/excludes
+   * When unspecified as part of include/exclude objects, includes/excludes
    * everything.
    * 
* * repeated .google.cloud.datastream.v1.OracleColumn oracle_columns = 2; */ - java.util.List + java.util.List getOracleColumnsOrBuilderList(); /** - * - * *
    * Oracle columns in the schema.
-   * When unspecified as part of inclue/exclude lists, includes/excludes
+   * When unspecified as part of include/exclude objects, includes/excludes
    * everything.
    * 
* * repeated .google.cloud.datastream.v1.OracleColumn oracle_columns = 2; */ - com.google.cloud.datastream.v1.OracleColumnOrBuilder getOracleColumnsOrBuilder(int index); + com.google.cloud.datastream.v1.OracleColumnOrBuilder getOracleColumnsOrBuilder( + int index); } diff --git a/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/PostgresqlColumn.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/PostgresqlColumn.java new file mode 100644 index 00000000..a54d19c7 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/PostgresqlColumn.java @@ -0,0 +1,1243 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datastream/v1/datastream_resources.proto + +package com.google.cloud.datastream.v1; + +/** + *
+ * PostgreSQL Column.
+ * 
+ * + * Protobuf type {@code google.cloud.datastream.v1.PostgresqlColumn} + */ +public final class PostgresqlColumn extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1.PostgresqlColumn) + PostgresqlColumnOrBuilder { +private static final long serialVersionUID = 0L; + // Use PostgresqlColumn.newBuilder() to construct. + private PostgresqlColumn(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private PostgresqlColumn() { + column_ = ""; + dataType_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new PostgresqlColumn(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private PostgresqlColumn( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + column_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + dataType_ = s; + break; + } + case 24: { + + length_ = input.readInt32(); + break; + } + case 32: { + + precision_ = input.readInt32(); + break; + } + case 40: { + + scale_ = input.readInt32(); + break; + } + case 56: { + + primaryKey_ = input.readBool(); + break; + } + case 64: { + + nullable_ = input.readBool(); + break; + } + case 72: { + + ordinalPosition_ = input.readInt32(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_PostgresqlColumn_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_PostgresqlColumn_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.datastream.v1.PostgresqlColumn.class, com.google.cloud.datastream.v1.PostgresqlColumn.Builder.class); + } + + public static final int COLUMN_FIELD_NUMBER = 1; + private volatile java.lang.Object column_; + /** + *
+   * Column name.
+   * 
+ * + * string column = 1; + * @return The column. + */ + @java.lang.Override + public java.lang.String getColumn() { + java.lang.Object ref = column_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + column_ = s; + return s; + } + } + /** + *
+   * Column name.
+   * 
+ * + * string column = 1; + * @return The bytes for column. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getColumnBytes() { + java.lang.Object ref = column_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + column_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int DATA_TYPE_FIELD_NUMBER = 2; + private volatile java.lang.Object dataType_; + /** + *
+   * The PostgreSQL data type.
+   * 
+ * + * string data_type = 2; + * @return The dataType. + */ + @java.lang.Override + public java.lang.String getDataType() { + java.lang.Object ref = dataType_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + dataType_ = s; + return s; + } + } + /** + *
+   * The PostgreSQL data type.
+   * 
+ * + * string data_type = 2; + * @return The bytes for dataType. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getDataTypeBytes() { + java.lang.Object ref = dataType_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + dataType_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int LENGTH_FIELD_NUMBER = 3; + private int length_; + /** + *
+   * Column length.
+   * 
+ * + * int32 length = 3; + * @return The length. + */ + @java.lang.Override + public int getLength() { + return length_; + } + + public static final int PRECISION_FIELD_NUMBER = 4; + private int precision_; + /** + *
+   * Column precision.
+   * 
+ * + * int32 precision = 4; + * @return The precision. + */ + @java.lang.Override + public int getPrecision() { + return precision_; + } + + public static final int SCALE_FIELD_NUMBER = 5; + private int scale_; + /** + *
+   * Column scale.
+   * 
+ * + * int32 scale = 5; + * @return The scale. + */ + @java.lang.Override + public int getScale() { + return scale_; + } + + public static final int PRIMARY_KEY_FIELD_NUMBER = 7; + private boolean primaryKey_; + /** + *
+   * Whether or not the column represents a primary key.
+   * 
+ * + * bool primary_key = 7; + * @return The primaryKey. + */ + @java.lang.Override + public boolean getPrimaryKey() { + return primaryKey_; + } + + public static final int NULLABLE_FIELD_NUMBER = 8; + private boolean nullable_; + /** + *
+   * Whether or not the column can accept a null value.
+   * 
+ * + * bool nullable = 8; + * @return The nullable. + */ + @java.lang.Override + public boolean getNullable() { + return nullable_; + } + + public static final int ORDINAL_POSITION_FIELD_NUMBER = 9; + private int ordinalPosition_; + /** + *
+   * The ordinal position of the column in the table.
+   * 
+ * + * int32 ordinal_position = 9; + * @return The ordinalPosition. + */ + @java.lang.Override + public int getOrdinalPosition() { + return ordinalPosition_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(column_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, column_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dataType_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, dataType_); + } + if (length_ != 0) { + output.writeInt32(3, length_); + } + if (precision_ != 0) { + output.writeInt32(4, precision_); + } + if (scale_ != 0) { + output.writeInt32(5, scale_); + } + if (primaryKey_ != false) { + output.writeBool(7, primaryKey_); + } + if (nullable_ != false) { + output.writeBool(8, nullable_); + } + if (ordinalPosition_ != 0) { + output.writeInt32(9, ordinalPosition_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(column_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, column_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dataType_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, dataType_); + } + if (length_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, length_); + } + if (precision_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, precision_); + } + if (scale_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(5, scale_); + } + if (primaryKey_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(7, primaryKey_); + } + if (nullable_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(8, nullable_); + } + if (ordinalPosition_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(9, ordinalPosition_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.datastream.v1.PostgresqlColumn)) { + return super.equals(obj); + } + com.google.cloud.datastream.v1.PostgresqlColumn other = (com.google.cloud.datastream.v1.PostgresqlColumn) obj; + + if (!getColumn() + .equals(other.getColumn())) return false; + if (!getDataType() + .equals(other.getDataType())) return false; + if (getLength() + != other.getLength()) return false; + if (getPrecision() + != other.getPrecision()) return false; + if (getScale() + != other.getScale()) return false; + if (getPrimaryKey() + != other.getPrimaryKey()) return false; + if (getNullable() + != other.getNullable()) return false; + if (getOrdinalPosition() + != other.getOrdinalPosition()) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + COLUMN_FIELD_NUMBER; + hash = (53 * hash) + getColumn().hashCode(); + hash = (37 * hash) + DATA_TYPE_FIELD_NUMBER; + hash = (53 * hash) + getDataType().hashCode(); + hash = (37 * hash) + LENGTH_FIELD_NUMBER; + hash = (53 * hash) + getLength(); + hash = (37 * hash) + PRECISION_FIELD_NUMBER; + hash = (53 * hash) + getPrecision(); + hash = (37 * hash) + SCALE_FIELD_NUMBER; + hash = (53 * hash) + getScale(); + hash = (37 * hash) + PRIMARY_KEY_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getPrimaryKey()); + hash = (37 * hash) + NULLABLE_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getNullable()); + hash = (37 * hash) + ORDINAL_POSITION_FIELD_NUMBER; + hash = (53 * hash) + getOrdinalPosition(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.datastream.v1.PostgresqlColumn parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.datastream.v1.PostgresqlColumn 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.datastream.v1.PostgresqlColumn parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.datastream.v1.PostgresqlColumn parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.datastream.v1.PostgresqlColumn parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.datastream.v1.PostgresqlColumn parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.datastream.v1.PostgresqlColumn parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.datastream.v1.PostgresqlColumn 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.datastream.v1.PostgresqlColumn parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.datastream.v1.PostgresqlColumn parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.datastream.v1.PostgresqlColumn parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.datastream.v1.PostgresqlColumn 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 static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.datastream.v1.PostgresqlColumn prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * PostgreSQL Column.
+   * 
+ * + * Protobuf type {@code google.cloud.datastream.v1.PostgresqlColumn} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1.PostgresqlColumn) + com.google.cloud.datastream.v1.PostgresqlColumnOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_PostgresqlColumn_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_PostgresqlColumn_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.datastream.v1.PostgresqlColumn.class, com.google.cloud.datastream.v1.PostgresqlColumn.Builder.class); + } + + // Construct using com.google.cloud.datastream.v1.PostgresqlColumn.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + column_ = ""; + + dataType_ = ""; + + length_ = 0; + + precision_ = 0; + + scale_ = 0; + + primaryKey_ = false; + + nullable_ = false; + + ordinalPosition_ = 0; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_PostgresqlColumn_descriptor; + } + + @java.lang.Override + public com.google.cloud.datastream.v1.PostgresqlColumn getDefaultInstanceForType() { + return com.google.cloud.datastream.v1.PostgresqlColumn.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.datastream.v1.PostgresqlColumn build() { + com.google.cloud.datastream.v1.PostgresqlColumn result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.datastream.v1.PostgresqlColumn buildPartial() { + com.google.cloud.datastream.v1.PostgresqlColumn result = new com.google.cloud.datastream.v1.PostgresqlColumn(this); + result.column_ = column_; + result.dataType_ = dataType_; + result.length_ = length_; + result.precision_ = precision_; + result.scale_ = scale_; + result.primaryKey_ = primaryKey_; + result.nullable_ = nullable_; + result.ordinalPosition_ = ordinalPosition_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.datastream.v1.PostgresqlColumn) { + return mergeFrom((com.google.cloud.datastream.v1.PostgresqlColumn)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.datastream.v1.PostgresqlColumn other) { + if (other == com.google.cloud.datastream.v1.PostgresqlColumn.getDefaultInstance()) return this; + if (!other.getColumn().isEmpty()) { + column_ = other.column_; + onChanged(); + } + if (!other.getDataType().isEmpty()) { + dataType_ = other.dataType_; + onChanged(); + } + if (other.getLength() != 0) { + setLength(other.getLength()); + } + if (other.getPrecision() != 0) { + setPrecision(other.getPrecision()); + } + if (other.getScale() != 0) { + setScale(other.getScale()); + } + if (other.getPrimaryKey() != false) { + setPrimaryKey(other.getPrimaryKey()); + } + if (other.getNullable() != false) { + setNullable(other.getNullable()); + } + if (other.getOrdinalPosition() != 0) { + setOrdinalPosition(other.getOrdinalPosition()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.datastream.v1.PostgresqlColumn parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.datastream.v1.PostgresqlColumn) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object column_ = ""; + /** + *
+     * Column name.
+     * 
+ * + * string column = 1; + * @return The column. + */ + public java.lang.String getColumn() { + java.lang.Object ref = column_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + column_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Column name.
+     * 
+ * + * string column = 1; + * @return The bytes for column. + */ + public com.google.protobuf.ByteString + getColumnBytes() { + java.lang.Object ref = column_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + column_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Column name.
+     * 
+ * + * string column = 1; + * @param value The column to set. + * @return This builder for chaining. + */ + public Builder setColumn( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + column_ = value; + onChanged(); + return this; + } + /** + *
+     * Column name.
+     * 
+ * + * string column = 1; + * @return This builder for chaining. + */ + public Builder clearColumn() { + + column_ = getDefaultInstance().getColumn(); + onChanged(); + return this; + } + /** + *
+     * Column name.
+     * 
+ * + * string column = 1; + * @param value The bytes for column to set. + * @return This builder for chaining. + */ + public Builder setColumnBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + column_ = value; + onChanged(); + return this; + } + + private java.lang.Object dataType_ = ""; + /** + *
+     * The PostgreSQL data type.
+     * 
+ * + * string data_type = 2; + * @return The dataType. + */ + public java.lang.String getDataType() { + java.lang.Object ref = dataType_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + dataType_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * The PostgreSQL data type.
+     * 
+ * + * string data_type = 2; + * @return The bytes for dataType. + */ + public com.google.protobuf.ByteString + getDataTypeBytes() { + java.lang.Object ref = dataType_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + dataType_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * The PostgreSQL data type.
+     * 
+ * + * string data_type = 2; + * @param value The dataType to set. + * @return This builder for chaining. + */ + public Builder setDataType( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + dataType_ = value; + onChanged(); + return this; + } + /** + *
+     * The PostgreSQL data type.
+     * 
+ * + * string data_type = 2; + * @return This builder for chaining. + */ + public Builder clearDataType() { + + dataType_ = getDefaultInstance().getDataType(); + onChanged(); + return this; + } + /** + *
+     * The PostgreSQL data type.
+     * 
+ * + * string data_type = 2; + * @param value The bytes for dataType to set. + * @return This builder for chaining. + */ + public Builder setDataTypeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + dataType_ = value; + onChanged(); + return this; + } + + private int length_ ; + /** + *
+     * Column length.
+     * 
+ * + * int32 length = 3; + * @return The length. + */ + @java.lang.Override + public int getLength() { + return length_; + } + /** + *
+     * Column length.
+     * 
+ * + * int32 length = 3; + * @param value The length to set. + * @return This builder for chaining. + */ + public Builder setLength(int value) { + + length_ = value; + onChanged(); + return this; + } + /** + *
+     * Column length.
+     * 
+ * + * int32 length = 3; + * @return This builder for chaining. + */ + public Builder clearLength() { + + length_ = 0; + onChanged(); + return this; + } + + private int precision_ ; + /** + *
+     * Column precision.
+     * 
+ * + * int32 precision = 4; + * @return The precision. + */ + @java.lang.Override + public int getPrecision() { + return precision_; + } + /** + *
+     * Column precision.
+     * 
+ * + * int32 precision = 4; + * @param value The precision to set. + * @return This builder for chaining. + */ + public Builder setPrecision(int value) { + + precision_ = value; + onChanged(); + return this; + } + /** + *
+     * Column precision.
+     * 
+ * + * int32 precision = 4; + * @return This builder for chaining. + */ + public Builder clearPrecision() { + + precision_ = 0; + onChanged(); + return this; + } + + private int scale_ ; + /** + *
+     * Column scale.
+     * 
+ * + * int32 scale = 5; + * @return The scale. + */ + @java.lang.Override + public int getScale() { + return scale_; + } + /** + *
+     * Column scale.
+     * 
+ * + * int32 scale = 5; + * @param value The scale to set. + * @return This builder for chaining. + */ + public Builder setScale(int value) { + + scale_ = value; + onChanged(); + return this; + } + /** + *
+     * Column scale.
+     * 
+ * + * int32 scale = 5; + * @return This builder for chaining. + */ + public Builder clearScale() { + + scale_ = 0; + onChanged(); + return this; + } + + private boolean primaryKey_ ; + /** + *
+     * Whether or not the column represents a primary key.
+     * 
+ * + * bool primary_key = 7; + * @return The primaryKey. + */ + @java.lang.Override + public boolean getPrimaryKey() { + return primaryKey_; + } + /** + *
+     * Whether or not the column represents a primary key.
+     * 
+ * + * bool primary_key = 7; + * @param value The primaryKey to set. + * @return This builder for chaining. + */ + public Builder setPrimaryKey(boolean value) { + + primaryKey_ = value; + onChanged(); + return this; + } + /** + *
+     * Whether or not the column represents a primary key.
+     * 
+ * + * bool primary_key = 7; + * @return This builder for chaining. + */ + public Builder clearPrimaryKey() { + + primaryKey_ = false; + onChanged(); + return this; + } + + private boolean nullable_ ; + /** + *
+     * Whether or not the column can accept a null value.
+     * 
+ * + * bool nullable = 8; + * @return The nullable. + */ + @java.lang.Override + public boolean getNullable() { + return nullable_; + } + /** + *
+     * Whether or not the column can accept a null value.
+     * 
+ * + * bool nullable = 8; + * @param value The nullable to set. + * @return This builder for chaining. + */ + public Builder setNullable(boolean value) { + + nullable_ = value; + onChanged(); + return this; + } + /** + *
+     * Whether or not the column can accept a null value.
+     * 
+ * + * bool nullable = 8; + * @return This builder for chaining. + */ + public Builder clearNullable() { + + nullable_ = false; + onChanged(); + return this; + } + + private int ordinalPosition_ ; + /** + *
+     * The ordinal position of the column in the table.
+     * 
+ * + * int32 ordinal_position = 9; + * @return The ordinalPosition. + */ + @java.lang.Override + public int getOrdinalPosition() { + return ordinalPosition_; + } + /** + *
+     * The ordinal position of the column in the table.
+     * 
+ * + * int32 ordinal_position = 9; + * @param value The ordinalPosition to set. + * @return This builder for chaining. + */ + public Builder setOrdinalPosition(int value) { + + ordinalPosition_ = value; + onChanged(); + return this; + } + /** + *
+     * The ordinal position of the column in the table.
+     * 
+ * + * int32 ordinal_position = 9; + * @return This builder for chaining. + */ + public Builder clearOrdinalPosition() { + + ordinalPosition_ = 0; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1.PostgresqlColumn) + } + + // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1.PostgresqlColumn) + private static final com.google.cloud.datastream.v1.PostgresqlColumn DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.datastream.v1.PostgresqlColumn(); + } + + public static com.google.cloud.datastream.v1.PostgresqlColumn getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PostgresqlColumn parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PostgresqlColumn(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.datastream.v1.PostgresqlColumn getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/PostgresqlColumnOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/PostgresqlColumnOrBuilder.java new file mode 100644 index 00000000..d5efd0d7 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/PostgresqlColumnOrBuilder.java @@ -0,0 +1,109 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datastream/v1/datastream_resources.proto + +package com.google.cloud.datastream.v1; + +public interface PostgresqlColumnOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1.PostgresqlColumn) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Column name.
+   * 
+ * + * string column = 1; + * @return The column. + */ + java.lang.String getColumn(); + /** + *
+   * Column name.
+   * 
+ * + * string column = 1; + * @return The bytes for column. + */ + com.google.protobuf.ByteString + getColumnBytes(); + + /** + *
+   * The PostgreSQL data type.
+   * 
+ * + * string data_type = 2; + * @return The dataType. + */ + java.lang.String getDataType(); + /** + *
+   * The PostgreSQL data type.
+   * 
+ * + * string data_type = 2; + * @return The bytes for dataType. + */ + com.google.protobuf.ByteString + getDataTypeBytes(); + + /** + *
+   * Column length.
+   * 
+ * + * int32 length = 3; + * @return The length. + */ + int getLength(); + + /** + *
+   * Column precision.
+   * 
+ * + * int32 precision = 4; + * @return The precision. + */ + int getPrecision(); + + /** + *
+   * Column scale.
+   * 
+ * + * int32 scale = 5; + * @return The scale. + */ + int getScale(); + + /** + *
+   * Whether or not the column represents a primary key.
+   * 
+ * + * bool primary_key = 7; + * @return The primaryKey. + */ + boolean getPrimaryKey(); + + /** + *
+   * Whether or not the column can accept a null value.
+   * 
+ * + * bool nullable = 8; + * @return The nullable. + */ + boolean getNullable(); + + /** + *
+   * The ordinal position of the column in the table.
+   * 
+ * + * int32 ordinal_position = 9; + * @return The ordinalPosition. + */ + int getOrdinalPosition(); +} diff --git a/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/PostgresqlProfile.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/PostgresqlProfile.java new file mode 100644 index 00000000..21d36853 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/PostgresqlProfile.java @@ -0,0 +1,1173 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datastream/v1/datastream_resources.proto + +package com.google.cloud.datastream.v1; + +/** + *
+ * PostgreSQL database profile.
+ * 
+ * + * Protobuf type {@code google.cloud.datastream.v1.PostgresqlProfile} + */ +public final class PostgresqlProfile extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1.PostgresqlProfile) + PostgresqlProfileOrBuilder { +private static final long serialVersionUID = 0L; + // Use PostgresqlProfile.newBuilder() to construct. + private PostgresqlProfile(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private PostgresqlProfile() { + hostname_ = ""; + username_ = ""; + password_ = ""; + database_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new PostgresqlProfile(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private PostgresqlProfile( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + hostname_ = s; + break; + } + case 16: { + + port_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + username_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + password_ = s; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + database_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_PostgresqlProfile_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_PostgresqlProfile_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.datastream.v1.PostgresqlProfile.class, com.google.cloud.datastream.v1.PostgresqlProfile.Builder.class); + } + + public static final int HOSTNAME_FIELD_NUMBER = 1; + private volatile java.lang.Object hostname_; + /** + *
+   * Required. Hostname for the PostgreSQL connection.
+   * 
+ * + * string hostname = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return The hostname. + */ + @java.lang.Override + public java.lang.String getHostname() { + java.lang.Object ref = hostname_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + hostname_ = s; + return s; + } + } + /** + *
+   * Required. Hostname for the PostgreSQL connection.
+   * 
+ * + * string hostname = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for hostname. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getHostnameBytes() { + java.lang.Object ref = hostname_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + hostname_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PORT_FIELD_NUMBER = 2; + private int port_; + /** + *
+   * Port for the PostgreSQL connection, default value is 5432.
+   * 
+ * + * int32 port = 2; + * @return The port. + */ + @java.lang.Override + public int getPort() { + return port_; + } + + public static final int USERNAME_FIELD_NUMBER = 3; + private volatile java.lang.Object username_; + /** + *
+   * Required. Username for the PostgreSQL connection.
+   * 
+ * + * string username = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return The username. + */ + @java.lang.Override + public java.lang.String getUsername() { + java.lang.Object ref = username_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + username_ = s; + return s; + } + } + /** + *
+   * Required. Username for the PostgreSQL connection.
+   * 
+ * + * string username = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for username. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getUsernameBytes() { + java.lang.Object ref = username_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + username_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PASSWORD_FIELD_NUMBER = 4; + private volatile java.lang.Object password_; + /** + *
+   * Required. Password for the PostgreSQL connection.
+   * 
+ * + * string password = 4 [(.google.api.field_behavior) = REQUIRED]; + * @return The password. + */ + @java.lang.Override + public java.lang.String getPassword() { + java.lang.Object ref = password_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + password_ = s; + return s; + } + } + /** + *
+   * Required. Password for the PostgreSQL connection.
+   * 
+ * + * string password = 4 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for password. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getPasswordBytes() { + java.lang.Object ref = password_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + password_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int DATABASE_FIELD_NUMBER = 5; + private volatile java.lang.Object database_; + /** + *
+   * Required. Database for the PostgreSQL connection.
+   * 
+ * + * string database = 5 [(.google.api.field_behavior) = REQUIRED]; + * @return The database. + */ + @java.lang.Override + public java.lang.String getDatabase() { + java.lang.Object ref = database_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + database_ = s; + return s; + } + } + /** + *
+   * Required. Database for the PostgreSQL connection.
+   * 
+ * + * string database = 5 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for database. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getDatabaseBytes() { + java.lang.Object ref = database_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + database_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(hostname_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, hostname_); + } + if (port_ != 0) { + output.writeInt32(2, port_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(username_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, username_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(password_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, password_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(database_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, database_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(hostname_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, hostname_); + } + if (port_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, port_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(username_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, username_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(password_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, password_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(database_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, database_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.datastream.v1.PostgresqlProfile)) { + return super.equals(obj); + } + com.google.cloud.datastream.v1.PostgresqlProfile other = (com.google.cloud.datastream.v1.PostgresqlProfile) obj; + + if (!getHostname() + .equals(other.getHostname())) return false; + if (getPort() + != other.getPort()) return false; + if (!getUsername() + .equals(other.getUsername())) return false; + if (!getPassword() + .equals(other.getPassword())) return false; + if (!getDatabase() + .equals(other.getDatabase())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + HOSTNAME_FIELD_NUMBER; + hash = (53 * hash) + getHostname().hashCode(); + hash = (37 * hash) + PORT_FIELD_NUMBER; + hash = (53 * hash) + getPort(); + hash = (37 * hash) + USERNAME_FIELD_NUMBER; + hash = (53 * hash) + getUsername().hashCode(); + hash = (37 * hash) + PASSWORD_FIELD_NUMBER; + hash = (53 * hash) + getPassword().hashCode(); + hash = (37 * hash) + DATABASE_FIELD_NUMBER; + hash = (53 * hash) + getDatabase().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.datastream.v1.PostgresqlProfile parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.datastream.v1.PostgresqlProfile 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.datastream.v1.PostgresqlProfile parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.datastream.v1.PostgresqlProfile parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.datastream.v1.PostgresqlProfile parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.datastream.v1.PostgresqlProfile parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.datastream.v1.PostgresqlProfile parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.datastream.v1.PostgresqlProfile 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.datastream.v1.PostgresqlProfile parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.datastream.v1.PostgresqlProfile parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.datastream.v1.PostgresqlProfile parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.datastream.v1.PostgresqlProfile 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 static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.datastream.v1.PostgresqlProfile prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * PostgreSQL database profile.
+   * 
+ * + * Protobuf type {@code google.cloud.datastream.v1.PostgresqlProfile} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1.PostgresqlProfile) + com.google.cloud.datastream.v1.PostgresqlProfileOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_PostgresqlProfile_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_PostgresqlProfile_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.datastream.v1.PostgresqlProfile.class, com.google.cloud.datastream.v1.PostgresqlProfile.Builder.class); + } + + // Construct using com.google.cloud.datastream.v1.PostgresqlProfile.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + hostname_ = ""; + + port_ = 0; + + username_ = ""; + + password_ = ""; + + database_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_PostgresqlProfile_descriptor; + } + + @java.lang.Override + public com.google.cloud.datastream.v1.PostgresqlProfile getDefaultInstanceForType() { + return com.google.cloud.datastream.v1.PostgresqlProfile.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.datastream.v1.PostgresqlProfile build() { + com.google.cloud.datastream.v1.PostgresqlProfile result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.datastream.v1.PostgresqlProfile buildPartial() { + com.google.cloud.datastream.v1.PostgresqlProfile result = new com.google.cloud.datastream.v1.PostgresqlProfile(this); + result.hostname_ = hostname_; + result.port_ = port_; + result.username_ = username_; + result.password_ = password_; + result.database_ = database_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.datastream.v1.PostgresqlProfile) { + return mergeFrom((com.google.cloud.datastream.v1.PostgresqlProfile)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.datastream.v1.PostgresqlProfile other) { + if (other == com.google.cloud.datastream.v1.PostgresqlProfile.getDefaultInstance()) return this; + if (!other.getHostname().isEmpty()) { + hostname_ = other.hostname_; + onChanged(); + } + if (other.getPort() != 0) { + setPort(other.getPort()); + } + if (!other.getUsername().isEmpty()) { + username_ = other.username_; + onChanged(); + } + if (!other.getPassword().isEmpty()) { + password_ = other.password_; + onChanged(); + } + if (!other.getDatabase().isEmpty()) { + database_ = other.database_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.datastream.v1.PostgresqlProfile parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.datastream.v1.PostgresqlProfile) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object hostname_ = ""; + /** + *
+     * Required. Hostname for the PostgreSQL connection.
+     * 
+ * + * string hostname = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return The hostname. + */ + public java.lang.String getHostname() { + java.lang.Object ref = hostname_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + hostname_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Required. Hostname for the PostgreSQL connection.
+     * 
+ * + * string hostname = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for hostname. + */ + public com.google.protobuf.ByteString + getHostnameBytes() { + java.lang.Object ref = hostname_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + hostname_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Required. Hostname for the PostgreSQL connection.
+     * 
+ * + * string hostname = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param value The hostname to set. + * @return This builder for chaining. + */ + public Builder setHostname( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + hostname_ = value; + onChanged(); + return this; + } + /** + *
+     * Required. Hostname for the PostgreSQL connection.
+     * 
+ * + * string hostname = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return This builder for chaining. + */ + public Builder clearHostname() { + + hostname_ = getDefaultInstance().getHostname(); + onChanged(); + return this; + } + /** + *
+     * Required. Hostname for the PostgreSQL connection.
+     * 
+ * + * string hostname = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param value The bytes for hostname to set. + * @return This builder for chaining. + */ + public Builder setHostnameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + hostname_ = value; + onChanged(); + return this; + } + + private int port_ ; + /** + *
+     * Port for the PostgreSQL connection, default value is 5432.
+     * 
+ * + * int32 port = 2; + * @return The port. + */ + @java.lang.Override + public int getPort() { + return port_; + } + /** + *
+     * Port for the PostgreSQL connection, default value is 5432.
+     * 
+ * + * int32 port = 2; + * @param value The port to set. + * @return This builder for chaining. + */ + public Builder setPort(int value) { + + port_ = value; + onChanged(); + return this; + } + /** + *
+     * Port for the PostgreSQL connection, default value is 5432.
+     * 
+ * + * int32 port = 2; + * @return This builder for chaining. + */ + public Builder clearPort() { + + port_ = 0; + onChanged(); + return this; + } + + private java.lang.Object username_ = ""; + /** + *
+     * Required. Username for the PostgreSQL connection.
+     * 
+ * + * string username = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return The username. + */ + public java.lang.String getUsername() { + java.lang.Object ref = username_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + username_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Required. Username for the PostgreSQL connection.
+     * 
+ * + * string username = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for username. + */ + public com.google.protobuf.ByteString + getUsernameBytes() { + java.lang.Object ref = username_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + username_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Required. Username for the PostgreSQL connection.
+     * 
+ * + * string username = 3 [(.google.api.field_behavior) = REQUIRED]; + * @param value The username to set. + * @return This builder for chaining. + */ + public Builder setUsername( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + username_ = value; + onChanged(); + return this; + } + /** + *
+     * Required. Username for the PostgreSQL connection.
+     * 
+ * + * string username = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return This builder for chaining. + */ + public Builder clearUsername() { + + username_ = getDefaultInstance().getUsername(); + onChanged(); + return this; + } + /** + *
+     * Required. Username for the PostgreSQL connection.
+     * 
+ * + * string username = 3 [(.google.api.field_behavior) = REQUIRED]; + * @param value The bytes for username to set. + * @return This builder for chaining. + */ + public Builder setUsernameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + username_ = value; + onChanged(); + return this; + } + + private java.lang.Object password_ = ""; + /** + *
+     * Required. Password for the PostgreSQL connection.
+     * 
+ * + * string password = 4 [(.google.api.field_behavior) = REQUIRED]; + * @return The password. + */ + public java.lang.String getPassword() { + java.lang.Object ref = password_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + password_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Required. Password for the PostgreSQL connection.
+     * 
+ * + * string password = 4 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for password. + */ + public com.google.protobuf.ByteString + getPasswordBytes() { + java.lang.Object ref = password_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + password_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Required. Password for the PostgreSQL connection.
+     * 
+ * + * string password = 4 [(.google.api.field_behavior) = REQUIRED]; + * @param value The password to set. + * @return This builder for chaining. + */ + public Builder setPassword( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + password_ = value; + onChanged(); + return this; + } + /** + *
+     * Required. Password for the PostgreSQL connection.
+     * 
+ * + * string password = 4 [(.google.api.field_behavior) = REQUIRED]; + * @return This builder for chaining. + */ + public Builder clearPassword() { + + password_ = getDefaultInstance().getPassword(); + onChanged(); + return this; + } + /** + *
+     * Required. Password for the PostgreSQL connection.
+     * 
+ * + * string password = 4 [(.google.api.field_behavior) = REQUIRED]; + * @param value The bytes for password to set. + * @return This builder for chaining. + */ + public Builder setPasswordBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + password_ = value; + onChanged(); + return this; + } + + private java.lang.Object database_ = ""; + /** + *
+     * Required. Database for the PostgreSQL connection.
+     * 
+ * + * string database = 5 [(.google.api.field_behavior) = REQUIRED]; + * @return The database. + */ + public java.lang.String getDatabase() { + java.lang.Object ref = database_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + database_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Required. Database for the PostgreSQL connection.
+     * 
+ * + * string database = 5 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for database. + */ + public com.google.protobuf.ByteString + getDatabaseBytes() { + java.lang.Object ref = database_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + database_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Required. Database for the PostgreSQL connection.
+     * 
+ * + * string database = 5 [(.google.api.field_behavior) = REQUIRED]; + * @param value The database to set. + * @return This builder for chaining. + */ + public Builder setDatabase( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + database_ = value; + onChanged(); + return this; + } + /** + *
+     * Required. Database for the PostgreSQL connection.
+     * 
+ * + * string database = 5 [(.google.api.field_behavior) = REQUIRED]; + * @return This builder for chaining. + */ + public Builder clearDatabase() { + + database_ = getDefaultInstance().getDatabase(); + onChanged(); + return this; + } + /** + *
+     * Required. Database for the PostgreSQL connection.
+     * 
+ * + * string database = 5 [(.google.api.field_behavior) = REQUIRED]; + * @param value The bytes for database to set. + * @return This builder for chaining. + */ + public Builder setDatabaseBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + database_ = value; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1.PostgresqlProfile) + } + + // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1.PostgresqlProfile) + private static final com.google.cloud.datastream.v1.PostgresqlProfile DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.datastream.v1.PostgresqlProfile(); + } + + public static com.google.cloud.datastream.v1.PostgresqlProfile getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PostgresqlProfile parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PostgresqlProfile(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.datastream.v1.PostgresqlProfile getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/PostgresqlProfileOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/PostgresqlProfileOrBuilder.java new file mode 100644 index 00000000..523c79a8 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/PostgresqlProfileOrBuilder.java @@ -0,0 +1,99 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datastream/v1/datastream_resources.proto + +package com.google.cloud.datastream.v1; + +public interface PostgresqlProfileOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1.PostgresqlProfile) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. Hostname for the PostgreSQL connection.
+   * 
+ * + * string hostname = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return The hostname. + */ + java.lang.String getHostname(); + /** + *
+   * Required. Hostname for the PostgreSQL connection.
+   * 
+ * + * string hostname = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for hostname. + */ + com.google.protobuf.ByteString + getHostnameBytes(); + + /** + *
+   * Port for the PostgreSQL connection, default value is 5432.
+   * 
+ * + * int32 port = 2; + * @return The port. + */ + int getPort(); + + /** + *
+   * Required. Username for the PostgreSQL connection.
+   * 
+ * + * string username = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return The username. + */ + java.lang.String getUsername(); + /** + *
+   * Required. Username for the PostgreSQL connection.
+   * 
+ * + * string username = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for username. + */ + com.google.protobuf.ByteString + getUsernameBytes(); + + /** + *
+   * Required. Password for the PostgreSQL connection.
+   * 
+ * + * string password = 4 [(.google.api.field_behavior) = REQUIRED]; + * @return The password. + */ + java.lang.String getPassword(); + /** + *
+   * Required. Password for the PostgreSQL connection.
+   * 
+ * + * string password = 4 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for password. + */ + com.google.protobuf.ByteString + getPasswordBytes(); + + /** + *
+   * Required. Database for the PostgreSQL connection.
+   * 
+ * + * string database = 5 [(.google.api.field_behavior) = REQUIRED]; + * @return The database. + */ + java.lang.String getDatabase(); + /** + *
+   * Required. Database for the PostgreSQL connection.
+   * 
+ * + * string database = 5 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for database. + */ + com.google.protobuf.ByteString + getDatabaseBytes(); +} diff --git a/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/PostgresqlRdbms.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/PostgresqlRdbms.java new file mode 100644 index 00000000..60744f88 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/PostgresqlRdbms.java @@ -0,0 +1,872 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datastream/v1/datastream_resources.proto + +package com.google.cloud.datastream.v1; + +/** + *
+ * PostgreSQL database structure.
+ * 
+ * + * Protobuf type {@code google.cloud.datastream.v1.PostgresqlRdbms} + */ +public final class PostgresqlRdbms extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1.PostgresqlRdbms) + PostgresqlRdbmsOrBuilder { +private static final long serialVersionUID = 0L; + // Use PostgresqlRdbms.newBuilder() to construct. + private PostgresqlRdbms(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private PostgresqlRdbms() { + postgresqlSchemas_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new PostgresqlRdbms(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private PostgresqlRdbms( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + postgresqlSchemas_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + postgresqlSchemas_.add( + input.readMessage(com.google.cloud.datastream.v1.PostgresqlSchema.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + postgresqlSchemas_ = java.util.Collections.unmodifiableList(postgresqlSchemas_); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_PostgresqlRdbms_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_PostgresqlRdbms_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.datastream.v1.PostgresqlRdbms.class, com.google.cloud.datastream.v1.PostgresqlRdbms.Builder.class); + } + + public static final int POSTGRESQL_SCHEMAS_FIELD_NUMBER = 1; + private java.util.List postgresqlSchemas_; + /** + *
+   * PostgreSQL schemas in the database server.
+   * 
+ * + * repeated .google.cloud.datastream.v1.PostgresqlSchema postgresql_schemas = 1; + */ + @java.lang.Override + public java.util.List getPostgresqlSchemasList() { + return postgresqlSchemas_; + } + /** + *
+   * PostgreSQL schemas in the database server.
+   * 
+ * + * repeated .google.cloud.datastream.v1.PostgresqlSchema postgresql_schemas = 1; + */ + @java.lang.Override + public java.util.List + getPostgresqlSchemasOrBuilderList() { + return postgresqlSchemas_; + } + /** + *
+   * PostgreSQL schemas in the database server.
+   * 
+ * + * repeated .google.cloud.datastream.v1.PostgresqlSchema postgresql_schemas = 1; + */ + @java.lang.Override + public int getPostgresqlSchemasCount() { + return postgresqlSchemas_.size(); + } + /** + *
+   * PostgreSQL schemas in the database server.
+   * 
+ * + * repeated .google.cloud.datastream.v1.PostgresqlSchema postgresql_schemas = 1; + */ + @java.lang.Override + public com.google.cloud.datastream.v1.PostgresqlSchema getPostgresqlSchemas(int index) { + return postgresqlSchemas_.get(index); + } + /** + *
+   * PostgreSQL schemas in the database server.
+   * 
+ * + * repeated .google.cloud.datastream.v1.PostgresqlSchema postgresql_schemas = 1; + */ + @java.lang.Override + public com.google.cloud.datastream.v1.PostgresqlSchemaOrBuilder getPostgresqlSchemasOrBuilder( + int index) { + return postgresqlSchemas_.get(index); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + for (int i = 0; i < postgresqlSchemas_.size(); i++) { + output.writeMessage(1, postgresqlSchemas_.get(i)); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < postgresqlSchemas_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, postgresqlSchemas_.get(i)); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.datastream.v1.PostgresqlRdbms)) { + return super.equals(obj); + } + com.google.cloud.datastream.v1.PostgresqlRdbms other = (com.google.cloud.datastream.v1.PostgresqlRdbms) obj; + + if (!getPostgresqlSchemasList() + .equals(other.getPostgresqlSchemasList())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getPostgresqlSchemasCount() > 0) { + hash = (37 * hash) + POSTGRESQL_SCHEMAS_FIELD_NUMBER; + hash = (53 * hash) + getPostgresqlSchemasList().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.datastream.v1.PostgresqlRdbms parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.datastream.v1.PostgresqlRdbms 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.datastream.v1.PostgresqlRdbms parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.datastream.v1.PostgresqlRdbms parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.datastream.v1.PostgresqlRdbms parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.datastream.v1.PostgresqlRdbms parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.datastream.v1.PostgresqlRdbms parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.datastream.v1.PostgresqlRdbms 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.datastream.v1.PostgresqlRdbms parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.datastream.v1.PostgresqlRdbms parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.datastream.v1.PostgresqlRdbms parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.datastream.v1.PostgresqlRdbms 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 static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.datastream.v1.PostgresqlRdbms prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * PostgreSQL database structure.
+   * 
+ * + * Protobuf type {@code google.cloud.datastream.v1.PostgresqlRdbms} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1.PostgresqlRdbms) + com.google.cloud.datastream.v1.PostgresqlRdbmsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_PostgresqlRdbms_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_PostgresqlRdbms_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.datastream.v1.PostgresqlRdbms.class, com.google.cloud.datastream.v1.PostgresqlRdbms.Builder.class); + } + + // Construct using com.google.cloud.datastream.v1.PostgresqlRdbms.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + getPostgresqlSchemasFieldBuilder(); + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (postgresqlSchemasBuilder_ == null) { + postgresqlSchemas_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + } else { + postgresqlSchemasBuilder_.clear(); + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_PostgresqlRdbms_descriptor; + } + + @java.lang.Override + public com.google.cloud.datastream.v1.PostgresqlRdbms getDefaultInstanceForType() { + return com.google.cloud.datastream.v1.PostgresqlRdbms.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.datastream.v1.PostgresqlRdbms build() { + com.google.cloud.datastream.v1.PostgresqlRdbms result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.datastream.v1.PostgresqlRdbms buildPartial() { + com.google.cloud.datastream.v1.PostgresqlRdbms result = new com.google.cloud.datastream.v1.PostgresqlRdbms(this); + int from_bitField0_ = bitField0_; + if (postgresqlSchemasBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + postgresqlSchemas_ = java.util.Collections.unmodifiableList(postgresqlSchemas_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.postgresqlSchemas_ = postgresqlSchemas_; + } else { + result.postgresqlSchemas_ = postgresqlSchemasBuilder_.build(); + } + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.datastream.v1.PostgresqlRdbms) { + return mergeFrom((com.google.cloud.datastream.v1.PostgresqlRdbms)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.datastream.v1.PostgresqlRdbms other) { + if (other == com.google.cloud.datastream.v1.PostgresqlRdbms.getDefaultInstance()) return this; + if (postgresqlSchemasBuilder_ == null) { + if (!other.postgresqlSchemas_.isEmpty()) { + if (postgresqlSchemas_.isEmpty()) { + postgresqlSchemas_ = other.postgresqlSchemas_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensurePostgresqlSchemasIsMutable(); + postgresqlSchemas_.addAll(other.postgresqlSchemas_); + } + onChanged(); + } + } else { + if (!other.postgresqlSchemas_.isEmpty()) { + if (postgresqlSchemasBuilder_.isEmpty()) { + postgresqlSchemasBuilder_.dispose(); + postgresqlSchemasBuilder_ = null; + postgresqlSchemas_ = other.postgresqlSchemas_; + bitField0_ = (bitField0_ & ~0x00000001); + postgresqlSchemasBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getPostgresqlSchemasFieldBuilder() : null; + } else { + postgresqlSchemasBuilder_.addAllMessages(other.postgresqlSchemas_); + } + } + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.datastream.v1.PostgresqlRdbms parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.datastream.v1.PostgresqlRdbms) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + private java.util.List postgresqlSchemas_ = + java.util.Collections.emptyList(); + private void ensurePostgresqlSchemasIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + postgresqlSchemas_ = new java.util.ArrayList(postgresqlSchemas_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datastream.v1.PostgresqlSchema, com.google.cloud.datastream.v1.PostgresqlSchema.Builder, com.google.cloud.datastream.v1.PostgresqlSchemaOrBuilder> postgresqlSchemasBuilder_; + + /** + *
+     * PostgreSQL schemas in the database server.
+     * 
+ * + * repeated .google.cloud.datastream.v1.PostgresqlSchema postgresql_schemas = 1; + */ + public java.util.List getPostgresqlSchemasList() { + if (postgresqlSchemasBuilder_ == null) { + return java.util.Collections.unmodifiableList(postgresqlSchemas_); + } else { + return postgresqlSchemasBuilder_.getMessageList(); + } + } + /** + *
+     * PostgreSQL schemas in the database server.
+     * 
+ * + * repeated .google.cloud.datastream.v1.PostgresqlSchema postgresql_schemas = 1; + */ + public int getPostgresqlSchemasCount() { + if (postgresqlSchemasBuilder_ == null) { + return postgresqlSchemas_.size(); + } else { + return postgresqlSchemasBuilder_.getCount(); + } + } + /** + *
+     * PostgreSQL schemas in the database server.
+     * 
+ * + * repeated .google.cloud.datastream.v1.PostgresqlSchema postgresql_schemas = 1; + */ + public com.google.cloud.datastream.v1.PostgresqlSchema getPostgresqlSchemas(int index) { + if (postgresqlSchemasBuilder_ == null) { + return postgresqlSchemas_.get(index); + } else { + return postgresqlSchemasBuilder_.getMessage(index); + } + } + /** + *
+     * PostgreSQL schemas in the database server.
+     * 
+ * + * repeated .google.cloud.datastream.v1.PostgresqlSchema postgresql_schemas = 1; + */ + public Builder setPostgresqlSchemas( + int index, com.google.cloud.datastream.v1.PostgresqlSchema value) { + if (postgresqlSchemasBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensurePostgresqlSchemasIsMutable(); + postgresqlSchemas_.set(index, value); + onChanged(); + } else { + postgresqlSchemasBuilder_.setMessage(index, value); + } + return this; + } + /** + *
+     * PostgreSQL schemas in the database server.
+     * 
+ * + * repeated .google.cloud.datastream.v1.PostgresqlSchema postgresql_schemas = 1; + */ + public Builder setPostgresqlSchemas( + int index, com.google.cloud.datastream.v1.PostgresqlSchema.Builder builderForValue) { + if (postgresqlSchemasBuilder_ == null) { + ensurePostgresqlSchemasIsMutable(); + postgresqlSchemas_.set(index, builderForValue.build()); + onChanged(); + } else { + postgresqlSchemasBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+     * PostgreSQL schemas in the database server.
+     * 
+ * + * repeated .google.cloud.datastream.v1.PostgresqlSchema postgresql_schemas = 1; + */ + public Builder addPostgresqlSchemas(com.google.cloud.datastream.v1.PostgresqlSchema value) { + if (postgresqlSchemasBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensurePostgresqlSchemasIsMutable(); + postgresqlSchemas_.add(value); + onChanged(); + } else { + postgresqlSchemasBuilder_.addMessage(value); + } + return this; + } + /** + *
+     * PostgreSQL schemas in the database server.
+     * 
+ * + * repeated .google.cloud.datastream.v1.PostgresqlSchema postgresql_schemas = 1; + */ + public Builder addPostgresqlSchemas( + int index, com.google.cloud.datastream.v1.PostgresqlSchema value) { + if (postgresqlSchemasBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensurePostgresqlSchemasIsMutable(); + postgresqlSchemas_.add(index, value); + onChanged(); + } else { + postgresqlSchemasBuilder_.addMessage(index, value); + } + return this; + } + /** + *
+     * PostgreSQL schemas in the database server.
+     * 
+ * + * repeated .google.cloud.datastream.v1.PostgresqlSchema postgresql_schemas = 1; + */ + public Builder addPostgresqlSchemas( + com.google.cloud.datastream.v1.PostgresqlSchema.Builder builderForValue) { + if (postgresqlSchemasBuilder_ == null) { + ensurePostgresqlSchemasIsMutable(); + postgresqlSchemas_.add(builderForValue.build()); + onChanged(); + } else { + postgresqlSchemasBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + *
+     * PostgreSQL schemas in the database server.
+     * 
+ * + * repeated .google.cloud.datastream.v1.PostgresqlSchema postgresql_schemas = 1; + */ + public Builder addPostgresqlSchemas( + int index, com.google.cloud.datastream.v1.PostgresqlSchema.Builder builderForValue) { + if (postgresqlSchemasBuilder_ == null) { + ensurePostgresqlSchemasIsMutable(); + postgresqlSchemas_.add(index, builderForValue.build()); + onChanged(); + } else { + postgresqlSchemasBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+     * PostgreSQL schemas in the database server.
+     * 
+ * + * repeated .google.cloud.datastream.v1.PostgresqlSchema postgresql_schemas = 1; + */ + public Builder addAllPostgresqlSchemas( + java.lang.Iterable values) { + if (postgresqlSchemasBuilder_ == null) { + ensurePostgresqlSchemasIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, postgresqlSchemas_); + onChanged(); + } else { + postgresqlSchemasBuilder_.addAllMessages(values); + } + return this; + } + /** + *
+     * PostgreSQL schemas in the database server.
+     * 
+ * + * repeated .google.cloud.datastream.v1.PostgresqlSchema postgresql_schemas = 1; + */ + public Builder clearPostgresqlSchemas() { + if (postgresqlSchemasBuilder_ == null) { + postgresqlSchemas_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + postgresqlSchemasBuilder_.clear(); + } + return this; + } + /** + *
+     * PostgreSQL schemas in the database server.
+     * 
+ * + * repeated .google.cloud.datastream.v1.PostgresqlSchema postgresql_schemas = 1; + */ + public Builder removePostgresqlSchemas(int index) { + if (postgresqlSchemasBuilder_ == null) { + ensurePostgresqlSchemasIsMutable(); + postgresqlSchemas_.remove(index); + onChanged(); + } else { + postgresqlSchemasBuilder_.remove(index); + } + return this; + } + /** + *
+     * PostgreSQL schemas in the database server.
+     * 
+ * + * repeated .google.cloud.datastream.v1.PostgresqlSchema postgresql_schemas = 1; + */ + public com.google.cloud.datastream.v1.PostgresqlSchema.Builder getPostgresqlSchemasBuilder( + int index) { + return getPostgresqlSchemasFieldBuilder().getBuilder(index); + } + /** + *
+     * PostgreSQL schemas in the database server.
+     * 
+ * + * repeated .google.cloud.datastream.v1.PostgresqlSchema postgresql_schemas = 1; + */ + public com.google.cloud.datastream.v1.PostgresqlSchemaOrBuilder getPostgresqlSchemasOrBuilder( + int index) { + if (postgresqlSchemasBuilder_ == null) { + return postgresqlSchemas_.get(index); } else { + return postgresqlSchemasBuilder_.getMessageOrBuilder(index); + } + } + /** + *
+     * PostgreSQL schemas in the database server.
+     * 
+ * + * repeated .google.cloud.datastream.v1.PostgresqlSchema postgresql_schemas = 1; + */ + public java.util.List + getPostgresqlSchemasOrBuilderList() { + if (postgresqlSchemasBuilder_ != null) { + return postgresqlSchemasBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(postgresqlSchemas_); + } + } + /** + *
+     * PostgreSQL schemas in the database server.
+     * 
+ * + * repeated .google.cloud.datastream.v1.PostgresqlSchema postgresql_schemas = 1; + */ + public com.google.cloud.datastream.v1.PostgresqlSchema.Builder addPostgresqlSchemasBuilder() { + return getPostgresqlSchemasFieldBuilder().addBuilder( + com.google.cloud.datastream.v1.PostgresqlSchema.getDefaultInstance()); + } + /** + *
+     * PostgreSQL schemas in the database server.
+     * 
+ * + * repeated .google.cloud.datastream.v1.PostgresqlSchema postgresql_schemas = 1; + */ + public com.google.cloud.datastream.v1.PostgresqlSchema.Builder addPostgresqlSchemasBuilder( + int index) { + return getPostgresqlSchemasFieldBuilder().addBuilder( + index, com.google.cloud.datastream.v1.PostgresqlSchema.getDefaultInstance()); + } + /** + *
+     * PostgreSQL schemas in the database server.
+     * 
+ * + * repeated .google.cloud.datastream.v1.PostgresqlSchema postgresql_schemas = 1; + */ + public java.util.List + getPostgresqlSchemasBuilderList() { + return getPostgresqlSchemasFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datastream.v1.PostgresqlSchema, com.google.cloud.datastream.v1.PostgresqlSchema.Builder, com.google.cloud.datastream.v1.PostgresqlSchemaOrBuilder> + getPostgresqlSchemasFieldBuilder() { + if (postgresqlSchemasBuilder_ == null) { + postgresqlSchemasBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datastream.v1.PostgresqlSchema, com.google.cloud.datastream.v1.PostgresqlSchema.Builder, com.google.cloud.datastream.v1.PostgresqlSchemaOrBuilder>( + postgresqlSchemas_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + postgresqlSchemas_ = null; + } + return postgresqlSchemasBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1.PostgresqlRdbms) + } + + // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1.PostgresqlRdbms) + private static final com.google.cloud.datastream.v1.PostgresqlRdbms DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.datastream.v1.PostgresqlRdbms(); + } + + public static com.google.cloud.datastream.v1.PostgresqlRdbms getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PostgresqlRdbms parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PostgresqlRdbms(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.datastream.v1.PostgresqlRdbms getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/PostgresqlRdbmsOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/PostgresqlRdbmsOrBuilder.java new file mode 100644 index 00000000..96f0141c --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/PostgresqlRdbmsOrBuilder.java @@ -0,0 +1,53 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datastream/v1/datastream_resources.proto + +package com.google.cloud.datastream.v1; + +public interface PostgresqlRdbmsOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1.PostgresqlRdbms) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * PostgreSQL schemas in the database server.
+   * 
+ * + * repeated .google.cloud.datastream.v1.PostgresqlSchema postgresql_schemas = 1; + */ + java.util.List + getPostgresqlSchemasList(); + /** + *
+   * PostgreSQL schemas in the database server.
+   * 
+ * + * repeated .google.cloud.datastream.v1.PostgresqlSchema postgresql_schemas = 1; + */ + com.google.cloud.datastream.v1.PostgresqlSchema getPostgresqlSchemas(int index); + /** + *
+   * PostgreSQL schemas in the database server.
+   * 
+ * + * repeated .google.cloud.datastream.v1.PostgresqlSchema postgresql_schemas = 1; + */ + int getPostgresqlSchemasCount(); + /** + *
+   * PostgreSQL schemas in the database server.
+   * 
+ * + * repeated .google.cloud.datastream.v1.PostgresqlSchema postgresql_schemas = 1; + */ + java.util.List + getPostgresqlSchemasOrBuilderList(); + /** + *
+   * PostgreSQL schemas in the database server.
+   * 
+ * + * repeated .google.cloud.datastream.v1.PostgresqlSchema postgresql_schemas = 1; + */ + com.google.cloud.datastream.v1.PostgresqlSchemaOrBuilder getPostgresqlSchemasOrBuilder( + int index); +} diff --git a/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/PostgresqlSchema.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/PostgresqlSchema.java new file mode 100644 index 00000000..0debe175 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/PostgresqlSchema.java @@ -0,0 +1,1038 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datastream/v1/datastream_resources.proto + +package com.google.cloud.datastream.v1; + +/** + *
+ * PostgreSQL schema.
+ * 
+ * + * Protobuf type {@code google.cloud.datastream.v1.PostgresqlSchema} + */ +public final class PostgresqlSchema extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1.PostgresqlSchema) + PostgresqlSchemaOrBuilder { +private static final long serialVersionUID = 0L; + // Use PostgresqlSchema.newBuilder() to construct. + private PostgresqlSchema(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private PostgresqlSchema() { + schema_ = ""; + postgresqlTables_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new PostgresqlSchema(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private PostgresqlSchema( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + schema_ = s; + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + postgresqlTables_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + postgresqlTables_.add( + input.readMessage(com.google.cloud.datastream.v1.PostgresqlTable.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + postgresqlTables_ = java.util.Collections.unmodifiableList(postgresqlTables_); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_PostgresqlSchema_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_PostgresqlSchema_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.datastream.v1.PostgresqlSchema.class, com.google.cloud.datastream.v1.PostgresqlSchema.Builder.class); + } + + public static final int SCHEMA_FIELD_NUMBER = 1; + private volatile java.lang.Object schema_; + /** + *
+   * Schema name.
+   * 
+ * + * string schema = 1; + * @return The schema. + */ + @java.lang.Override + public java.lang.String getSchema() { + java.lang.Object ref = schema_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + schema_ = s; + return s; + } + } + /** + *
+   * Schema name.
+   * 
+ * + * string schema = 1; + * @return The bytes for schema. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getSchemaBytes() { + java.lang.Object ref = schema_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + schema_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int POSTGRESQL_TABLES_FIELD_NUMBER = 2; + private java.util.List postgresqlTables_; + /** + *
+   * Tables in the schema.
+   * 
+ * + * repeated .google.cloud.datastream.v1.PostgresqlTable postgresql_tables = 2; + */ + @java.lang.Override + public java.util.List getPostgresqlTablesList() { + return postgresqlTables_; + } + /** + *
+   * Tables in the schema.
+   * 
+ * + * repeated .google.cloud.datastream.v1.PostgresqlTable postgresql_tables = 2; + */ + @java.lang.Override + public java.util.List + getPostgresqlTablesOrBuilderList() { + return postgresqlTables_; + } + /** + *
+   * Tables in the schema.
+   * 
+ * + * repeated .google.cloud.datastream.v1.PostgresqlTable postgresql_tables = 2; + */ + @java.lang.Override + public int getPostgresqlTablesCount() { + return postgresqlTables_.size(); + } + /** + *
+   * Tables in the schema.
+   * 
+ * + * repeated .google.cloud.datastream.v1.PostgresqlTable postgresql_tables = 2; + */ + @java.lang.Override + public com.google.cloud.datastream.v1.PostgresqlTable getPostgresqlTables(int index) { + return postgresqlTables_.get(index); + } + /** + *
+   * Tables in the schema.
+   * 
+ * + * repeated .google.cloud.datastream.v1.PostgresqlTable postgresql_tables = 2; + */ + @java.lang.Override + public com.google.cloud.datastream.v1.PostgresqlTableOrBuilder getPostgresqlTablesOrBuilder( + int index) { + return postgresqlTables_.get(index); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schema_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, schema_); + } + for (int i = 0; i < postgresqlTables_.size(); i++) { + output.writeMessage(2, postgresqlTables_.get(i)); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schema_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, schema_); + } + for (int i = 0; i < postgresqlTables_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, postgresqlTables_.get(i)); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.datastream.v1.PostgresqlSchema)) { + return super.equals(obj); + } + com.google.cloud.datastream.v1.PostgresqlSchema other = (com.google.cloud.datastream.v1.PostgresqlSchema) obj; + + if (!getSchema() + .equals(other.getSchema())) return false; + if (!getPostgresqlTablesList() + .equals(other.getPostgresqlTablesList())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + SCHEMA_FIELD_NUMBER; + hash = (53 * hash) + getSchema().hashCode(); + if (getPostgresqlTablesCount() > 0) { + hash = (37 * hash) + POSTGRESQL_TABLES_FIELD_NUMBER; + hash = (53 * hash) + getPostgresqlTablesList().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.datastream.v1.PostgresqlSchema parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.datastream.v1.PostgresqlSchema 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.datastream.v1.PostgresqlSchema parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.datastream.v1.PostgresqlSchema parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.datastream.v1.PostgresqlSchema parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.datastream.v1.PostgresqlSchema parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.datastream.v1.PostgresqlSchema parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.datastream.v1.PostgresqlSchema 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.datastream.v1.PostgresqlSchema parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.datastream.v1.PostgresqlSchema parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.datastream.v1.PostgresqlSchema parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.datastream.v1.PostgresqlSchema 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 static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.datastream.v1.PostgresqlSchema prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * PostgreSQL schema.
+   * 
+ * + * Protobuf type {@code google.cloud.datastream.v1.PostgresqlSchema} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1.PostgresqlSchema) + com.google.cloud.datastream.v1.PostgresqlSchemaOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_PostgresqlSchema_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_PostgresqlSchema_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.datastream.v1.PostgresqlSchema.class, com.google.cloud.datastream.v1.PostgresqlSchema.Builder.class); + } + + // Construct using com.google.cloud.datastream.v1.PostgresqlSchema.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + getPostgresqlTablesFieldBuilder(); + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + schema_ = ""; + + if (postgresqlTablesBuilder_ == null) { + postgresqlTables_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + } else { + postgresqlTablesBuilder_.clear(); + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_PostgresqlSchema_descriptor; + } + + @java.lang.Override + public com.google.cloud.datastream.v1.PostgresqlSchema getDefaultInstanceForType() { + return com.google.cloud.datastream.v1.PostgresqlSchema.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.datastream.v1.PostgresqlSchema build() { + com.google.cloud.datastream.v1.PostgresqlSchema result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.datastream.v1.PostgresqlSchema buildPartial() { + com.google.cloud.datastream.v1.PostgresqlSchema result = new com.google.cloud.datastream.v1.PostgresqlSchema(this); + int from_bitField0_ = bitField0_; + result.schema_ = schema_; + if (postgresqlTablesBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + postgresqlTables_ = java.util.Collections.unmodifiableList(postgresqlTables_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.postgresqlTables_ = postgresqlTables_; + } else { + result.postgresqlTables_ = postgresqlTablesBuilder_.build(); + } + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.datastream.v1.PostgresqlSchema) { + return mergeFrom((com.google.cloud.datastream.v1.PostgresqlSchema)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.datastream.v1.PostgresqlSchema other) { + if (other == com.google.cloud.datastream.v1.PostgresqlSchema.getDefaultInstance()) return this; + if (!other.getSchema().isEmpty()) { + schema_ = other.schema_; + onChanged(); + } + if (postgresqlTablesBuilder_ == null) { + if (!other.postgresqlTables_.isEmpty()) { + if (postgresqlTables_.isEmpty()) { + postgresqlTables_ = other.postgresqlTables_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensurePostgresqlTablesIsMutable(); + postgresqlTables_.addAll(other.postgresqlTables_); + } + onChanged(); + } + } else { + if (!other.postgresqlTables_.isEmpty()) { + if (postgresqlTablesBuilder_.isEmpty()) { + postgresqlTablesBuilder_.dispose(); + postgresqlTablesBuilder_ = null; + postgresqlTables_ = other.postgresqlTables_; + bitField0_ = (bitField0_ & ~0x00000001); + postgresqlTablesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getPostgresqlTablesFieldBuilder() : null; + } else { + postgresqlTablesBuilder_.addAllMessages(other.postgresqlTables_); + } + } + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.datastream.v1.PostgresqlSchema parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.datastream.v1.PostgresqlSchema) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + private java.lang.Object schema_ = ""; + /** + *
+     * Schema name.
+     * 
+ * + * string schema = 1; + * @return The schema. + */ + public java.lang.String getSchema() { + java.lang.Object ref = schema_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + schema_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Schema name.
+     * 
+ * + * string schema = 1; + * @return The bytes for schema. + */ + public com.google.protobuf.ByteString + getSchemaBytes() { + java.lang.Object ref = schema_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + schema_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Schema name.
+     * 
+ * + * string schema = 1; + * @param value The schema to set. + * @return This builder for chaining. + */ + public Builder setSchema( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + schema_ = value; + onChanged(); + return this; + } + /** + *
+     * Schema name.
+     * 
+ * + * string schema = 1; + * @return This builder for chaining. + */ + public Builder clearSchema() { + + schema_ = getDefaultInstance().getSchema(); + onChanged(); + return this; + } + /** + *
+     * Schema name.
+     * 
+ * + * string schema = 1; + * @param value The bytes for schema to set. + * @return This builder for chaining. + */ + public Builder setSchemaBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + schema_ = value; + onChanged(); + return this; + } + + private java.util.List postgresqlTables_ = + java.util.Collections.emptyList(); + private void ensurePostgresqlTablesIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + postgresqlTables_ = new java.util.ArrayList(postgresqlTables_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datastream.v1.PostgresqlTable, com.google.cloud.datastream.v1.PostgresqlTable.Builder, com.google.cloud.datastream.v1.PostgresqlTableOrBuilder> postgresqlTablesBuilder_; + + /** + *
+     * Tables in the schema.
+     * 
+ * + * repeated .google.cloud.datastream.v1.PostgresqlTable postgresql_tables = 2; + */ + public java.util.List getPostgresqlTablesList() { + if (postgresqlTablesBuilder_ == null) { + return java.util.Collections.unmodifiableList(postgresqlTables_); + } else { + return postgresqlTablesBuilder_.getMessageList(); + } + } + /** + *
+     * Tables in the schema.
+     * 
+ * + * repeated .google.cloud.datastream.v1.PostgresqlTable postgresql_tables = 2; + */ + public int getPostgresqlTablesCount() { + if (postgresqlTablesBuilder_ == null) { + return postgresqlTables_.size(); + } else { + return postgresqlTablesBuilder_.getCount(); + } + } + /** + *
+     * Tables in the schema.
+     * 
+ * + * repeated .google.cloud.datastream.v1.PostgresqlTable postgresql_tables = 2; + */ + public com.google.cloud.datastream.v1.PostgresqlTable getPostgresqlTables(int index) { + if (postgresqlTablesBuilder_ == null) { + return postgresqlTables_.get(index); + } else { + return postgresqlTablesBuilder_.getMessage(index); + } + } + /** + *
+     * Tables in the schema.
+     * 
+ * + * repeated .google.cloud.datastream.v1.PostgresqlTable postgresql_tables = 2; + */ + public Builder setPostgresqlTables( + int index, com.google.cloud.datastream.v1.PostgresqlTable value) { + if (postgresqlTablesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensurePostgresqlTablesIsMutable(); + postgresqlTables_.set(index, value); + onChanged(); + } else { + postgresqlTablesBuilder_.setMessage(index, value); + } + return this; + } + /** + *
+     * Tables in the schema.
+     * 
+ * + * repeated .google.cloud.datastream.v1.PostgresqlTable postgresql_tables = 2; + */ + public Builder setPostgresqlTables( + int index, com.google.cloud.datastream.v1.PostgresqlTable.Builder builderForValue) { + if (postgresqlTablesBuilder_ == null) { + ensurePostgresqlTablesIsMutable(); + postgresqlTables_.set(index, builderForValue.build()); + onChanged(); + } else { + postgresqlTablesBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+     * Tables in the schema.
+     * 
+ * + * repeated .google.cloud.datastream.v1.PostgresqlTable postgresql_tables = 2; + */ + public Builder addPostgresqlTables(com.google.cloud.datastream.v1.PostgresqlTable value) { + if (postgresqlTablesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensurePostgresqlTablesIsMutable(); + postgresqlTables_.add(value); + onChanged(); + } else { + postgresqlTablesBuilder_.addMessage(value); + } + return this; + } + /** + *
+     * Tables in the schema.
+     * 
+ * + * repeated .google.cloud.datastream.v1.PostgresqlTable postgresql_tables = 2; + */ + public Builder addPostgresqlTables( + int index, com.google.cloud.datastream.v1.PostgresqlTable value) { + if (postgresqlTablesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensurePostgresqlTablesIsMutable(); + postgresqlTables_.add(index, value); + onChanged(); + } else { + postgresqlTablesBuilder_.addMessage(index, value); + } + return this; + } + /** + *
+     * Tables in the schema.
+     * 
+ * + * repeated .google.cloud.datastream.v1.PostgresqlTable postgresql_tables = 2; + */ + public Builder addPostgresqlTables( + com.google.cloud.datastream.v1.PostgresqlTable.Builder builderForValue) { + if (postgresqlTablesBuilder_ == null) { + ensurePostgresqlTablesIsMutable(); + postgresqlTables_.add(builderForValue.build()); + onChanged(); + } else { + postgresqlTablesBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + *
+     * Tables in the schema.
+     * 
+ * + * repeated .google.cloud.datastream.v1.PostgresqlTable postgresql_tables = 2; + */ + public Builder addPostgresqlTables( + int index, com.google.cloud.datastream.v1.PostgresqlTable.Builder builderForValue) { + if (postgresqlTablesBuilder_ == null) { + ensurePostgresqlTablesIsMutable(); + postgresqlTables_.add(index, builderForValue.build()); + onChanged(); + } else { + postgresqlTablesBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+     * Tables in the schema.
+     * 
+ * + * repeated .google.cloud.datastream.v1.PostgresqlTable postgresql_tables = 2; + */ + public Builder addAllPostgresqlTables( + java.lang.Iterable values) { + if (postgresqlTablesBuilder_ == null) { + ensurePostgresqlTablesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, postgresqlTables_); + onChanged(); + } else { + postgresqlTablesBuilder_.addAllMessages(values); + } + return this; + } + /** + *
+     * Tables in the schema.
+     * 
+ * + * repeated .google.cloud.datastream.v1.PostgresqlTable postgresql_tables = 2; + */ + public Builder clearPostgresqlTables() { + if (postgresqlTablesBuilder_ == null) { + postgresqlTables_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + postgresqlTablesBuilder_.clear(); + } + return this; + } + /** + *
+     * Tables in the schema.
+     * 
+ * + * repeated .google.cloud.datastream.v1.PostgresqlTable postgresql_tables = 2; + */ + public Builder removePostgresqlTables(int index) { + if (postgresqlTablesBuilder_ == null) { + ensurePostgresqlTablesIsMutable(); + postgresqlTables_.remove(index); + onChanged(); + } else { + postgresqlTablesBuilder_.remove(index); + } + return this; + } + /** + *
+     * Tables in the schema.
+     * 
+ * + * repeated .google.cloud.datastream.v1.PostgresqlTable postgresql_tables = 2; + */ + public com.google.cloud.datastream.v1.PostgresqlTable.Builder getPostgresqlTablesBuilder( + int index) { + return getPostgresqlTablesFieldBuilder().getBuilder(index); + } + /** + *
+     * Tables in the schema.
+     * 
+ * + * repeated .google.cloud.datastream.v1.PostgresqlTable postgresql_tables = 2; + */ + public com.google.cloud.datastream.v1.PostgresqlTableOrBuilder getPostgresqlTablesOrBuilder( + int index) { + if (postgresqlTablesBuilder_ == null) { + return postgresqlTables_.get(index); } else { + return postgresqlTablesBuilder_.getMessageOrBuilder(index); + } + } + /** + *
+     * Tables in the schema.
+     * 
+ * + * repeated .google.cloud.datastream.v1.PostgresqlTable postgresql_tables = 2; + */ + public java.util.List + getPostgresqlTablesOrBuilderList() { + if (postgresqlTablesBuilder_ != null) { + return postgresqlTablesBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(postgresqlTables_); + } + } + /** + *
+     * Tables in the schema.
+     * 
+ * + * repeated .google.cloud.datastream.v1.PostgresqlTable postgresql_tables = 2; + */ + public com.google.cloud.datastream.v1.PostgresqlTable.Builder addPostgresqlTablesBuilder() { + return getPostgresqlTablesFieldBuilder().addBuilder( + com.google.cloud.datastream.v1.PostgresqlTable.getDefaultInstance()); + } + /** + *
+     * Tables in the schema.
+     * 
+ * + * repeated .google.cloud.datastream.v1.PostgresqlTable postgresql_tables = 2; + */ + public com.google.cloud.datastream.v1.PostgresqlTable.Builder addPostgresqlTablesBuilder( + int index) { + return getPostgresqlTablesFieldBuilder().addBuilder( + index, com.google.cloud.datastream.v1.PostgresqlTable.getDefaultInstance()); + } + /** + *
+     * Tables in the schema.
+     * 
+ * + * repeated .google.cloud.datastream.v1.PostgresqlTable postgresql_tables = 2; + */ + public java.util.List + getPostgresqlTablesBuilderList() { + return getPostgresqlTablesFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datastream.v1.PostgresqlTable, com.google.cloud.datastream.v1.PostgresqlTable.Builder, com.google.cloud.datastream.v1.PostgresqlTableOrBuilder> + getPostgresqlTablesFieldBuilder() { + if (postgresqlTablesBuilder_ == null) { + postgresqlTablesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datastream.v1.PostgresqlTable, com.google.cloud.datastream.v1.PostgresqlTable.Builder, com.google.cloud.datastream.v1.PostgresqlTableOrBuilder>( + postgresqlTables_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + postgresqlTables_ = null; + } + return postgresqlTablesBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1.PostgresqlSchema) + } + + // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1.PostgresqlSchema) + private static final com.google.cloud.datastream.v1.PostgresqlSchema DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.datastream.v1.PostgresqlSchema(); + } + + public static com.google.cloud.datastream.v1.PostgresqlSchema getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PostgresqlSchema parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PostgresqlSchema(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.datastream.v1.PostgresqlSchema getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/PostgresqlSchemaOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/PostgresqlSchemaOrBuilder.java new file mode 100644 index 00000000..379d1256 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/PostgresqlSchemaOrBuilder.java @@ -0,0 +1,73 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datastream/v1/datastream_resources.proto + +package com.google.cloud.datastream.v1; + +public interface PostgresqlSchemaOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1.PostgresqlSchema) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Schema name.
+   * 
+ * + * string schema = 1; + * @return The schema. + */ + java.lang.String getSchema(); + /** + *
+   * Schema name.
+   * 
+ * + * string schema = 1; + * @return The bytes for schema. + */ + com.google.protobuf.ByteString + getSchemaBytes(); + + /** + *
+   * Tables in the schema.
+   * 
+ * + * repeated .google.cloud.datastream.v1.PostgresqlTable postgresql_tables = 2; + */ + java.util.List + getPostgresqlTablesList(); + /** + *
+   * Tables in the schema.
+   * 
+ * + * repeated .google.cloud.datastream.v1.PostgresqlTable postgresql_tables = 2; + */ + com.google.cloud.datastream.v1.PostgresqlTable getPostgresqlTables(int index); + /** + *
+   * Tables in the schema.
+   * 
+ * + * repeated .google.cloud.datastream.v1.PostgresqlTable postgresql_tables = 2; + */ + int getPostgresqlTablesCount(); + /** + *
+   * Tables in the schema.
+   * 
+ * + * repeated .google.cloud.datastream.v1.PostgresqlTable postgresql_tables = 2; + */ + java.util.List + getPostgresqlTablesOrBuilderList(); + /** + *
+   * Tables in the schema.
+   * 
+ * + * repeated .google.cloud.datastream.v1.PostgresqlTable postgresql_tables = 2; + */ + com.google.cloud.datastream.v1.PostgresqlTableOrBuilder getPostgresqlTablesOrBuilder( + int index); +} diff --git a/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/PostgresqlSourceConfig.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/PostgresqlSourceConfig.java new file mode 100644 index 00000000..8d3bfdc3 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/PostgresqlSourceConfig.java @@ -0,0 +1,1247 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datastream/v1/datastream_resources.proto + +package com.google.cloud.datastream.v1; + +/** + *
+ * PostgreSQL data source configuration
+ * 
+ * + * Protobuf type {@code google.cloud.datastream.v1.PostgresqlSourceConfig} + */ +public final class PostgresqlSourceConfig extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1.PostgresqlSourceConfig) + PostgresqlSourceConfigOrBuilder { +private static final long serialVersionUID = 0L; + // Use PostgresqlSourceConfig.newBuilder() to construct. + private PostgresqlSourceConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private PostgresqlSourceConfig() { + replicationSlot_ = ""; + publication_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new PostgresqlSourceConfig(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private PostgresqlSourceConfig( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + com.google.cloud.datastream.v1.PostgresqlRdbms.Builder subBuilder = null; + if (includeObjects_ != null) { + subBuilder = includeObjects_.toBuilder(); + } + includeObjects_ = input.readMessage(com.google.cloud.datastream.v1.PostgresqlRdbms.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(includeObjects_); + includeObjects_ = subBuilder.buildPartial(); + } + + break; + } + case 18: { + com.google.cloud.datastream.v1.PostgresqlRdbms.Builder subBuilder = null; + if (excludeObjects_ != null) { + subBuilder = excludeObjects_.toBuilder(); + } + excludeObjects_ = input.readMessage(com.google.cloud.datastream.v1.PostgresqlRdbms.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(excludeObjects_); + excludeObjects_ = subBuilder.buildPartial(); + } + + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + replicationSlot_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + publication_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_PostgresqlSourceConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_PostgresqlSourceConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.datastream.v1.PostgresqlSourceConfig.class, com.google.cloud.datastream.v1.PostgresqlSourceConfig.Builder.class); + } + + public static final int INCLUDE_OBJECTS_FIELD_NUMBER = 1; + private com.google.cloud.datastream.v1.PostgresqlRdbms includeObjects_; + /** + *
+   * PostgreSQL objects to include in the stream.
+   * 
+ * + * .google.cloud.datastream.v1.PostgresqlRdbms include_objects = 1; + * @return Whether the includeObjects field is set. + */ + @java.lang.Override + public boolean hasIncludeObjects() { + return includeObjects_ != null; + } + /** + *
+   * PostgreSQL objects to include in the stream.
+   * 
+ * + * .google.cloud.datastream.v1.PostgresqlRdbms include_objects = 1; + * @return The includeObjects. + */ + @java.lang.Override + public com.google.cloud.datastream.v1.PostgresqlRdbms getIncludeObjects() { + return includeObjects_ == null ? com.google.cloud.datastream.v1.PostgresqlRdbms.getDefaultInstance() : includeObjects_; + } + /** + *
+   * PostgreSQL objects to include in the stream.
+   * 
+ * + * .google.cloud.datastream.v1.PostgresqlRdbms include_objects = 1; + */ + @java.lang.Override + public com.google.cloud.datastream.v1.PostgresqlRdbmsOrBuilder getIncludeObjectsOrBuilder() { + return getIncludeObjects(); + } + + public static final int EXCLUDE_OBJECTS_FIELD_NUMBER = 2; + private com.google.cloud.datastream.v1.PostgresqlRdbms excludeObjects_; + /** + *
+   * PostgreSQL objects to exclude from the stream.
+   * 
+ * + * .google.cloud.datastream.v1.PostgresqlRdbms exclude_objects = 2; + * @return Whether the excludeObjects field is set. + */ + @java.lang.Override + public boolean hasExcludeObjects() { + return excludeObjects_ != null; + } + /** + *
+   * PostgreSQL objects to exclude from the stream.
+   * 
+ * + * .google.cloud.datastream.v1.PostgresqlRdbms exclude_objects = 2; + * @return The excludeObjects. + */ + @java.lang.Override + public com.google.cloud.datastream.v1.PostgresqlRdbms getExcludeObjects() { + return excludeObjects_ == null ? com.google.cloud.datastream.v1.PostgresqlRdbms.getDefaultInstance() : excludeObjects_; + } + /** + *
+   * PostgreSQL objects to exclude from the stream.
+   * 
+ * + * .google.cloud.datastream.v1.PostgresqlRdbms exclude_objects = 2; + */ + @java.lang.Override + public com.google.cloud.datastream.v1.PostgresqlRdbmsOrBuilder getExcludeObjectsOrBuilder() { + return getExcludeObjects(); + } + + public static final int REPLICATION_SLOT_FIELD_NUMBER = 3; + private volatile java.lang.Object replicationSlot_; + /** + *
+   * Required. The name of the logical replication slot that's configured with the
+   * pgoutput plugin.
+   * 
+ * + * string replication_slot = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return The replicationSlot. + */ + @java.lang.Override + public java.lang.String getReplicationSlot() { + java.lang.Object ref = replicationSlot_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + replicationSlot_ = s; + return s; + } + } + /** + *
+   * Required. The name of the logical replication slot that's configured with the
+   * pgoutput plugin.
+   * 
+ * + * string replication_slot = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for replicationSlot. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getReplicationSlotBytes() { + java.lang.Object ref = replicationSlot_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + replicationSlot_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PUBLICATION_FIELD_NUMBER = 4; + private volatile java.lang.Object publication_; + /** + *
+   * Required. The name of the publication that includes the set of all tables that are
+   * defined in the stream's include_objects.
+   * 
+ * + * string publication = 4 [(.google.api.field_behavior) = REQUIRED]; + * @return The publication. + */ + @java.lang.Override + public java.lang.String getPublication() { + java.lang.Object ref = publication_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + publication_ = s; + return s; + } + } + /** + *
+   * Required. The name of the publication that includes the set of all tables that are
+   * defined in the stream's include_objects.
+   * 
+ * + * string publication = 4 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for publication. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getPublicationBytes() { + java.lang.Object ref = publication_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + publication_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (includeObjects_ != null) { + output.writeMessage(1, getIncludeObjects()); + } + if (excludeObjects_ != null) { + output.writeMessage(2, getExcludeObjects()); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(replicationSlot_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, replicationSlot_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(publication_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, publication_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (includeObjects_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getIncludeObjects()); + } + if (excludeObjects_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getExcludeObjects()); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(replicationSlot_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, replicationSlot_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(publication_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, publication_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.datastream.v1.PostgresqlSourceConfig)) { + return super.equals(obj); + } + com.google.cloud.datastream.v1.PostgresqlSourceConfig other = (com.google.cloud.datastream.v1.PostgresqlSourceConfig) obj; + + if (hasIncludeObjects() != other.hasIncludeObjects()) return false; + if (hasIncludeObjects()) { + if (!getIncludeObjects() + .equals(other.getIncludeObjects())) return false; + } + if (hasExcludeObjects() != other.hasExcludeObjects()) return false; + if (hasExcludeObjects()) { + if (!getExcludeObjects() + .equals(other.getExcludeObjects())) return false; + } + if (!getReplicationSlot() + .equals(other.getReplicationSlot())) return false; + if (!getPublication() + .equals(other.getPublication())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasIncludeObjects()) { + hash = (37 * hash) + INCLUDE_OBJECTS_FIELD_NUMBER; + hash = (53 * hash) + getIncludeObjects().hashCode(); + } + if (hasExcludeObjects()) { + hash = (37 * hash) + EXCLUDE_OBJECTS_FIELD_NUMBER; + hash = (53 * hash) + getExcludeObjects().hashCode(); + } + hash = (37 * hash) + REPLICATION_SLOT_FIELD_NUMBER; + hash = (53 * hash) + getReplicationSlot().hashCode(); + hash = (37 * hash) + PUBLICATION_FIELD_NUMBER; + hash = (53 * hash) + getPublication().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.datastream.v1.PostgresqlSourceConfig parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.datastream.v1.PostgresqlSourceConfig 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.datastream.v1.PostgresqlSourceConfig parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.datastream.v1.PostgresqlSourceConfig parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.datastream.v1.PostgresqlSourceConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.datastream.v1.PostgresqlSourceConfig parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.datastream.v1.PostgresqlSourceConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.datastream.v1.PostgresqlSourceConfig 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.datastream.v1.PostgresqlSourceConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.datastream.v1.PostgresqlSourceConfig parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.datastream.v1.PostgresqlSourceConfig parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.datastream.v1.PostgresqlSourceConfig 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 static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.datastream.v1.PostgresqlSourceConfig prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * PostgreSQL data source configuration
+   * 
+ * + * Protobuf type {@code google.cloud.datastream.v1.PostgresqlSourceConfig} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1.PostgresqlSourceConfig) + com.google.cloud.datastream.v1.PostgresqlSourceConfigOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_PostgresqlSourceConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_PostgresqlSourceConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.datastream.v1.PostgresqlSourceConfig.class, com.google.cloud.datastream.v1.PostgresqlSourceConfig.Builder.class); + } + + // Construct using com.google.cloud.datastream.v1.PostgresqlSourceConfig.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (includeObjectsBuilder_ == null) { + includeObjects_ = null; + } else { + includeObjects_ = null; + includeObjectsBuilder_ = null; + } + if (excludeObjectsBuilder_ == null) { + excludeObjects_ = null; + } else { + excludeObjects_ = null; + excludeObjectsBuilder_ = null; + } + replicationSlot_ = ""; + + publication_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_PostgresqlSourceConfig_descriptor; + } + + @java.lang.Override + public com.google.cloud.datastream.v1.PostgresqlSourceConfig getDefaultInstanceForType() { + return com.google.cloud.datastream.v1.PostgresqlSourceConfig.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.datastream.v1.PostgresqlSourceConfig build() { + com.google.cloud.datastream.v1.PostgresqlSourceConfig result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.datastream.v1.PostgresqlSourceConfig buildPartial() { + com.google.cloud.datastream.v1.PostgresqlSourceConfig result = new com.google.cloud.datastream.v1.PostgresqlSourceConfig(this); + if (includeObjectsBuilder_ == null) { + result.includeObjects_ = includeObjects_; + } else { + result.includeObjects_ = includeObjectsBuilder_.build(); + } + if (excludeObjectsBuilder_ == null) { + result.excludeObjects_ = excludeObjects_; + } else { + result.excludeObjects_ = excludeObjectsBuilder_.build(); + } + result.replicationSlot_ = replicationSlot_; + result.publication_ = publication_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.datastream.v1.PostgresqlSourceConfig) { + return mergeFrom((com.google.cloud.datastream.v1.PostgresqlSourceConfig)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.datastream.v1.PostgresqlSourceConfig other) { + if (other == com.google.cloud.datastream.v1.PostgresqlSourceConfig.getDefaultInstance()) return this; + if (other.hasIncludeObjects()) { + mergeIncludeObjects(other.getIncludeObjects()); + } + if (other.hasExcludeObjects()) { + mergeExcludeObjects(other.getExcludeObjects()); + } + if (!other.getReplicationSlot().isEmpty()) { + replicationSlot_ = other.replicationSlot_; + onChanged(); + } + if (!other.getPublication().isEmpty()) { + publication_ = other.publication_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.datastream.v1.PostgresqlSourceConfig parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.datastream.v1.PostgresqlSourceConfig) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private com.google.cloud.datastream.v1.PostgresqlRdbms includeObjects_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1.PostgresqlRdbms, com.google.cloud.datastream.v1.PostgresqlRdbms.Builder, com.google.cloud.datastream.v1.PostgresqlRdbmsOrBuilder> includeObjectsBuilder_; + /** + *
+     * PostgreSQL objects to include in the stream.
+     * 
+ * + * .google.cloud.datastream.v1.PostgresqlRdbms include_objects = 1; + * @return Whether the includeObjects field is set. + */ + public boolean hasIncludeObjects() { + return includeObjectsBuilder_ != null || includeObjects_ != null; + } + /** + *
+     * PostgreSQL objects to include in the stream.
+     * 
+ * + * .google.cloud.datastream.v1.PostgresqlRdbms include_objects = 1; + * @return The includeObjects. + */ + public com.google.cloud.datastream.v1.PostgresqlRdbms getIncludeObjects() { + if (includeObjectsBuilder_ == null) { + return includeObjects_ == null ? com.google.cloud.datastream.v1.PostgresqlRdbms.getDefaultInstance() : includeObjects_; + } else { + return includeObjectsBuilder_.getMessage(); + } + } + /** + *
+     * PostgreSQL objects to include in the stream.
+     * 
+ * + * .google.cloud.datastream.v1.PostgresqlRdbms include_objects = 1; + */ + public Builder setIncludeObjects(com.google.cloud.datastream.v1.PostgresqlRdbms value) { + if (includeObjectsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + includeObjects_ = value; + onChanged(); + } else { + includeObjectsBuilder_.setMessage(value); + } + + return this; + } + /** + *
+     * PostgreSQL objects to include in the stream.
+     * 
+ * + * .google.cloud.datastream.v1.PostgresqlRdbms include_objects = 1; + */ + public Builder setIncludeObjects( + com.google.cloud.datastream.v1.PostgresqlRdbms.Builder builderForValue) { + if (includeObjectsBuilder_ == null) { + includeObjects_ = builderForValue.build(); + onChanged(); + } else { + includeObjectsBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+     * PostgreSQL objects to include in the stream.
+     * 
+ * + * .google.cloud.datastream.v1.PostgresqlRdbms include_objects = 1; + */ + public Builder mergeIncludeObjects(com.google.cloud.datastream.v1.PostgresqlRdbms value) { + if (includeObjectsBuilder_ == null) { + if (includeObjects_ != null) { + includeObjects_ = + com.google.cloud.datastream.v1.PostgresqlRdbms.newBuilder(includeObjects_).mergeFrom(value).buildPartial(); + } else { + includeObjects_ = value; + } + onChanged(); + } else { + includeObjectsBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+     * PostgreSQL objects to include in the stream.
+     * 
+ * + * .google.cloud.datastream.v1.PostgresqlRdbms include_objects = 1; + */ + public Builder clearIncludeObjects() { + if (includeObjectsBuilder_ == null) { + includeObjects_ = null; + onChanged(); + } else { + includeObjects_ = null; + includeObjectsBuilder_ = null; + } + + return this; + } + /** + *
+     * PostgreSQL objects to include in the stream.
+     * 
+ * + * .google.cloud.datastream.v1.PostgresqlRdbms include_objects = 1; + */ + public com.google.cloud.datastream.v1.PostgresqlRdbms.Builder getIncludeObjectsBuilder() { + + onChanged(); + return getIncludeObjectsFieldBuilder().getBuilder(); + } + /** + *
+     * PostgreSQL objects to include in the stream.
+     * 
+ * + * .google.cloud.datastream.v1.PostgresqlRdbms include_objects = 1; + */ + public com.google.cloud.datastream.v1.PostgresqlRdbmsOrBuilder getIncludeObjectsOrBuilder() { + if (includeObjectsBuilder_ != null) { + return includeObjectsBuilder_.getMessageOrBuilder(); + } else { + return includeObjects_ == null ? + com.google.cloud.datastream.v1.PostgresqlRdbms.getDefaultInstance() : includeObjects_; + } + } + /** + *
+     * PostgreSQL objects to include in the stream.
+     * 
+ * + * .google.cloud.datastream.v1.PostgresqlRdbms include_objects = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1.PostgresqlRdbms, com.google.cloud.datastream.v1.PostgresqlRdbms.Builder, com.google.cloud.datastream.v1.PostgresqlRdbmsOrBuilder> + getIncludeObjectsFieldBuilder() { + if (includeObjectsBuilder_ == null) { + includeObjectsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1.PostgresqlRdbms, com.google.cloud.datastream.v1.PostgresqlRdbms.Builder, com.google.cloud.datastream.v1.PostgresqlRdbmsOrBuilder>( + getIncludeObjects(), + getParentForChildren(), + isClean()); + includeObjects_ = null; + } + return includeObjectsBuilder_; + } + + private com.google.cloud.datastream.v1.PostgresqlRdbms excludeObjects_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1.PostgresqlRdbms, com.google.cloud.datastream.v1.PostgresqlRdbms.Builder, com.google.cloud.datastream.v1.PostgresqlRdbmsOrBuilder> excludeObjectsBuilder_; + /** + *
+     * PostgreSQL objects to exclude from the stream.
+     * 
+ * + * .google.cloud.datastream.v1.PostgresqlRdbms exclude_objects = 2; + * @return Whether the excludeObjects field is set. + */ + public boolean hasExcludeObjects() { + return excludeObjectsBuilder_ != null || excludeObjects_ != null; + } + /** + *
+     * PostgreSQL objects to exclude from the stream.
+     * 
+ * + * .google.cloud.datastream.v1.PostgresqlRdbms exclude_objects = 2; + * @return The excludeObjects. + */ + public com.google.cloud.datastream.v1.PostgresqlRdbms getExcludeObjects() { + if (excludeObjectsBuilder_ == null) { + return excludeObjects_ == null ? com.google.cloud.datastream.v1.PostgresqlRdbms.getDefaultInstance() : excludeObjects_; + } else { + return excludeObjectsBuilder_.getMessage(); + } + } + /** + *
+     * PostgreSQL objects to exclude from the stream.
+     * 
+ * + * .google.cloud.datastream.v1.PostgresqlRdbms exclude_objects = 2; + */ + public Builder setExcludeObjects(com.google.cloud.datastream.v1.PostgresqlRdbms value) { + if (excludeObjectsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + excludeObjects_ = value; + onChanged(); + } else { + excludeObjectsBuilder_.setMessage(value); + } + + return this; + } + /** + *
+     * PostgreSQL objects to exclude from the stream.
+     * 
+ * + * .google.cloud.datastream.v1.PostgresqlRdbms exclude_objects = 2; + */ + public Builder setExcludeObjects( + com.google.cloud.datastream.v1.PostgresqlRdbms.Builder builderForValue) { + if (excludeObjectsBuilder_ == null) { + excludeObjects_ = builderForValue.build(); + onChanged(); + } else { + excludeObjectsBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+     * PostgreSQL objects to exclude from the stream.
+     * 
+ * + * .google.cloud.datastream.v1.PostgresqlRdbms exclude_objects = 2; + */ + public Builder mergeExcludeObjects(com.google.cloud.datastream.v1.PostgresqlRdbms value) { + if (excludeObjectsBuilder_ == null) { + if (excludeObjects_ != null) { + excludeObjects_ = + com.google.cloud.datastream.v1.PostgresqlRdbms.newBuilder(excludeObjects_).mergeFrom(value).buildPartial(); + } else { + excludeObjects_ = value; + } + onChanged(); + } else { + excludeObjectsBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+     * PostgreSQL objects to exclude from the stream.
+     * 
+ * + * .google.cloud.datastream.v1.PostgresqlRdbms exclude_objects = 2; + */ + public Builder clearExcludeObjects() { + if (excludeObjectsBuilder_ == null) { + excludeObjects_ = null; + onChanged(); + } else { + excludeObjects_ = null; + excludeObjectsBuilder_ = null; + } + + return this; + } + /** + *
+     * PostgreSQL objects to exclude from the stream.
+     * 
+ * + * .google.cloud.datastream.v1.PostgresqlRdbms exclude_objects = 2; + */ + public com.google.cloud.datastream.v1.PostgresqlRdbms.Builder getExcludeObjectsBuilder() { + + onChanged(); + return getExcludeObjectsFieldBuilder().getBuilder(); + } + /** + *
+     * PostgreSQL objects to exclude from the stream.
+     * 
+ * + * .google.cloud.datastream.v1.PostgresqlRdbms exclude_objects = 2; + */ + public com.google.cloud.datastream.v1.PostgresqlRdbmsOrBuilder getExcludeObjectsOrBuilder() { + if (excludeObjectsBuilder_ != null) { + return excludeObjectsBuilder_.getMessageOrBuilder(); + } else { + return excludeObjects_ == null ? + com.google.cloud.datastream.v1.PostgresqlRdbms.getDefaultInstance() : excludeObjects_; + } + } + /** + *
+     * PostgreSQL objects to exclude from the stream.
+     * 
+ * + * .google.cloud.datastream.v1.PostgresqlRdbms exclude_objects = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1.PostgresqlRdbms, com.google.cloud.datastream.v1.PostgresqlRdbms.Builder, com.google.cloud.datastream.v1.PostgresqlRdbmsOrBuilder> + getExcludeObjectsFieldBuilder() { + if (excludeObjectsBuilder_ == null) { + excludeObjectsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1.PostgresqlRdbms, com.google.cloud.datastream.v1.PostgresqlRdbms.Builder, com.google.cloud.datastream.v1.PostgresqlRdbmsOrBuilder>( + getExcludeObjects(), + getParentForChildren(), + isClean()); + excludeObjects_ = null; + } + return excludeObjectsBuilder_; + } + + private java.lang.Object replicationSlot_ = ""; + /** + *
+     * Required. The name of the logical replication slot that's configured with the
+     * pgoutput plugin.
+     * 
+ * + * string replication_slot = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return The replicationSlot. + */ + public java.lang.String getReplicationSlot() { + java.lang.Object ref = replicationSlot_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + replicationSlot_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Required. The name of the logical replication slot that's configured with the
+     * pgoutput plugin.
+     * 
+ * + * string replication_slot = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for replicationSlot. + */ + public com.google.protobuf.ByteString + getReplicationSlotBytes() { + java.lang.Object ref = replicationSlot_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + replicationSlot_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Required. The name of the logical replication slot that's configured with the
+     * pgoutput plugin.
+     * 
+ * + * string replication_slot = 3 [(.google.api.field_behavior) = REQUIRED]; + * @param value The replicationSlot to set. + * @return This builder for chaining. + */ + public Builder setReplicationSlot( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + replicationSlot_ = value; + onChanged(); + return this; + } + /** + *
+     * Required. The name of the logical replication slot that's configured with the
+     * pgoutput plugin.
+     * 
+ * + * string replication_slot = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return This builder for chaining. + */ + public Builder clearReplicationSlot() { + + replicationSlot_ = getDefaultInstance().getReplicationSlot(); + onChanged(); + return this; + } + /** + *
+     * Required. The name of the logical replication slot that's configured with the
+     * pgoutput plugin.
+     * 
+ * + * string replication_slot = 3 [(.google.api.field_behavior) = REQUIRED]; + * @param value The bytes for replicationSlot to set. + * @return This builder for chaining. + */ + public Builder setReplicationSlotBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + replicationSlot_ = value; + onChanged(); + return this; + } + + private java.lang.Object publication_ = ""; + /** + *
+     * Required. The name of the publication that includes the set of all tables that are
+     * defined in the stream's include_objects.
+     * 
+ * + * string publication = 4 [(.google.api.field_behavior) = REQUIRED]; + * @return The publication. + */ + public java.lang.String getPublication() { + java.lang.Object ref = publication_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + publication_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Required. The name of the publication that includes the set of all tables that are
+     * defined in the stream's include_objects.
+     * 
+ * + * string publication = 4 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for publication. + */ + public com.google.protobuf.ByteString + getPublicationBytes() { + java.lang.Object ref = publication_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + publication_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Required. The name of the publication that includes the set of all tables that are
+     * defined in the stream's include_objects.
+     * 
+ * + * string publication = 4 [(.google.api.field_behavior) = REQUIRED]; + * @param value The publication to set. + * @return This builder for chaining. + */ + public Builder setPublication( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + publication_ = value; + onChanged(); + return this; + } + /** + *
+     * Required. The name of the publication that includes the set of all tables that are
+     * defined in the stream's include_objects.
+     * 
+ * + * string publication = 4 [(.google.api.field_behavior) = REQUIRED]; + * @return This builder for chaining. + */ + public Builder clearPublication() { + + publication_ = getDefaultInstance().getPublication(); + onChanged(); + return this; + } + /** + *
+     * Required. The name of the publication that includes the set of all tables that are
+     * defined in the stream's include_objects.
+     * 
+ * + * string publication = 4 [(.google.api.field_behavior) = REQUIRED]; + * @param value The bytes for publication to set. + * @return This builder for chaining. + */ + public Builder setPublicationBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + publication_ = value; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1.PostgresqlSourceConfig) + } + + // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1.PostgresqlSourceConfig) + private static final com.google.cloud.datastream.v1.PostgresqlSourceConfig DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.datastream.v1.PostgresqlSourceConfig(); + } + + public static com.google.cloud.datastream.v1.PostgresqlSourceConfig getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PostgresqlSourceConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PostgresqlSourceConfig(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.datastream.v1.PostgresqlSourceConfig getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/PostgresqlSourceConfigOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/PostgresqlSourceConfigOrBuilder.java new file mode 100644 index 00000000..e719d476 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/PostgresqlSourceConfigOrBuilder.java @@ -0,0 +1,107 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datastream/v1/datastream_resources.proto + +package com.google.cloud.datastream.v1; + +public interface PostgresqlSourceConfigOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1.PostgresqlSourceConfig) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * PostgreSQL objects to include in the stream.
+   * 
+ * + * .google.cloud.datastream.v1.PostgresqlRdbms include_objects = 1; + * @return Whether the includeObjects field is set. + */ + boolean hasIncludeObjects(); + /** + *
+   * PostgreSQL objects to include in the stream.
+   * 
+ * + * .google.cloud.datastream.v1.PostgresqlRdbms include_objects = 1; + * @return The includeObjects. + */ + com.google.cloud.datastream.v1.PostgresqlRdbms getIncludeObjects(); + /** + *
+   * PostgreSQL objects to include in the stream.
+   * 
+ * + * .google.cloud.datastream.v1.PostgresqlRdbms include_objects = 1; + */ + com.google.cloud.datastream.v1.PostgresqlRdbmsOrBuilder getIncludeObjectsOrBuilder(); + + /** + *
+   * PostgreSQL objects to exclude from the stream.
+   * 
+ * + * .google.cloud.datastream.v1.PostgresqlRdbms exclude_objects = 2; + * @return Whether the excludeObjects field is set. + */ + boolean hasExcludeObjects(); + /** + *
+   * PostgreSQL objects to exclude from the stream.
+   * 
+ * + * .google.cloud.datastream.v1.PostgresqlRdbms exclude_objects = 2; + * @return The excludeObjects. + */ + com.google.cloud.datastream.v1.PostgresqlRdbms getExcludeObjects(); + /** + *
+   * PostgreSQL objects to exclude from the stream.
+   * 
+ * + * .google.cloud.datastream.v1.PostgresqlRdbms exclude_objects = 2; + */ + com.google.cloud.datastream.v1.PostgresqlRdbmsOrBuilder getExcludeObjectsOrBuilder(); + + /** + *
+   * Required. The name of the logical replication slot that's configured with the
+   * pgoutput plugin.
+   * 
+ * + * string replication_slot = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return The replicationSlot. + */ + java.lang.String getReplicationSlot(); + /** + *
+   * Required. The name of the logical replication slot that's configured with the
+   * pgoutput plugin.
+   * 
+ * + * string replication_slot = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for replicationSlot. + */ + com.google.protobuf.ByteString + getReplicationSlotBytes(); + + /** + *
+   * Required. The name of the publication that includes the set of all tables that are
+   * defined in the stream's include_objects.
+   * 
+ * + * string publication = 4 [(.google.api.field_behavior) = REQUIRED]; + * @return The publication. + */ + java.lang.String getPublication(); + /** + *
+   * Required. The name of the publication that includes the set of all tables that are
+   * defined in the stream's include_objects.
+   * 
+ * + * string publication = 4 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for publication. + */ + com.google.protobuf.ByteString + getPublicationBytes(); +} diff --git a/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/PostgresqlTable.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/PostgresqlTable.java new file mode 100644 index 00000000..6b64b3c2 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/PostgresqlTable.java @@ -0,0 +1,1084 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datastream/v1/datastream_resources.proto + +package com.google.cloud.datastream.v1; + +/** + *
+ * PostgreSQL table.
+ * 
+ * + * Protobuf type {@code google.cloud.datastream.v1.PostgresqlTable} + */ +public final class PostgresqlTable extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1.PostgresqlTable) + PostgresqlTableOrBuilder { +private static final long serialVersionUID = 0L; + // Use PostgresqlTable.newBuilder() to construct. + private PostgresqlTable(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private PostgresqlTable() { + table_ = ""; + postgresqlColumns_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new PostgresqlTable(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private PostgresqlTable( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + table_ = s; + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + postgresqlColumns_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + postgresqlColumns_.add( + input.readMessage(com.google.cloud.datastream.v1.PostgresqlColumn.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + postgresqlColumns_ = java.util.Collections.unmodifiableList(postgresqlColumns_); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_PostgresqlTable_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_PostgresqlTable_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.datastream.v1.PostgresqlTable.class, com.google.cloud.datastream.v1.PostgresqlTable.Builder.class); + } + + public static final int TABLE_FIELD_NUMBER = 1; + private volatile java.lang.Object table_; + /** + *
+   * Table name.
+   * 
+ * + * string table = 1; + * @return The table. + */ + @java.lang.Override + public java.lang.String getTable() { + java.lang.Object ref = table_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + table_ = s; + return s; + } + } + /** + *
+   * Table name.
+   * 
+ * + * string table = 1; + * @return The bytes for table. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getTableBytes() { + java.lang.Object ref = table_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + table_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int POSTGRESQL_COLUMNS_FIELD_NUMBER = 2; + private java.util.List postgresqlColumns_; + /** + *
+   * PostgreSQL columns in the schema.
+   * When unspecified as part of include/exclude objects,
+   * includes/excludes everything.
+   * 
+ * + * repeated .google.cloud.datastream.v1.PostgresqlColumn postgresql_columns = 2; + */ + @java.lang.Override + public java.util.List getPostgresqlColumnsList() { + return postgresqlColumns_; + } + /** + *
+   * PostgreSQL columns in the schema.
+   * When unspecified as part of include/exclude objects,
+   * includes/excludes everything.
+   * 
+ * + * repeated .google.cloud.datastream.v1.PostgresqlColumn postgresql_columns = 2; + */ + @java.lang.Override + public java.util.List + getPostgresqlColumnsOrBuilderList() { + return postgresqlColumns_; + } + /** + *
+   * PostgreSQL columns in the schema.
+   * When unspecified as part of include/exclude objects,
+   * includes/excludes everything.
+   * 
+ * + * repeated .google.cloud.datastream.v1.PostgresqlColumn postgresql_columns = 2; + */ + @java.lang.Override + public int getPostgresqlColumnsCount() { + return postgresqlColumns_.size(); + } + /** + *
+   * PostgreSQL columns in the schema.
+   * When unspecified as part of include/exclude objects,
+   * includes/excludes everything.
+   * 
+ * + * repeated .google.cloud.datastream.v1.PostgresqlColumn postgresql_columns = 2; + */ + @java.lang.Override + public com.google.cloud.datastream.v1.PostgresqlColumn getPostgresqlColumns(int index) { + return postgresqlColumns_.get(index); + } + /** + *
+   * PostgreSQL columns in the schema.
+   * When unspecified as part of include/exclude objects,
+   * includes/excludes everything.
+   * 
+ * + * repeated .google.cloud.datastream.v1.PostgresqlColumn postgresql_columns = 2; + */ + @java.lang.Override + public com.google.cloud.datastream.v1.PostgresqlColumnOrBuilder getPostgresqlColumnsOrBuilder( + int index) { + return postgresqlColumns_.get(index); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(table_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, table_); + } + for (int i = 0; i < postgresqlColumns_.size(); i++) { + output.writeMessage(2, postgresqlColumns_.get(i)); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(table_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, table_); + } + for (int i = 0; i < postgresqlColumns_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, postgresqlColumns_.get(i)); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.datastream.v1.PostgresqlTable)) { + return super.equals(obj); + } + com.google.cloud.datastream.v1.PostgresqlTable other = (com.google.cloud.datastream.v1.PostgresqlTable) obj; + + if (!getTable() + .equals(other.getTable())) return false; + if (!getPostgresqlColumnsList() + .equals(other.getPostgresqlColumnsList())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + TABLE_FIELD_NUMBER; + hash = (53 * hash) + getTable().hashCode(); + if (getPostgresqlColumnsCount() > 0) { + hash = (37 * hash) + POSTGRESQL_COLUMNS_FIELD_NUMBER; + hash = (53 * hash) + getPostgresqlColumnsList().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.datastream.v1.PostgresqlTable parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.datastream.v1.PostgresqlTable 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.datastream.v1.PostgresqlTable parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.datastream.v1.PostgresqlTable parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.datastream.v1.PostgresqlTable parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.datastream.v1.PostgresqlTable parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.datastream.v1.PostgresqlTable parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.datastream.v1.PostgresqlTable 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.datastream.v1.PostgresqlTable parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.datastream.v1.PostgresqlTable parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.datastream.v1.PostgresqlTable parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.datastream.v1.PostgresqlTable 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 static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.datastream.v1.PostgresqlTable prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * PostgreSQL table.
+   * 
+ * + * Protobuf type {@code google.cloud.datastream.v1.PostgresqlTable} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1.PostgresqlTable) + com.google.cloud.datastream.v1.PostgresqlTableOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_PostgresqlTable_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_PostgresqlTable_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.datastream.v1.PostgresqlTable.class, com.google.cloud.datastream.v1.PostgresqlTable.Builder.class); + } + + // Construct using com.google.cloud.datastream.v1.PostgresqlTable.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + getPostgresqlColumnsFieldBuilder(); + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + table_ = ""; + + if (postgresqlColumnsBuilder_ == null) { + postgresqlColumns_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + } else { + postgresqlColumnsBuilder_.clear(); + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_PostgresqlTable_descriptor; + } + + @java.lang.Override + public com.google.cloud.datastream.v1.PostgresqlTable getDefaultInstanceForType() { + return com.google.cloud.datastream.v1.PostgresqlTable.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.datastream.v1.PostgresqlTable build() { + com.google.cloud.datastream.v1.PostgresqlTable result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.datastream.v1.PostgresqlTable buildPartial() { + com.google.cloud.datastream.v1.PostgresqlTable result = new com.google.cloud.datastream.v1.PostgresqlTable(this); + int from_bitField0_ = bitField0_; + result.table_ = table_; + if (postgresqlColumnsBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + postgresqlColumns_ = java.util.Collections.unmodifiableList(postgresqlColumns_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.postgresqlColumns_ = postgresqlColumns_; + } else { + result.postgresqlColumns_ = postgresqlColumnsBuilder_.build(); + } + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.datastream.v1.PostgresqlTable) { + return mergeFrom((com.google.cloud.datastream.v1.PostgresqlTable)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.datastream.v1.PostgresqlTable other) { + if (other == com.google.cloud.datastream.v1.PostgresqlTable.getDefaultInstance()) return this; + if (!other.getTable().isEmpty()) { + table_ = other.table_; + onChanged(); + } + if (postgresqlColumnsBuilder_ == null) { + if (!other.postgresqlColumns_.isEmpty()) { + if (postgresqlColumns_.isEmpty()) { + postgresqlColumns_ = other.postgresqlColumns_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensurePostgresqlColumnsIsMutable(); + postgresqlColumns_.addAll(other.postgresqlColumns_); + } + onChanged(); + } + } else { + if (!other.postgresqlColumns_.isEmpty()) { + if (postgresqlColumnsBuilder_.isEmpty()) { + postgresqlColumnsBuilder_.dispose(); + postgresqlColumnsBuilder_ = null; + postgresqlColumns_ = other.postgresqlColumns_; + bitField0_ = (bitField0_ & ~0x00000001); + postgresqlColumnsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getPostgresqlColumnsFieldBuilder() : null; + } else { + postgresqlColumnsBuilder_.addAllMessages(other.postgresqlColumns_); + } + } + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.datastream.v1.PostgresqlTable parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.datastream.v1.PostgresqlTable) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + private java.lang.Object table_ = ""; + /** + *
+     * Table name.
+     * 
+ * + * string table = 1; + * @return The table. + */ + public java.lang.String getTable() { + java.lang.Object ref = table_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + table_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Table name.
+     * 
+ * + * string table = 1; + * @return The bytes for table. + */ + public com.google.protobuf.ByteString + getTableBytes() { + java.lang.Object ref = table_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + table_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Table name.
+     * 
+ * + * string table = 1; + * @param value The table to set. + * @return This builder for chaining. + */ + public Builder setTable( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + table_ = value; + onChanged(); + return this; + } + /** + *
+     * Table name.
+     * 
+ * + * string table = 1; + * @return This builder for chaining. + */ + public Builder clearTable() { + + table_ = getDefaultInstance().getTable(); + onChanged(); + return this; + } + /** + *
+     * Table name.
+     * 
+ * + * string table = 1; + * @param value The bytes for table to set. + * @return This builder for chaining. + */ + public Builder setTableBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + table_ = value; + onChanged(); + return this; + } + + private java.util.List postgresqlColumns_ = + java.util.Collections.emptyList(); + private void ensurePostgresqlColumnsIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + postgresqlColumns_ = new java.util.ArrayList(postgresqlColumns_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datastream.v1.PostgresqlColumn, com.google.cloud.datastream.v1.PostgresqlColumn.Builder, com.google.cloud.datastream.v1.PostgresqlColumnOrBuilder> postgresqlColumnsBuilder_; + + /** + *
+     * PostgreSQL columns in the schema.
+     * When unspecified as part of include/exclude objects,
+     * includes/excludes everything.
+     * 
+ * + * repeated .google.cloud.datastream.v1.PostgresqlColumn postgresql_columns = 2; + */ + public java.util.List getPostgresqlColumnsList() { + if (postgresqlColumnsBuilder_ == null) { + return java.util.Collections.unmodifiableList(postgresqlColumns_); + } else { + return postgresqlColumnsBuilder_.getMessageList(); + } + } + /** + *
+     * PostgreSQL columns in the schema.
+     * When unspecified as part of include/exclude objects,
+     * includes/excludes everything.
+     * 
+ * + * repeated .google.cloud.datastream.v1.PostgresqlColumn postgresql_columns = 2; + */ + public int getPostgresqlColumnsCount() { + if (postgresqlColumnsBuilder_ == null) { + return postgresqlColumns_.size(); + } else { + return postgresqlColumnsBuilder_.getCount(); + } + } + /** + *
+     * PostgreSQL columns in the schema.
+     * When unspecified as part of include/exclude objects,
+     * includes/excludes everything.
+     * 
+ * + * repeated .google.cloud.datastream.v1.PostgresqlColumn postgresql_columns = 2; + */ + public com.google.cloud.datastream.v1.PostgresqlColumn getPostgresqlColumns(int index) { + if (postgresqlColumnsBuilder_ == null) { + return postgresqlColumns_.get(index); + } else { + return postgresqlColumnsBuilder_.getMessage(index); + } + } + /** + *
+     * PostgreSQL columns in the schema.
+     * When unspecified as part of include/exclude objects,
+     * includes/excludes everything.
+     * 
+ * + * repeated .google.cloud.datastream.v1.PostgresqlColumn postgresql_columns = 2; + */ + public Builder setPostgresqlColumns( + int index, com.google.cloud.datastream.v1.PostgresqlColumn value) { + if (postgresqlColumnsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensurePostgresqlColumnsIsMutable(); + postgresqlColumns_.set(index, value); + onChanged(); + } else { + postgresqlColumnsBuilder_.setMessage(index, value); + } + return this; + } + /** + *
+     * PostgreSQL columns in the schema.
+     * When unspecified as part of include/exclude objects,
+     * includes/excludes everything.
+     * 
+ * + * repeated .google.cloud.datastream.v1.PostgresqlColumn postgresql_columns = 2; + */ + public Builder setPostgresqlColumns( + int index, com.google.cloud.datastream.v1.PostgresqlColumn.Builder builderForValue) { + if (postgresqlColumnsBuilder_ == null) { + ensurePostgresqlColumnsIsMutable(); + postgresqlColumns_.set(index, builderForValue.build()); + onChanged(); + } else { + postgresqlColumnsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+     * PostgreSQL columns in the schema.
+     * When unspecified as part of include/exclude objects,
+     * includes/excludes everything.
+     * 
+ * + * repeated .google.cloud.datastream.v1.PostgresqlColumn postgresql_columns = 2; + */ + public Builder addPostgresqlColumns(com.google.cloud.datastream.v1.PostgresqlColumn value) { + if (postgresqlColumnsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensurePostgresqlColumnsIsMutable(); + postgresqlColumns_.add(value); + onChanged(); + } else { + postgresqlColumnsBuilder_.addMessage(value); + } + return this; + } + /** + *
+     * PostgreSQL columns in the schema.
+     * When unspecified as part of include/exclude objects,
+     * includes/excludes everything.
+     * 
+ * + * repeated .google.cloud.datastream.v1.PostgresqlColumn postgresql_columns = 2; + */ + public Builder addPostgresqlColumns( + int index, com.google.cloud.datastream.v1.PostgresqlColumn value) { + if (postgresqlColumnsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensurePostgresqlColumnsIsMutable(); + postgresqlColumns_.add(index, value); + onChanged(); + } else { + postgresqlColumnsBuilder_.addMessage(index, value); + } + return this; + } + /** + *
+     * PostgreSQL columns in the schema.
+     * When unspecified as part of include/exclude objects,
+     * includes/excludes everything.
+     * 
+ * + * repeated .google.cloud.datastream.v1.PostgresqlColumn postgresql_columns = 2; + */ + public Builder addPostgresqlColumns( + com.google.cloud.datastream.v1.PostgresqlColumn.Builder builderForValue) { + if (postgresqlColumnsBuilder_ == null) { + ensurePostgresqlColumnsIsMutable(); + postgresqlColumns_.add(builderForValue.build()); + onChanged(); + } else { + postgresqlColumnsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + *
+     * PostgreSQL columns in the schema.
+     * When unspecified as part of include/exclude objects,
+     * includes/excludes everything.
+     * 
+ * + * repeated .google.cloud.datastream.v1.PostgresqlColumn postgresql_columns = 2; + */ + public Builder addPostgresqlColumns( + int index, com.google.cloud.datastream.v1.PostgresqlColumn.Builder builderForValue) { + if (postgresqlColumnsBuilder_ == null) { + ensurePostgresqlColumnsIsMutable(); + postgresqlColumns_.add(index, builderForValue.build()); + onChanged(); + } else { + postgresqlColumnsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+     * PostgreSQL columns in the schema.
+     * When unspecified as part of include/exclude objects,
+     * includes/excludes everything.
+     * 
+ * + * repeated .google.cloud.datastream.v1.PostgresqlColumn postgresql_columns = 2; + */ + public Builder addAllPostgresqlColumns( + java.lang.Iterable values) { + if (postgresqlColumnsBuilder_ == null) { + ensurePostgresqlColumnsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, postgresqlColumns_); + onChanged(); + } else { + postgresqlColumnsBuilder_.addAllMessages(values); + } + return this; + } + /** + *
+     * PostgreSQL columns in the schema.
+     * When unspecified as part of include/exclude objects,
+     * includes/excludes everything.
+     * 
+ * + * repeated .google.cloud.datastream.v1.PostgresqlColumn postgresql_columns = 2; + */ + public Builder clearPostgresqlColumns() { + if (postgresqlColumnsBuilder_ == null) { + postgresqlColumns_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + postgresqlColumnsBuilder_.clear(); + } + return this; + } + /** + *
+     * PostgreSQL columns in the schema.
+     * When unspecified as part of include/exclude objects,
+     * includes/excludes everything.
+     * 
+ * + * repeated .google.cloud.datastream.v1.PostgresqlColumn postgresql_columns = 2; + */ + public Builder removePostgresqlColumns(int index) { + if (postgresqlColumnsBuilder_ == null) { + ensurePostgresqlColumnsIsMutable(); + postgresqlColumns_.remove(index); + onChanged(); + } else { + postgresqlColumnsBuilder_.remove(index); + } + return this; + } + /** + *
+     * PostgreSQL columns in the schema.
+     * When unspecified as part of include/exclude objects,
+     * includes/excludes everything.
+     * 
+ * + * repeated .google.cloud.datastream.v1.PostgresqlColumn postgresql_columns = 2; + */ + public com.google.cloud.datastream.v1.PostgresqlColumn.Builder getPostgresqlColumnsBuilder( + int index) { + return getPostgresqlColumnsFieldBuilder().getBuilder(index); + } + /** + *
+     * PostgreSQL columns in the schema.
+     * When unspecified as part of include/exclude objects,
+     * includes/excludes everything.
+     * 
+ * + * repeated .google.cloud.datastream.v1.PostgresqlColumn postgresql_columns = 2; + */ + public com.google.cloud.datastream.v1.PostgresqlColumnOrBuilder getPostgresqlColumnsOrBuilder( + int index) { + if (postgresqlColumnsBuilder_ == null) { + return postgresqlColumns_.get(index); } else { + return postgresqlColumnsBuilder_.getMessageOrBuilder(index); + } + } + /** + *
+     * PostgreSQL columns in the schema.
+     * When unspecified as part of include/exclude objects,
+     * includes/excludes everything.
+     * 
+ * + * repeated .google.cloud.datastream.v1.PostgresqlColumn postgresql_columns = 2; + */ + public java.util.List + getPostgresqlColumnsOrBuilderList() { + if (postgresqlColumnsBuilder_ != null) { + return postgresqlColumnsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(postgresqlColumns_); + } + } + /** + *
+     * PostgreSQL columns in the schema.
+     * When unspecified as part of include/exclude objects,
+     * includes/excludes everything.
+     * 
+ * + * repeated .google.cloud.datastream.v1.PostgresqlColumn postgresql_columns = 2; + */ + public com.google.cloud.datastream.v1.PostgresqlColumn.Builder addPostgresqlColumnsBuilder() { + return getPostgresqlColumnsFieldBuilder().addBuilder( + com.google.cloud.datastream.v1.PostgresqlColumn.getDefaultInstance()); + } + /** + *
+     * PostgreSQL columns in the schema.
+     * When unspecified as part of include/exclude objects,
+     * includes/excludes everything.
+     * 
+ * + * repeated .google.cloud.datastream.v1.PostgresqlColumn postgresql_columns = 2; + */ + public com.google.cloud.datastream.v1.PostgresqlColumn.Builder addPostgresqlColumnsBuilder( + int index) { + return getPostgresqlColumnsFieldBuilder().addBuilder( + index, com.google.cloud.datastream.v1.PostgresqlColumn.getDefaultInstance()); + } + /** + *
+     * PostgreSQL columns in the schema.
+     * When unspecified as part of include/exclude objects,
+     * includes/excludes everything.
+     * 
+ * + * repeated .google.cloud.datastream.v1.PostgresqlColumn postgresql_columns = 2; + */ + public java.util.List + getPostgresqlColumnsBuilderList() { + return getPostgresqlColumnsFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datastream.v1.PostgresqlColumn, com.google.cloud.datastream.v1.PostgresqlColumn.Builder, com.google.cloud.datastream.v1.PostgresqlColumnOrBuilder> + getPostgresqlColumnsFieldBuilder() { + if (postgresqlColumnsBuilder_ == null) { + postgresqlColumnsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datastream.v1.PostgresqlColumn, com.google.cloud.datastream.v1.PostgresqlColumn.Builder, com.google.cloud.datastream.v1.PostgresqlColumnOrBuilder>( + postgresqlColumns_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + postgresqlColumns_ = null; + } + return postgresqlColumnsBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1.PostgresqlTable) + } + + // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1.PostgresqlTable) + private static final com.google.cloud.datastream.v1.PostgresqlTable DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.datastream.v1.PostgresqlTable(); + } + + public static com.google.cloud.datastream.v1.PostgresqlTable getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PostgresqlTable parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PostgresqlTable(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.datastream.v1.PostgresqlTable getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/PostgresqlTableOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/PostgresqlTableOrBuilder.java new file mode 100644 index 00000000..6511bf82 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/PostgresqlTableOrBuilder.java @@ -0,0 +1,83 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datastream/v1/datastream_resources.proto + +package com.google.cloud.datastream.v1; + +public interface PostgresqlTableOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1.PostgresqlTable) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Table name.
+   * 
+ * + * string table = 1; + * @return The table. + */ + java.lang.String getTable(); + /** + *
+   * Table name.
+   * 
+ * + * string table = 1; + * @return The bytes for table. + */ + com.google.protobuf.ByteString + getTableBytes(); + + /** + *
+   * PostgreSQL columns in the schema.
+   * When unspecified as part of include/exclude objects,
+   * includes/excludes everything.
+   * 
+ * + * repeated .google.cloud.datastream.v1.PostgresqlColumn postgresql_columns = 2; + */ + java.util.List + getPostgresqlColumnsList(); + /** + *
+   * PostgreSQL columns in the schema.
+   * When unspecified as part of include/exclude objects,
+   * includes/excludes everything.
+   * 
+ * + * repeated .google.cloud.datastream.v1.PostgresqlColumn postgresql_columns = 2; + */ + com.google.cloud.datastream.v1.PostgresqlColumn getPostgresqlColumns(int index); + /** + *
+   * PostgreSQL columns in the schema.
+   * When unspecified as part of include/exclude objects,
+   * includes/excludes everything.
+   * 
+ * + * repeated .google.cloud.datastream.v1.PostgresqlColumn postgresql_columns = 2; + */ + int getPostgresqlColumnsCount(); + /** + *
+   * PostgreSQL columns in the schema.
+   * When unspecified as part of include/exclude objects,
+   * includes/excludes everything.
+   * 
+ * + * repeated .google.cloud.datastream.v1.PostgresqlColumn postgresql_columns = 2; + */ + java.util.List + getPostgresqlColumnsOrBuilderList(); + /** + *
+   * PostgreSQL columns in the schema.
+   * When unspecified as part of include/exclude objects,
+   * includes/excludes everything.
+   * 
+ * + * repeated .google.cloud.datastream.v1.PostgresqlColumn postgresql_columns = 2; + */ + com.google.cloud.datastream.v1.PostgresqlColumnOrBuilder getPostgresqlColumnsOrBuilder( + int index); +} diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/PrivateConnection.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/PrivateConnection.java similarity index 64% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/PrivateConnection.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/PrivateConnection.java index a98e27b8..bb3b577a 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/PrivateConnection.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/PrivateConnection.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/datastream/v1/datastream_resources.proto package com.google.cloud.datastream.v1; /** - * - * *
  * The PrivateConnection resource is used to establish private connectivity
  * between Datastream and a customer's network.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.datastream.v1.PrivateConnection}
  */
-public final class PrivateConnection extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class PrivateConnection extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1.PrivateConnection)
     PrivateConnectionOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use PrivateConnection.newBuilder() to construct.
   private PrivateConnection(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private PrivateConnection() {
     name_ = "";
     displayName_ = "";
@@ -46,15 +28,16 @@ private PrivateConnection() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new PrivateConnection();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private PrivateConnection(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -74,109 +57,96 @@ private PrivateConnection(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
+            name_ = s;
+            break;
+          }
+          case 18: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (createTime_ != null) {
+              subBuilder = createTime_.toBuilder();
             }
-          case 18:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (createTime_ != null) {
-                subBuilder = createTime_.toBuilder();
-              }
-              createTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(createTime_);
-                createTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+            createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(createTime_);
+              createTime_ = subBuilder.buildPartial();
             }
-          case 26:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (updateTime_ != null) {
-                subBuilder = updateTime_.toBuilder();
-              }
-              updateTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(updateTime_);
-                updateTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+
+            break;
+          }
+          case 26: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (updateTime_ != null) {
+              subBuilder = updateTime_.toBuilder();
             }
-          case 34:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                labels_ =
-                    com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry);
-                mutable_bitField0_ |= 0x00000001;
-              }
-              com.google.protobuf.MapEntry labels__ =
-                  input.readMessage(
-                      LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              labels_.getMutableMap().put(labels__.getKey(), labels__.getValue());
-              break;
+            updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(updateTime_);
+              updateTime_ = subBuilder.buildPartial();
             }
-          case 42:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
 
-              displayName_ = s;
-              break;
+            break;
+          }
+          case 34: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              labels_ = com.google.protobuf.MapField.newMapField(
+                  LabelsDefaultEntryHolder.defaultEntry);
+              mutable_bitField0_ |= 0x00000001;
             }
-          case 48:
-            {
-              int rawValue = input.readEnum();
+            com.google.protobuf.MapEntry
+            labels__ = input.readMessage(
+                LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+            labels_.getMutableMap().put(
+                labels__.getKey(), labels__.getValue());
+            break;
+          }
+          case 42: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            displayName_ = s;
+            break;
+          }
+          case 48: {
+            int rawValue = input.readEnum();
 
-              state_ = rawValue;
-              break;
+            state_ = rawValue;
+            break;
+          }
+          case 58: {
+            com.google.cloud.datastream.v1.Error.Builder subBuilder = null;
+            if (error_ != null) {
+              subBuilder = error_.toBuilder();
+            }
+            error_ = input.readMessage(com.google.cloud.datastream.v1.Error.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(error_);
+              error_ = subBuilder.buildPartial();
             }
-          case 58:
-            {
-              com.google.cloud.datastream.v1.Error.Builder subBuilder = null;
-              if (error_ != null) {
-                subBuilder = error_.toBuilder();
-              }
-              error_ =
-                  input.readMessage(
-                      com.google.cloud.datastream.v1.Error.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(error_);
-                error_ = subBuilder.buildPartial();
-              }
-
-              break;
+
+            break;
+          }
+          case 802: {
+            com.google.cloud.datastream.v1.VpcPeeringConfig.Builder subBuilder = null;
+            if (vpcPeeringConfig_ != null) {
+              subBuilder = vpcPeeringConfig_.toBuilder();
             }
-          case 802:
-            {
-              com.google.cloud.datastream.v1.VpcPeeringConfig.Builder subBuilder = null;
-              if (vpcPeeringConfig_ != null) {
-                subBuilder = vpcPeeringConfig_.toBuilder();
-              }
-              vpcPeeringConfig_ =
-                  input.readMessage(
-                      com.google.cloud.datastream.v1.VpcPeeringConfig.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(vpcPeeringConfig_);
-                vpcPeeringConfig_ = subBuilder.buildPartial();
-              }
-
-              break;
+            vpcPeeringConfig_ = input.readMessage(com.google.cloud.datastream.v1.VpcPeeringConfig.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(vpcPeeringConfig_);
+              vpcPeeringConfig_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -184,52 +154,48 @@ private PrivateConnection(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datastream.v1.DatastreamResourcesProto
-        .internal_static_google_cloud_datastream_v1_PrivateConnection_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_PrivateConnection_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 4:
         return internalGetLabels();
       default:
-        throw new RuntimeException("Invalid map field number: " + number);
+        throw new RuntimeException(
+            "Invalid map field number: " + number);
     }
   }
-
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datastream.v1.DatastreamResourcesProto
-        .internal_static_google_cloud_datastream_v1_PrivateConnection_fieldAccessorTable
+    return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_PrivateConnection_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datastream.v1.PrivateConnection.class,
-            com.google.cloud.datastream.v1.PrivateConnection.Builder.class);
+            com.google.cloud.datastream.v1.PrivateConnection.class, com.google.cloud.datastream.v1.PrivateConnection.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * Private Connection state.
    * 
* * Protobuf enum {@code google.cloud.datastream.v1.PrivateConnection.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { + public enum State + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Unspecified state.
      * 
@@ -238,8 +204,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
      * The private connection is in creation state - creating resources.
      * 
@@ -248,8 +212,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ CREATING(1), /** - * - * *
      * The private connection has been created with all of its resources.
      * 
@@ -258,8 +220,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ CREATED(2), /** - * - * *
      * The private connection creation has failed.
      * 
@@ -268,8 +228,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ FAILED(3), /** - * - * *
      * The private connection is being deleted.
      * 
@@ -278,8 +236,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ DELETING(4), /** - * - * *
      * Delete request has failed, resource is in invalid state.
      * 
@@ -291,8 +247,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Unspecified state.
      * 
@@ -301,8 +255,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The private connection is in creation state - creating resources.
      * 
@@ -311,8 +263,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CREATING_VALUE = 1; /** - * - * *
      * The private connection has been created with all of its resources.
      * 
@@ -321,8 +271,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CREATED_VALUE = 2; /** - * - * *
      * The private connection creation has failed.
      * 
@@ -331,8 +279,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FAILED_VALUE = 3; /** - * - * *
      * The private connection is being deleted.
      * 
@@ -341,8 +287,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DELETING_VALUE = 4; /** - * - * *
      * Delete request has failed, resource is in invalid state.
      * 
@@ -351,6 +295,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FAILED_TO_DELETE_VALUE = 5; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -375,55 +320,52 @@ public static State valueOf(int value) { */ public static State forNumber(int value) { switch (value) { - case 0: - return STATE_UNSPECIFIED; - case 1: - return CREATING; - case 2: - return CREATED; - case 3: - return FAILED; - case 4: - return DELETING; - case 5: - return FAILED_TO_DELETE; - default: - return null; + case 0: return STATE_UNSPECIFIED; + case 1: return CREATING; + case 2: return CREATED; + case 3: return FAILED; + case 4: return DELETING; + case 5: return FAILED_TO_DELETE; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + State> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public State findValueByNumber(int number) { + return State.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public State findValueByNumber(int number) { - return State.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.datastream.v1.PrivateConnection.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; @@ -443,14 +385,11 @@ private State(int value) { public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Output only. The resource's name.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -459,29 +398,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Output only. The resource's name.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -492,15 +431,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Output only. The create time of the resource.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -508,15 +443,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. The create time of the resource.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -524,14 +455,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. The create time of the resource.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -541,15 +469,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * Output only. The update time of the resource.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ @java.lang.Override @@ -557,15 +481,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * Output only. The update time of the resource.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ @java.lang.Override @@ -573,14 +493,11 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * Output only. The update time of the resource.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -588,23 +505,24 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } public static final int LABELS_FIELD_NUMBER = 4; - private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_PrivateConnection_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.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_PrivateConnection_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } @@ -613,30 +531,28 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
    * Labels.
    * 
* * map<string, string> labels = 4; */ + @java.lang.Override - public boolean containsLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } - /** Use {@link #getLabelsMap()} instead. */ + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** - * - * *
    * Labels.
    * 
@@ -644,12 +560,11 @@ public java.util.Map getLabels() { * map<string, string> labels = 4; */ @java.lang.Override + public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
    * Labels.
    * 
@@ -657,16 +572,16 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 4; */ @java.lang.Override - public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + + public java.lang.String getLabelsOrDefault( + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * Labels.
    * 
@@ -674,11 +589,12 @@ public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.Strin * map<string, string> labels = 4; */ @java.lang.Override - public java.lang.String getLabelsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + + public java.lang.String getLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -688,14 +604,11 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { public static final int DISPLAY_NAME_FIELD_NUMBER = 5; private volatile java.lang.Object displayName_; /** - * - * *
    * Required. Display name.
    * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The displayName. */ @java.lang.Override @@ -704,29 +617,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; } } /** - * - * *
    * Required. Display name.
    * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -737,58 +650,38 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int STATE_FIELD_NUMBER = 6; private int state_; /** - * - * *
    * Output only. The state of the Private Connection.
    * 
* - * - * .google.cloud.datastream.v1.PrivateConnection.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datastream.v1.PrivateConnection.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
    * Output only. The state of the Private Connection.
    * 
* - * - * .google.cloud.datastream.v1.PrivateConnection.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datastream.v1.PrivateConnection.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ - @java.lang.Override - public com.google.cloud.datastream.v1.PrivateConnection.State getState() { + @java.lang.Override public com.google.cloud.datastream.v1.PrivateConnection.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.datastream.v1.PrivateConnection.State result = - com.google.cloud.datastream.v1.PrivateConnection.State.valueOf(state_); - return result == null - ? com.google.cloud.datastream.v1.PrivateConnection.State.UNRECOGNIZED - : result; + com.google.cloud.datastream.v1.PrivateConnection.State result = com.google.cloud.datastream.v1.PrivateConnection.State.valueOf(state_); + return result == null ? com.google.cloud.datastream.v1.PrivateConnection.State.UNRECOGNIZED : result; } public static final int ERROR_FIELD_NUMBER = 7; private com.google.cloud.datastream.v1.Error error_; /** - * - * *
-   * Output only. In case of error, the details of the error in a user-friendly
-   * format.
+   * Output only. In case of error, the details of the error in a user-friendly format.
    * 
* - * .google.cloud.datastream.v1.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datastream.v1.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the error field is set. */ @java.lang.Override @@ -796,16 +689,11 @@ public boolean hasError() { return error_ != null; } /** - * - * *
-   * Output only. In case of error, the details of the error in a user-friendly
-   * format.
+   * Output only. In case of error, the details of the error in a user-friendly format.
    * 
* - * .google.cloud.datastream.v1.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datastream.v1.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The error. */ @java.lang.Override @@ -813,15 +701,11 @@ public com.google.cloud.datastream.v1.Error getError() { return error_ == null ? com.google.cloud.datastream.v1.Error.getDefaultInstance() : error_; } /** - * - * *
-   * Output only. In case of error, the details of the error in a user-friendly
-   * format.
+   * Output only. In case of error, the details of the error in a user-friendly format.
    * 
* - * .google.cloud.datastream.v1.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datastream.v1.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.datastream.v1.ErrorOrBuilder getErrorOrBuilder() { @@ -831,14 +715,11 @@ public com.google.cloud.datastream.v1.ErrorOrBuilder getErrorOrBuilder() { public static final int VPC_PEERING_CONFIG_FIELD_NUMBER = 100; private com.google.cloud.datastream.v1.VpcPeeringConfig vpcPeeringConfig_; /** - * - * *
    * VPC Peering Config.
    * 
* * .google.cloud.datastream.v1.VpcPeeringConfig vpc_peering_config = 100; - * * @return Whether the vpcPeeringConfig field is set. */ @java.lang.Override @@ -846,25 +727,18 @@ public boolean hasVpcPeeringConfig() { return vpcPeeringConfig_ != null; } /** - * - * *
    * VPC Peering Config.
    * 
* * .google.cloud.datastream.v1.VpcPeeringConfig vpc_peering_config = 100; - * * @return The vpcPeeringConfig. */ @java.lang.Override public com.google.cloud.datastream.v1.VpcPeeringConfig getVpcPeeringConfig() { - return vpcPeeringConfig_ == null - ? com.google.cloud.datastream.v1.VpcPeeringConfig.getDefaultInstance() - : vpcPeeringConfig_; + return vpcPeeringConfig_ == null ? com.google.cloud.datastream.v1.VpcPeeringConfig.getDefaultInstance() : vpcPeeringConfig_; } /** - * - * *
    * VPC Peering Config.
    * 
@@ -877,7 +751,6 @@ public com.google.cloud.datastream.v1.VpcPeeringConfigOrBuilder getVpcPeeringCon } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -889,7 +762,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_); } @@ -899,13 +773,16 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (updateTime_ != null) { output.writeMessage(3, getUpdateTime()); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 4); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetLabels(), + LabelsDefaultEntryHolder.defaultEntry, + 4); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, displayName_); } - if (state_ - != com.google.cloud.datastream.v1.PrivateConnection.State.STATE_UNSPECIFIED.getNumber()) { + if (state_ != com.google.cloud.datastream.v1.PrivateConnection.State.STATE_UNSPECIFIED.getNumber()) { output.writeEnum(6, state_); } if (error_ != null) { @@ -927,33 +804,37 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateTime()); - } - for (java.util.Map.Entry entry : - internalGetLabels().getMap().entrySet()) { - com.google.protobuf.MapEntry labels__ = - LabelsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, labels__); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getUpdateTime()); + } + for (java.util.Map.Entry entry + : internalGetLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry + labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, labels__); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, displayName_); } - if (state_ - != com.google.cloud.datastream.v1.PrivateConnection.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, state_); + if (state_ != com.google.cloud.datastream.v1.PrivateConnection.State.STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(6, state_); } if (error_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getError()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getError()); } if (vpcPeeringConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(100, getVpcPeeringConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(100, getVpcPeeringConfig()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -963,33 +844,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.datastream.v1.PrivateConnection)) { return super.equals(obj); } - com.google.cloud.datastream.v1.PrivateConnection other = - (com.google.cloud.datastream.v1.PrivateConnection) obj; + com.google.cloud.datastream.v1.PrivateConnection other = (com.google.cloud.datastream.v1.PrivateConnection) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime().equals(other.getUpdateTime())) return false; + if (!getUpdateTime() + .equals(other.getUpdateTime())) return false; } - if (!internalGetLabels().equals(other.internalGetLabels())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!internalGetLabels().equals( + other.internalGetLabels())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; if (state_ != other.state_) 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 (hasVpcPeeringConfig() != other.hasVpcPeeringConfig()) return false; if (hasVpcPeeringConfig()) { - if (!getVpcPeeringConfig().equals(other.getVpcPeeringConfig())) return false; + if (!getVpcPeeringConfig() + .equals(other.getVpcPeeringConfig())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -1033,104 +920,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.datastream.v1.PrivateConnection parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.datastream.v1.PrivateConnection parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.PrivateConnection parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.PrivateConnection parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.PrivateConnection parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.PrivateConnection parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.PrivateConnection parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1.PrivateConnection parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.PrivateConnection parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.PrivateConnection parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1.PrivateConnection parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.PrivateConnection parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.PrivateConnection 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.datastream.v1.PrivateConnection parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.PrivateConnection parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datastream.v1.PrivateConnection prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The PrivateConnection resource is used to establish private connectivity
    * between Datastream and a customer's network.
@@ -1138,43 +1018,43 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datastream.v1.PrivateConnection}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1.PrivateConnection)
       com.google.cloud.datastream.v1.PrivateConnectionOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datastream.v1.DatastreamResourcesProto
-          .internal_static_google_cloud_datastream_v1_PrivateConnection_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_PrivateConnection_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMapField(
+        int number) {
       switch (number) {
         case 4:
           return internalGetLabels();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(
+        int number) {
       switch (number) {
         case 4:
           return internalGetMutableLabels();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datastream.v1.DatastreamResourcesProto
-          .internal_static_google_cloud_datastream_v1_PrivateConnection_fieldAccessorTable
+      return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_PrivateConnection_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datastream.v1.PrivateConnection.class,
-              com.google.cloud.datastream.v1.PrivateConnection.Builder.class);
+              com.google.cloud.datastream.v1.PrivateConnection.class, com.google.cloud.datastream.v1.PrivateConnection.Builder.class);
     }
 
     // Construct using com.google.cloud.datastream.v1.PrivateConnection.newBuilder()
@@ -1182,15 +1062,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1229,9 +1110,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datastream.v1.DatastreamResourcesProto
-          .internal_static_google_cloud_datastream_v1_PrivateConnection_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_PrivateConnection_descriptor;
     }
 
     @java.lang.Override
@@ -1250,8 +1131,7 @@ public com.google.cloud.datastream.v1.PrivateConnection build() {
 
     @java.lang.Override
     public com.google.cloud.datastream.v1.PrivateConnection buildPartial() {
-      com.google.cloud.datastream.v1.PrivateConnection result =
-          new com.google.cloud.datastream.v1.PrivateConnection(this);
+      com.google.cloud.datastream.v1.PrivateConnection result = new com.google.cloud.datastream.v1.PrivateConnection(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       if (createTimeBuilder_ == null) {
@@ -1286,39 +1166,38 @@ public com.google.cloud.datastream.v1.PrivateConnection buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datastream.v1.PrivateConnection) {
-        return mergeFrom((com.google.cloud.datastream.v1.PrivateConnection) other);
+        return mergeFrom((com.google.cloud.datastream.v1.PrivateConnection)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1326,8 +1205,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datastream.v1.PrivateConnection other) {
-      if (other == com.google.cloud.datastream.v1.PrivateConnection.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datastream.v1.PrivateConnection.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -1338,7 +1216,8 @@ public Builder mergeFrom(com.google.cloud.datastream.v1.PrivateConnection other)
       if (other.hasUpdateTime()) {
         mergeUpdateTime(other.getUpdateTime());
       }
-      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(
+          other.internalGetLabels());
       if (!other.getDisplayName().isEmpty()) {
         displayName_ = other.displayName_;
         onChanged();
@@ -1380,25 +1259,22 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Output only. The resource's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1407,21 +1283,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. The resource's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1429,61 +1304,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. The resource's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The resource's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Output only. The resource's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1491,58 +1359,39 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
      * Output only. The create time of the resource.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * Output only. The create time of the resource.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The create time of the resource.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -1558,17 +1407,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The create time of the resource.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -1579,21 +1425,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The create time of the resource.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1605,15 +1447,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The create time of the resource.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -1627,64 +1465,48 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. The create time of the resource.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The create time of the resource.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * Output only. The create time of the resource.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; @@ -1692,58 +1514,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 update time of the resource.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
      * Output only. The update time of the resource.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The update time of the resource.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -1759,17 +1562,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The update time of the resource.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -1780,21 +1580,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The update time of the resource.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -1806,15 +1602,11 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The update time of the resource.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearUpdateTime() { if (updateTimeBuilder_ == null) { @@ -1828,84 +1620,69 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * Output only. The update time of the resource.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The update time of the resource.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } } /** - * - * *
      * Output only. The update time of the resource.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), getParentForChildren(), isClean()); + updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), + getParentForChildren(), + isClean()); updateTime_ = null; } return updateTimeBuilder_; } - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - private com.google.protobuf.MapField - internalGetMutableLabels() { - onChanged(); - ; + internalGetMutableLabels() { + onChanged();; if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -1917,30 +1694,28 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
      * Labels.
      * 
* * map<string, string> labels = 4; */ + @java.lang.Override - public boolean containsLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } - /** Use {@link #getLabelsMap()} instead. */ + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** - * - * *
      * Labels.
      * 
@@ -1948,12 +1723,11 @@ public java.util.Map getLabels() { * map<string, string> labels = 4; */ @java.lang.Override + public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
      * Labels.
      * 
@@ -1961,17 +1735,16 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 4; */ @java.lang.Override + public java.lang.String getLabelsOrDefault( - java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * Labels.
      * 
@@ -1979,11 +1752,12 @@ public java.lang.String getLabelsOrDefault( * map<string, string> labels = 4; */ @java.lang.Override - public java.lang.String getLabelsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + + public java.lang.String getLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -1991,80 +1765,81 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { } public Builder clearLabels() { - internalGetMutableLabels().getMutableMap().clear(); + internalGetMutableLabels().getMutableMap() + .clear(); return this; } /** - * - * *
      * Labels.
      * 
* * map<string, string> labels = 4; */ - public Builder removeLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableLabels().getMutableMap().remove(key); + + public Builder removeLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableLabels().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map getMutableLabels() { + public java.util.Map + getMutableLabels() { return internalGetMutableLabels().getMutableMap(); } /** - * - * *
      * Labels.
      * 
* * map<string, string> labels = 4; */ - public Builder putLabels(java.lang.String key, java.lang.String value) { - if (key == null) { - throw new NullPointerException("map key"); - } + public Builder putLabels( + java.lang.String key, + java.lang.String value) { + if (key == null) { throw new NullPointerException("map key"); } if (value == null) { - throw new NullPointerException("map value"); - } + throw new NullPointerException("map value"); +} - internalGetMutableLabels().getMutableMap().put(key, value); + internalGetMutableLabels().getMutableMap() + .put(key, value); return this; } /** - * - * *
      * Labels.
      * 
* * map<string, string> labels = 4; */ - public Builder putAllLabels(java.util.Map values) { - internalGetMutableLabels().getMutableMap().putAll(values); + + public Builder putAllLabels( + java.util.Map values) { + internalGetMutableLabels().getMutableMap() + .putAll(values); return this; } private java.lang.Object displayName_ = ""; /** - * - * *
      * Required. Display name.
      * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @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; @@ -2073,21 +1848,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * Required. Display name.
      * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -2095,61 +1869,54 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * Required. Display name.
      * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** - * - * *
      * Required. Display name.
      * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** - * - * *
      * Required. Display name.
      * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -2157,75 +1924,51 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private int state_ = 0; /** - * - * *
      * Output only. The state of the Private Connection.
      * 
* - * - * .google.cloud.datastream.v1.PrivateConnection.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datastream.v1.PrivateConnection.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * Output only. The state of the Private Connection.
      * 
* - * - * .google.cloud.datastream.v1.PrivateConnection.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datastream.v1.PrivateConnection.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The state of the Private Connection.
      * 
* - * - * .google.cloud.datastream.v1.PrivateConnection.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datastream.v1.PrivateConnection.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ @java.lang.Override public com.google.cloud.datastream.v1.PrivateConnection.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.datastream.v1.PrivateConnection.State result = - com.google.cloud.datastream.v1.PrivateConnection.State.valueOf(state_); - return result == null - ? com.google.cloud.datastream.v1.PrivateConnection.State.UNRECOGNIZED - : result; + com.google.cloud.datastream.v1.PrivateConnection.State result = com.google.cloud.datastream.v1.PrivateConnection.State.valueOf(state_); + return result == null ? com.google.cloud.datastream.v1.PrivateConnection.State.UNRECOGNIZED : result; } /** - * - * *
      * Output only. The state of the Private Connection.
      * 
* - * - * .google.cloud.datastream.v1.PrivateConnection.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datastream.v1.PrivateConnection.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The state to set. * @return This builder for chaining. */ @@ -2233,26 +1976,21 @@ public Builder setState(com.google.cloud.datastream.v1.PrivateConnection.State v if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Output only. The state of the Private Connection.
      * 
* - * - * .google.cloud.datastream.v1.PrivateConnection.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datastream.v1.PrivateConnection.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -2260,39 +1998,24 @@ public Builder clearState() { private com.google.cloud.datastream.v1.Error error_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.Error, - com.google.cloud.datastream.v1.Error.Builder, - com.google.cloud.datastream.v1.ErrorOrBuilder> - errorBuilder_; + com.google.cloud.datastream.v1.Error, com.google.cloud.datastream.v1.Error.Builder, com.google.cloud.datastream.v1.ErrorOrBuilder> errorBuilder_; /** - * - * *
-     * Output only. In case of error, the details of the error in a user-friendly
-     * format.
+     * Output only. In case of error, the details of the error in a user-friendly format.
      * 
* - * - * .google.cloud.datastream.v1.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datastream.v1.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the error field is set. */ public boolean hasError() { return errorBuilder_ != null || error_ != null; } /** - * - * *
-     * Output only. In case of error, the details of the error in a user-friendly
-     * format.
+     * Output only. In case of error, the details of the error in a user-friendly format.
      * 
* - * - * .google.cloud.datastream.v1.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datastream.v1.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The error. */ public com.google.cloud.datastream.v1.Error getError() { @@ -2303,16 +2026,11 @@ public com.google.cloud.datastream.v1.Error getError() { } } /** - * - * *
-     * Output only. In case of error, the details of the error in a user-friendly
-     * format.
+     * Output only. In case of error, the details of the error in a user-friendly format.
      * 
* - * - * .google.cloud.datastream.v1.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datastream.v1.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setError(com.google.cloud.datastream.v1.Error value) { if (errorBuilder_ == null) { @@ -2328,18 +2046,14 @@ public Builder setError(com.google.cloud.datastream.v1.Error value) { return this; } /** - * - * *
-     * Output only. In case of error, the details of the error in a user-friendly
-     * format.
+     * Output only. In case of error, the details of the error in a user-friendly format.
      * 
* - * - * .google.cloud.datastream.v1.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datastream.v1.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setError(com.google.cloud.datastream.v1.Error.Builder builderForValue) { + public Builder setError( + com.google.cloud.datastream.v1.Error.Builder builderForValue) { if (errorBuilder_ == null) { error_ = builderForValue.build(); onChanged(); @@ -2350,24 +2064,17 @@ public Builder setError(com.google.cloud.datastream.v1.Error.Builder builderForV return this; } /** - * - * *
-     * Output only. In case of error, the details of the error in a user-friendly
-     * format.
+     * Output only. In case of error, the details of the error in a user-friendly format.
      * 
* - * - * .google.cloud.datastream.v1.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datastream.v1.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeError(com.google.cloud.datastream.v1.Error value) { if (errorBuilder_ == null) { if (error_ != null) { error_ = - com.google.cloud.datastream.v1.Error.newBuilder(error_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.datastream.v1.Error.newBuilder(error_).mergeFrom(value).buildPartial(); } else { error_ = value; } @@ -2379,16 +2086,11 @@ public Builder mergeError(com.google.cloud.datastream.v1.Error value) { return this; } /** - * - * *
-     * Output only. In case of error, the details of the error in a user-friendly
-     * format.
+     * Output only. In case of error, the details of the error in a user-friendly format.
      * 
* - * - * .google.cloud.datastream.v1.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datastream.v1.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearError() { if (errorBuilder_ == null) { @@ -2402,65 +2104,48 @@ public Builder clearError() { return this; } /** - * - * *
-     * Output only. In case of error, the details of the error in a user-friendly
-     * format.
+     * Output only. In case of error, the details of the error in a user-friendly format.
      * 
* - * - * .google.cloud.datastream.v1.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datastream.v1.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.datastream.v1.Error.Builder getErrorBuilder() { - + onChanged(); return getErrorFieldBuilder().getBuilder(); } /** - * - * *
-     * Output only. In case of error, the details of the error in a user-friendly
-     * format.
+     * Output only. In case of error, the details of the error in a user-friendly format.
      * 
* - * - * .google.cloud.datastream.v1.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datastream.v1.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.datastream.v1.ErrorOrBuilder getErrorOrBuilder() { if (errorBuilder_ != null) { return errorBuilder_.getMessageOrBuilder(); } else { - return error_ == null ? com.google.cloud.datastream.v1.Error.getDefaultInstance() : error_; + return error_ == null ? + com.google.cloud.datastream.v1.Error.getDefaultInstance() : error_; } } /** - * - * *
-     * Output only. In case of error, the details of the error in a user-friendly
-     * format.
+     * Output only. In case of error, the details of the error in a user-friendly format.
      * 
* - * - * .google.cloud.datastream.v1.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datastream.v1.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.Error, - com.google.cloud.datastream.v1.Error.Builder, - com.google.cloud.datastream.v1.ErrorOrBuilder> + com.google.cloud.datastream.v1.Error, com.google.cloud.datastream.v1.Error.Builder, com.google.cloud.datastream.v1.ErrorOrBuilder> getErrorFieldBuilder() { if (errorBuilder_ == null) { - errorBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.Error, - com.google.cloud.datastream.v1.Error.Builder, - com.google.cloud.datastream.v1.ErrorOrBuilder>( - getError(), getParentForChildren(), isClean()); + errorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1.Error, com.google.cloud.datastream.v1.Error.Builder, com.google.cloud.datastream.v1.ErrorOrBuilder>( + getError(), + getParentForChildren(), + isClean()); error_ = null; } return errorBuilder_; @@ -2468,47 +2153,34 @@ public com.google.cloud.datastream.v1.ErrorOrBuilder getErrorOrBuilder() { private com.google.cloud.datastream.v1.VpcPeeringConfig vpcPeeringConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.VpcPeeringConfig, - com.google.cloud.datastream.v1.VpcPeeringConfig.Builder, - com.google.cloud.datastream.v1.VpcPeeringConfigOrBuilder> - vpcPeeringConfigBuilder_; + com.google.cloud.datastream.v1.VpcPeeringConfig, com.google.cloud.datastream.v1.VpcPeeringConfig.Builder, com.google.cloud.datastream.v1.VpcPeeringConfigOrBuilder> vpcPeeringConfigBuilder_; /** - * - * *
      * VPC Peering Config.
      * 
* * .google.cloud.datastream.v1.VpcPeeringConfig vpc_peering_config = 100; - * * @return Whether the vpcPeeringConfig field is set. */ public boolean hasVpcPeeringConfig() { return vpcPeeringConfigBuilder_ != null || vpcPeeringConfig_ != null; } /** - * - * *
      * VPC Peering Config.
      * 
* * .google.cloud.datastream.v1.VpcPeeringConfig vpc_peering_config = 100; - * * @return The vpcPeeringConfig. */ public com.google.cloud.datastream.v1.VpcPeeringConfig getVpcPeeringConfig() { if (vpcPeeringConfigBuilder_ == null) { - return vpcPeeringConfig_ == null - ? com.google.cloud.datastream.v1.VpcPeeringConfig.getDefaultInstance() - : vpcPeeringConfig_; + return vpcPeeringConfig_ == null ? com.google.cloud.datastream.v1.VpcPeeringConfig.getDefaultInstance() : vpcPeeringConfig_; } else { return vpcPeeringConfigBuilder_.getMessage(); } } /** - * - * *
      * VPC Peering Config.
      * 
@@ -2529,8 +2201,6 @@ public Builder setVpcPeeringConfig(com.google.cloud.datastream.v1.VpcPeeringConf return this; } /** - * - * *
      * VPC Peering Config.
      * 
@@ -2549,8 +2219,6 @@ public Builder setVpcPeeringConfig( return this; } /** - * - * *
      * VPC Peering Config.
      * 
@@ -2561,9 +2229,7 @@ public Builder mergeVpcPeeringConfig(com.google.cloud.datastream.v1.VpcPeeringCo if (vpcPeeringConfigBuilder_ == null) { if (vpcPeeringConfig_ != null) { vpcPeeringConfig_ = - com.google.cloud.datastream.v1.VpcPeeringConfig.newBuilder(vpcPeeringConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.datastream.v1.VpcPeeringConfig.newBuilder(vpcPeeringConfig_).mergeFrom(value).buildPartial(); } else { vpcPeeringConfig_ = value; } @@ -2575,8 +2241,6 @@ public Builder mergeVpcPeeringConfig(com.google.cloud.datastream.v1.VpcPeeringCo return this; } /** - * - * *
      * VPC Peering Config.
      * 
@@ -2595,8 +2259,6 @@ public Builder clearVpcPeeringConfig() { return this; } /** - * - * *
      * VPC Peering Config.
      * 
@@ -2604,13 +2266,11 @@ public Builder clearVpcPeeringConfig() { * .google.cloud.datastream.v1.VpcPeeringConfig vpc_peering_config = 100; */ public com.google.cloud.datastream.v1.VpcPeeringConfig.Builder getVpcPeeringConfigBuilder() { - + onChanged(); return getVpcPeeringConfigFieldBuilder().getBuilder(); } /** - * - * *
      * VPC Peering Config.
      * 
@@ -2621,14 +2281,11 @@ public com.google.cloud.datastream.v1.VpcPeeringConfigOrBuilder getVpcPeeringCon if (vpcPeeringConfigBuilder_ != null) { return vpcPeeringConfigBuilder_.getMessageOrBuilder(); } else { - return vpcPeeringConfig_ == null - ? com.google.cloud.datastream.v1.VpcPeeringConfig.getDefaultInstance() - : vpcPeeringConfig_; + return vpcPeeringConfig_ == null ? + com.google.cloud.datastream.v1.VpcPeeringConfig.getDefaultInstance() : vpcPeeringConfig_; } } /** - * - * *
      * VPC Peering Config.
      * 
@@ -2636,24 +2293,21 @@ public com.google.cloud.datastream.v1.VpcPeeringConfigOrBuilder getVpcPeeringCon * .google.cloud.datastream.v1.VpcPeeringConfig vpc_peering_config = 100; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.VpcPeeringConfig, - com.google.cloud.datastream.v1.VpcPeeringConfig.Builder, - com.google.cloud.datastream.v1.VpcPeeringConfigOrBuilder> + com.google.cloud.datastream.v1.VpcPeeringConfig, com.google.cloud.datastream.v1.VpcPeeringConfig.Builder, com.google.cloud.datastream.v1.VpcPeeringConfigOrBuilder> getVpcPeeringConfigFieldBuilder() { if (vpcPeeringConfigBuilder_ == null) { - vpcPeeringConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.VpcPeeringConfig, - com.google.cloud.datastream.v1.VpcPeeringConfig.Builder, - com.google.cloud.datastream.v1.VpcPeeringConfigOrBuilder>( - getVpcPeeringConfig(), getParentForChildren(), isClean()); + vpcPeeringConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1.VpcPeeringConfig, com.google.cloud.datastream.v1.VpcPeeringConfig.Builder, com.google.cloud.datastream.v1.VpcPeeringConfigOrBuilder>( + getVpcPeeringConfig(), + getParentForChildren(), + isClean()); vpcPeeringConfig_ = null; } return vpcPeeringConfigBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2663,12 +2317,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1.PrivateConnection) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1.PrivateConnection) private static final com.google.cloud.datastream.v1.PrivateConnection DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1.PrivateConnection(); } @@ -2677,16 +2331,16 @@ public static com.google.cloud.datastream.v1.PrivateConnection getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PrivateConnection parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PrivateConnection(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PrivateConnection parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PrivateConnection(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2701,4 +2355,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datastream.v1.PrivateConnection getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/PrivateConnectionName.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/PrivateConnectionName.java similarity index 100% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/PrivateConnectionName.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/PrivateConnectionName.java diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/PrivateConnectionOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/PrivateConnectionOrBuilder.java similarity index 69% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/PrivateConnectionOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/PrivateConnectionOrBuilder.java index 76e5b148..8f90fa3b 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/PrivateConnectionOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/PrivateConnectionOrBuilder.java @@ -1,132 +1,87 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1/datastream_resources.proto package com.google.cloud.datastream.v1; -public interface PrivateConnectionOrBuilder - extends +public interface PrivateConnectionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1.PrivateConnection) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The resource's name.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. The resource's name.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Output only. The create time of the resource.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Output only. The create time of the resource.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Output only. The create time of the resource.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * Output only. The update time of the resource.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * Output only. The update time of the resource.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * Output only. The update time of the resource.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
    * Labels.
    * 
@@ -135,31 +90,30 @@ public interface PrivateConnectionOrBuilder */ int getLabelsCount(); /** - * - * *
    * Labels.
    * 
* * map<string, string> labels = 4; */ - boolean containsLabels(java.lang.String key); - /** Use {@link #getLabelsMap()} instead. */ + boolean containsLabels( + java.lang.String key); + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Deprecated - java.util.Map getLabels(); + java.util.Map + getLabels(); /** - * - * *
    * Labels.
    * 
* * map<string, string> labels = 4; */ - java.util.Map getLabelsMap(); + java.util.Map + getLabelsMap(); /** - * - * *
    * Labels.
    * 
@@ -168,143 +122,106 @@ public interface PrivateConnectionOrBuilder */ /* nullable */ - java.lang.String getLabelsOrDefault( +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue); +java.lang.String defaultValue); /** - * - * *
    * Labels.
    * 
* * map<string, string> labels = 4; */ - java.lang.String getLabelsOrThrow(java.lang.String key); + + java.lang.String getLabelsOrThrow( + java.lang.String key); /** - * - * *
    * Required. Display name.
    * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * Required. Display name.
    * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * Output only. The state of the Private Connection.
    * 
* - * - * .google.cloud.datastream.v1.PrivateConnection.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datastream.v1.PrivateConnection.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * Output only. The state of the Private Connection.
    * 
* - * - * .google.cloud.datastream.v1.PrivateConnection.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datastream.v1.PrivateConnection.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ com.google.cloud.datastream.v1.PrivateConnection.State getState(); /** - * - * *
-   * Output only. In case of error, the details of the error in a user-friendly
-   * format.
+   * Output only. In case of error, the details of the error in a user-friendly format.
    * 
* - * .google.cloud.datastream.v1.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datastream.v1.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the error field is set. */ boolean hasError(); /** - * - * *
-   * Output only. In case of error, the details of the error in a user-friendly
-   * format.
+   * Output only. In case of error, the details of the error in a user-friendly format.
    * 
* - * .google.cloud.datastream.v1.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datastream.v1.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The error. */ com.google.cloud.datastream.v1.Error getError(); /** - * - * *
-   * Output only. In case of error, the details of the error in a user-friendly
-   * format.
+   * Output only. In case of error, the details of the error in a user-friendly format.
    * 
* - * .google.cloud.datastream.v1.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datastream.v1.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.datastream.v1.ErrorOrBuilder getErrorOrBuilder(); /** - * - * *
    * VPC Peering Config.
    * 
* * .google.cloud.datastream.v1.VpcPeeringConfig vpc_peering_config = 100; - * * @return Whether the vpcPeeringConfig field is set. */ boolean hasVpcPeeringConfig(); /** - * - * *
    * VPC Peering Config.
    * 
* * .google.cloud.datastream.v1.VpcPeeringConfig vpc_peering_config = 100; - * * @return The vpcPeeringConfig. */ com.google.cloud.datastream.v1.VpcPeeringConfig getVpcPeeringConfig(); /** - * - * *
    * VPC Peering Config.
    * 
diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/PrivateConnectivity.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/PrivateConnectivity.java similarity index 66% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/PrivateConnectivity.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/PrivateConnectivity.java index e3933f4e..32eef56e 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/PrivateConnectivity.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/PrivateConnectivity.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1/datastream_resources.proto package com.google.cloud.datastream.v1; /** - * - * *
  * Private Connectivity
  * 
* * Protobuf type {@code google.cloud.datastream.v1.PrivateConnectivity} */ -public final class PrivateConnectivity extends com.google.protobuf.GeneratedMessageV3 - implements +public final class PrivateConnectivity extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1.PrivateConnectivity) PrivateConnectivityOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use PrivateConnectivity.newBuilder() to construct. private PrivateConnectivity(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private PrivateConnectivity() { privateConnection_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PrivateConnectivity(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private PrivateConnectivity( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private PrivateConnectivity( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - privateConnection_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + privateConnection_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,42 +73,35 @@ private PrivateConnectivity( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_PrivateConnectivity_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_PrivateConnectivity_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_PrivateConnectivity_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_PrivateConnectivity_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.PrivateConnectivity.class, - com.google.cloud.datastream.v1.PrivateConnectivity.Builder.class); + com.google.cloud.datastream.v1.PrivateConnectivity.class, com.google.cloud.datastream.v1.PrivateConnectivity.Builder.class); } public static final int PRIVATE_CONNECTION_FIELD_NUMBER = 1; private volatile java.lang.Object privateConnection_; /** - * - * *
    * Required. A reference to a private connection resource.
    * Format: `projects/{project}/locations/{location}/privateConnections/{name}`
    * 
* - * - * string private_connection = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string private_connection = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The privateConnection. */ @java.lang.Override @@ -135,32 +110,30 @@ public java.lang.String getPrivateConnection() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); privateConnection_ = s; return s; } } /** - * - * *
    * Required. A reference to a private connection resource.
    * Format: `projects/{project}/locations/{location}/privateConnections/{name}`
    * 
* - * - * string private_connection = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string private_connection = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for privateConnection. */ @java.lang.Override - public com.google.protobuf.ByteString getPrivateConnectionBytes() { + public com.google.protobuf.ByteString + getPrivateConnectionBytes() { java.lang.Object ref = privateConnection_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); privateConnection_ = b; return b; } else { @@ -169,7 +142,6 @@ public com.google.protobuf.ByteString getPrivateConnectionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(privateConnection_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, privateConnection_); } @@ -205,15 +178,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datastream.v1.PrivateConnectivity)) { return super.equals(obj); } - com.google.cloud.datastream.v1.PrivateConnectivity other = - (com.google.cloud.datastream.v1.PrivateConnectivity) obj; + com.google.cloud.datastream.v1.PrivateConnectivity other = (com.google.cloud.datastream.v1.PrivateConnectivity) obj; - if (!getPrivateConnection().equals(other.getPrivateConnection())) return false; + if (!getPrivateConnection() + .equals(other.getPrivateConnection())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -233,126 +206,117 @@ public int hashCode() { } public static com.google.cloud.datastream.v1.PrivateConnectivity parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.PrivateConnectivity parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.PrivateConnectivity parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.PrivateConnectivity parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.PrivateConnectivity parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.PrivateConnectivity parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1.PrivateConnectivity parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.PrivateConnectivity parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.PrivateConnectivity parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1.PrivateConnectivity parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.PrivateConnectivity parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.PrivateConnectivity 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.datastream.v1.PrivateConnectivity parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.PrivateConnectivity parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datastream.v1.PrivateConnectivity prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Private Connectivity
    * 
* * Protobuf type {@code google.cloud.datastream.v1.PrivateConnectivity} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1.PrivateConnectivity) com.google.cloud.datastream.v1.PrivateConnectivityOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_PrivateConnectivity_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_PrivateConnectivity_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_PrivateConnectivity_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_PrivateConnectivity_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.PrivateConnectivity.class, - com.google.cloud.datastream.v1.PrivateConnectivity.Builder.class); + com.google.cloud.datastream.v1.PrivateConnectivity.class, com.google.cloud.datastream.v1.PrivateConnectivity.Builder.class); } // Construct using com.google.cloud.datastream.v1.PrivateConnectivity.newBuilder() @@ -360,15 +324,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -378,9 +343,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_PrivateConnectivity_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_PrivateConnectivity_descriptor; } @java.lang.Override @@ -399,8 +364,7 @@ public com.google.cloud.datastream.v1.PrivateConnectivity build() { @java.lang.Override public com.google.cloud.datastream.v1.PrivateConnectivity buildPartial() { - com.google.cloud.datastream.v1.PrivateConnectivity result = - new com.google.cloud.datastream.v1.PrivateConnectivity(this); + com.google.cloud.datastream.v1.PrivateConnectivity result = new com.google.cloud.datastream.v1.PrivateConnectivity(this); result.privateConnection_ = privateConnection_; onBuilt(); return result; @@ -410,39 +374,38 @@ public com.google.cloud.datastream.v1.PrivateConnectivity buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1.PrivateConnectivity) { - return mergeFrom((com.google.cloud.datastream.v1.PrivateConnectivity) other); + return mergeFrom((com.google.cloud.datastream.v1.PrivateConnectivity)other); } else { super.mergeFrom(other); return this; @@ -450,8 +413,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datastream.v1.PrivateConnectivity other) { - if (other == com.google.cloud.datastream.v1.PrivateConnectivity.getDefaultInstance()) - return this; + if (other == com.google.cloud.datastream.v1.PrivateConnectivity.getDefaultInstance()) return this; if (!other.getPrivateConnection().isEmpty()) { privateConnection_ = other.privateConnection_; onChanged(); @@ -475,8 +437,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datastream.v1.PrivateConnectivity) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datastream.v1.PrivateConnectivity) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -488,23 +449,19 @@ public Builder mergeFrom( private java.lang.Object privateConnection_ = ""; /** - * - * *
      * Required. A reference to a private connection resource.
      * Format: `projects/{project}/locations/{location}/privateConnections/{name}`
      * 
* - * - * string private_connection = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string private_connection = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The privateConnection. */ public java.lang.String getPrivateConnection() { java.lang.Object ref = privateConnection_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); privateConnection_ = s; return s; @@ -513,24 +470,21 @@ public java.lang.String getPrivateConnection() { } } /** - * - * *
      * Required. A reference to a private connection resource.
      * Format: `projects/{project}/locations/{location}/privateConnections/{name}`
      * 
* - * - * string private_connection = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string private_connection = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for privateConnection. */ - public com.google.protobuf.ByteString getPrivateConnectionBytes() { + public com.google.protobuf.ByteString + getPrivateConnectionBytes() { java.lang.Object ref = privateConnection_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); privateConnection_ = b; return b; } else { @@ -538,77 +492,64 @@ public com.google.protobuf.ByteString getPrivateConnectionBytes() { } } /** - * - * *
      * Required. A reference to a private connection resource.
      * Format: `projects/{project}/locations/{location}/privateConnections/{name}`
      * 
* - * - * string private_connection = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string private_connection = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The privateConnection to set. * @return This builder for chaining. */ - public Builder setPrivateConnection(java.lang.String value) { + public Builder setPrivateConnection( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + privateConnection_ = value; onChanged(); return this; } /** - * - * *
      * Required. A reference to a private connection resource.
      * Format: `projects/{project}/locations/{location}/privateConnections/{name}`
      * 
* - * - * string private_connection = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string private_connection = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearPrivateConnection() { - + privateConnection_ = getDefaultInstance().getPrivateConnection(); onChanged(); return this; } /** - * - * *
      * Required. A reference to a private connection resource.
      * Format: `projects/{project}/locations/{location}/privateConnections/{name}`
      * 
* - * - * string private_connection = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string private_connection = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for privateConnection to set. * @return This builder for chaining. */ - public Builder setPrivateConnectionBytes(com.google.protobuf.ByteString value) { + public Builder setPrivateConnectionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + privateConnection_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -618,12 +559,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1.PrivateConnectivity) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1.PrivateConnectivity) private static final com.google.cloud.datastream.v1.PrivateConnectivity DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1.PrivateConnectivity(); } @@ -632,16 +573,16 @@ public static com.google.cloud.datastream.v1.PrivateConnectivity getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PrivateConnectivity parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PrivateConnectivity(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PrivateConnectivity parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PrivateConnectivity(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -656,4 +597,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datastream.v1.PrivateConnectivity getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/PrivateConnectivityOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/PrivateConnectivityOrBuilder.java new file mode 100644 index 00000000..7cf685c4 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/PrivateConnectivityOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datastream/v1/datastream_resources.proto + +package com.google.cloud.datastream.v1; + +public interface PrivateConnectivityOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1.PrivateConnectivity) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. A reference to a private connection resource.
+   * Format: `projects/{project}/locations/{location}/privateConnections/{name}`
+   * 
+ * + * string private_connection = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The privateConnection. + */ + java.lang.String getPrivateConnection(); + /** + *
+   * Required. A reference to a private connection resource.
+   * Format: `projects/{project}/locations/{location}/privateConnections/{name}`
+   * 
+ * + * string private_connection = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for privateConnection. + */ + com.google.protobuf.ByteString + getPrivateConnectionBytes(); +} diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/Route.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/Route.java similarity index 65% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/Route.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/Route.java index 927aca7a..00760adc 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/Route.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/Route.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/datastream/v1/datastream_resources.proto package com.google.cloud.datastream.v1; /** - * - * *
  * The route resource is the child of the private connection resource,
  * used for defining a route for a private connection.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.datastream.v1.Route}
  */
-public final class Route extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Route extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1.Route)
     RouteOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Route.newBuilder() to construct.
   private Route(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Route() {
     name_ = "";
     displayName_ = "";
@@ -46,15 +28,16 @@ private Route() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Route();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private Route(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -74,82 +57,75 @@ private Route(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
+            name_ = s;
+            break;
+          }
+          case 18: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (createTime_ != null) {
+              subBuilder = createTime_.toBuilder();
             }
-          case 18:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (createTime_ != null) {
-                subBuilder = createTime_.toBuilder();
-              }
-              createTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(createTime_);
-                createTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+            createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(createTime_);
+              createTime_ = subBuilder.buildPartial();
             }
-          case 26:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (updateTime_ != null) {
-                subBuilder = updateTime_.toBuilder();
-              }
-              updateTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(updateTime_);
-                updateTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+
+            break;
+          }
+          case 26: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (updateTime_ != null) {
+              subBuilder = updateTime_.toBuilder();
             }
-          case 34:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                labels_ =
-                    com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry);
-                mutable_bitField0_ |= 0x00000001;
-              }
-              com.google.protobuf.MapEntry labels__ =
-                  input.readMessage(
-                      LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              labels_.getMutableMap().put(labels__.getKey(), labels__.getValue());
-              break;
+            updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(updateTime_);
+              updateTime_ = subBuilder.buildPartial();
             }
-          case 42:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
 
-              displayName_ = s;
-              break;
+            break;
+          }
+          case 34: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              labels_ = com.google.protobuf.MapField.newMapField(
+                  LabelsDefaultEntryHolder.defaultEntry);
+              mutable_bitField0_ |= 0x00000001;
             }
-          case 50:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            com.google.protobuf.MapEntry
+            labels__ = input.readMessage(
+                LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+            labels_.getMutableMap().put(
+                labels__.getKey(), labels__.getValue());
+            break;
+          }
+          case 42: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              destinationAddress_ = s;
-              break;
-            }
-          case 56:
-            {
-              destinationPort_ = input.readInt32();
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            displayName_ = s;
+            break;
+          }
+          case 50: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            destinationAddress_ = s;
+            break;
+          }
+          case 56: {
+
+            destinationPort_ = input.readInt32();
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -157,50 +133,46 @@ private Route(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datastream.v1.DatastreamResourcesProto
-        .internal_static_google_cloud_datastream_v1_Route_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_Route_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 4:
         return internalGetLabels();
       default:
-        throw new RuntimeException("Invalid map field number: " + number);
+        throw new RuntimeException(
+            "Invalid map field number: " + number);
     }
   }
-
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datastream.v1.DatastreamResourcesProto
-        .internal_static_google_cloud_datastream_v1_Route_fieldAccessorTable
+    return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_Route_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datastream.v1.Route.class,
-            com.google.cloud.datastream.v1.Route.Builder.class);
+            com.google.cloud.datastream.v1.Route.class, com.google.cloud.datastream.v1.Route.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Output only. The resource's name.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -209,29 +181,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Output only. The resource's name.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -242,15 +214,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Output only. The create time of the resource.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -258,15 +226,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. The create time of the resource.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -274,14 +238,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. The create time of the resource.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -291,15 +252,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * Output only. The update time of the resource.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ @java.lang.Override @@ -307,15 +264,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * Output only. The update time of the resource.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ @java.lang.Override @@ -323,14 +276,11 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * Output only. The update time of the resource.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -338,23 +288,24 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } public static final int LABELS_FIELD_NUMBER = 4; - private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_Route_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.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_Route_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } @@ -363,30 +314,28 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
    * Labels.
    * 
* * map<string, string> labels = 4; */ + @java.lang.Override - public boolean containsLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } - /** Use {@link #getLabelsMap()} instead. */ + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** - * - * *
    * Labels.
    * 
@@ -394,12 +343,11 @@ public java.util.Map getLabels() { * map<string, string> labels = 4; */ @java.lang.Override + public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
    * Labels.
    * 
@@ -407,16 +355,16 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 4; */ @java.lang.Override - public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + + public java.lang.String getLabelsOrDefault( + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * Labels.
    * 
@@ -424,11 +372,12 @@ public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.Strin * map<string, string> labels = 4; */ @java.lang.Override - public java.lang.String getLabelsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + + public java.lang.String getLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -438,14 +387,11 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { public static final int DISPLAY_NAME_FIELD_NUMBER = 5; private volatile java.lang.Object displayName_; /** - * - * *
    * Required. Display name.
    * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The displayName. */ @java.lang.Override @@ -454,29 +400,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; } } /** - * - * *
    * Required. Display name.
    * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -487,14 +433,11 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int DESTINATION_ADDRESS_FIELD_NUMBER = 6; private volatile java.lang.Object destinationAddress_; /** - * - * *
    * Required. Destination address for connection
    * 
* * string destination_address = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return The destinationAddress. */ @java.lang.Override @@ -503,29 +446,29 @@ public java.lang.String getDestinationAddress() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); destinationAddress_ = s; return s; } } /** - * - * *
    * Required. Destination address for connection
    * 
* * string destination_address = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for destinationAddress. */ @java.lang.Override - public com.google.protobuf.ByteString getDestinationAddressBytes() { + public com.google.protobuf.ByteString + getDestinationAddressBytes() { java.lang.Object ref = destinationAddress_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); destinationAddress_ = b; return b; } else { @@ -536,14 +479,11 @@ public com.google.protobuf.ByteString getDestinationAddressBytes() { public static final int DESTINATION_PORT_FIELD_NUMBER = 7; private int destinationPort_; /** - * - * *
    * Destination port for connection
    * 
* * int32 destination_port = 7; - * * @return The destinationPort. */ @java.lang.Override @@ -552,7 +492,6 @@ public int getDestinationPort() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -564,7 +503,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_); } @@ -574,8 +514,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (updateTime_ != null) { output.writeMessage(3, getUpdateTime()); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 4); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetLabels(), + LabelsDefaultEntryHolder.defaultEntry, + 4); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, displayName_); } @@ -598,20 +542,22 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateTime()); - } - for (java.util.Map.Entry entry : - internalGetLabels().getMap().entrySet()) { - com.google.protobuf.MapEntry labels__ = - LabelsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, labels__); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getUpdateTime()); + } + for (java.util.Map.Entry entry + : internalGetLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry + labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, labels__); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, displayName_); @@ -620,7 +566,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, destinationAddress_); } if (destinationPort_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(7, destinationPort_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(7, destinationPort_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -630,26 +577,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.datastream.v1.Route)) { return super.equals(obj); } com.google.cloud.datastream.v1.Route other = (com.google.cloud.datastream.v1.Route) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime().equals(other.getUpdateTime())) return false; - } - if (!internalGetLabels().equals(other.internalGetLabels())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!getDestinationAddress().equals(other.getDestinationAddress())) return false; - if (getDestinationPort() != other.getDestinationPort()) return false; + if (!getUpdateTime() + .equals(other.getUpdateTime())) return false; + } + if (!internalGetLabels().equals( + other.internalGetLabels())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!getDestinationAddress() + .equals(other.getDestinationAddress())) return false; + if (getDestinationPort() + != other.getDestinationPort()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -686,103 +640,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.datastream.v1.Route parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.datastream.v1.Route parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.Route parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1.Route parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.datastream.v1.Route parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.Route parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.Route parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.Route parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.Route 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.datastream.v1.Route parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datastream.v1.Route parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.Route 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.datastream.v1.Route parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.Route parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datastream.v1.Route prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The route resource is the child of the private connection resource,
    * used for defining a route for a private connection.
@@ -790,43 +738,43 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datastream.v1.Route}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1.Route)
       com.google.cloud.datastream.v1.RouteOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datastream.v1.DatastreamResourcesProto
-          .internal_static_google_cloud_datastream_v1_Route_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_Route_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMapField(
+        int number) {
       switch (number) {
         case 4:
           return internalGetLabels();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(
+        int number) {
       switch (number) {
         case 4:
           return internalGetMutableLabels();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datastream.v1.DatastreamResourcesProto
-          .internal_static_google_cloud_datastream_v1_Route_fieldAccessorTable
+      return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_Route_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datastream.v1.Route.class,
-              com.google.cloud.datastream.v1.Route.Builder.class);
+              com.google.cloud.datastream.v1.Route.class, com.google.cloud.datastream.v1.Route.Builder.class);
     }
 
     // Construct using com.google.cloud.datastream.v1.Route.newBuilder()
@@ -834,15 +782,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -871,9 +820,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datastream.v1.DatastreamResourcesProto
-          .internal_static_google_cloud_datastream_v1_Route_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_Route_descriptor;
     }
 
     @java.lang.Override
@@ -918,39 +867,38 @@ public com.google.cloud.datastream.v1.Route buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datastream.v1.Route) {
-        return mergeFrom((com.google.cloud.datastream.v1.Route) other);
+        return mergeFrom((com.google.cloud.datastream.v1.Route)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -969,7 +917,8 @@ public Builder mergeFrom(com.google.cloud.datastream.v1.Route other) {
       if (other.hasUpdateTime()) {
         mergeUpdateTime(other.getUpdateTime());
       }
-      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(
+          other.internalGetLabels());
       if (!other.getDisplayName().isEmpty()) {
         displayName_ = other.displayName_;
         onChanged();
@@ -1009,25 +958,22 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Output only. The resource's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1036,21 +982,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. The resource's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1058,61 +1003,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. The resource's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The resource's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Output only. The resource's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1120,58 +1058,39 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
      * Output only. The create time of the resource.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * Output only. The create time of the resource.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The create time of the resource.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -1187,17 +1106,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The create time of the resource.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -1208,21 +1124,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The create time of the resource.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1234,15 +1146,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The create time of the resource.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -1256,64 +1164,48 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. The create time of the resource.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The create time of the resource.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * Output only. The create time of the resource.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; @@ -1321,58 +1213,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 update time of the resource.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
      * Output only. The update time of the resource.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The update time of the resource.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -1388,17 +1261,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The update time of the resource.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -1409,21 +1279,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The update time of the resource.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -1435,15 +1301,11 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The update time of the resource.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearUpdateTime() { if (updateTimeBuilder_ == null) { @@ -1457,84 +1319,69 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * Output only. The update time of the resource.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The update time of the resource.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } } /** - * - * *
      * Output only. The update time of the resource.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), getParentForChildren(), isClean()); + updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), + getParentForChildren(), + isClean()); updateTime_ = null; } return updateTimeBuilder_; } - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - private com.google.protobuf.MapField - internalGetMutableLabels() { - onChanged(); - ; + internalGetMutableLabels() { + onChanged();; if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -1546,30 +1393,28 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
      * Labels.
      * 
* * map<string, string> labels = 4; */ + @java.lang.Override - public boolean containsLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } - /** Use {@link #getLabelsMap()} instead. */ + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** - * - * *
      * Labels.
      * 
@@ -1577,12 +1422,11 @@ public java.util.Map getLabels() { * map<string, string> labels = 4; */ @java.lang.Override + public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
      * Labels.
      * 
@@ -1590,17 +1434,16 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 4; */ @java.lang.Override + public java.lang.String getLabelsOrDefault( - java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * Labels.
      * 
@@ -1608,11 +1451,12 @@ public java.lang.String getLabelsOrDefault( * map<string, string> labels = 4; */ @java.lang.Override - public java.lang.String getLabelsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + + public java.lang.String getLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -1620,80 +1464,81 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { } public Builder clearLabels() { - internalGetMutableLabels().getMutableMap().clear(); + internalGetMutableLabels().getMutableMap() + .clear(); return this; } /** - * - * *
      * Labels.
      * 
* * map<string, string> labels = 4; */ - public Builder removeLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableLabels().getMutableMap().remove(key); + + public Builder removeLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableLabels().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map getMutableLabels() { + public java.util.Map + getMutableLabels() { return internalGetMutableLabels().getMutableMap(); } /** - * - * *
      * Labels.
      * 
* * map<string, string> labels = 4; */ - public Builder putLabels(java.lang.String key, java.lang.String value) { - if (key == null) { - throw new NullPointerException("map key"); - } + public Builder putLabels( + java.lang.String key, + java.lang.String value) { + if (key == null) { throw new NullPointerException("map key"); } if (value == null) { - throw new NullPointerException("map value"); - } + throw new NullPointerException("map value"); +} - internalGetMutableLabels().getMutableMap().put(key, value); + internalGetMutableLabels().getMutableMap() + .put(key, value); return this; } /** - * - * *
      * Labels.
      * 
* * map<string, string> labels = 4; */ - public Builder putAllLabels(java.util.Map values) { - internalGetMutableLabels().getMutableMap().putAll(values); + + public Builder putAllLabels( + java.util.Map values) { + internalGetMutableLabels().getMutableMap() + .putAll(values); return this; } private java.lang.Object displayName_ = ""; /** - * - * *
      * Required. Display name.
      * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @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; @@ -1702,21 +1547,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * Required. Display name.
      * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -1724,61 +1568,54 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * Required. Display name.
      * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** - * - * *
      * Required. Display name.
      * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** - * - * *
      * Required. Display name.
      * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -1786,20 +1623,18 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object destinationAddress_ = ""; /** - * - * *
      * Required. Destination address for connection
      * 
* * string destination_address = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return The destinationAddress. */ public java.lang.String getDestinationAddress() { java.lang.Object ref = destinationAddress_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); destinationAddress_ = s; return s; @@ -1808,21 +1643,20 @@ public java.lang.String getDestinationAddress() { } } /** - * - * *
      * Required. Destination address for connection
      * 
* * string destination_address = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for destinationAddress. */ - public com.google.protobuf.ByteString getDestinationAddressBytes() { + public com.google.protobuf.ByteString + getDestinationAddressBytes() { java.lang.Object ref = destinationAddress_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); destinationAddress_ = b; return b; } else { @@ -1830,76 +1664,66 @@ public com.google.protobuf.ByteString getDestinationAddressBytes() { } } /** - * - * *
      * Required. Destination address for connection
      * 
* * string destination_address = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The destinationAddress to set. * @return This builder for chaining. */ - public Builder setDestinationAddress(java.lang.String value) { + public Builder setDestinationAddress( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + destinationAddress_ = value; onChanged(); return this; } /** - * - * *
      * Required. Destination address for connection
      * 
* * string destination_address = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearDestinationAddress() { - + destinationAddress_ = getDefaultInstance().getDestinationAddress(); onChanged(); return this; } /** - * - * *
      * Required. Destination address for connection
      * 
* * string destination_address = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for destinationAddress to set. * @return This builder for chaining. */ - public Builder setDestinationAddressBytes(com.google.protobuf.ByteString value) { + public Builder setDestinationAddressBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + destinationAddress_ = value; onChanged(); return this; } - private int destinationPort_; + private int destinationPort_ ; /** - * - * *
      * Destination port for connection
      * 
* * int32 destination_port = 7; - * * @return The destinationPort. */ @java.lang.Override @@ -1907,43 +1731,37 @@ public int getDestinationPort() { return destinationPort_; } /** - * - * *
      * Destination port for connection
      * 
* * int32 destination_port = 7; - * * @param value The destinationPort to set. * @return This builder for chaining. */ public Builder setDestinationPort(int value) { - + destinationPort_ = value; onChanged(); return this; } /** - * - * *
      * Destination port for connection
      * 
* * int32 destination_port = 7; - * * @return This builder for chaining. */ public Builder clearDestinationPort() { - + destinationPort_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1953,12 +1771,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1.Route) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1.Route) private static final com.google.cloud.datastream.v1.Route DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1.Route(); } @@ -1967,16 +1785,16 @@ public static com.google.cloud.datastream.v1.Route getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Route parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Route(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Route parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Route(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1991,4 +1809,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datastream.v1.Route getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/RouteName.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/RouteName.java similarity index 100% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/RouteName.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/RouteName.java diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/RouteOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/RouteOrBuilder.java similarity index 69% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/RouteOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/RouteOrBuilder.java index 6e554c6a..1ebc96d7 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/RouteOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/RouteOrBuilder.java @@ -1,132 +1,87 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1/datastream_resources.proto package com.google.cloud.datastream.v1; -public interface RouteOrBuilder - extends +public interface RouteOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1.Route) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The resource's name.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. The resource's name.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Output only. The create time of the resource.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Output only. The create time of the resource.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Output only. The create time of the resource.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * Output only. The update time of the resource.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * Output only. The update time of the resource.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * Output only. The update time of the resource.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
    * Labels.
    * 
@@ -135,31 +90,30 @@ public interface RouteOrBuilder */ int getLabelsCount(); /** - * - * *
    * Labels.
    * 
* * map<string, string> labels = 4; */ - boolean containsLabels(java.lang.String key); - /** Use {@link #getLabelsMap()} instead. */ + boolean containsLabels( + java.lang.String key); + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Deprecated - java.util.Map getLabels(); + java.util.Map + getLabels(); /** - * - * *
    * Labels.
    * 
* * map<string, string> labels = 4; */ - java.util.Map getLabelsMap(); + java.util.Map + getLabelsMap(); /** - * - * *
    * Labels.
    * 
@@ -168,80 +122,67 @@ public interface RouteOrBuilder */ /* nullable */ - java.lang.String getLabelsOrDefault( +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue); +java.lang.String defaultValue); /** - * - * *
    * Labels.
    * 
* * map<string, string> labels = 4; */ - java.lang.String getLabelsOrThrow(java.lang.String key); + + java.lang.String getLabelsOrThrow( + java.lang.String key); /** - * - * *
    * Required. Display name.
    * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * Required. Display name.
    * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * Required. Destination address for connection
    * 
* * string destination_address = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return The destinationAddress. */ java.lang.String getDestinationAddress(); /** - * - * *
    * Required. Destination address for connection
    * 
* * string destination_address = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for destinationAddress. */ - com.google.protobuf.ByteString getDestinationAddressBytes(); + com.google.protobuf.ByteString + getDestinationAddressBytes(); /** - * - * *
    * Destination port for connection
    * 
* * int32 destination_port = 7; - * * @return The destinationPort. */ int getDestinationPort(); diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/SourceConfig.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/SourceConfig.java similarity index 56% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/SourceConfig.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/SourceConfig.java index f85e8664..16d4eee9 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/SourceConfig.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/SourceConfig.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1/datastream_resources.proto package com.google.cloud.datastream.v1; /** - * - * *
  * The configuration of the stream source.
  * 
* * Protobuf type {@code google.cloud.datastream.v1.SourceConfig} */ -public final class SourceConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class SourceConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1.SourceConfig) SourceConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use SourceConfig.newBuilder() to construct. private SourceConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SourceConfig() { sourceConnectionProfile_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SourceConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private SourceConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,59 +53,61 @@ private SourceConfig( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - sourceConnectionProfile_ = s; - break; + sourceConnectionProfile_ = s; + break; + } + case 802: { + com.google.cloud.datastream.v1.OracleSourceConfig.Builder subBuilder = null; + if (sourceStreamConfigCase_ == 100) { + subBuilder = ((com.google.cloud.datastream.v1.OracleSourceConfig) sourceStreamConfig_).toBuilder(); } - case 802: - { - com.google.cloud.datastream.v1.OracleSourceConfig.Builder subBuilder = null; - if (sourceStreamConfigCase_ == 100) { - subBuilder = - ((com.google.cloud.datastream.v1.OracleSourceConfig) sourceStreamConfig_) - .toBuilder(); - } - sourceStreamConfig_ = - input.readMessage( - com.google.cloud.datastream.v1.OracleSourceConfig.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.datastream.v1.OracleSourceConfig) sourceStreamConfig_); - sourceStreamConfig_ = subBuilder.buildPartial(); - } - sourceStreamConfigCase_ = 100; - break; + sourceStreamConfig_ = + input.readMessage(com.google.cloud.datastream.v1.OracleSourceConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.datastream.v1.OracleSourceConfig) sourceStreamConfig_); + sourceStreamConfig_ = subBuilder.buildPartial(); } - case 810: - { - com.google.cloud.datastream.v1.MysqlSourceConfig.Builder subBuilder = null; - if (sourceStreamConfigCase_ == 101) { - subBuilder = - ((com.google.cloud.datastream.v1.MysqlSourceConfig) sourceStreamConfig_) - .toBuilder(); - } - sourceStreamConfig_ = - input.readMessage( - com.google.cloud.datastream.v1.MysqlSourceConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.datastream.v1.MysqlSourceConfig) sourceStreamConfig_); - sourceStreamConfig_ = subBuilder.buildPartial(); - } - sourceStreamConfigCase_ = 101; - break; + sourceStreamConfigCase_ = 100; + break; + } + case 810: { + com.google.cloud.datastream.v1.MysqlSourceConfig.Builder subBuilder = null; + if (sourceStreamConfigCase_ == 101) { + subBuilder = ((com.google.cloud.datastream.v1.MysqlSourceConfig) sourceStreamConfig_).toBuilder(); + } + sourceStreamConfig_ = + input.readMessage(com.google.cloud.datastream.v1.MysqlSourceConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.datastream.v1.MysqlSourceConfig) sourceStreamConfig_); + sourceStreamConfig_ = subBuilder.buildPartial(); + } + sourceStreamConfigCase_ = 101; + break; + } + case 818: { + com.google.cloud.datastream.v1.PostgresqlSourceConfig.Builder subBuilder = null; + if (sourceStreamConfigCase_ == 102) { + subBuilder = ((com.google.cloud.datastream.v1.PostgresqlSourceConfig) sourceStreamConfig_).toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + sourceStreamConfig_ = + input.readMessage(com.google.cloud.datastream.v1.PostgresqlSourceConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.datastream.v1.PostgresqlSourceConfig) sourceStreamConfig_); + sourceStreamConfig_ = subBuilder.buildPartial(); } + sourceStreamConfigCase_ = 102; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -130,40 +115,36 @@ private SourceConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_SourceConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_SourceConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_SourceConfig_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_SourceConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.SourceConfig.class, - com.google.cloud.datastream.v1.SourceConfig.Builder.class); + com.google.cloud.datastream.v1.SourceConfig.class, com.google.cloud.datastream.v1.SourceConfig.Builder.class); } private int sourceStreamConfigCase_ = 0; private java.lang.Object sourceStreamConfig_; - public enum SourceStreamConfigCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { ORACLE_SOURCE_CONFIG(100), MYSQL_SOURCE_CONFIG(101), + POSTGRESQL_SOURCE_CONFIG(102), SOURCESTREAMCONFIG_NOT_SET(0); private final int value; - private SourceStreamConfigCase(int value) { this.value = value; } @@ -179,40 +160,33 @@ public static SourceStreamConfigCase valueOf(int value) { public static SourceStreamConfigCase forNumber(int value) { switch (value) { - case 100: - return ORACLE_SOURCE_CONFIG; - case 101: - return MYSQL_SOURCE_CONFIG; - case 0: - return SOURCESTREAMCONFIG_NOT_SET; - default: - return null; + case 100: return ORACLE_SOURCE_CONFIG; + case 101: return MYSQL_SOURCE_CONFIG; + case 102: return POSTGRESQL_SOURCE_CONFIG; + case 0: return SOURCESTREAMCONFIG_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public SourceStreamConfigCase getSourceStreamConfigCase() { - return SourceStreamConfigCase.forNumber(sourceStreamConfigCase_); + public SourceStreamConfigCase + getSourceStreamConfigCase() { + return SourceStreamConfigCase.forNumber( + sourceStreamConfigCase_); } public static final int SOURCE_CONNECTION_PROFILE_FIELD_NUMBER = 1; private volatile java.lang.Object sourceConnectionProfile_; /** - * - * *
    * Required. Source connection profile resoource.
    * Format: `projects/{project}/locations/{location}/connectionProfiles/{name}`
    * 
* - * - * string source_connection_profile = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string source_connection_profile = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The sourceConnectionProfile. */ @java.lang.Override @@ -221,32 +195,30 @@ public java.lang.String getSourceConnectionProfile() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceConnectionProfile_ = s; return s; } } /** - * - * *
    * Required. Source connection profile resoource.
    * Format: `projects/{project}/locations/{location}/connectionProfiles/{name}`
    * 
* - * - * string source_connection_profile = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string source_connection_profile = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for sourceConnectionProfile. */ @java.lang.Override - public com.google.protobuf.ByteString getSourceConnectionProfileBytes() { + public com.google.protobuf.ByteString + getSourceConnectionProfileBytes() { java.lang.Object ref = sourceConnectionProfile_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sourceConnectionProfile_ = b; return b; } else { @@ -256,14 +228,11 @@ public com.google.protobuf.ByteString getSourceConnectionProfileBytes() { public static final int ORACLE_SOURCE_CONFIG_FIELD_NUMBER = 100; /** - * - * *
-   * Oracle data source configuration
+   * Oracle data source configuration.
    * 
* * .google.cloud.datastream.v1.OracleSourceConfig oracle_source_config = 100; - * * @return Whether the oracleSourceConfig field is set. */ @java.lang.Override @@ -271,51 +240,42 @@ public boolean hasOracleSourceConfig() { return sourceStreamConfigCase_ == 100; } /** - * - * *
-   * Oracle data source configuration
+   * Oracle data source configuration.
    * 
* * .google.cloud.datastream.v1.OracleSourceConfig oracle_source_config = 100; - * * @return The oracleSourceConfig. */ @java.lang.Override public com.google.cloud.datastream.v1.OracleSourceConfig getOracleSourceConfig() { if (sourceStreamConfigCase_ == 100) { - return (com.google.cloud.datastream.v1.OracleSourceConfig) sourceStreamConfig_; + return (com.google.cloud.datastream.v1.OracleSourceConfig) sourceStreamConfig_; } return com.google.cloud.datastream.v1.OracleSourceConfig.getDefaultInstance(); } /** - * - * *
-   * Oracle data source configuration
+   * Oracle data source configuration.
    * 
* * .google.cloud.datastream.v1.OracleSourceConfig oracle_source_config = 100; */ @java.lang.Override - public com.google.cloud.datastream.v1.OracleSourceConfigOrBuilder - getOracleSourceConfigOrBuilder() { + public com.google.cloud.datastream.v1.OracleSourceConfigOrBuilder getOracleSourceConfigOrBuilder() { if (sourceStreamConfigCase_ == 100) { - return (com.google.cloud.datastream.v1.OracleSourceConfig) sourceStreamConfig_; + return (com.google.cloud.datastream.v1.OracleSourceConfig) sourceStreamConfig_; } return com.google.cloud.datastream.v1.OracleSourceConfig.getDefaultInstance(); } public static final int MYSQL_SOURCE_CONFIG_FIELD_NUMBER = 101; /** - * - * *
-   * MySQL data source configuration
+   * MySQL data source configuration.
    * 
* * .google.cloud.datastream.v1.MysqlSourceConfig mysql_source_config = 101; - * * @return Whether the mysqlSourceConfig field is set. */ @java.lang.Override @@ -323,28 +283,23 @@ public boolean hasMysqlSourceConfig() { return sourceStreamConfigCase_ == 101; } /** - * - * *
-   * MySQL data source configuration
+   * MySQL data source configuration.
    * 
* * .google.cloud.datastream.v1.MysqlSourceConfig mysql_source_config = 101; - * * @return The mysqlSourceConfig. */ @java.lang.Override public com.google.cloud.datastream.v1.MysqlSourceConfig getMysqlSourceConfig() { if (sourceStreamConfigCase_ == 101) { - return (com.google.cloud.datastream.v1.MysqlSourceConfig) sourceStreamConfig_; + return (com.google.cloud.datastream.v1.MysqlSourceConfig) sourceStreamConfig_; } return com.google.cloud.datastream.v1.MysqlSourceConfig.getDefaultInstance(); } /** - * - * *
-   * MySQL data source configuration
+   * MySQL data source configuration.
    * 
* * .google.cloud.datastream.v1.MysqlSourceConfig mysql_source_config = 101; @@ -352,13 +307,55 @@ public com.google.cloud.datastream.v1.MysqlSourceConfig getMysqlSourceConfig() { @java.lang.Override public com.google.cloud.datastream.v1.MysqlSourceConfigOrBuilder getMysqlSourceConfigOrBuilder() { if (sourceStreamConfigCase_ == 101) { - return (com.google.cloud.datastream.v1.MysqlSourceConfig) sourceStreamConfig_; + return (com.google.cloud.datastream.v1.MysqlSourceConfig) sourceStreamConfig_; } return com.google.cloud.datastream.v1.MysqlSourceConfig.getDefaultInstance(); } - private byte memoizedIsInitialized = -1; + public static final int POSTGRESQL_SOURCE_CONFIG_FIELD_NUMBER = 102; + /** + *
+   * PostgreSQL data source configuration.
+   * 
+ * + * .google.cloud.datastream.v1.PostgresqlSourceConfig postgresql_source_config = 102; + * @return Whether the postgresqlSourceConfig field is set. + */ + @java.lang.Override + public boolean hasPostgresqlSourceConfig() { + return sourceStreamConfigCase_ == 102; + } + /** + *
+   * PostgreSQL data source configuration.
+   * 
+ * + * .google.cloud.datastream.v1.PostgresqlSourceConfig postgresql_source_config = 102; + * @return The postgresqlSourceConfig. + */ + @java.lang.Override + public com.google.cloud.datastream.v1.PostgresqlSourceConfig getPostgresqlSourceConfig() { + if (sourceStreamConfigCase_ == 102) { + return (com.google.cloud.datastream.v1.PostgresqlSourceConfig) sourceStreamConfig_; + } + return com.google.cloud.datastream.v1.PostgresqlSourceConfig.getDefaultInstance(); + } + /** + *
+   * PostgreSQL data source configuration.
+   * 
+ * + * .google.cloud.datastream.v1.PostgresqlSourceConfig postgresql_source_config = 102; + */ + @java.lang.Override + public com.google.cloud.datastream.v1.PostgresqlSourceConfigOrBuilder getPostgresqlSourceConfigOrBuilder() { + if (sourceStreamConfigCase_ == 102) { + return (com.google.cloud.datastream.v1.PostgresqlSourceConfig) sourceStreamConfig_; + } + return com.google.cloud.datastream.v1.PostgresqlSourceConfig.getDefaultInstance(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -370,17 +367,19 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sourceConnectionProfile_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, sourceConnectionProfile_); } if (sourceStreamConfigCase_ == 100) { - output.writeMessage( - 100, (com.google.cloud.datastream.v1.OracleSourceConfig) sourceStreamConfig_); + output.writeMessage(100, (com.google.cloud.datastream.v1.OracleSourceConfig) sourceStreamConfig_); } if (sourceStreamConfigCase_ == 101) { - output.writeMessage( - 101, (com.google.cloud.datastream.v1.MysqlSourceConfig) sourceStreamConfig_); + output.writeMessage(101, (com.google.cloud.datastream.v1.MysqlSourceConfig) sourceStreamConfig_); + } + if (sourceStreamConfigCase_ == 102) { + output.writeMessage(102, (com.google.cloud.datastream.v1.PostgresqlSourceConfig) sourceStreamConfig_); } unknownFields.writeTo(output); } @@ -395,14 +394,16 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, sourceConnectionProfile_); } if (sourceStreamConfigCase_ == 100) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 100, (com.google.cloud.datastream.v1.OracleSourceConfig) sourceStreamConfig_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(100, (com.google.cloud.datastream.v1.OracleSourceConfig) sourceStreamConfig_); } if (sourceStreamConfigCase_ == 101) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 101, (com.google.cloud.datastream.v1.MysqlSourceConfig) sourceStreamConfig_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(101, (com.google.cloud.datastream.v1.MysqlSourceConfig) sourceStreamConfig_); + } + if (sourceStreamConfigCase_ == 102) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(102, (com.google.cloud.datastream.v1.PostgresqlSourceConfig) sourceStreamConfig_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -412,22 +413,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.datastream.v1.SourceConfig)) { return super.equals(obj); } - com.google.cloud.datastream.v1.SourceConfig other = - (com.google.cloud.datastream.v1.SourceConfig) obj; + com.google.cloud.datastream.v1.SourceConfig other = (com.google.cloud.datastream.v1.SourceConfig) obj; - if (!getSourceConnectionProfile().equals(other.getSourceConnectionProfile())) return false; + if (!getSourceConnectionProfile() + .equals(other.getSourceConnectionProfile())) return false; if (!getSourceStreamConfigCase().equals(other.getSourceStreamConfigCase())) return false; switch (sourceStreamConfigCase_) { case 100: - if (!getOracleSourceConfig().equals(other.getOracleSourceConfig())) return false; + if (!getOracleSourceConfig() + .equals(other.getOracleSourceConfig())) return false; break; case 101: - if (!getMysqlSourceConfig().equals(other.getMysqlSourceConfig())) return false; + if (!getMysqlSourceConfig() + .equals(other.getMysqlSourceConfig())) return false; + break; + case 102: + if (!getPostgresqlSourceConfig() + .equals(other.getPostgresqlSourceConfig())) return false; break; case 0: default: @@ -454,6 +461,10 @@ public int hashCode() { hash = (37 * hash) + MYSQL_SOURCE_CONFIG_FIELD_NUMBER; hash = (53 * hash) + getMysqlSourceConfig().hashCode(); break; + case 102: + hash = (37 * hash) + POSTGRESQL_SOURCE_CONFIG_FIELD_NUMBER; + hash = (53 * hash) + getPostgresqlSourceConfig().hashCode(); + break; case 0: default: } @@ -462,127 +473,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.datastream.v1.SourceConfig parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.datastream.v1.SourceConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.SourceConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.SourceConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.SourceConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.SourceConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.SourceConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.SourceConfig 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.datastream.v1.SourceConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1.SourceConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.SourceConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.SourceConfig 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.datastream.v1.SourceConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.SourceConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datastream.v1.SourceConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The configuration of the stream source.
    * 
* * Protobuf type {@code google.cloud.datastream.v1.SourceConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1.SourceConfig) com.google.cloud.datastream.v1.SourceConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_SourceConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_SourceConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_SourceConfig_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_SourceConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.SourceConfig.class, - com.google.cloud.datastream.v1.SourceConfig.Builder.class); + com.google.cloud.datastream.v1.SourceConfig.class, com.google.cloud.datastream.v1.SourceConfig.Builder.class); } // Construct using com.google.cloud.datastream.v1.SourceConfig.newBuilder() @@ -590,15 +592,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -610,9 +613,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_SourceConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_SourceConfig_descriptor; } @java.lang.Override @@ -631,8 +634,7 @@ public com.google.cloud.datastream.v1.SourceConfig build() { @java.lang.Override public com.google.cloud.datastream.v1.SourceConfig buildPartial() { - com.google.cloud.datastream.v1.SourceConfig result = - new com.google.cloud.datastream.v1.SourceConfig(this); + com.google.cloud.datastream.v1.SourceConfig result = new com.google.cloud.datastream.v1.SourceConfig(this); result.sourceConnectionProfile_ = sourceConnectionProfile_; if (sourceStreamConfigCase_ == 100) { if (oracleSourceConfigBuilder_ == null) { @@ -648,6 +650,13 @@ public com.google.cloud.datastream.v1.SourceConfig buildPartial() { result.sourceStreamConfig_ = mysqlSourceConfigBuilder_.build(); } } + if (sourceStreamConfigCase_ == 102) { + if (postgresqlSourceConfigBuilder_ == null) { + result.sourceStreamConfig_ = sourceStreamConfig_; + } else { + result.sourceStreamConfig_ = postgresqlSourceConfigBuilder_.build(); + } + } result.sourceStreamConfigCase_ = sourceStreamConfigCase_; onBuilt(); return result; @@ -657,39 +666,38 @@ public com.google.cloud.datastream.v1.SourceConfig buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1.SourceConfig) { - return mergeFrom((com.google.cloud.datastream.v1.SourceConfig) other); + return mergeFrom((com.google.cloud.datastream.v1.SourceConfig)other); } else { super.mergeFrom(other); return this; @@ -703,20 +711,21 @@ public Builder mergeFrom(com.google.cloud.datastream.v1.SourceConfig other) { onChanged(); } switch (other.getSourceStreamConfigCase()) { - case ORACLE_SOURCE_CONFIG: - { - mergeOracleSourceConfig(other.getOracleSourceConfig()); - break; - } - case MYSQL_SOURCE_CONFIG: - { - mergeMysqlSourceConfig(other.getMysqlSourceConfig()); - break; - } - case SOURCESTREAMCONFIG_NOT_SET: - { - break; - } + case ORACLE_SOURCE_CONFIG: { + mergeOracleSourceConfig(other.getOracleSourceConfig()); + break; + } + case MYSQL_SOURCE_CONFIG: { + mergeMysqlSourceConfig(other.getMysqlSourceConfig()); + break; + } + case POSTGRESQL_SOURCE_CONFIG: { + mergePostgresqlSourceConfig(other.getPostgresqlSourceConfig()); + break; + } + case SOURCESTREAMCONFIG_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -746,12 +755,12 @@ public Builder mergeFrom( } return this; } - private int sourceStreamConfigCase_ = 0; private java.lang.Object sourceStreamConfig_; - - public SourceStreamConfigCase getSourceStreamConfigCase() { - return SourceStreamConfigCase.forNumber(sourceStreamConfigCase_); + public SourceStreamConfigCase + getSourceStreamConfigCase() { + return SourceStreamConfigCase.forNumber( + sourceStreamConfigCase_); } public Builder clearSourceStreamConfig() { @@ -761,25 +770,22 @@ public Builder clearSourceStreamConfig() { return this; } + private java.lang.Object sourceConnectionProfile_ = ""; /** - * - * *
      * Required. Source connection profile resoource.
      * Format: `projects/{project}/locations/{location}/connectionProfiles/{name}`
      * 
* - * - * string source_connection_profile = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string source_connection_profile = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The sourceConnectionProfile. */ public java.lang.String getSourceConnectionProfile() { java.lang.Object ref = sourceConnectionProfile_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceConnectionProfile_ = s; return s; @@ -788,24 +794,21 @@ public java.lang.String getSourceConnectionProfile() { } } /** - * - * *
      * Required. Source connection profile resoource.
      * Format: `projects/{project}/locations/{location}/connectionProfiles/{name}`
      * 
* - * - * string source_connection_profile = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string source_connection_profile = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for sourceConnectionProfile. */ - public com.google.protobuf.ByteString getSourceConnectionProfileBytes() { + public com.google.protobuf.ByteString + getSourceConnectionProfileBytes() { java.lang.Object ref = sourceConnectionProfile_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sourceConnectionProfile_ = b; return b; } else { @@ -813,89 +816,70 @@ public com.google.protobuf.ByteString getSourceConnectionProfileBytes() { } } /** - * - * *
      * Required. Source connection profile resoource.
      * Format: `projects/{project}/locations/{location}/connectionProfiles/{name}`
      * 
* - * - * string source_connection_profile = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string source_connection_profile = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The sourceConnectionProfile to set. * @return This builder for chaining. */ - public Builder setSourceConnectionProfile(java.lang.String value) { + public Builder setSourceConnectionProfile( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + sourceConnectionProfile_ = value; onChanged(); return this; } /** - * - * *
      * Required. Source connection profile resoource.
      * Format: `projects/{project}/locations/{location}/connectionProfiles/{name}`
      * 
* - * - * string source_connection_profile = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string source_connection_profile = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearSourceConnectionProfile() { - + sourceConnectionProfile_ = getDefaultInstance().getSourceConnectionProfile(); onChanged(); return this; } /** - * - * *
      * Required. Source connection profile resoource.
      * Format: `projects/{project}/locations/{location}/connectionProfiles/{name}`
      * 
* - * - * string source_connection_profile = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string source_connection_profile = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for sourceConnectionProfile to set. * @return This builder for chaining. */ - public Builder setSourceConnectionProfileBytes(com.google.protobuf.ByteString value) { + public Builder setSourceConnectionProfileBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + sourceConnectionProfile_ = value; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.OracleSourceConfig, - com.google.cloud.datastream.v1.OracleSourceConfig.Builder, - com.google.cloud.datastream.v1.OracleSourceConfigOrBuilder> - oracleSourceConfigBuilder_; + com.google.cloud.datastream.v1.OracleSourceConfig, com.google.cloud.datastream.v1.OracleSourceConfig.Builder, com.google.cloud.datastream.v1.OracleSourceConfigOrBuilder> oracleSourceConfigBuilder_; /** - * - * *
-     * Oracle data source configuration
+     * Oracle data source configuration.
      * 
* * .google.cloud.datastream.v1.OracleSourceConfig oracle_source_config = 100; - * * @return Whether the oracleSourceConfig field is set. */ @java.lang.Override @@ -903,14 +887,11 @@ public boolean hasOracleSourceConfig() { return sourceStreamConfigCase_ == 100; } /** - * - * *
-     * Oracle data source configuration
+     * Oracle data source configuration.
      * 
* * .google.cloud.datastream.v1.OracleSourceConfig oracle_source_config = 100; - * * @return The oracleSourceConfig. */ @java.lang.Override @@ -928,10 +909,8 @@ public com.google.cloud.datastream.v1.OracleSourceConfig getOracleSourceConfig() } } /** - * - * *
-     * Oracle data source configuration
+     * Oracle data source configuration.
      * 
* * .google.cloud.datastream.v1.OracleSourceConfig oracle_source_config = 100; @@ -950,10 +929,8 @@ public Builder setOracleSourceConfig(com.google.cloud.datastream.v1.OracleSource return this; } /** - * - * *
-     * Oracle data source configuration
+     * Oracle data source configuration.
      * 
* * .google.cloud.datastream.v1.OracleSourceConfig oracle_source_config = 100; @@ -970,25 +947,18 @@ public Builder setOracleSourceConfig( return this; } /** - * - * *
-     * Oracle data source configuration
+     * Oracle data source configuration.
      * 
* * .google.cloud.datastream.v1.OracleSourceConfig oracle_source_config = 100; */ - public Builder mergeOracleSourceConfig( - com.google.cloud.datastream.v1.OracleSourceConfig value) { + public Builder mergeOracleSourceConfig(com.google.cloud.datastream.v1.OracleSourceConfig value) { if (oracleSourceConfigBuilder_ == null) { - if (sourceStreamConfigCase_ == 100 - && sourceStreamConfig_ - != com.google.cloud.datastream.v1.OracleSourceConfig.getDefaultInstance()) { - sourceStreamConfig_ = - com.google.cloud.datastream.v1.OracleSourceConfig.newBuilder( - (com.google.cloud.datastream.v1.OracleSourceConfig) sourceStreamConfig_) - .mergeFrom(value) - .buildPartial(); + if (sourceStreamConfigCase_ == 100 && + sourceStreamConfig_ != com.google.cloud.datastream.v1.OracleSourceConfig.getDefaultInstance()) { + sourceStreamConfig_ = com.google.cloud.datastream.v1.OracleSourceConfig.newBuilder((com.google.cloud.datastream.v1.OracleSourceConfig) sourceStreamConfig_) + .mergeFrom(value).buildPartial(); } else { sourceStreamConfig_ = value; } @@ -1004,10 +974,8 @@ public Builder mergeOracleSourceConfig( return this; } /** - * - * *
-     * Oracle data source configuration
+     * Oracle data source configuration.
      * 
* * .google.cloud.datastream.v1.OracleSourceConfig oracle_source_config = 100; @@ -1029,30 +997,24 @@ public Builder clearOracleSourceConfig() { return this; } /** - * - * *
-     * Oracle data source configuration
+     * Oracle data source configuration.
      * 
* * .google.cloud.datastream.v1.OracleSourceConfig oracle_source_config = 100; */ - public com.google.cloud.datastream.v1.OracleSourceConfig.Builder - getOracleSourceConfigBuilder() { + public com.google.cloud.datastream.v1.OracleSourceConfig.Builder getOracleSourceConfigBuilder() { return getOracleSourceConfigFieldBuilder().getBuilder(); } /** - * - * *
-     * Oracle data source configuration
+     * Oracle data source configuration.
      * 
* * .google.cloud.datastream.v1.OracleSourceConfig oracle_source_config = 100; */ @java.lang.Override - public com.google.cloud.datastream.v1.OracleSourceConfigOrBuilder - getOracleSourceConfigOrBuilder() { + public com.google.cloud.datastream.v1.OracleSourceConfigOrBuilder getOracleSourceConfigOrBuilder() { if ((sourceStreamConfigCase_ == 100) && (oracleSourceConfigBuilder_ != null)) { return oracleSourceConfigBuilder_.getMessageOrBuilder(); } else { @@ -1063,54 +1025,39 @@ public Builder clearOracleSourceConfig() { } } /** - * - * *
-     * Oracle data source configuration
+     * Oracle data source configuration.
      * 
* * .google.cloud.datastream.v1.OracleSourceConfig oracle_source_config = 100; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.OracleSourceConfig, - com.google.cloud.datastream.v1.OracleSourceConfig.Builder, - com.google.cloud.datastream.v1.OracleSourceConfigOrBuilder> + com.google.cloud.datastream.v1.OracleSourceConfig, com.google.cloud.datastream.v1.OracleSourceConfig.Builder, com.google.cloud.datastream.v1.OracleSourceConfigOrBuilder> getOracleSourceConfigFieldBuilder() { if (oracleSourceConfigBuilder_ == null) { if (!(sourceStreamConfigCase_ == 100)) { - sourceStreamConfig_ = - com.google.cloud.datastream.v1.OracleSourceConfig.getDefaultInstance(); + sourceStreamConfig_ = com.google.cloud.datastream.v1.OracleSourceConfig.getDefaultInstance(); } - oracleSourceConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.OracleSourceConfig, - com.google.cloud.datastream.v1.OracleSourceConfig.Builder, - com.google.cloud.datastream.v1.OracleSourceConfigOrBuilder>( + oracleSourceConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1.OracleSourceConfig, com.google.cloud.datastream.v1.OracleSourceConfig.Builder, com.google.cloud.datastream.v1.OracleSourceConfigOrBuilder>( (com.google.cloud.datastream.v1.OracleSourceConfig) sourceStreamConfig_, getParentForChildren(), isClean()); sourceStreamConfig_ = null; } sourceStreamConfigCase_ = 100; - onChanged(); - ; + onChanged();; return oracleSourceConfigBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.MysqlSourceConfig, - com.google.cloud.datastream.v1.MysqlSourceConfig.Builder, - com.google.cloud.datastream.v1.MysqlSourceConfigOrBuilder> - mysqlSourceConfigBuilder_; + com.google.cloud.datastream.v1.MysqlSourceConfig, com.google.cloud.datastream.v1.MysqlSourceConfig.Builder, com.google.cloud.datastream.v1.MysqlSourceConfigOrBuilder> mysqlSourceConfigBuilder_; /** - * - * *
-     * MySQL data source configuration
+     * MySQL data source configuration.
      * 
* * .google.cloud.datastream.v1.MysqlSourceConfig mysql_source_config = 101; - * * @return Whether the mysqlSourceConfig field is set. */ @java.lang.Override @@ -1118,14 +1065,11 @@ public boolean hasMysqlSourceConfig() { return sourceStreamConfigCase_ == 101; } /** - * - * *
-     * MySQL data source configuration
+     * MySQL data source configuration.
      * 
* * .google.cloud.datastream.v1.MysqlSourceConfig mysql_source_config = 101; - * * @return The mysqlSourceConfig. */ @java.lang.Override @@ -1143,10 +1087,8 @@ public com.google.cloud.datastream.v1.MysqlSourceConfig getMysqlSourceConfig() { } } /** - * - * *
-     * MySQL data source configuration
+     * MySQL data source configuration.
      * 
* * .google.cloud.datastream.v1.MysqlSourceConfig mysql_source_config = 101; @@ -1165,10 +1107,8 @@ public Builder setMysqlSourceConfig(com.google.cloud.datastream.v1.MysqlSourceCo return this; } /** - * - * *
-     * MySQL data source configuration
+     * MySQL data source configuration.
      * 
* * .google.cloud.datastream.v1.MysqlSourceConfig mysql_source_config = 101; @@ -1185,24 +1125,18 @@ public Builder setMysqlSourceConfig( return this; } /** - * - * *
-     * MySQL data source configuration
+     * MySQL data source configuration.
      * 
* * .google.cloud.datastream.v1.MysqlSourceConfig mysql_source_config = 101; */ public Builder mergeMysqlSourceConfig(com.google.cloud.datastream.v1.MysqlSourceConfig value) { if (mysqlSourceConfigBuilder_ == null) { - if (sourceStreamConfigCase_ == 101 - && sourceStreamConfig_ - != com.google.cloud.datastream.v1.MysqlSourceConfig.getDefaultInstance()) { - sourceStreamConfig_ = - com.google.cloud.datastream.v1.MysqlSourceConfig.newBuilder( - (com.google.cloud.datastream.v1.MysqlSourceConfig) sourceStreamConfig_) - .mergeFrom(value) - .buildPartial(); + if (sourceStreamConfigCase_ == 101 && + sourceStreamConfig_ != com.google.cloud.datastream.v1.MysqlSourceConfig.getDefaultInstance()) { + sourceStreamConfig_ = com.google.cloud.datastream.v1.MysqlSourceConfig.newBuilder((com.google.cloud.datastream.v1.MysqlSourceConfig) sourceStreamConfig_) + .mergeFrom(value).buildPartial(); } else { sourceStreamConfig_ = value; } @@ -1218,10 +1152,8 @@ public Builder mergeMysqlSourceConfig(com.google.cloud.datastream.v1.MysqlSource return this; } /** - * - * *
-     * MySQL data source configuration
+     * MySQL data source configuration.
      * 
* * .google.cloud.datastream.v1.MysqlSourceConfig mysql_source_config = 101; @@ -1243,10 +1175,8 @@ public Builder clearMysqlSourceConfig() { return this; } /** - * - * *
-     * MySQL data source configuration
+     * MySQL data source configuration.
      * 
* * .google.cloud.datastream.v1.MysqlSourceConfig mysql_source_config = 101; @@ -1255,17 +1185,14 @@ public com.google.cloud.datastream.v1.MysqlSourceConfig.Builder getMysqlSourceCo return getMysqlSourceConfigFieldBuilder().getBuilder(); } /** - * - * *
-     * MySQL data source configuration
+     * MySQL data source configuration.
      * 
* * .google.cloud.datastream.v1.MysqlSourceConfig mysql_source_config = 101; */ @java.lang.Override - public com.google.cloud.datastream.v1.MysqlSourceConfigOrBuilder - getMysqlSourceConfigOrBuilder() { + public com.google.cloud.datastream.v1.MysqlSourceConfigOrBuilder getMysqlSourceConfigOrBuilder() { if ((sourceStreamConfigCase_ == 101) && (mysqlSourceConfigBuilder_ != null)) { return mysqlSourceConfigBuilder_.getMessageOrBuilder(); } else { @@ -1276,42 +1203,211 @@ public com.google.cloud.datastream.v1.MysqlSourceConfig.Builder getMysqlSourceCo } } /** - * - * *
-     * MySQL data source configuration
+     * MySQL data source configuration.
      * 
* * .google.cloud.datastream.v1.MysqlSourceConfig mysql_source_config = 101; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.MysqlSourceConfig, - com.google.cloud.datastream.v1.MysqlSourceConfig.Builder, - com.google.cloud.datastream.v1.MysqlSourceConfigOrBuilder> + com.google.cloud.datastream.v1.MysqlSourceConfig, com.google.cloud.datastream.v1.MysqlSourceConfig.Builder, com.google.cloud.datastream.v1.MysqlSourceConfigOrBuilder> getMysqlSourceConfigFieldBuilder() { if (mysqlSourceConfigBuilder_ == null) { if (!(sourceStreamConfigCase_ == 101)) { - sourceStreamConfig_ = - com.google.cloud.datastream.v1.MysqlSourceConfig.getDefaultInstance(); + sourceStreamConfig_ = com.google.cloud.datastream.v1.MysqlSourceConfig.getDefaultInstance(); } - mysqlSourceConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.MysqlSourceConfig, - com.google.cloud.datastream.v1.MysqlSourceConfig.Builder, - com.google.cloud.datastream.v1.MysqlSourceConfigOrBuilder>( + mysqlSourceConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1.MysqlSourceConfig, com.google.cloud.datastream.v1.MysqlSourceConfig.Builder, com.google.cloud.datastream.v1.MysqlSourceConfigOrBuilder>( (com.google.cloud.datastream.v1.MysqlSourceConfig) sourceStreamConfig_, getParentForChildren(), isClean()); sourceStreamConfig_ = null; } sourceStreamConfigCase_ = 101; - onChanged(); - ; + onChanged();; return mysqlSourceConfigBuilder_; } + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1.PostgresqlSourceConfig, com.google.cloud.datastream.v1.PostgresqlSourceConfig.Builder, com.google.cloud.datastream.v1.PostgresqlSourceConfigOrBuilder> postgresqlSourceConfigBuilder_; + /** + *
+     * PostgreSQL data source configuration.
+     * 
+ * + * .google.cloud.datastream.v1.PostgresqlSourceConfig postgresql_source_config = 102; + * @return Whether the postgresqlSourceConfig field is set. + */ @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public boolean hasPostgresqlSourceConfig() { + return sourceStreamConfigCase_ == 102; + } + /** + *
+     * PostgreSQL data source configuration.
+     * 
+ * + * .google.cloud.datastream.v1.PostgresqlSourceConfig postgresql_source_config = 102; + * @return The postgresqlSourceConfig. + */ + @java.lang.Override + public com.google.cloud.datastream.v1.PostgresqlSourceConfig getPostgresqlSourceConfig() { + if (postgresqlSourceConfigBuilder_ == null) { + if (sourceStreamConfigCase_ == 102) { + return (com.google.cloud.datastream.v1.PostgresqlSourceConfig) sourceStreamConfig_; + } + return com.google.cloud.datastream.v1.PostgresqlSourceConfig.getDefaultInstance(); + } else { + if (sourceStreamConfigCase_ == 102) { + return postgresqlSourceConfigBuilder_.getMessage(); + } + return com.google.cloud.datastream.v1.PostgresqlSourceConfig.getDefaultInstance(); + } + } + /** + *
+     * PostgreSQL data source configuration.
+     * 
+ * + * .google.cloud.datastream.v1.PostgresqlSourceConfig postgresql_source_config = 102; + */ + public Builder setPostgresqlSourceConfig(com.google.cloud.datastream.v1.PostgresqlSourceConfig value) { + if (postgresqlSourceConfigBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + sourceStreamConfig_ = value; + onChanged(); + } else { + postgresqlSourceConfigBuilder_.setMessage(value); + } + sourceStreamConfigCase_ = 102; + return this; + } + /** + *
+     * PostgreSQL data source configuration.
+     * 
+ * + * .google.cloud.datastream.v1.PostgresqlSourceConfig postgresql_source_config = 102; + */ + public Builder setPostgresqlSourceConfig( + com.google.cloud.datastream.v1.PostgresqlSourceConfig.Builder builderForValue) { + if (postgresqlSourceConfigBuilder_ == null) { + sourceStreamConfig_ = builderForValue.build(); + onChanged(); + } else { + postgresqlSourceConfigBuilder_.setMessage(builderForValue.build()); + } + sourceStreamConfigCase_ = 102; + return this; + } + /** + *
+     * PostgreSQL data source configuration.
+     * 
+ * + * .google.cloud.datastream.v1.PostgresqlSourceConfig postgresql_source_config = 102; + */ + public Builder mergePostgresqlSourceConfig(com.google.cloud.datastream.v1.PostgresqlSourceConfig value) { + if (postgresqlSourceConfigBuilder_ == null) { + if (sourceStreamConfigCase_ == 102 && + sourceStreamConfig_ != com.google.cloud.datastream.v1.PostgresqlSourceConfig.getDefaultInstance()) { + sourceStreamConfig_ = com.google.cloud.datastream.v1.PostgresqlSourceConfig.newBuilder((com.google.cloud.datastream.v1.PostgresqlSourceConfig) sourceStreamConfig_) + .mergeFrom(value).buildPartial(); + } else { + sourceStreamConfig_ = value; + } + onChanged(); + } else { + if (sourceStreamConfigCase_ == 102) { + postgresqlSourceConfigBuilder_.mergeFrom(value); + } else { + postgresqlSourceConfigBuilder_.setMessage(value); + } + } + sourceStreamConfigCase_ = 102; + return this; + } + /** + *
+     * PostgreSQL data source configuration.
+     * 
+ * + * .google.cloud.datastream.v1.PostgresqlSourceConfig postgresql_source_config = 102; + */ + public Builder clearPostgresqlSourceConfig() { + if (postgresqlSourceConfigBuilder_ == null) { + if (sourceStreamConfigCase_ == 102) { + sourceStreamConfigCase_ = 0; + sourceStreamConfig_ = null; + onChanged(); + } + } else { + if (sourceStreamConfigCase_ == 102) { + sourceStreamConfigCase_ = 0; + sourceStreamConfig_ = null; + } + postgresqlSourceConfigBuilder_.clear(); + } + return this; + } + /** + *
+     * PostgreSQL data source configuration.
+     * 
+ * + * .google.cloud.datastream.v1.PostgresqlSourceConfig postgresql_source_config = 102; + */ + public com.google.cloud.datastream.v1.PostgresqlSourceConfig.Builder getPostgresqlSourceConfigBuilder() { + return getPostgresqlSourceConfigFieldBuilder().getBuilder(); + } + /** + *
+     * PostgreSQL data source configuration.
+     * 
+ * + * .google.cloud.datastream.v1.PostgresqlSourceConfig postgresql_source_config = 102; + */ + @java.lang.Override + public com.google.cloud.datastream.v1.PostgresqlSourceConfigOrBuilder getPostgresqlSourceConfigOrBuilder() { + if ((sourceStreamConfigCase_ == 102) && (postgresqlSourceConfigBuilder_ != null)) { + return postgresqlSourceConfigBuilder_.getMessageOrBuilder(); + } else { + if (sourceStreamConfigCase_ == 102) { + return (com.google.cloud.datastream.v1.PostgresqlSourceConfig) sourceStreamConfig_; + } + return com.google.cloud.datastream.v1.PostgresqlSourceConfig.getDefaultInstance(); + } + } + /** + *
+     * PostgreSQL data source configuration.
+     * 
+ * + * .google.cloud.datastream.v1.PostgresqlSourceConfig postgresql_source_config = 102; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1.PostgresqlSourceConfig, com.google.cloud.datastream.v1.PostgresqlSourceConfig.Builder, com.google.cloud.datastream.v1.PostgresqlSourceConfigOrBuilder> + getPostgresqlSourceConfigFieldBuilder() { + if (postgresqlSourceConfigBuilder_ == null) { + if (!(sourceStreamConfigCase_ == 102)) { + sourceStreamConfig_ = com.google.cloud.datastream.v1.PostgresqlSourceConfig.getDefaultInstance(); + } + postgresqlSourceConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1.PostgresqlSourceConfig, com.google.cloud.datastream.v1.PostgresqlSourceConfig.Builder, com.google.cloud.datastream.v1.PostgresqlSourceConfigOrBuilder>( + (com.google.cloud.datastream.v1.PostgresqlSourceConfig) sourceStreamConfig_, + getParentForChildren(), + isClean()); + sourceStreamConfig_ = null; + } + sourceStreamConfigCase_ = 102; + onChanged();; + return postgresqlSourceConfigBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1321,12 +1417,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1.SourceConfig) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1.SourceConfig) private static final com.google.cloud.datastream.v1.SourceConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1.SourceConfig(); } @@ -1335,16 +1431,16 @@ public static com.google.cloud.datastream.v1.SourceConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SourceConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SourceConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SourceConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SourceConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1359,4 +1455,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datastream.v1.SourceConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/SourceConfigOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/SourceConfigOrBuilder.java similarity index 59% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/SourceConfigOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/SourceConfigOrBuilder.java index 7a825e7d..23688e59 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/SourceConfigOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/SourceConfigOrBuilder.java @@ -1,88 +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/datastream/v1/datastream_resources.proto package com.google.cloud.datastream.v1; -public interface SourceConfigOrBuilder - extends +public interface SourceConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1.SourceConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Source connection profile resoource.
    * Format: `projects/{project}/locations/{location}/connectionProfiles/{name}`
    * 
* - * - * string source_connection_profile = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string source_connection_profile = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The sourceConnectionProfile. */ java.lang.String getSourceConnectionProfile(); /** - * - * *
    * Required. Source connection profile resoource.
    * Format: `projects/{project}/locations/{location}/connectionProfiles/{name}`
    * 
* - * - * string source_connection_profile = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string source_connection_profile = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for sourceConnectionProfile. */ - com.google.protobuf.ByteString getSourceConnectionProfileBytes(); + com.google.protobuf.ByteString + getSourceConnectionProfileBytes(); /** - * - * *
-   * Oracle data source configuration
+   * Oracle data source configuration.
    * 
* * .google.cloud.datastream.v1.OracleSourceConfig oracle_source_config = 100; - * * @return Whether the oracleSourceConfig field is set. */ boolean hasOracleSourceConfig(); /** - * - * *
-   * Oracle data source configuration
+   * Oracle data source configuration.
    * 
* * .google.cloud.datastream.v1.OracleSourceConfig oracle_source_config = 100; - * * @return The oracleSourceConfig. */ com.google.cloud.datastream.v1.OracleSourceConfig getOracleSourceConfig(); /** - * - * *
-   * Oracle data source configuration
+   * Oracle data source configuration.
    * 
* * .google.cloud.datastream.v1.OracleSourceConfig oracle_source_config = 100; @@ -90,40 +57,58 @@ public interface SourceConfigOrBuilder com.google.cloud.datastream.v1.OracleSourceConfigOrBuilder getOracleSourceConfigOrBuilder(); /** - * - * *
-   * MySQL data source configuration
+   * MySQL data source configuration.
    * 
* * .google.cloud.datastream.v1.MysqlSourceConfig mysql_source_config = 101; - * * @return Whether the mysqlSourceConfig field is set. */ boolean hasMysqlSourceConfig(); /** - * - * *
-   * MySQL data source configuration
+   * MySQL data source configuration.
    * 
* * .google.cloud.datastream.v1.MysqlSourceConfig mysql_source_config = 101; - * * @return The mysqlSourceConfig. */ com.google.cloud.datastream.v1.MysqlSourceConfig getMysqlSourceConfig(); /** - * - * *
-   * MySQL data source configuration
+   * MySQL data source configuration.
    * 
* * .google.cloud.datastream.v1.MysqlSourceConfig mysql_source_config = 101; */ com.google.cloud.datastream.v1.MysqlSourceConfigOrBuilder getMysqlSourceConfigOrBuilder(); - public com.google.cloud.datastream.v1.SourceConfig.SourceStreamConfigCase - getSourceStreamConfigCase(); + /** + *
+   * PostgreSQL data source configuration.
+   * 
+ * + * .google.cloud.datastream.v1.PostgresqlSourceConfig postgresql_source_config = 102; + * @return Whether the postgresqlSourceConfig field is set. + */ + boolean hasPostgresqlSourceConfig(); + /** + *
+   * PostgreSQL data source configuration.
+   * 
+ * + * .google.cloud.datastream.v1.PostgresqlSourceConfig postgresql_source_config = 102; + * @return The postgresqlSourceConfig. + */ + com.google.cloud.datastream.v1.PostgresqlSourceConfig getPostgresqlSourceConfig(); + /** + *
+   * PostgreSQL data source configuration.
+   * 
+ * + * .google.cloud.datastream.v1.PostgresqlSourceConfig postgresql_source_config = 102; + */ + com.google.cloud.datastream.v1.PostgresqlSourceConfigOrBuilder getPostgresqlSourceConfigOrBuilder(); + + public com.google.cloud.datastream.v1.SourceConfig.SourceStreamConfigCase getSourceStreamConfigCase(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/SourceObjectIdentifier.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/SourceObjectIdentifier.java new file mode 100644 index 00000000..dc3de29a --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/SourceObjectIdentifier.java @@ -0,0 +1,3687 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datastream/v1/datastream_resources.proto + +package com.google.cloud.datastream.v1; + +/** + *
+ * Represents an identifier of an object in the data source.
+ * 
+ * + * Protobuf type {@code google.cloud.datastream.v1.SourceObjectIdentifier} + */ +public final class SourceObjectIdentifier extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1.SourceObjectIdentifier) + SourceObjectIdentifierOrBuilder { +private static final long serialVersionUID = 0L; + // Use SourceObjectIdentifier.newBuilder() to construct. + private SourceObjectIdentifier(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private SourceObjectIdentifier() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new SourceObjectIdentifier(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private SourceObjectIdentifier( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier.Builder subBuilder = null; + if (sourceIdentifierCase_ == 1) { + subBuilder = ((com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier) sourceIdentifier_).toBuilder(); + } + sourceIdentifier_ = + input.readMessage(com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier) sourceIdentifier_); + sourceIdentifier_ = subBuilder.buildPartial(); + } + sourceIdentifierCase_ = 1; + break; + } + case 18: { + com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier.Builder subBuilder = null; + if (sourceIdentifierCase_ == 2) { + subBuilder = ((com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier) sourceIdentifier_).toBuilder(); + } + sourceIdentifier_ = + input.readMessage(com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier) sourceIdentifier_); + sourceIdentifier_ = subBuilder.buildPartial(); + } + sourceIdentifierCase_ = 2; + break; + } + case 26: { + com.google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifier.Builder subBuilder = null; + if (sourceIdentifierCase_ == 3) { + subBuilder = ((com.google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifier) sourceIdentifier_).toBuilder(); + } + sourceIdentifier_ = + input.readMessage(com.google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifier.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifier) sourceIdentifier_); + sourceIdentifier_ = subBuilder.buildPartial(); + } + sourceIdentifierCase_ = 3; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_SourceObjectIdentifier_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_SourceObjectIdentifier_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.datastream.v1.SourceObjectIdentifier.class, com.google.cloud.datastream.v1.SourceObjectIdentifier.Builder.class); + } + + public interface OracleObjectIdentifierOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier) + com.google.protobuf.MessageOrBuilder { + + /** + *
+     * Required. The schema name.
+     * 
+ * + * string schema = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return The schema. + */ + java.lang.String getSchema(); + /** + *
+     * Required. The schema name.
+     * 
+ * + * string schema = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for schema. + */ + com.google.protobuf.ByteString + getSchemaBytes(); + + /** + *
+     * Required. The table name.
+     * 
+ * + * string table = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The table. + */ + java.lang.String getTable(); + /** + *
+     * Required. The table name.
+     * 
+ * + * string table = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for table. + */ + com.google.protobuf.ByteString + getTableBytes(); + } + /** + *
+   * Oracle data source object identifier.
+   * 
+ * + * Protobuf type {@code google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier} + */ + public static final class OracleObjectIdentifier extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier) + OracleObjectIdentifierOrBuilder { + private static final long serialVersionUID = 0L; + // Use OracleObjectIdentifier.newBuilder() to construct. + private OracleObjectIdentifier(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private OracleObjectIdentifier() { + schema_ = ""; + table_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new OracleObjectIdentifier(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private OracleObjectIdentifier( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + schema_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + table_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_SourceObjectIdentifier_OracleObjectIdentifier_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_SourceObjectIdentifier_OracleObjectIdentifier_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier.class, com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier.Builder.class); + } + + public static final int SCHEMA_FIELD_NUMBER = 1; + private volatile java.lang.Object schema_; + /** + *
+     * Required. The schema name.
+     * 
+ * + * string schema = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return The schema. + */ + @java.lang.Override + public java.lang.String getSchema() { + java.lang.Object ref = schema_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + schema_ = s; + return s; + } + } + /** + *
+     * Required. The schema name.
+     * 
+ * + * string schema = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for schema. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getSchemaBytes() { + java.lang.Object ref = schema_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + schema_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int TABLE_FIELD_NUMBER = 2; + private volatile java.lang.Object table_; + /** + *
+     * Required. The table name.
+     * 
+ * + * string table = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The table. + */ + @java.lang.Override + public java.lang.String getTable() { + java.lang.Object ref = table_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + table_ = s; + return s; + } + } + /** + *
+     * Required. The table name.
+     * 
+ * + * string table = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for table. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getTableBytes() { + java.lang.Object ref = table_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + table_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schema_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, schema_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(table_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, table_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schema_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, schema_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(table_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, table_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier)) { + return super.equals(obj); + } + com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier other = (com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier) obj; + + if (!getSchema() + .equals(other.getSchema())) return false; + if (!getTable() + .equals(other.getTable())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + SCHEMA_FIELD_NUMBER; + hash = (53 * hash) + getSchema().hashCode(); + hash = (37 * hash) + TABLE_FIELD_NUMBER; + hash = (53 * hash) + getTable().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier 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.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier 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.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier 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 static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Oracle data source object identifier.
+     * 
+ * + * Protobuf type {@code google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier) + com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifierOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_SourceObjectIdentifier_OracleObjectIdentifier_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_SourceObjectIdentifier_OracleObjectIdentifier_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier.class, com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier.Builder.class); + } + + // Construct using com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + schema_ = ""; + + table_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_SourceObjectIdentifier_OracleObjectIdentifier_descriptor; + } + + @java.lang.Override + public com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier getDefaultInstanceForType() { + return com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier build() { + com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier buildPartial() { + com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier result = new com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier(this); + result.schema_ = schema_; + result.table_ = table_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier) { + return mergeFrom((com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier other) { + if (other == com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier.getDefaultInstance()) return this; + if (!other.getSchema().isEmpty()) { + schema_ = other.schema_; + onChanged(); + } + if (!other.getTable().isEmpty()) { + table_ = other.table_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object schema_ = ""; + /** + *
+       * Required. The schema name.
+       * 
+ * + * string schema = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return The schema. + */ + public java.lang.String getSchema() { + java.lang.Object ref = schema_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + schema_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Required. The schema name.
+       * 
+ * + * string schema = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for schema. + */ + public com.google.protobuf.ByteString + getSchemaBytes() { + java.lang.Object ref = schema_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + schema_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Required. The schema name.
+       * 
+ * + * string schema = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param value The schema to set. + * @return This builder for chaining. + */ + public Builder setSchema( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + schema_ = value; + onChanged(); + return this; + } + /** + *
+       * Required. The schema name.
+       * 
+ * + * string schema = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return This builder for chaining. + */ + public Builder clearSchema() { + + schema_ = getDefaultInstance().getSchema(); + onChanged(); + return this; + } + /** + *
+       * Required. The schema name.
+       * 
+ * + * string schema = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param value The bytes for schema to set. + * @return This builder for chaining. + */ + public Builder setSchemaBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + schema_ = value; + onChanged(); + return this; + } + + private java.lang.Object table_ = ""; + /** + *
+       * Required. The table name.
+       * 
+ * + * string table = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The table. + */ + public java.lang.String getTable() { + java.lang.Object ref = table_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + table_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Required. The table name.
+       * 
+ * + * string table = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for table. + */ + public com.google.protobuf.ByteString + getTableBytes() { + java.lang.Object ref = table_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + table_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Required. The table name.
+       * 
+ * + * string table = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param value The table to set. + * @return This builder for chaining. + */ + public Builder setTable( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + table_ = value; + onChanged(); + return this; + } + /** + *
+       * Required. The table name.
+       * 
+ * + * string table = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return This builder for chaining. + */ + public Builder clearTable() { + + table_ = getDefaultInstance().getTable(); + onChanged(); + return this; + } + /** + *
+       * Required. The table name.
+       * 
+ * + * string table = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param value The bytes for table to set. + * @return This builder for chaining. + */ + public Builder setTableBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + table_ = value; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier) + } + + // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier) + private static final com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier(); + } + + public static com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OracleObjectIdentifier parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OracleObjectIdentifier(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface PostgresqlObjectIdentifierOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifier) + com.google.protobuf.MessageOrBuilder { + + /** + *
+     * Required. The schema name.
+     * 
+ * + * string schema = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return The schema. + */ + java.lang.String getSchema(); + /** + *
+     * Required. The schema name.
+     * 
+ * + * string schema = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for schema. + */ + com.google.protobuf.ByteString + getSchemaBytes(); + + /** + *
+     * Required. The table name.
+     * 
+ * + * string table = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The table. + */ + java.lang.String getTable(); + /** + *
+     * Required. The table name.
+     * 
+ * + * string table = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for table. + */ + com.google.protobuf.ByteString + getTableBytes(); + } + /** + *
+   * PostgreSQL data source object identifier.
+   * 
+ * + * Protobuf type {@code google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifier} + */ + public static final class PostgresqlObjectIdentifier extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifier) + PostgresqlObjectIdentifierOrBuilder { + private static final long serialVersionUID = 0L; + // Use PostgresqlObjectIdentifier.newBuilder() to construct. + private PostgresqlObjectIdentifier(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private PostgresqlObjectIdentifier() { + schema_ = ""; + table_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new PostgresqlObjectIdentifier(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private PostgresqlObjectIdentifier( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + schema_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + table_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_SourceObjectIdentifier_PostgresqlObjectIdentifier_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_SourceObjectIdentifier_PostgresqlObjectIdentifier_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifier.class, com.google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifier.Builder.class); + } + + public static final int SCHEMA_FIELD_NUMBER = 1; + private volatile java.lang.Object schema_; + /** + *
+     * Required. The schema name.
+     * 
+ * + * string schema = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return The schema. + */ + @java.lang.Override + public java.lang.String getSchema() { + java.lang.Object ref = schema_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + schema_ = s; + return s; + } + } + /** + *
+     * Required. The schema name.
+     * 
+ * + * string schema = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for schema. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getSchemaBytes() { + java.lang.Object ref = schema_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + schema_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int TABLE_FIELD_NUMBER = 2; + private volatile java.lang.Object table_; + /** + *
+     * Required. The table name.
+     * 
+ * + * string table = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The table. + */ + @java.lang.Override + public java.lang.String getTable() { + java.lang.Object ref = table_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + table_ = s; + return s; + } + } + /** + *
+     * Required. The table name.
+     * 
+ * + * string table = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for table. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getTableBytes() { + java.lang.Object ref = table_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + table_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schema_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, schema_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(table_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, table_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schema_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, schema_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(table_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, table_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifier)) { + return super.equals(obj); + } + com.google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifier other = (com.google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifier) obj; + + if (!getSchema() + .equals(other.getSchema())) return false; + if (!getTable() + .equals(other.getTable())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + SCHEMA_FIELD_NUMBER; + hash = (53 * hash) + getSchema().hashCode(); + hash = (37 * hash) + TABLE_FIELD_NUMBER; + hash = (53 * hash) + getTable().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifier parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifier 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.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifier parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifier parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifier parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifier parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifier parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifier 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.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifier parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifier parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifier parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifier 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 static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifier prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * PostgreSQL data source object identifier.
+     * 
+ * + * Protobuf type {@code google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifier} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifier) + com.google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifierOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_SourceObjectIdentifier_PostgresqlObjectIdentifier_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_SourceObjectIdentifier_PostgresqlObjectIdentifier_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifier.class, com.google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifier.Builder.class); + } + + // Construct using com.google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifier.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + schema_ = ""; + + table_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_SourceObjectIdentifier_PostgresqlObjectIdentifier_descriptor; + } + + @java.lang.Override + public com.google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifier getDefaultInstanceForType() { + return com.google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifier.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifier build() { + com.google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifier result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifier buildPartial() { + com.google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifier result = new com.google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifier(this); + result.schema_ = schema_; + result.table_ = table_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifier) { + return mergeFrom((com.google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifier)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifier other) { + if (other == com.google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifier.getDefaultInstance()) return this; + if (!other.getSchema().isEmpty()) { + schema_ = other.schema_; + onChanged(); + } + if (!other.getTable().isEmpty()) { + table_ = other.table_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifier parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifier) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object schema_ = ""; + /** + *
+       * Required. The schema name.
+       * 
+ * + * string schema = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return The schema. + */ + public java.lang.String getSchema() { + java.lang.Object ref = schema_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + schema_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Required. The schema name.
+       * 
+ * + * string schema = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for schema. + */ + public com.google.protobuf.ByteString + getSchemaBytes() { + java.lang.Object ref = schema_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + schema_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Required. The schema name.
+       * 
+ * + * string schema = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param value The schema to set. + * @return This builder for chaining. + */ + public Builder setSchema( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + schema_ = value; + onChanged(); + return this; + } + /** + *
+       * Required. The schema name.
+       * 
+ * + * string schema = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return This builder for chaining. + */ + public Builder clearSchema() { + + schema_ = getDefaultInstance().getSchema(); + onChanged(); + return this; + } + /** + *
+       * Required. The schema name.
+       * 
+ * + * string schema = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param value The bytes for schema to set. + * @return This builder for chaining. + */ + public Builder setSchemaBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + schema_ = value; + onChanged(); + return this; + } + + private java.lang.Object table_ = ""; + /** + *
+       * Required. The table name.
+       * 
+ * + * string table = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The table. + */ + public java.lang.String getTable() { + java.lang.Object ref = table_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + table_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Required. The table name.
+       * 
+ * + * string table = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for table. + */ + public com.google.protobuf.ByteString + getTableBytes() { + java.lang.Object ref = table_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + table_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Required. The table name.
+       * 
+ * + * string table = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param value The table to set. + * @return This builder for chaining. + */ + public Builder setTable( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + table_ = value; + onChanged(); + return this; + } + /** + *
+       * Required. The table name.
+       * 
+ * + * string table = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return This builder for chaining. + */ + public Builder clearTable() { + + table_ = getDefaultInstance().getTable(); + onChanged(); + return this; + } + /** + *
+       * Required. The table name.
+       * 
+ * + * string table = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param value The bytes for table to set. + * @return This builder for chaining. + */ + public Builder setTableBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + table_ = value; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifier) + } + + // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifier) + private static final com.google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifier DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifier(); + } + + public static com.google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifier getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PostgresqlObjectIdentifier parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PostgresqlObjectIdentifier(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifier getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface MysqlObjectIdentifierOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier) + com.google.protobuf.MessageOrBuilder { + + /** + *
+     * Required. The database name.
+     * 
+ * + * string database = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return The database. + */ + java.lang.String getDatabase(); + /** + *
+     * Required. The database name.
+     * 
+ * + * string database = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for database. + */ + com.google.protobuf.ByteString + getDatabaseBytes(); + + /** + *
+     * Required. The table name.
+     * 
+ * + * string table = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The table. + */ + java.lang.String getTable(); + /** + *
+     * Required. The table name.
+     * 
+ * + * string table = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for table. + */ + com.google.protobuf.ByteString + getTableBytes(); + } + /** + *
+   * Mysql data source object identifier.
+   * 
+ * + * Protobuf type {@code google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier} + */ + public static final class MysqlObjectIdentifier extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier) + MysqlObjectIdentifierOrBuilder { + private static final long serialVersionUID = 0L; + // Use MysqlObjectIdentifier.newBuilder() to construct. + private MysqlObjectIdentifier(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private MysqlObjectIdentifier() { + database_ = ""; + table_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new MysqlObjectIdentifier(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private MysqlObjectIdentifier( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + database_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + table_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_SourceObjectIdentifier_MysqlObjectIdentifier_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_SourceObjectIdentifier_MysqlObjectIdentifier_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier.class, com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier.Builder.class); + } + + public static final int DATABASE_FIELD_NUMBER = 1; + private volatile java.lang.Object database_; + /** + *
+     * Required. The database name.
+     * 
+ * + * string database = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return The database. + */ + @java.lang.Override + public java.lang.String getDatabase() { + java.lang.Object ref = database_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + database_ = s; + return s; + } + } + /** + *
+     * Required. The database name.
+     * 
+ * + * string database = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for database. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getDatabaseBytes() { + java.lang.Object ref = database_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + database_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int TABLE_FIELD_NUMBER = 2; + private volatile java.lang.Object table_; + /** + *
+     * Required. The table name.
+     * 
+ * + * string table = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The table. + */ + @java.lang.Override + public java.lang.String getTable() { + java.lang.Object ref = table_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + table_ = s; + return s; + } + } + /** + *
+     * Required. The table name.
+     * 
+ * + * string table = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for table. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getTableBytes() { + java.lang.Object ref = table_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + table_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(database_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, database_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(table_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, table_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(database_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, database_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(table_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, table_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier)) { + return super.equals(obj); + } + com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier other = (com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier) obj; + + if (!getDatabase() + .equals(other.getDatabase())) return false; + if (!getTable() + .equals(other.getTable())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + DATABASE_FIELD_NUMBER; + hash = (53 * hash) + getDatabase().hashCode(); + hash = (37 * hash) + TABLE_FIELD_NUMBER; + hash = (53 * hash) + getTable().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier 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.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier 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.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier 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 static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Mysql data source object identifier.
+     * 
+ * + * Protobuf type {@code google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier) + com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifierOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_SourceObjectIdentifier_MysqlObjectIdentifier_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_SourceObjectIdentifier_MysqlObjectIdentifier_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier.class, com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier.Builder.class); + } + + // Construct using com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + database_ = ""; + + table_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_SourceObjectIdentifier_MysqlObjectIdentifier_descriptor; + } + + @java.lang.Override + public com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier getDefaultInstanceForType() { + return com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier build() { + com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier buildPartial() { + com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier result = new com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier(this); + result.database_ = database_; + result.table_ = table_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier) { + return mergeFrom((com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier other) { + if (other == com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier.getDefaultInstance()) return this; + if (!other.getDatabase().isEmpty()) { + database_ = other.database_; + onChanged(); + } + if (!other.getTable().isEmpty()) { + table_ = other.table_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object database_ = ""; + /** + *
+       * Required. The database name.
+       * 
+ * + * string database = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return The database. + */ + public java.lang.String getDatabase() { + java.lang.Object ref = database_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + database_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Required. The database name.
+       * 
+ * + * string database = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for database. + */ + public com.google.protobuf.ByteString + getDatabaseBytes() { + java.lang.Object ref = database_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + database_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Required. The database name.
+       * 
+ * + * string database = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param value The database to set. + * @return This builder for chaining. + */ + public Builder setDatabase( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + database_ = value; + onChanged(); + return this; + } + /** + *
+       * Required. The database name.
+       * 
+ * + * string database = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return This builder for chaining. + */ + public Builder clearDatabase() { + + database_ = getDefaultInstance().getDatabase(); + onChanged(); + return this; + } + /** + *
+       * Required. The database name.
+       * 
+ * + * string database = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param value The bytes for database to set. + * @return This builder for chaining. + */ + public Builder setDatabaseBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + database_ = value; + onChanged(); + return this; + } + + private java.lang.Object table_ = ""; + /** + *
+       * Required. The table name.
+       * 
+ * + * string table = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The table. + */ + public java.lang.String getTable() { + java.lang.Object ref = table_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + table_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Required. The table name.
+       * 
+ * + * string table = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for table. + */ + public com.google.protobuf.ByteString + getTableBytes() { + java.lang.Object ref = table_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + table_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Required. The table name.
+       * 
+ * + * string table = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param value The table to set. + * @return This builder for chaining. + */ + public Builder setTable( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + table_ = value; + onChanged(); + return this; + } + /** + *
+       * Required. The table name.
+       * 
+ * + * string table = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return This builder for chaining. + */ + public Builder clearTable() { + + table_ = getDefaultInstance().getTable(); + onChanged(); + return this; + } + /** + *
+       * Required. The table name.
+       * 
+ * + * string table = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param value The bytes for table to set. + * @return This builder for chaining. + */ + public Builder setTableBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + table_ = value; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier) + } + + // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier) + private static final com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier(); + } + + public static com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MysqlObjectIdentifier parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MysqlObjectIdentifier(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + private int sourceIdentifierCase_ = 0; + private java.lang.Object sourceIdentifier_; + public enum SourceIdentifierCase + implements com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { + ORACLE_IDENTIFIER(1), + MYSQL_IDENTIFIER(2), + POSTGRESQL_IDENTIFIER(3), + SOURCEIDENTIFIER_NOT_SET(0); + private final int value; + private SourceIdentifierCase(int value) { + this.value = value; + } + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static SourceIdentifierCase valueOf(int value) { + return forNumber(value); + } + + public static SourceIdentifierCase forNumber(int value) { + switch (value) { + case 1: return ORACLE_IDENTIFIER; + case 2: return MYSQL_IDENTIFIER; + case 3: return POSTGRESQL_IDENTIFIER; + case 0: return SOURCEIDENTIFIER_NOT_SET; + default: return null; + } + } + public int getNumber() { + return this.value; + } + }; + + public SourceIdentifierCase + getSourceIdentifierCase() { + return SourceIdentifierCase.forNumber( + sourceIdentifierCase_); + } + + public static final int ORACLE_IDENTIFIER_FIELD_NUMBER = 1; + /** + *
+   * Oracle data source object identifier.
+   * 
+ * + * .google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier oracle_identifier = 1; + * @return Whether the oracleIdentifier field is set. + */ + @java.lang.Override + public boolean hasOracleIdentifier() { + return sourceIdentifierCase_ == 1; + } + /** + *
+   * Oracle data source object identifier.
+   * 
+ * + * .google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier oracle_identifier = 1; + * @return The oracleIdentifier. + */ + @java.lang.Override + public com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier getOracleIdentifier() { + if (sourceIdentifierCase_ == 1) { + return (com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier) sourceIdentifier_; + } + return com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier.getDefaultInstance(); + } + /** + *
+   * Oracle data source object identifier.
+   * 
+ * + * .google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier oracle_identifier = 1; + */ + @java.lang.Override + public com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifierOrBuilder getOracleIdentifierOrBuilder() { + if (sourceIdentifierCase_ == 1) { + return (com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier) sourceIdentifier_; + } + return com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier.getDefaultInstance(); + } + + public static final int MYSQL_IDENTIFIER_FIELD_NUMBER = 2; + /** + *
+   * Mysql data source object identifier.
+   * 
+ * + * .google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier mysql_identifier = 2; + * @return Whether the mysqlIdentifier field is set. + */ + @java.lang.Override + public boolean hasMysqlIdentifier() { + return sourceIdentifierCase_ == 2; + } + /** + *
+   * Mysql data source object identifier.
+   * 
+ * + * .google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier mysql_identifier = 2; + * @return The mysqlIdentifier. + */ + @java.lang.Override + public com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier getMysqlIdentifier() { + if (sourceIdentifierCase_ == 2) { + return (com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier) sourceIdentifier_; + } + return com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier.getDefaultInstance(); + } + /** + *
+   * Mysql data source object identifier.
+   * 
+ * + * .google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier mysql_identifier = 2; + */ + @java.lang.Override + public com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifierOrBuilder getMysqlIdentifierOrBuilder() { + if (sourceIdentifierCase_ == 2) { + return (com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier) sourceIdentifier_; + } + return com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier.getDefaultInstance(); + } + + public static final int POSTGRESQL_IDENTIFIER_FIELD_NUMBER = 3; + /** + *
+   * PostgreSQL data source object identifier.
+   * 
+ * + * .google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifier postgresql_identifier = 3; + * @return Whether the postgresqlIdentifier field is set. + */ + @java.lang.Override + public boolean hasPostgresqlIdentifier() { + return sourceIdentifierCase_ == 3; + } + /** + *
+   * PostgreSQL data source object identifier.
+   * 
+ * + * .google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifier postgresql_identifier = 3; + * @return The postgresqlIdentifier. + */ + @java.lang.Override + public com.google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifier getPostgresqlIdentifier() { + if (sourceIdentifierCase_ == 3) { + return (com.google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifier) sourceIdentifier_; + } + return com.google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifier.getDefaultInstance(); + } + /** + *
+   * PostgreSQL data source object identifier.
+   * 
+ * + * .google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifier postgresql_identifier = 3; + */ + @java.lang.Override + public com.google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifierOrBuilder getPostgresqlIdentifierOrBuilder() { + if (sourceIdentifierCase_ == 3) { + return (com.google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifier) sourceIdentifier_; + } + return com.google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifier.getDefaultInstance(); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (sourceIdentifierCase_ == 1) { + output.writeMessage(1, (com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier) sourceIdentifier_); + } + if (sourceIdentifierCase_ == 2) { + output.writeMessage(2, (com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier) sourceIdentifier_); + } + if (sourceIdentifierCase_ == 3) { + output.writeMessage(3, (com.google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifier) sourceIdentifier_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (sourceIdentifierCase_ == 1) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier) sourceIdentifier_); + } + if (sourceIdentifierCase_ == 2) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier) sourceIdentifier_); + } + if (sourceIdentifierCase_ == 3) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (com.google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifier) sourceIdentifier_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.datastream.v1.SourceObjectIdentifier)) { + return super.equals(obj); + } + com.google.cloud.datastream.v1.SourceObjectIdentifier other = (com.google.cloud.datastream.v1.SourceObjectIdentifier) obj; + + if (!getSourceIdentifierCase().equals(other.getSourceIdentifierCase())) return false; + switch (sourceIdentifierCase_) { + case 1: + if (!getOracleIdentifier() + .equals(other.getOracleIdentifier())) return false; + break; + case 2: + if (!getMysqlIdentifier() + .equals(other.getMysqlIdentifier())) return false; + break; + case 3: + if (!getPostgresqlIdentifier() + .equals(other.getPostgresqlIdentifier())) return false; + break; + case 0: + default: + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + switch (sourceIdentifierCase_) { + case 1: + hash = (37 * hash) + ORACLE_IDENTIFIER_FIELD_NUMBER; + hash = (53 * hash) + getOracleIdentifier().hashCode(); + break; + case 2: + hash = (37 * hash) + MYSQL_IDENTIFIER_FIELD_NUMBER; + hash = (53 * hash) + getMysqlIdentifier().hashCode(); + break; + case 3: + hash = (37 * hash) + POSTGRESQL_IDENTIFIER_FIELD_NUMBER; + hash = (53 * hash) + getPostgresqlIdentifier().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.datastream.v1.SourceObjectIdentifier parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.datastream.v1.SourceObjectIdentifier 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.datastream.v1.SourceObjectIdentifier parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.datastream.v1.SourceObjectIdentifier parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.datastream.v1.SourceObjectIdentifier parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.datastream.v1.SourceObjectIdentifier parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.datastream.v1.SourceObjectIdentifier parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.datastream.v1.SourceObjectIdentifier 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.datastream.v1.SourceObjectIdentifier parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.datastream.v1.SourceObjectIdentifier parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.datastream.v1.SourceObjectIdentifier parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.datastream.v1.SourceObjectIdentifier 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 static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.datastream.v1.SourceObjectIdentifier prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * Represents an identifier of an object in the data source.
+   * 
+ * + * Protobuf type {@code google.cloud.datastream.v1.SourceObjectIdentifier} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1.SourceObjectIdentifier) + com.google.cloud.datastream.v1.SourceObjectIdentifierOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_SourceObjectIdentifier_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_SourceObjectIdentifier_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.datastream.v1.SourceObjectIdentifier.class, com.google.cloud.datastream.v1.SourceObjectIdentifier.Builder.class); + } + + // Construct using com.google.cloud.datastream.v1.SourceObjectIdentifier.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + sourceIdentifierCase_ = 0; + sourceIdentifier_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_SourceObjectIdentifier_descriptor; + } + + @java.lang.Override + public com.google.cloud.datastream.v1.SourceObjectIdentifier getDefaultInstanceForType() { + return com.google.cloud.datastream.v1.SourceObjectIdentifier.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.datastream.v1.SourceObjectIdentifier build() { + com.google.cloud.datastream.v1.SourceObjectIdentifier result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.datastream.v1.SourceObjectIdentifier buildPartial() { + com.google.cloud.datastream.v1.SourceObjectIdentifier result = new com.google.cloud.datastream.v1.SourceObjectIdentifier(this); + if (sourceIdentifierCase_ == 1) { + if (oracleIdentifierBuilder_ == null) { + result.sourceIdentifier_ = sourceIdentifier_; + } else { + result.sourceIdentifier_ = oracleIdentifierBuilder_.build(); + } + } + if (sourceIdentifierCase_ == 2) { + if (mysqlIdentifierBuilder_ == null) { + result.sourceIdentifier_ = sourceIdentifier_; + } else { + result.sourceIdentifier_ = mysqlIdentifierBuilder_.build(); + } + } + if (sourceIdentifierCase_ == 3) { + if (postgresqlIdentifierBuilder_ == null) { + result.sourceIdentifier_ = sourceIdentifier_; + } else { + result.sourceIdentifier_ = postgresqlIdentifierBuilder_.build(); + } + } + result.sourceIdentifierCase_ = sourceIdentifierCase_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.datastream.v1.SourceObjectIdentifier) { + return mergeFrom((com.google.cloud.datastream.v1.SourceObjectIdentifier)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.datastream.v1.SourceObjectIdentifier other) { + if (other == com.google.cloud.datastream.v1.SourceObjectIdentifier.getDefaultInstance()) return this; + switch (other.getSourceIdentifierCase()) { + case ORACLE_IDENTIFIER: { + mergeOracleIdentifier(other.getOracleIdentifier()); + break; + } + case MYSQL_IDENTIFIER: { + mergeMysqlIdentifier(other.getMysqlIdentifier()); + break; + } + case POSTGRESQL_IDENTIFIER: { + mergePostgresqlIdentifier(other.getPostgresqlIdentifier()); + break; + } + case SOURCEIDENTIFIER_NOT_SET: { + break; + } + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.datastream.v1.SourceObjectIdentifier parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.datastream.v1.SourceObjectIdentifier) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int sourceIdentifierCase_ = 0; + private java.lang.Object sourceIdentifier_; + public SourceIdentifierCase + getSourceIdentifierCase() { + return SourceIdentifierCase.forNumber( + sourceIdentifierCase_); + } + + public Builder clearSourceIdentifier() { + sourceIdentifierCase_ = 0; + sourceIdentifier_ = null; + onChanged(); + return this; + } + + + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier, com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier.Builder, com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifierOrBuilder> oracleIdentifierBuilder_; + /** + *
+     * Oracle data source object identifier.
+     * 
+ * + * .google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier oracle_identifier = 1; + * @return Whether the oracleIdentifier field is set. + */ + @java.lang.Override + public boolean hasOracleIdentifier() { + return sourceIdentifierCase_ == 1; + } + /** + *
+     * Oracle data source object identifier.
+     * 
+ * + * .google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier oracle_identifier = 1; + * @return The oracleIdentifier. + */ + @java.lang.Override + public com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier getOracleIdentifier() { + if (oracleIdentifierBuilder_ == null) { + if (sourceIdentifierCase_ == 1) { + return (com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier) sourceIdentifier_; + } + return com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier.getDefaultInstance(); + } else { + if (sourceIdentifierCase_ == 1) { + return oracleIdentifierBuilder_.getMessage(); + } + return com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier.getDefaultInstance(); + } + } + /** + *
+     * Oracle data source object identifier.
+     * 
+ * + * .google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier oracle_identifier = 1; + */ + public Builder setOracleIdentifier(com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier value) { + if (oracleIdentifierBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + sourceIdentifier_ = value; + onChanged(); + } else { + oracleIdentifierBuilder_.setMessage(value); + } + sourceIdentifierCase_ = 1; + return this; + } + /** + *
+     * Oracle data source object identifier.
+     * 
+ * + * .google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier oracle_identifier = 1; + */ + public Builder setOracleIdentifier( + com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier.Builder builderForValue) { + if (oracleIdentifierBuilder_ == null) { + sourceIdentifier_ = builderForValue.build(); + onChanged(); + } else { + oracleIdentifierBuilder_.setMessage(builderForValue.build()); + } + sourceIdentifierCase_ = 1; + return this; + } + /** + *
+     * Oracle data source object identifier.
+     * 
+ * + * .google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier oracle_identifier = 1; + */ + public Builder mergeOracleIdentifier(com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier value) { + if (oracleIdentifierBuilder_ == null) { + if (sourceIdentifierCase_ == 1 && + sourceIdentifier_ != com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier.getDefaultInstance()) { + sourceIdentifier_ = com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier.newBuilder((com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier) sourceIdentifier_) + .mergeFrom(value).buildPartial(); + } else { + sourceIdentifier_ = value; + } + onChanged(); + } else { + if (sourceIdentifierCase_ == 1) { + oracleIdentifierBuilder_.mergeFrom(value); + } else { + oracleIdentifierBuilder_.setMessage(value); + } + } + sourceIdentifierCase_ = 1; + return this; + } + /** + *
+     * Oracle data source object identifier.
+     * 
+ * + * .google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier oracle_identifier = 1; + */ + public Builder clearOracleIdentifier() { + if (oracleIdentifierBuilder_ == null) { + if (sourceIdentifierCase_ == 1) { + sourceIdentifierCase_ = 0; + sourceIdentifier_ = null; + onChanged(); + } + } else { + if (sourceIdentifierCase_ == 1) { + sourceIdentifierCase_ = 0; + sourceIdentifier_ = null; + } + oracleIdentifierBuilder_.clear(); + } + return this; + } + /** + *
+     * Oracle data source object identifier.
+     * 
+ * + * .google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier oracle_identifier = 1; + */ + public com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier.Builder getOracleIdentifierBuilder() { + return getOracleIdentifierFieldBuilder().getBuilder(); + } + /** + *
+     * Oracle data source object identifier.
+     * 
+ * + * .google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier oracle_identifier = 1; + */ + @java.lang.Override + public com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifierOrBuilder getOracleIdentifierOrBuilder() { + if ((sourceIdentifierCase_ == 1) && (oracleIdentifierBuilder_ != null)) { + return oracleIdentifierBuilder_.getMessageOrBuilder(); + } else { + if (sourceIdentifierCase_ == 1) { + return (com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier) sourceIdentifier_; + } + return com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier.getDefaultInstance(); + } + } + /** + *
+     * Oracle data source object identifier.
+     * 
+ * + * .google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier oracle_identifier = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier, com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier.Builder, com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifierOrBuilder> + getOracleIdentifierFieldBuilder() { + if (oracleIdentifierBuilder_ == null) { + if (!(sourceIdentifierCase_ == 1)) { + sourceIdentifier_ = com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier.getDefaultInstance(); + } + oracleIdentifierBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier, com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier.Builder, com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifierOrBuilder>( + (com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier) sourceIdentifier_, + getParentForChildren(), + isClean()); + sourceIdentifier_ = null; + } + sourceIdentifierCase_ = 1; + onChanged();; + return oracleIdentifierBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier, com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier.Builder, com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifierOrBuilder> mysqlIdentifierBuilder_; + /** + *
+     * Mysql data source object identifier.
+     * 
+ * + * .google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier mysql_identifier = 2; + * @return Whether the mysqlIdentifier field is set. + */ + @java.lang.Override + public boolean hasMysqlIdentifier() { + return sourceIdentifierCase_ == 2; + } + /** + *
+     * Mysql data source object identifier.
+     * 
+ * + * .google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier mysql_identifier = 2; + * @return The mysqlIdentifier. + */ + @java.lang.Override + public com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier getMysqlIdentifier() { + if (mysqlIdentifierBuilder_ == null) { + if (sourceIdentifierCase_ == 2) { + return (com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier) sourceIdentifier_; + } + return com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier.getDefaultInstance(); + } else { + if (sourceIdentifierCase_ == 2) { + return mysqlIdentifierBuilder_.getMessage(); + } + return com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier.getDefaultInstance(); + } + } + /** + *
+     * Mysql data source object identifier.
+     * 
+ * + * .google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier mysql_identifier = 2; + */ + public Builder setMysqlIdentifier(com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier value) { + if (mysqlIdentifierBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + sourceIdentifier_ = value; + onChanged(); + } else { + mysqlIdentifierBuilder_.setMessage(value); + } + sourceIdentifierCase_ = 2; + return this; + } + /** + *
+     * Mysql data source object identifier.
+     * 
+ * + * .google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier mysql_identifier = 2; + */ + public Builder setMysqlIdentifier( + com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier.Builder builderForValue) { + if (mysqlIdentifierBuilder_ == null) { + sourceIdentifier_ = builderForValue.build(); + onChanged(); + } else { + mysqlIdentifierBuilder_.setMessage(builderForValue.build()); + } + sourceIdentifierCase_ = 2; + return this; + } + /** + *
+     * Mysql data source object identifier.
+     * 
+ * + * .google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier mysql_identifier = 2; + */ + public Builder mergeMysqlIdentifier(com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier value) { + if (mysqlIdentifierBuilder_ == null) { + if (sourceIdentifierCase_ == 2 && + sourceIdentifier_ != com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier.getDefaultInstance()) { + sourceIdentifier_ = com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier.newBuilder((com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier) sourceIdentifier_) + .mergeFrom(value).buildPartial(); + } else { + sourceIdentifier_ = value; + } + onChanged(); + } else { + if (sourceIdentifierCase_ == 2) { + mysqlIdentifierBuilder_.mergeFrom(value); + } else { + mysqlIdentifierBuilder_.setMessage(value); + } + } + sourceIdentifierCase_ = 2; + return this; + } + /** + *
+     * Mysql data source object identifier.
+     * 
+ * + * .google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier mysql_identifier = 2; + */ + public Builder clearMysqlIdentifier() { + if (mysqlIdentifierBuilder_ == null) { + if (sourceIdentifierCase_ == 2) { + sourceIdentifierCase_ = 0; + sourceIdentifier_ = null; + onChanged(); + } + } else { + if (sourceIdentifierCase_ == 2) { + sourceIdentifierCase_ = 0; + sourceIdentifier_ = null; + } + mysqlIdentifierBuilder_.clear(); + } + return this; + } + /** + *
+     * Mysql data source object identifier.
+     * 
+ * + * .google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier mysql_identifier = 2; + */ + public com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier.Builder getMysqlIdentifierBuilder() { + return getMysqlIdentifierFieldBuilder().getBuilder(); + } + /** + *
+     * Mysql data source object identifier.
+     * 
+ * + * .google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier mysql_identifier = 2; + */ + @java.lang.Override + public com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifierOrBuilder getMysqlIdentifierOrBuilder() { + if ((sourceIdentifierCase_ == 2) && (mysqlIdentifierBuilder_ != null)) { + return mysqlIdentifierBuilder_.getMessageOrBuilder(); + } else { + if (sourceIdentifierCase_ == 2) { + return (com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier) sourceIdentifier_; + } + return com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier.getDefaultInstance(); + } + } + /** + *
+     * Mysql data source object identifier.
+     * 
+ * + * .google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier mysql_identifier = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier, com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier.Builder, com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifierOrBuilder> + getMysqlIdentifierFieldBuilder() { + if (mysqlIdentifierBuilder_ == null) { + if (!(sourceIdentifierCase_ == 2)) { + sourceIdentifier_ = com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier.getDefaultInstance(); + } + mysqlIdentifierBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier, com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier.Builder, com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifierOrBuilder>( + (com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier) sourceIdentifier_, + getParentForChildren(), + isClean()); + sourceIdentifier_ = null; + } + sourceIdentifierCase_ = 2; + onChanged();; + return mysqlIdentifierBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifier, com.google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifier.Builder, com.google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifierOrBuilder> postgresqlIdentifierBuilder_; + /** + *
+     * PostgreSQL data source object identifier.
+     * 
+ * + * .google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifier postgresql_identifier = 3; + * @return Whether the postgresqlIdentifier field is set. + */ + @java.lang.Override + public boolean hasPostgresqlIdentifier() { + return sourceIdentifierCase_ == 3; + } + /** + *
+     * PostgreSQL data source object identifier.
+     * 
+ * + * .google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifier postgresql_identifier = 3; + * @return The postgresqlIdentifier. + */ + @java.lang.Override + public com.google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifier getPostgresqlIdentifier() { + if (postgresqlIdentifierBuilder_ == null) { + if (sourceIdentifierCase_ == 3) { + return (com.google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifier) sourceIdentifier_; + } + return com.google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifier.getDefaultInstance(); + } else { + if (sourceIdentifierCase_ == 3) { + return postgresqlIdentifierBuilder_.getMessage(); + } + return com.google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifier.getDefaultInstance(); + } + } + /** + *
+     * PostgreSQL data source object identifier.
+     * 
+ * + * .google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifier postgresql_identifier = 3; + */ + public Builder setPostgresqlIdentifier(com.google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifier value) { + if (postgresqlIdentifierBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + sourceIdentifier_ = value; + onChanged(); + } else { + postgresqlIdentifierBuilder_.setMessage(value); + } + sourceIdentifierCase_ = 3; + return this; + } + /** + *
+     * PostgreSQL data source object identifier.
+     * 
+ * + * .google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifier postgresql_identifier = 3; + */ + public Builder setPostgresqlIdentifier( + com.google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifier.Builder builderForValue) { + if (postgresqlIdentifierBuilder_ == null) { + sourceIdentifier_ = builderForValue.build(); + onChanged(); + } else { + postgresqlIdentifierBuilder_.setMessage(builderForValue.build()); + } + sourceIdentifierCase_ = 3; + return this; + } + /** + *
+     * PostgreSQL data source object identifier.
+     * 
+ * + * .google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifier postgresql_identifier = 3; + */ + public Builder mergePostgresqlIdentifier(com.google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifier value) { + if (postgresqlIdentifierBuilder_ == null) { + if (sourceIdentifierCase_ == 3 && + sourceIdentifier_ != com.google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifier.getDefaultInstance()) { + sourceIdentifier_ = com.google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifier.newBuilder((com.google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifier) sourceIdentifier_) + .mergeFrom(value).buildPartial(); + } else { + sourceIdentifier_ = value; + } + onChanged(); + } else { + if (sourceIdentifierCase_ == 3) { + postgresqlIdentifierBuilder_.mergeFrom(value); + } else { + postgresqlIdentifierBuilder_.setMessage(value); + } + } + sourceIdentifierCase_ = 3; + return this; + } + /** + *
+     * PostgreSQL data source object identifier.
+     * 
+ * + * .google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifier postgresql_identifier = 3; + */ + public Builder clearPostgresqlIdentifier() { + if (postgresqlIdentifierBuilder_ == null) { + if (sourceIdentifierCase_ == 3) { + sourceIdentifierCase_ = 0; + sourceIdentifier_ = null; + onChanged(); + } + } else { + if (sourceIdentifierCase_ == 3) { + sourceIdentifierCase_ = 0; + sourceIdentifier_ = null; + } + postgresqlIdentifierBuilder_.clear(); + } + return this; + } + /** + *
+     * PostgreSQL data source object identifier.
+     * 
+ * + * .google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifier postgresql_identifier = 3; + */ + public com.google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifier.Builder getPostgresqlIdentifierBuilder() { + return getPostgresqlIdentifierFieldBuilder().getBuilder(); + } + /** + *
+     * PostgreSQL data source object identifier.
+     * 
+ * + * .google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifier postgresql_identifier = 3; + */ + @java.lang.Override + public com.google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifierOrBuilder getPostgresqlIdentifierOrBuilder() { + if ((sourceIdentifierCase_ == 3) && (postgresqlIdentifierBuilder_ != null)) { + return postgresqlIdentifierBuilder_.getMessageOrBuilder(); + } else { + if (sourceIdentifierCase_ == 3) { + return (com.google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifier) sourceIdentifier_; + } + return com.google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifier.getDefaultInstance(); + } + } + /** + *
+     * PostgreSQL data source object identifier.
+     * 
+ * + * .google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifier postgresql_identifier = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifier, com.google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifier.Builder, com.google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifierOrBuilder> + getPostgresqlIdentifierFieldBuilder() { + if (postgresqlIdentifierBuilder_ == null) { + if (!(sourceIdentifierCase_ == 3)) { + sourceIdentifier_ = com.google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifier.getDefaultInstance(); + } + postgresqlIdentifierBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifier, com.google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifier.Builder, com.google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifierOrBuilder>( + (com.google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifier) sourceIdentifier_, + getParentForChildren(), + isClean()); + sourceIdentifier_ = null; + } + sourceIdentifierCase_ = 3; + onChanged();; + return postgresqlIdentifierBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1.SourceObjectIdentifier) + } + + // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1.SourceObjectIdentifier) + private static final com.google.cloud.datastream.v1.SourceObjectIdentifier DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.datastream.v1.SourceObjectIdentifier(); + } + + public static com.google.cloud.datastream.v1.SourceObjectIdentifier getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SourceObjectIdentifier parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SourceObjectIdentifier(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.datastream.v1.SourceObjectIdentifier getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/SourceObjectIdentifierOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/SourceObjectIdentifierOrBuilder.java new file mode 100644 index 00000000..4c3568f7 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/SourceObjectIdentifierOrBuilder.java @@ -0,0 +1,92 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datastream/v1/datastream_resources.proto + +package com.google.cloud.datastream.v1; + +public interface SourceObjectIdentifierOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1.SourceObjectIdentifier) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Oracle data source object identifier.
+   * 
+ * + * .google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier oracle_identifier = 1; + * @return Whether the oracleIdentifier field is set. + */ + boolean hasOracleIdentifier(); + /** + *
+   * Oracle data source object identifier.
+   * 
+ * + * .google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier oracle_identifier = 1; + * @return The oracleIdentifier. + */ + com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier getOracleIdentifier(); + /** + *
+   * Oracle data source object identifier.
+   * 
+ * + * .google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier oracle_identifier = 1; + */ + com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifierOrBuilder getOracleIdentifierOrBuilder(); + + /** + *
+   * Mysql data source object identifier.
+   * 
+ * + * .google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier mysql_identifier = 2; + * @return Whether the mysqlIdentifier field is set. + */ + boolean hasMysqlIdentifier(); + /** + *
+   * Mysql data source object identifier.
+   * 
+ * + * .google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier mysql_identifier = 2; + * @return The mysqlIdentifier. + */ + com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier getMysqlIdentifier(); + /** + *
+   * Mysql data source object identifier.
+   * 
+ * + * .google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier mysql_identifier = 2; + */ + com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifierOrBuilder getMysqlIdentifierOrBuilder(); + + /** + *
+   * PostgreSQL data source object identifier.
+   * 
+ * + * .google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifier postgresql_identifier = 3; + * @return Whether the postgresqlIdentifier field is set. + */ + boolean hasPostgresqlIdentifier(); + /** + *
+   * PostgreSQL data source object identifier.
+   * 
+ * + * .google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifier postgresql_identifier = 3; + * @return The postgresqlIdentifier. + */ + com.google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifier getPostgresqlIdentifier(); + /** + *
+   * PostgreSQL data source object identifier.
+   * 
+ * + * .google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifier postgresql_identifier = 3; + */ + com.google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifierOrBuilder getPostgresqlIdentifierOrBuilder(); + + public com.google.cloud.datastream.v1.SourceObjectIdentifier.SourceIdentifierCase getSourceIdentifierCase(); +} diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StartBackfillJobRequest.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StartBackfillJobRequest.java similarity index 64% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StartBackfillJobRequest.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StartBackfillJobRequest.java index 05dfbae1..9cb95351 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StartBackfillJobRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StartBackfillJobRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1/datastream.proto package com.google.cloud.datastream.v1; /** - * - * *
  * Request for manually initiating a backfill job for a specific stream object.
  * 
* * Protobuf type {@code google.cloud.datastream.v1.StartBackfillJobRequest} */ -public final class StartBackfillJobRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class StartBackfillJobRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1.StartBackfillJobRequest) StartBackfillJobRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use StartBackfillJobRequest.newBuilder() to construct. private StartBackfillJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private StartBackfillJobRequest() { object_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new StartBackfillJobRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private StartBackfillJobRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private StartBackfillJobRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - object_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + object_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,41 +73,34 @@ private StartBackfillJobRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_StartBackfillJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_StartBackfillJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_StartBackfillJobRequest_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_StartBackfillJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.StartBackfillJobRequest.class, - com.google.cloud.datastream.v1.StartBackfillJobRequest.Builder.class); + com.google.cloud.datastream.v1.StartBackfillJobRequest.class, com.google.cloud.datastream.v1.StartBackfillJobRequest.Builder.class); } public static final int OBJECT_FIELD_NUMBER = 1; private volatile java.lang.Object object_; /** - * - * *
    * Required. The name of the stream object resource to start a backfill job for.
    * 
* - * - * string object = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string object = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The object. */ @java.lang.Override @@ -134,31 +109,29 @@ public java.lang.String getObject() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); object_ = s; return s; } } /** - * - * *
    * Required. The name of the stream object resource to start a backfill job for.
    * 
* - * - * string object = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string object = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for object. */ @java.lang.Override - public com.google.protobuf.ByteString getObjectBytes() { + public com.google.protobuf.ByteString + getObjectBytes() { java.lang.Object ref = object_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); object_ = b; return b; } else { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getObjectBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(object_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, object_); } @@ -203,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datastream.v1.StartBackfillJobRequest)) { return super.equals(obj); } - com.google.cloud.datastream.v1.StartBackfillJobRequest other = - (com.google.cloud.datastream.v1.StartBackfillJobRequest) obj; + com.google.cloud.datastream.v1.StartBackfillJobRequest other = (com.google.cloud.datastream.v1.StartBackfillJobRequest) obj; - if (!getObject().equals(other.getObject())) return false; + if (!getObject() + .equals(other.getObject())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,127 +204,117 @@ public int hashCode() { } public static com.google.cloud.datastream.v1.StartBackfillJobRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.StartBackfillJobRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.StartBackfillJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.StartBackfillJobRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.StartBackfillJobRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.StartBackfillJobRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1.StartBackfillJobRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.StartBackfillJobRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.StartBackfillJobRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1.StartBackfillJobRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.StartBackfillJobRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.StartBackfillJobRequest 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.datastream.v1.StartBackfillJobRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.StartBackfillJobRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datastream.v1.StartBackfillJobRequest prototype) { + public static Builder newBuilder(com.google.cloud.datastream.v1.StartBackfillJobRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 manually initiating a backfill job for a specific stream object.
    * 
* * Protobuf type {@code google.cloud.datastream.v1.StartBackfillJobRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1.StartBackfillJobRequest) com.google.cloud.datastream.v1.StartBackfillJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_StartBackfillJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_StartBackfillJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_StartBackfillJobRequest_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_StartBackfillJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.StartBackfillJobRequest.class, - com.google.cloud.datastream.v1.StartBackfillJobRequest.Builder.class); + com.google.cloud.datastream.v1.StartBackfillJobRequest.class, com.google.cloud.datastream.v1.StartBackfillJobRequest.Builder.class); } // Construct using com.google.cloud.datastream.v1.StartBackfillJobRequest.newBuilder() @@ -359,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -377,9 +341,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_StartBackfillJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_StartBackfillJobRequest_descriptor; } @java.lang.Override @@ -398,8 +362,7 @@ public com.google.cloud.datastream.v1.StartBackfillJobRequest build() { @java.lang.Override public com.google.cloud.datastream.v1.StartBackfillJobRequest buildPartial() { - com.google.cloud.datastream.v1.StartBackfillJobRequest result = - new com.google.cloud.datastream.v1.StartBackfillJobRequest(this); + com.google.cloud.datastream.v1.StartBackfillJobRequest result = new com.google.cloud.datastream.v1.StartBackfillJobRequest(this); result.object_ = object_; onBuilt(); return result; @@ -409,39 +372,38 @@ public com.google.cloud.datastream.v1.StartBackfillJobRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1.StartBackfillJobRequest) { - return mergeFrom((com.google.cloud.datastream.v1.StartBackfillJobRequest) other); + return mergeFrom((com.google.cloud.datastream.v1.StartBackfillJobRequest)other); } else { super.mergeFrom(other); return this; @@ -449,8 +411,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datastream.v1.StartBackfillJobRequest other) { - if (other == com.google.cloud.datastream.v1.StartBackfillJobRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.datastream.v1.StartBackfillJobRequest.getDefaultInstance()) return this; if (!other.getObject().isEmpty()) { object_ = other.object_; onChanged(); @@ -474,8 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datastream.v1.StartBackfillJobRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datastream.v1.StartBackfillJobRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -487,22 +447,18 @@ public Builder mergeFrom( private java.lang.Object object_ = ""; /** - * - * *
      * Required. The name of the stream object resource to start a backfill job for.
      * 
* - * - * string object = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string object = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The object. */ public java.lang.String getObject() { java.lang.Object ref = object_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); object_ = s; return s; @@ -511,23 +467,20 @@ public java.lang.String getObject() { } } /** - * - * *
      * Required. The name of the stream object resource to start a backfill job for.
      * 
* - * - * string object = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string object = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for object. */ - public com.google.protobuf.ByteString getObjectBytes() { + public com.google.protobuf.ByteString + getObjectBytes() { java.lang.Object ref = object_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); object_ = b; return b; } else { @@ -535,74 +488,61 @@ public com.google.protobuf.ByteString getObjectBytes() { } } /** - * - * *
      * Required. The name of the stream object resource to start a backfill job for.
      * 
* - * - * string object = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string object = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The object to set. * @return This builder for chaining. */ - public Builder setObject(java.lang.String value) { + public Builder setObject( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + object_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the stream object resource to start a backfill job for.
      * 
* - * - * string object = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string object = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearObject() { - + object_ = getDefaultInstance().getObject(); onChanged(); return this; } /** - * - * *
      * Required. The name of the stream object resource to start a backfill job for.
      * 
* - * - * string object = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string object = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for object to set. * @return This builder for chaining. */ - public Builder setObjectBytes(com.google.protobuf.ByteString value) { + public Builder setObjectBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + object_ = 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); } @@ -612,12 +552,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1.StartBackfillJobRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1.StartBackfillJobRequest) private static final com.google.cloud.datastream.v1.StartBackfillJobRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1.StartBackfillJobRequest(); } @@ -626,16 +566,16 @@ public static com.google.cloud.datastream.v1.StartBackfillJobRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StartBackfillJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new StartBackfillJobRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StartBackfillJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StartBackfillJobRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -650,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datastream.v1.StartBackfillJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StartBackfillJobRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StartBackfillJobRequestOrBuilder.java new file mode 100644 index 00000000..be48119f --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StartBackfillJobRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datastream/v1/datastream.proto + +package com.google.cloud.datastream.v1; + +public interface StartBackfillJobRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1.StartBackfillJobRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the stream object resource to start a backfill job for.
+   * 
+ * + * string object = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The object. + */ + java.lang.String getObject(); + /** + *
+   * Required. The name of the stream object resource to start a backfill job for.
+   * 
+ * + * string object = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for object. + */ + com.google.protobuf.ByteString + getObjectBytes(); +} diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StartBackfillJobResponse.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StartBackfillJobResponse.java similarity index 67% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StartBackfillJobResponse.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StartBackfillJobResponse.java index 44d03ace..194f3da1 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StartBackfillJobResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StartBackfillJobResponse.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1/datastream.proto package com.google.cloud.datastream.v1; /** - * - * *
  * Response for manually initiating a backfill job for a specific stream object.
  * 
* * Protobuf type {@code google.cloud.datastream.v1.StartBackfillJobResponse} */ -public final class StartBackfillJobResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class StartBackfillJobResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1.StartBackfillJobResponse) StartBackfillJobResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use StartBackfillJobResponse.newBuilder() to construct. private StartBackfillJobResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private StartBackfillJobResponse() {} + private StartBackfillJobResponse() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new StartBackfillJobResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private StartBackfillJobResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,29 +52,26 @@ private StartBackfillJobResponse( case 0: done = true; break; - case 10: - { - com.google.cloud.datastream.v1.StreamObject.Builder subBuilder = null; - if (object_ != null) { - subBuilder = object_.toBuilder(); - } - object_ = - input.readMessage( - com.google.cloud.datastream.v1.StreamObject.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(object_); - object_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.datastream.v1.StreamObject.Builder subBuilder = null; + if (object_ != null) { + subBuilder = object_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + object_ = input.readMessage(com.google.cloud.datastream.v1.StreamObject.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(object_); + object_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -98,39 +79,34 @@ private StartBackfillJobResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_StartBackfillJobResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_StartBackfillJobResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_StartBackfillJobResponse_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_StartBackfillJobResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.StartBackfillJobResponse.class, - com.google.cloud.datastream.v1.StartBackfillJobResponse.Builder.class); + com.google.cloud.datastream.v1.StartBackfillJobResponse.class, com.google.cloud.datastream.v1.StartBackfillJobResponse.Builder.class); } public static final int OBJECT_FIELD_NUMBER = 1; private com.google.cloud.datastream.v1.StreamObject object_; /** - * - * *
    * The stream object resource a backfill job was started for.
    * 
* * .google.cloud.datastream.v1.StreamObject object = 1; - * * @return Whether the object field is set. */ @java.lang.Override @@ -138,25 +114,18 @@ public boolean hasObject() { return object_ != null; } /** - * - * *
    * The stream object resource a backfill job was started for.
    * 
* * .google.cloud.datastream.v1.StreamObject object = 1; - * * @return The object. */ @java.lang.Override public com.google.cloud.datastream.v1.StreamObject getObject() { - return object_ == null - ? com.google.cloud.datastream.v1.StreamObject.getDefaultInstance() - : object_; + return object_ == null ? com.google.cloud.datastream.v1.StreamObject.getDefaultInstance() : object_; } /** - * - * *
    * The stream object resource a backfill job was started for.
    * 
@@ -169,7 +138,6 @@ public com.google.cloud.datastream.v1.StreamObjectOrBuilder getObjectOrBuilder() } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +149,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (object_ != null) { output.writeMessage(1, getObject()); } @@ -195,7 +164,8 @@ public int getSerializedSize() { size = 0; if (object_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getObject()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getObject()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -205,17 +175,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.datastream.v1.StartBackfillJobResponse)) { return super.equals(obj); } - com.google.cloud.datastream.v1.StartBackfillJobResponse other = - (com.google.cloud.datastream.v1.StartBackfillJobResponse) obj; + com.google.cloud.datastream.v1.StartBackfillJobResponse other = (com.google.cloud.datastream.v1.StartBackfillJobResponse) obj; if (hasObject() != other.hasObject()) return false; if (hasObject()) { - if (!getObject().equals(other.getObject())) return false; + if (!getObject() + .equals(other.getObject())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -238,127 +208,117 @@ public int hashCode() { } public static com.google.cloud.datastream.v1.StartBackfillJobResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.StartBackfillJobResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.StartBackfillJobResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.StartBackfillJobResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.StartBackfillJobResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.StartBackfillJobResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1.StartBackfillJobResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.StartBackfillJobResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.StartBackfillJobResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1.StartBackfillJobResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.StartBackfillJobResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.StartBackfillJobResponse 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.datastream.v1.StartBackfillJobResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.StartBackfillJobResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datastream.v1.StartBackfillJobResponse prototype) { + public static Builder newBuilder(com.google.cloud.datastream.v1.StartBackfillJobResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 manually initiating a backfill job for a specific stream object.
    * 
* * Protobuf type {@code google.cloud.datastream.v1.StartBackfillJobResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1.StartBackfillJobResponse) com.google.cloud.datastream.v1.StartBackfillJobResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_StartBackfillJobResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_StartBackfillJobResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_StartBackfillJobResponse_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_StartBackfillJobResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.StartBackfillJobResponse.class, - com.google.cloud.datastream.v1.StartBackfillJobResponse.Builder.class); + com.google.cloud.datastream.v1.StartBackfillJobResponse.class, com.google.cloud.datastream.v1.StartBackfillJobResponse.Builder.class); } // Construct using com.google.cloud.datastream.v1.StartBackfillJobResponse.newBuilder() @@ -366,15 +326,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -388,9 +349,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_StartBackfillJobResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_StartBackfillJobResponse_descriptor; } @java.lang.Override @@ -409,8 +370,7 @@ public com.google.cloud.datastream.v1.StartBackfillJobResponse build() { @java.lang.Override public com.google.cloud.datastream.v1.StartBackfillJobResponse buildPartial() { - com.google.cloud.datastream.v1.StartBackfillJobResponse result = - new com.google.cloud.datastream.v1.StartBackfillJobResponse(this); + com.google.cloud.datastream.v1.StartBackfillJobResponse result = new com.google.cloud.datastream.v1.StartBackfillJobResponse(this); if (objectBuilder_ == null) { result.object_ = object_; } else { @@ -424,39 +384,38 @@ public com.google.cloud.datastream.v1.StartBackfillJobResponse buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1.StartBackfillJobResponse) { - return mergeFrom((com.google.cloud.datastream.v1.StartBackfillJobResponse) other); + return mergeFrom((com.google.cloud.datastream.v1.StartBackfillJobResponse)other); } else { super.mergeFrom(other); return this; @@ -464,8 +423,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datastream.v1.StartBackfillJobResponse other) { - if (other == com.google.cloud.datastream.v1.StartBackfillJobResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.datastream.v1.StartBackfillJobResponse.getDefaultInstance()) return this; if (other.hasObject()) { mergeObject(other.getObject()); } @@ -488,8 +446,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datastream.v1.StartBackfillJobResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datastream.v1.StartBackfillJobResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -501,47 +458,34 @@ public Builder mergeFrom( private com.google.cloud.datastream.v1.StreamObject object_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.StreamObject, - com.google.cloud.datastream.v1.StreamObject.Builder, - com.google.cloud.datastream.v1.StreamObjectOrBuilder> - objectBuilder_; + com.google.cloud.datastream.v1.StreamObject, com.google.cloud.datastream.v1.StreamObject.Builder, com.google.cloud.datastream.v1.StreamObjectOrBuilder> objectBuilder_; /** - * - * *
      * The stream object resource a backfill job was started for.
      * 
* * .google.cloud.datastream.v1.StreamObject object = 1; - * * @return Whether the object field is set. */ public boolean hasObject() { return objectBuilder_ != null || object_ != null; } /** - * - * *
      * The stream object resource a backfill job was started for.
      * 
* * .google.cloud.datastream.v1.StreamObject object = 1; - * * @return The object. */ public com.google.cloud.datastream.v1.StreamObject getObject() { if (objectBuilder_ == null) { - return object_ == null - ? com.google.cloud.datastream.v1.StreamObject.getDefaultInstance() - : object_; + return object_ == null ? com.google.cloud.datastream.v1.StreamObject.getDefaultInstance() : object_; } else { return objectBuilder_.getMessage(); } } /** - * - * *
      * The stream object resource a backfill job was started for.
      * 
@@ -562,15 +506,14 @@ public Builder setObject(com.google.cloud.datastream.v1.StreamObject value) { return this; } /** - * - * *
      * The stream object resource a backfill job was started for.
      * 
* * .google.cloud.datastream.v1.StreamObject object = 1; */ - public Builder setObject(com.google.cloud.datastream.v1.StreamObject.Builder builderForValue) { + public Builder setObject( + com.google.cloud.datastream.v1.StreamObject.Builder builderForValue) { if (objectBuilder_ == null) { object_ = builderForValue.build(); onChanged(); @@ -581,8 +524,6 @@ public Builder setObject(com.google.cloud.datastream.v1.StreamObject.Builder bui return this; } /** - * - * *
      * The stream object resource a backfill job was started for.
      * 
@@ -593,9 +534,7 @@ public Builder mergeObject(com.google.cloud.datastream.v1.StreamObject value) { if (objectBuilder_ == null) { if (object_ != null) { object_ = - com.google.cloud.datastream.v1.StreamObject.newBuilder(object_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.datastream.v1.StreamObject.newBuilder(object_).mergeFrom(value).buildPartial(); } else { object_ = value; } @@ -607,8 +546,6 @@ public Builder mergeObject(com.google.cloud.datastream.v1.StreamObject value) { return this; } /** - * - * *
      * The stream object resource a backfill job was started for.
      * 
@@ -627,8 +564,6 @@ public Builder clearObject() { return this; } /** - * - * *
      * The stream object resource a backfill job was started for.
      * 
@@ -636,13 +571,11 @@ public Builder clearObject() { * .google.cloud.datastream.v1.StreamObject object = 1; */ public com.google.cloud.datastream.v1.StreamObject.Builder getObjectBuilder() { - + onChanged(); return getObjectFieldBuilder().getBuilder(); } /** - * - * *
      * The stream object resource a backfill job was started for.
      * 
@@ -653,14 +586,11 @@ public com.google.cloud.datastream.v1.StreamObjectOrBuilder getObjectOrBuilder() if (objectBuilder_ != null) { return objectBuilder_.getMessageOrBuilder(); } else { - return object_ == null - ? com.google.cloud.datastream.v1.StreamObject.getDefaultInstance() - : object_; + return object_ == null ? + com.google.cloud.datastream.v1.StreamObject.getDefaultInstance() : object_; } } /** - * - * *
      * The stream object resource a backfill job was started for.
      * 
@@ -668,24 +598,21 @@ public com.google.cloud.datastream.v1.StreamObjectOrBuilder getObjectOrBuilder() * .google.cloud.datastream.v1.StreamObject object = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.StreamObject, - com.google.cloud.datastream.v1.StreamObject.Builder, - com.google.cloud.datastream.v1.StreamObjectOrBuilder> + com.google.cloud.datastream.v1.StreamObject, com.google.cloud.datastream.v1.StreamObject.Builder, com.google.cloud.datastream.v1.StreamObjectOrBuilder> getObjectFieldBuilder() { if (objectBuilder_ == null) { - objectBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.StreamObject, - com.google.cloud.datastream.v1.StreamObject.Builder, - com.google.cloud.datastream.v1.StreamObjectOrBuilder>( - getObject(), getParentForChildren(), isClean()); + objectBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1.StreamObject, com.google.cloud.datastream.v1.StreamObject.Builder, com.google.cloud.datastream.v1.StreamObjectOrBuilder>( + getObject(), + getParentForChildren(), + isClean()); object_ = null; } return objectBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -695,12 +622,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1.StartBackfillJobResponse) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1.StartBackfillJobResponse) private static final com.google.cloud.datastream.v1.StartBackfillJobResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1.StartBackfillJobResponse(); } @@ -709,16 +636,16 @@ public static com.google.cloud.datastream.v1.StartBackfillJobResponse getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StartBackfillJobResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new StartBackfillJobResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StartBackfillJobResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StartBackfillJobResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -733,4 +660,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datastream.v1.StartBackfillJobResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StartBackfillJobResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StartBackfillJobResponseOrBuilder.java similarity index 60% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StartBackfillJobResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StartBackfillJobResponseOrBuilder.java index 6b0fb3fe..b9f25bec 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StartBackfillJobResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StartBackfillJobResponseOrBuilder.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/datastream/v1/datastream.proto package com.google.cloud.datastream.v1; -public interface StartBackfillJobResponseOrBuilder - extends +public interface StartBackfillJobResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1.StartBackfillJobResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The stream object resource a backfill job was started for.
    * 
* * .google.cloud.datastream.v1.StreamObject object = 1; - * * @return Whether the object field is set. */ boolean hasObject(); /** - * - * *
    * The stream object resource a backfill job was started for.
    * 
* * .google.cloud.datastream.v1.StreamObject object = 1; - * * @return The object. */ com.google.cloud.datastream.v1.StreamObject getObject(); /** - * - * *
    * The stream object resource a backfill job was started for.
    * 
diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StaticServiceIpConnectivity.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StaticServiceIpConnectivity.java similarity index 67% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StaticServiceIpConnectivity.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StaticServiceIpConnectivity.java index 269b7d61..c4cc15e7 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StaticServiceIpConnectivity.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StaticServiceIpConnectivity.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1/datastream_resources.proto package com.google.cloud.datastream.v1; /** - * - * *
  * Static IP address connectivity.
  * 
* * Protobuf type {@code google.cloud.datastream.v1.StaticServiceIpConnectivity} */ -public final class StaticServiceIpConnectivity extends com.google.protobuf.GeneratedMessageV3 - implements +public final class StaticServiceIpConnectivity extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1.StaticServiceIpConnectivity) StaticServiceIpConnectivityOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use StaticServiceIpConnectivity.newBuilder() to construct. private StaticServiceIpConnectivity(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private StaticServiceIpConnectivity() {} + private StaticServiceIpConnectivity() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new StaticServiceIpConnectivity(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private StaticServiceIpConnectivity( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,13 +52,13 @@ private StaticServiceIpConnectivity( case 0: done = true; break; - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -82,30 +66,27 @@ private StaticServiceIpConnectivity( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_StaticServiceIpConnectivity_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_StaticServiceIpConnectivity_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_StaticServiceIpConnectivity_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_StaticServiceIpConnectivity_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.StaticServiceIpConnectivity.class, - com.google.cloud.datastream.v1.StaticServiceIpConnectivity.Builder.class); + com.google.cloud.datastream.v1.StaticServiceIpConnectivity.class, com.google.cloud.datastream.v1.StaticServiceIpConnectivity.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -117,7 +98,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { unknownFields.writeTo(output); } @@ -135,13 +117,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datastream.v1.StaticServiceIpConnectivity)) { return super.equals(obj); } - com.google.cloud.datastream.v1.StaticServiceIpConnectivity other = - (com.google.cloud.datastream.v1.StaticServiceIpConnectivity) obj; + com.google.cloud.datastream.v1.StaticServiceIpConnectivity other = (com.google.cloud.datastream.v1.StaticServiceIpConnectivity) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -160,127 +141,117 @@ public int hashCode() { } public static com.google.cloud.datastream.v1.StaticServiceIpConnectivity parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.StaticServiceIpConnectivity parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.StaticServiceIpConnectivity parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.StaticServiceIpConnectivity parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.StaticServiceIpConnectivity parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.StaticServiceIpConnectivity parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1.StaticServiceIpConnectivity parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.StaticServiceIpConnectivity parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.StaticServiceIpConnectivity parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1.StaticServiceIpConnectivity parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.StaticServiceIpConnectivity parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.StaticServiceIpConnectivity 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.datastream.v1.StaticServiceIpConnectivity parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.StaticServiceIpConnectivity parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datastream.v1.StaticServiceIpConnectivity prototype) { + public static Builder newBuilder(com.google.cloud.datastream.v1.StaticServiceIpConnectivity prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Static IP address connectivity.
    * 
* * Protobuf type {@code google.cloud.datastream.v1.StaticServiceIpConnectivity} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1.StaticServiceIpConnectivity) com.google.cloud.datastream.v1.StaticServiceIpConnectivityOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_StaticServiceIpConnectivity_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_StaticServiceIpConnectivity_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_StaticServiceIpConnectivity_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_StaticServiceIpConnectivity_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.StaticServiceIpConnectivity.class, - com.google.cloud.datastream.v1.StaticServiceIpConnectivity.Builder.class); + com.google.cloud.datastream.v1.StaticServiceIpConnectivity.class, com.google.cloud.datastream.v1.StaticServiceIpConnectivity.Builder.class); } // Construct using com.google.cloud.datastream.v1.StaticServiceIpConnectivity.newBuilder() @@ -288,15 +259,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -304,9 +276,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_StaticServiceIpConnectivity_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_StaticServiceIpConnectivity_descriptor; } @java.lang.Override @@ -325,8 +297,7 @@ public com.google.cloud.datastream.v1.StaticServiceIpConnectivity build() { @java.lang.Override public com.google.cloud.datastream.v1.StaticServiceIpConnectivity buildPartial() { - com.google.cloud.datastream.v1.StaticServiceIpConnectivity result = - new com.google.cloud.datastream.v1.StaticServiceIpConnectivity(this); + com.google.cloud.datastream.v1.StaticServiceIpConnectivity result = new com.google.cloud.datastream.v1.StaticServiceIpConnectivity(this); onBuilt(); return result; } @@ -335,39 +306,38 @@ public com.google.cloud.datastream.v1.StaticServiceIpConnectivity buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1.StaticServiceIpConnectivity) { - return mergeFrom((com.google.cloud.datastream.v1.StaticServiceIpConnectivity) other); + return mergeFrom((com.google.cloud.datastream.v1.StaticServiceIpConnectivity)other); } else { super.mergeFrom(other); return this; @@ -375,8 +345,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datastream.v1.StaticServiceIpConnectivity other) { - if (other == com.google.cloud.datastream.v1.StaticServiceIpConnectivity.getDefaultInstance()) - return this; + if (other == com.google.cloud.datastream.v1.StaticServiceIpConnectivity.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -396,8 +365,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datastream.v1.StaticServiceIpConnectivity) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datastream.v1.StaticServiceIpConnectivity) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -406,9 +374,9 @@ public Builder mergeFrom( } return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -418,12 +386,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1.StaticServiceIpConnectivity) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1.StaticServiceIpConnectivity) private static final com.google.cloud.datastream.v1.StaticServiceIpConnectivity DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1.StaticServiceIpConnectivity(); } @@ -432,16 +400,16 @@ public static com.google.cloud.datastream.v1.StaticServiceIpConnectivity getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StaticServiceIpConnectivity parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new StaticServiceIpConnectivity(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StaticServiceIpConnectivity parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StaticServiceIpConnectivity(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -456,4 +424,6 @@ public com.google.protobuf.Parser getParserForType( public com.google.cloud.datastream.v1.StaticServiceIpConnectivity getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StaticServiceIpConnectivityOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StaticServiceIpConnectivityOrBuilder.java new file mode 100644 index 00000000..d385d5d4 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StaticServiceIpConnectivityOrBuilder.java @@ -0,0 +1,9 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datastream/v1/datastream_resources.proto + +package com.google.cloud.datastream.v1; + +public interface StaticServiceIpConnectivityOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1.StaticServiceIpConnectivity) + com.google.protobuf.MessageOrBuilder { +} diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StopBackfillJobRequest.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StopBackfillJobRequest.java similarity index 64% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StopBackfillJobRequest.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StopBackfillJobRequest.java index bfaf0d3f..1133c22e 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StopBackfillJobRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StopBackfillJobRequest.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/datastream/v1/datastream.proto package com.google.cloud.datastream.v1; /** - * - * *
  * Request for manually stopping a running backfill job for a specific stream
  * object.
@@ -28,31 +11,31 @@
  *
  * Protobuf type {@code google.cloud.datastream.v1.StopBackfillJobRequest}
  */
-public final class StopBackfillJobRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class StopBackfillJobRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1.StopBackfillJobRequest)
     StopBackfillJobRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use StopBackfillJobRequest.newBuilder() to construct.
   private StopBackfillJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private StopBackfillJobRequest() {
     object_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new StopBackfillJobRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private StopBackfillJobRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -71,20 +54,19 @@ private StopBackfillJobRequest(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              object_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            object_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -92,41 +74,34 @@ private StopBackfillJobRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datastream.v1.DatastreamProto
-        .internal_static_google_cloud_datastream_v1_StopBackfillJobRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_StopBackfillJobRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datastream.v1.DatastreamProto
-        .internal_static_google_cloud_datastream_v1_StopBackfillJobRequest_fieldAccessorTable
+    return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_StopBackfillJobRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datastream.v1.StopBackfillJobRequest.class,
-            com.google.cloud.datastream.v1.StopBackfillJobRequest.Builder.class);
+            com.google.cloud.datastream.v1.StopBackfillJobRequest.class, com.google.cloud.datastream.v1.StopBackfillJobRequest.Builder.class);
   }
 
   public static final int OBJECT_FIELD_NUMBER = 1;
   private volatile java.lang.Object object_;
   /**
-   *
-   *
    * 
    * Required. The name of the stream object resource to stop the backfill job for.
    * 
* - * - * string object = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string object = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The object. */ @java.lang.Override @@ -135,31 +110,29 @@ public java.lang.String getObject() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); object_ = s; return s; } } /** - * - * *
    * Required. The name of the stream object resource to stop the backfill job for.
    * 
* - * - * string object = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string object = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for object. */ @java.lang.Override - public com.google.protobuf.ByteString getObjectBytes() { + public com.google.protobuf.ByteString + getObjectBytes() { java.lang.Object ref = object_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); object_ = b; return b; } else { @@ -168,7 +141,6 @@ public com.google.protobuf.ByteString getObjectBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -180,7 +152,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(object_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, object_); } @@ -204,15 +177,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.datastream.v1.StopBackfillJobRequest)) { return super.equals(obj); } - com.google.cloud.datastream.v1.StopBackfillJobRequest other = - (com.google.cloud.datastream.v1.StopBackfillJobRequest) obj; + com.google.cloud.datastream.v1.StopBackfillJobRequest other = (com.google.cloud.datastream.v1.StopBackfillJobRequest) obj; - if (!getObject().equals(other.getObject())) return false; + if (!getObject() + .equals(other.getObject())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -232,104 +205,96 @@ public int hashCode() { } public static com.google.cloud.datastream.v1.StopBackfillJobRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.StopBackfillJobRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.StopBackfillJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.StopBackfillJobRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.StopBackfillJobRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.StopBackfillJobRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1.StopBackfillJobRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.StopBackfillJobRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.StopBackfillJobRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1.StopBackfillJobRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.StopBackfillJobRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.StopBackfillJobRequest 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.datastream.v1.StopBackfillJobRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.StopBackfillJobRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datastream.v1.StopBackfillJobRequest prototype) { + public static Builder newBuilder(com.google.cloud.datastream.v1.StopBackfillJobRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 manually stopping a running backfill job for a specific stream
    * object.
@@ -337,23 +302,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datastream.v1.StopBackfillJobRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1.StopBackfillJobRequest)
       com.google.cloud.datastream.v1.StopBackfillJobRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datastream.v1.DatastreamProto
-          .internal_static_google_cloud_datastream_v1_StopBackfillJobRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_StopBackfillJobRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datastream.v1.DatastreamProto
-          .internal_static_google_cloud_datastream_v1_StopBackfillJobRequest_fieldAccessorTable
+      return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_StopBackfillJobRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datastream.v1.StopBackfillJobRequest.class,
-              com.google.cloud.datastream.v1.StopBackfillJobRequest.Builder.class);
+              com.google.cloud.datastream.v1.StopBackfillJobRequest.class, com.google.cloud.datastream.v1.StopBackfillJobRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.datastream.v1.StopBackfillJobRequest.newBuilder()
@@ -361,15 +324,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -379,9 +343,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datastream.v1.DatastreamProto
-          .internal_static_google_cloud_datastream_v1_StopBackfillJobRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_StopBackfillJobRequest_descriptor;
     }
 
     @java.lang.Override
@@ -400,8 +364,7 @@ public com.google.cloud.datastream.v1.StopBackfillJobRequest build() {
 
     @java.lang.Override
     public com.google.cloud.datastream.v1.StopBackfillJobRequest buildPartial() {
-      com.google.cloud.datastream.v1.StopBackfillJobRequest result =
-          new com.google.cloud.datastream.v1.StopBackfillJobRequest(this);
+      com.google.cloud.datastream.v1.StopBackfillJobRequest result = new com.google.cloud.datastream.v1.StopBackfillJobRequest(this);
       result.object_ = object_;
       onBuilt();
       return result;
@@ -411,39 +374,38 @@ public com.google.cloud.datastream.v1.StopBackfillJobRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datastream.v1.StopBackfillJobRequest) {
-        return mergeFrom((com.google.cloud.datastream.v1.StopBackfillJobRequest) other);
+        return mergeFrom((com.google.cloud.datastream.v1.StopBackfillJobRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -451,8 +413,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datastream.v1.StopBackfillJobRequest other) {
-      if (other == com.google.cloud.datastream.v1.StopBackfillJobRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datastream.v1.StopBackfillJobRequest.getDefaultInstance()) return this;
       if (!other.getObject().isEmpty()) {
         object_ = other.object_;
         onChanged();
@@ -476,8 +437,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.datastream.v1.StopBackfillJobRequest) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.datastream.v1.StopBackfillJobRequest) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -489,22 +449,18 @@ public Builder mergeFrom(
 
     private java.lang.Object object_ = "";
     /**
-     *
-     *
      * 
      * Required. The name of the stream object resource to stop the backfill job for.
      * 
* - * - * string object = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string object = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The object. */ public java.lang.String getObject() { java.lang.Object ref = object_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); object_ = s; return s; @@ -513,23 +469,20 @@ public java.lang.String getObject() { } } /** - * - * *
      * Required. The name of the stream object resource to stop the backfill job for.
      * 
* - * - * string object = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string object = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for object. */ - public com.google.protobuf.ByteString getObjectBytes() { + public com.google.protobuf.ByteString + getObjectBytes() { java.lang.Object ref = object_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); object_ = b; return b; } else { @@ -537,74 +490,61 @@ public com.google.protobuf.ByteString getObjectBytes() { } } /** - * - * *
      * Required. The name of the stream object resource to stop the backfill job for.
      * 
* - * - * string object = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string object = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The object to set. * @return This builder for chaining. */ - public Builder setObject(java.lang.String value) { + public Builder setObject( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + object_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the stream object resource to stop the backfill job for.
      * 
* - * - * string object = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string object = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearObject() { - + object_ = getDefaultInstance().getObject(); onChanged(); return this; } /** - * - * *
      * Required. The name of the stream object resource to stop the backfill job for.
      * 
* - * - * string object = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string object = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for object to set. * @return This builder for chaining. */ - public Builder setObjectBytes(com.google.protobuf.ByteString value) { + public Builder setObjectBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + object_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -614,12 +554,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1.StopBackfillJobRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1.StopBackfillJobRequest) private static final com.google.cloud.datastream.v1.StopBackfillJobRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1.StopBackfillJobRequest(); } @@ -628,16 +568,16 @@ public static com.google.cloud.datastream.v1.StopBackfillJobRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StopBackfillJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new StopBackfillJobRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StopBackfillJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StopBackfillJobRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -652,4 +592,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datastream.v1.StopBackfillJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StopBackfillJobRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StopBackfillJobRequestOrBuilder.java new file mode 100644 index 00000000..673f995d --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StopBackfillJobRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datastream/v1/datastream.proto + +package com.google.cloud.datastream.v1; + +public interface StopBackfillJobRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1.StopBackfillJobRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the stream object resource to stop the backfill job for.
+   * 
+ * + * string object = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The object. + */ + java.lang.String getObject(); + /** + *
+   * Required. The name of the stream object resource to stop the backfill job for.
+   * 
+ * + * string object = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for object. + */ + com.google.protobuf.ByteString + getObjectBytes(); +} diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StopBackfillJobResponse.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StopBackfillJobResponse.java similarity index 67% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StopBackfillJobResponse.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StopBackfillJobResponse.java index 833bac5e..e3fbb3ab 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StopBackfillJobResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StopBackfillJobResponse.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1/datastream.proto package com.google.cloud.datastream.v1; /** - * - * *
  * Response for manually stop a backfill job for a specific stream object.
  * 
* * Protobuf type {@code google.cloud.datastream.v1.StopBackfillJobResponse} */ -public final class StopBackfillJobResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class StopBackfillJobResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1.StopBackfillJobResponse) StopBackfillJobResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use StopBackfillJobResponse.newBuilder() to construct. private StopBackfillJobResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private StopBackfillJobResponse() {} + private StopBackfillJobResponse() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new StopBackfillJobResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private StopBackfillJobResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,29 +52,26 @@ private StopBackfillJobResponse( case 0: done = true; break; - case 10: - { - com.google.cloud.datastream.v1.StreamObject.Builder subBuilder = null; - if (object_ != null) { - subBuilder = object_.toBuilder(); - } - object_ = - input.readMessage( - com.google.cloud.datastream.v1.StreamObject.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(object_); - object_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.datastream.v1.StreamObject.Builder subBuilder = null; + if (object_ != null) { + subBuilder = object_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + object_ = input.readMessage(com.google.cloud.datastream.v1.StreamObject.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(object_); + object_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -98,39 +79,34 @@ private StopBackfillJobResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_StopBackfillJobResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_StopBackfillJobResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_StopBackfillJobResponse_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_StopBackfillJobResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.StopBackfillJobResponse.class, - com.google.cloud.datastream.v1.StopBackfillJobResponse.Builder.class); + com.google.cloud.datastream.v1.StopBackfillJobResponse.class, com.google.cloud.datastream.v1.StopBackfillJobResponse.Builder.class); } public static final int OBJECT_FIELD_NUMBER = 1; private com.google.cloud.datastream.v1.StreamObject object_; /** - * - * *
    * The stream object resource the backfill job was stopped for.
    * 
* * .google.cloud.datastream.v1.StreamObject object = 1; - * * @return Whether the object field is set. */ @java.lang.Override @@ -138,25 +114,18 @@ public boolean hasObject() { return object_ != null; } /** - * - * *
    * The stream object resource the backfill job was stopped for.
    * 
* * .google.cloud.datastream.v1.StreamObject object = 1; - * * @return The object. */ @java.lang.Override public com.google.cloud.datastream.v1.StreamObject getObject() { - return object_ == null - ? com.google.cloud.datastream.v1.StreamObject.getDefaultInstance() - : object_; + return object_ == null ? com.google.cloud.datastream.v1.StreamObject.getDefaultInstance() : object_; } /** - * - * *
    * The stream object resource the backfill job was stopped for.
    * 
@@ -169,7 +138,6 @@ public com.google.cloud.datastream.v1.StreamObjectOrBuilder getObjectOrBuilder() } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +149,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (object_ != null) { output.writeMessage(1, getObject()); } @@ -195,7 +164,8 @@ public int getSerializedSize() { size = 0; if (object_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getObject()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getObject()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -205,17 +175,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.datastream.v1.StopBackfillJobResponse)) { return super.equals(obj); } - com.google.cloud.datastream.v1.StopBackfillJobResponse other = - (com.google.cloud.datastream.v1.StopBackfillJobResponse) obj; + com.google.cloud.datastream.v1.StopBackfillJobResponse other = (com.google.cloud.datastream.v1.StopBackfillJobResponse) obj; if (hasObject() != other.hasObject()) return false; if (hasObject()) { - if (!getObject().equals(other.getObject())) return false; + if (!getObject() + .equals(other.getObject())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -238,127 +208,117 @@ public int hashCode() { } public static com.google.cloud.datastream.v1.StopBackfillJobResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.StopBackfillJobResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.StopBackfillJobResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.StopBackfillJobResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.StopBackfillJobResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.StopBackfillJobResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1.StopBackfillJobResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.StopBackfillJobResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.StopBackfillJobResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1.StopBackfillJobResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.StopBackfillJobResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.StopBackfillJobResponse 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.datastream.v1.StopBackfillJobResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.StopBackfillJobResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datastream.v1.StopBackfillJobResponse prototype) { + public static Builder newBuilder(com.google.cloud.datastream.v1.StopBackfillJobResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 manually stop a backfill job for a specific stream object.
    * 
* * Protobuf type {@code google.cloud.datastream.v1.StopBackfillJobResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1.StopBackfillJobResponse) com.google.cloud.datastream.v1.StopBackfillJobResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_StopBackfillJobResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_StopBackfillJobResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_StopBackfillJobResponse_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_StopBackfillJobResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.StopBackfillJobResponse.class, - com.google.cloud.datastream.v1.StopBackfillJobResponse.Builder.class); + com.google.cloud.datastream.v1.StopBackfillJobResponse.class, com.google.cloud.datastream.v1.StopBackfillJobResponse.Builder.class); } // Construct using com.google.cloud.datastream.v1.StopBackfillJobResponse.newBuilder() @@ -366,15 +326,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -388,9 +349,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_StopBackfillJobResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_StopBackfillJobResponse_descriptor; } @java.lang.Override @@ -409,8 +370,7 @@ public com.google.cloud.datastream.v1.StopBackfillJobResponse build() { @java.lang.Override public com.google.cloud.datastream.v1.StopBackfillJobResponse buildPartial() { - com.google.cloud.datastream.v1.StopBackfillJobResponse result = - new com.google.cloud.datastream.v1.StopBackfillJobResponse(this); + com.google.cloud.datastream.v1.StopBackfillJobResponse result = new com.google.cloud.datastream.v1.StopBackfillJobResponse(this); if (objectBuilder_ == null) { result.object_ = object_; } else { @@ -424,39 +384,38 @@ public com.google.cloud.datastream.v1.StopBackfillJobResponse buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1.StopBackfillJobResponse) { - return mergeFrom((com.google.cloud.datastream.v1.StopBackfillJobResponse) other); + return mergeFrom((com.google.cloud.datastream.v1.StopBackfillJobResponse)other); } else { super.mergeFrom(other); return this; @@ -464,8 +423,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datastream.v1.StopBackfillJobResponse other) { - if (other == com.google.cloud.datastream.v1.StopBackfillJobResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.datastream.v1.StopBackfillJobResponse.getDefaultInstance()) return this; if (other.hasObject()) { mergeObject(other.getObject()); } @@ -488,8 +446,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datastream.v1.StopBackfillJobResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datastream.v1.StopBackfillJobResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -501,47 +458,34 @@ public Builder mergeFrom( private com.google.cloud.datastream.v1.StreamObject object_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.StreamObject, - com.google.cloud.datastream.v1.StreamObject.Builder, - com.google.cloud.datastream.v1.StreamObjectOrBuilder> - objectBuilder_; + com.google.cloud.datastream.v1.StreamObject, com.google.cloud.datastream.v1.StreamObject.Builder, com.google.cloud.datastream.v1.StreamObjectOrBuilder> objectBuilder_; /** - * - * *
      * The stream object resource the backfill job was stopped for.
      * 
* * .google.cloud.datastream.v1.StreamObject object = 1; - * * @return Whether the object field is set. */ public boolean hasObject() { return objectBuilder_ != null || object_ != null; } /** - * - * *
      * The stream object resource the backfill job was stopped for.
      * 
* * .google.cloud.datastream.v1.StreamObject object = 1; - * * @return The object. */ public com.google.cloud.datastream.v1.StreamObject getObject() { if (objectBuilder_ == null) { - return object_ == null - ? com.google.cloud.datastream.v1.StreamObject.getDefaultInstance() - : object_; + return object_ == null ? com.google.cloud.datastream.v1.StreamObject.getDefaultInstance() : object_; } else { return objectBuilder_.getMessage(); } } /** - * - * *
      * The stream object resource the backfill job was stopped for.
      * 
@@ -562,15 +506,14 @@ public Builder setObject(com.google.cloud.datastream.v1.StreamObject value) { return this; } /** - * - * *
      * The stream object resource the backfill job was stopped for.
      * 
* * .google.cloud.datastream.v1.StreamObject object = 1; */ - public Builder setObject(com.google.cloud.datastream.v1.StreamObject.Builder builderForValue) { + public Builder setObject( + com.google.cloud.datastream.v1.StreamObject.Builder builderForValue) { if (objectBuilder_ == null) { object_ = builderForValue.build(); onChanged(); @@ -581,8 +524,6 @@ public Builder setObject(com.google.cloud.datastream.v1.StreamObject.Builder bui return this; } /** - * - * *
      * The stream object resource the backfill job was stopped for.
      * 
@@ -593,9 +534,7 @@ public Builder mergeObject(com.google.cloud.datastream.v1.StreamObject value) { if (objectBuilder_ == null) { if (object_ != null) { object_ = - com.google.cloud.datastream.v1.StreamObject.newBuilder(object_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.datastream.v1.StreamObject.newBuilder(object_).mergeFrom(value).buildPartial(); } else { object_ = value; } @@ -607,8 +546,6 @@ public Builder mergeObject(com.google.cloud.datastream.v1.StreamObject value) { return this; } /** - * - * *
      * The stream object resource the backfill job was stopped for.
      * 
@@ -627,8 +564,6 @@ public Builder clearObject() { return this; } /** - * - * *
      * The stream object resource the backfill job was stopped for.
      * 
@@ -636,13 +571,11 @@ public Builder clearObject() { * .google.cloud.datastream.v1.StreamObject object = 1; */ public com.google.cloud.datastream.v1.StreamObject.Builder getObjectBuilder() { - + onChanged(); return getObjectFieldBuilder().getBuilder(); } /** - * - * *
      * The stream object resource the backfill job was stopped for.
      * 
@@ -653,14 +586,11 @@ public com.google.cloud.datastream.v1.StreamObjectOrBuilder getObjectOrBuilder() if (objectBuilder_ != null) { return objectBuilder_.getMessageOrBuilder(); } else { - return object_ == null - ? com.google.cloud.datastream.v1.StreamObject.getDefaultInstance() - : object_; + return object_ == null ? + com.google.cloud.datastream.v1.StreamObject.getDefaultInstance() : object_; } } /** - * - * *
      * The stream object resource the backfill job was stopped for.
      * 
@@ -668,24 +598,21 @@ public com.google.cloud.datastream.v1.StreamObjectOrBuilder getObjectOrBuilder() * .google.cloud.datastream.v1.StreamObject object = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.StreamObject, - com.google.cloud.datastream.v1.StreamObject.Builder, - com.google.cloud.datastream.v1.StreamObjectOrBuilder> + com.google.cloud.datastream.v1.StreamObject, com.google.cloud.datastream.v1.StreamObject.Builder, com.google.cloud.datastream.v1.StreamObjectOrBuilder> getObjectFieldBuilder() { if (objectBuilder_ == null) { - objectBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.StreamObject, - com.google.cloud.datastream.v1.StreamObject.Builder, - com.google.cloud.datastream.v1.StreamObjectOrBuilder>( - getObject(), getParentForChildren(), isClean()); + objectBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1.StreamObject, com.google.cloud.datastream.v1.StreamObject.Builder, com.google.cloud.datastream.v1.StreamObjectOrBuilder>( + getObject(), + getParentForChildren(), + isClean()); object_ = null; } return objectBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -695,12 +622,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1.StopBackfillJobResponse) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1.StopBackfillJobResponse) private static final com.google.cloud.datastream.v1.StopBackfillJobResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1.StopBackfillJobResponse(); } @@ -709,16 +636,16 @@ public static com.google.cloud.datastream.v1.StopBackfillJobResponse getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StopBackfillJobResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new StopBackfillJobResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StopBackfillJobResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StopBackfillJobResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -733,4 +660,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datastream.v1.StopBackfillJobResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StopBackfillJobResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StopBackfillJobResponseOrBuilder.java similarity index 60% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StopBackfillJobResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StopBackfillJobResponseOrBuilder.java index 896434af..abb22f8b 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StopBackfillJobResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StopBackfillJobResponseOrBuilder.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/datastream/v1/datastream.proto package com.google.cloud.datastream.v1; -public interface StopBackfillJobResponseOrBuilder - extends +public interface StopBackfillJobResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1.StopBackfillJobResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The stream object resource the backfill job was stopped for.
    * 
* * .google.cloud.datastream.v1.StreamObject object = 1; - * * @return Whether the object field is set. */ boolean hasObject(); /** - * - * *
    * The stream object resource the backfill job was stopped for.
    * 
* * .google.cloud.datastream.v1.StreamObject object = 1; - * * @return The object. */ com.google.cloud.datastream.v1.StreamObject getObject(); /** - * - * *
    * The stream object resource the backfill job was stopped for.
    * 
diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/Stream.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/Stream.java similarity index 66% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/Stream.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/Stream.java index a2fcecae..170b58f2 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/Stream.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/Stream.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/datastream/v1/datastream_resources.proto package com.google.cloud.datastream.v1; /** - * - * *
  * A resource representing streaming data from a source to a destination.
  * 
* * Protobuf type {@code google.cloud.datastream.v1.Stream} */ -public final class Stream extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Stream extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1.Stream) StreamOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Stream.newBuilder() to construct. private Stream(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Stream() { name_ = ""; displayName_ = ""; @@ -47,15 +29,16 @@ private Stream() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Stream(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Stream( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -75,167 +58,139 @@ private Stream( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; + name_ = s; + break; + } + case 18: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); } - case 18: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } - - break; + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 26: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); - } - updateTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); - } - break; + break; + } + case 26: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); } - case 34: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - labels_ = - com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; - } - com.google.protobuf.MapEntry labels__ = - input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - labels_.getMutableMap().put(labels__.getKey(), labels__.getValue()); - break; + updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); - displayName_ = s; - break; + break; + } + case 34: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; } - case 50: - { - com.google.cloud.datastream.v1.SourceConfig.Builder subBuilder = null; - if (sourceConfig_ != null) { - subBuilder = sourceConfig_.toBuilder(); - } - sourceConfig_ = - input.readMessage( - com.google.cloud.datastream.v1.SourceConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(sourceConfig_); - sourceConfig_ = subBuilder.buildPartial(); - } + com.google.protobuf.MapEntry + labels__ = input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + labels_.getMutableMap().put( + labels__.getKey(), labels__.getValue()); + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); - break; + displayName_ = s; + break; + } + case 50: { + com.google.cloud.datastream.v1.SourceConfig.Builder subBuilder = null; + if (sourceConfig_ != null) { + subBuilder = sourceConfig_.toBuilder(); + } + sourceConfig_ = input.readMessage(com.google.cloud.datastream.v1.SourceConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(sourceConfig_); + sourceConfig_ = subBuilder.buildPartial(); } - case 58: - { - com.google.cloud.datastream.v1.DestinationConfig.Builder subBuilder = null; - if (destinationConfig_ != null) { - subBuilder = destinationConfig_.toBuilder(); - } - destinationConfig_ = - input.readMessage( - com.google.cloud.datastream.v1.DestinationConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(destinationConfig_); - destinationConfig_ = subBuilder.buildPartial(); - } - break; + break; + } + case 58: { + com.google.cloud.datastream.v1.DestinationConfig.Builder subBuilder = null; + if (destinationConfig_ != null) { + subBuilder = destinationConfig_.toBuilder(); + } + destinationConfig_ = input.readMessage(com.google.cloud.datastream.v1.DestinationConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(destinationConfig_); + destinationConfig_ = subBuilder.buildPartial(); } - case 64: - { - int rawValue = input.readEnum(); - state_ = rawValue; - break; + break; + } + case 64: { + int rawValue = input.readEnum(); + + state_ = rawValue; + break; + } + case 74: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + errors_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; } - case 74: - { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - errors_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; - } - errors_.add( - input.readMessage( - com.google.cloud.datastream.v1.Error.parser(), extensionRegistry)); - break; + errors_.add( + input.readMessage(com.google.cloud.datastream.v1.Error.parser(), extensionRegistry)); + break; + } + case 82: { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + customerManagedEncryptionKey_ = s; + break; + } + case 810: { + com.google.cloud.datastream.v1.Stream.BackfillAllStrategy.Builder subBuilder = null; + if (backfillStrategyCase_ == 101) { + subBuilder = ((com.google.cloud.datastream.v1.Stream.BackfillAllStrategy) backfillStrategy_).toBuilder(); } - case 82: - { - java.lang.String s = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - customerManagedEncryptionKey_ = s; - break; + backfillStrategy_ = + input.readMessage(com.google.cloud.datastream.v1.Stream.BackfillAllStrategy.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.datastream.v1.Stream.BackfillAllStrategy) backfillStrategy_); + backfillStrategy_ = subBuilder.buildPartial(); } - case 810: - { - com.google.cloud.datastream.v1.Stream.BackfillAllStrategy.Builder subBuilder = null; - if (backfillStrategyCase_ == 101) { - subBuilder = - ((com.google.cloud.datastream.v1.Stream.BackfillAllStrategy) backfillStrategy_) - .toBuilder(); - } - backfillStrategy_ = - input.readMessage( - com.google.cloud.datastream.v1.Stream.BackfillAllStrategy.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.datastream.v1.Stream.BackfillAllStrategy) backfillStrategy_); - backfillStrategy_ = subBuilder.buildPartial(); - } - backfillStrategyCase_ = 101; - break; + backfillStrategyCase_ = 101; + break; + } + case 818: { + com.google.cloud.datastream.v1.Stream.BackfillNoneStrategy.Builder subBuilder = null; + if (backfillStrategyCase_ == 102) { + subBuilder = ((com.google.cloud.datastream.v1.Stream.BackfillNoneStrategy) backfillStrategy_).toBuilder(); } - case 818: - { - com.google.cloud.datastream.v1.Stream.BackfillNoneStrategy.Builder subBuilder = null; - if (backfillStrategyCase_ == 102) { - subBuilder = - ((com.google.cloud.datastream.v1.Stream.BackfillNoneStrategy) backfillStrategy_) - .toBuilder(); - } - backfillStrategy_ = - input.readMessage( - com.google.cloud.datastream.v1.Stream.BackfillNoneStrategy.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.datastream.v1.Stream.BackfillNoneStrategy) backfillStrategy_); - backfillStrategy_ = subBuilder.buildPartial(); - } - backfillStrategyCase_ = 102; - break; + backfillStrategy_ = + input.readMessage(com.google.cloud.datastream.v1.Stream.BackfillNoneStrategy.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.datastream.v1.Stream.BackfillNoneStrategy) backfillStrategy_); + backfillStrategy_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + backfillStrategyCase_ = 102; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -243,7 +198,8 @@ private Stream( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000002) != 0)) { errors_ = java.util.Collections.unmodifiableList(errors_); @@ -252,46 +208,41 @@ private Stream( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_Stream_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_Stream_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 4: return internalGetLabels(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_Stream_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_Stream_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.Stream.class, - com.google.cloud.datastream.v1.Stream.Builder.class); + com.google.cloud.datastream.v1.Stream.class, com.google.cloud.datastream.v1.Stream.Builder.class); } /** - * - * *
    * Stream state.
    * 
* * Protobuf enum {@code google.cloud.datastream.v1.Stream.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { + public enum State + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Unspecified stream state.
      * 
@@ -300,8 +251,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
      * The stream has been created but has not yet started streaming data.
      * 
@@ -310,8 +259,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ NOT_STARTED(1), /** - * - * *
      * The stream is running.
      * 
@@ -320,8 +267,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ RUNNING(2), /** - * - * *
      * The stream is paused.
      * 
@@ -330,8 +275,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ PAUSED(3), /** - * - * *
      * The stream is in maintenance mode.
      * Updates are rejected on the resource in this state.
@@ -341,8 +284,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     MAINTENANCE(4),
     /**
-     *
-     *
      * 
      * The stream is experiencing an error that is preventing data from being
      * streamed.
@@ -352,8 +293,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     FAILED(5),
     /**
-     *
-     *
      * 
      * The stream has experienced a terminal failure.
      * 
@@ -362,8 +301,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ FAILED_PERMANENTLY(6), /** - * - * *
      * The stream is starting, but not yet running.
      * 
@@ -372,8 +309,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STARTING(7), /** - * - * *
      * The Stream is no longer reading new events, but still writing events in
      * the buffer.
@@ -386,8 +321,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Unspecified stream state.
      * 
@@ -396,8 +329,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The stream has been created but has not yet started streaming data.
      * 
@@ -406,8 +337,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int NOT_STARTED_VALUE = 1; /** - * - * *
      * The stream is running.
      * 
@@ -416,8 +345,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RUNNING_VALUE = 2; /** - * - * *
      * The stream is paused.
      * 
@@ -426,8 +353,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PAUSED_VALUE = 3; /** - * - * *
      * The stream is in maintenance mode.
      * Updates are rejected on the resource in this state.
@@ -437,8 +362,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int MAINTENANCE_VALUE = 4;
     /**
-     *
-     *
      * 
      * The stream is experiencing an error that is preventing data from being
      * streamed.
@@ -448,8 +371,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int FAILED_VALUE = 5;
     /**
-     *
-     *
      * 
      * The stream has experienced a terminal failure.
      * 
@@ -458,8 +379,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FAILED_PERMANENTLY_VALUE = 6; /** - * - * *
      * The stream is starting, but not yet running.
      * 
@@ -468,8 +387,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STARTING_VALUE = 7; /** - * - * *
      * The Stream is no longer reading new events, but still writing events in
      * the buffer.
@@ -479,6 +396,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int DRAINING_VALUE = 8;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -503,61 +421,55 @@ public static State valueOf(int value) {
      */
     public static State forNumber(int value) {
       switch (value) {
-        case 0:
-          return STATE_UNSPECIFIED;
-        case 1:
-          return NOT_STARTED;
-        case 2:
-          return RUNNING;
-        case 3:
-          return PAUSED;
-        case 4:
-          return MAINTENANCE;
-        case 5:
-          return FAILED;
-        case 6:
-          return FAILED_PERMANENTLY;
-        case 7:
-          return STARTING;
-        case 8:
-          return DRAINING;
-        default:
-          return null;
+        case 0: return STATE_UNSPECIFIED;
+        case 1: return NOT_STARTED;
+        case 2: return RUNNING;
+        case 3: return PAUSED;
+        case 4: return MAINTENANCE;
+        case 5: return FAILED;
+        case 6: return FAILED_PERMANENTLY;
+        case 7: return STARTING;
+        case 8: return DRAINING;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        State> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public State findValueByNumber(int number) {
+              return State.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public State findValueByNumber(int number) {
-            return State.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.cloud.datastream.v1.Stream.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;
@@ -574,38 +486,29 @@ private State(int value) {
     // @@protoc_insertion_point(enum_scope:google.cloud.datastream.v1.Stream.State)
   }
 
-  public interface BackfillAllStrategyOrBuilder
-      extends
+  public interface BackfillAllStrategyOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1.Stream.BackfillAllStrategy)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * Oracle data source objects to avoid backfilling.
      * 
* * .google.cloud.datastream.v1.OracleRdbms oracle_excluded_objects = 1; - * * @return Whether the oracleExcludedObjects field is set. */ boolean hasOracleExcludedObjects(); /** - * - * *
      * Oracle data source objects to avoid backfilling.
      * 
* * .google.cloud.datastream.v1.OracleRdbms oracle_excluded_objects = 1; - * * @return The oracleExcludedObjects. */ com.google.cloud.datastream.v1.OracleRdbms getOracleExcludedObjects(); /** - * - * *
      * Oracle data source objects to avoid backfilling.
      * 
@@ -615,32 +518,24 @@ public interface BackfillAllStrategyOrBuilder com.google.cloud.datastream.v1.OracleRdbmsOrBuilder getOracleExcludedObjectsOrBuilder(); /** - * - * *
      * MySQL data source objects to avoid backfilling.
      * 
* * .google.cloud.datastream.v1.MysqlRdbms mysql_excluded_objects = 2; - * * @return Whether the mysqlExcludedObjects field is set. */ boolean hasMysqlExcludedObjects(); /** - * - * *
      * MySQL data source objects to avoid backfilling.
      * 
* * .google.cloud.datastream.v1.MysqlRdbms mysql_excluded_objects = 2; - * * @return The mysqlExcludedObjects. */ com.google.cloud.datastream.v1.MysqlRdbms getMysqlExcludedObjects(); /** - * - * *
      * MySQL data source objects to avoid backfilling.
      * 
@@ -649,12 +544,36 @@ public interface BackfillAllStrategyOrBuilder */ com.google.cloud.datastream.v1.MysqlRdbmsOrBuilder getMysqlExcludedObjectsOrBuilder(); - public com.google.cloud.datastream.v1.Stream.BackfillAllStrategy.ExcludedObjectsCase - getExcludedObjectsCase(); + /** + *
+     * PostgreSQL data source objects to avoid backfilling.
+     * 
+ * + * .google.cloud.datastream.v1.PostgresqlRdbms postgresql_excluded_objects = 3; + * @return Whether the postgresqlExcludedObjects field is set. + */ + boolean hasPostgresqlExcludedObjects(); + /** + *
+     * PostgreSQL data source objects to avoid backfilling.
+     * 
+ * + * .google.cloud.datastream.v1.PostgresqlRdbms postgresql_excluded_objects = 3; + * @return The postgresqlExcludedObjects. + */ + com.google.cloud.datastream.v1.PostgresqlRdbms getPostgresqlExcludedObjects(); + /** + *
+     * PostgreSQL data source objects to avoid backfilling.
+     * 
+ * + * .google.cloud.datastream.v1.PostgresqlRdbms postgresql_excluded_objects = 3; + */ + com.google.cloud.datastream.v1.PostgresqlRdbmsOrBuilder getPostgresqlExcludedObjectsOrBuilder(); + + public com.google.cloud.datastream.v1.Stream.BackfillAllStrategy.ExcludedObjectsCase getExcludedObjectsCase(); } /** - * - * *
    * Backfill strategy to automatically backfill the Stream's objects.
    * Specific objects can be excluded.
@@ -662,29 +581,30 @@ public interface BackfillAllStrategyOrBuilder
    *
    * Protobuf type {@code google.cloud.datastream.v1.Stream.BackfillAllStrategy}
    */
-  public static final class BackfillAllStrategy extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class BackfillAllStrategy extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1.Stream.BackfillAllStrategy)
       BackfillAllStrategyOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use BackfillAllStrategy.newBuilder() to construct.
     private BackfillAllStrategy(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
-    private BackfillAllStrategy() {}
+    private BackfillAllStrategy() {
+    }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new BackfillAllStrategy();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private BackfillAllStrategy(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -703,49 +623,55 @@ private BackfillAllStrategy(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.cloud.datastream.v1.OracleRdbms.Builder subBuilder = null;
-                if (excludedObjectsCase_ == 1) {
-                  subBuilder =
-                      ((com.google.cloud.datastream.v1.OracleRdbms) excludedObjects_).toBuilder();
-                }
-                excludedObjects_ =
-                    input.readMessage(
-                        com.google.cloud.datastream.v1.OracleRdbms.parser(), extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(
-                      (com.google.cloud.datastream.v1.OracleRdbms) excludedObjects_);
-                  excludedObjects_ = subBuilder.buildPartial();
-                }
-                excludedObjectsCase_ = 1;
-                break;
+            case 10: {
+              com.google.cloud.datastream.v1.OracleRdbms.Builder subBuilder = null;
+              if (excludedObjectsCase_ == 1) {
+                subBuilder = ((com.google.cloud.datastream.v1.OracleRdbms) excludedObjects_).toBuilder();
+              }
+              excludedObjects_ =
+                  input.readMessage(com.google.cloud.datastream.v1.OracleRdbms.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.cloud.datastream.v1.OracleRdbms) excludedObjects_);
+                excludedObjects_ = subBuilder.buildPartial();
               }
-            case 18:
-              {
-                com.google.cloud.datastream.v1.MysqlRdbms.Builder subBuilder = null;
-                if (excludedObjectsCase_ == 2) {
-                  subBuilder =
-                      ((com.google.cloud.datastream.v1.MysqlRdbms) excludedObjects_).toBuilder();
-                }
-                excludedObjects_ =
-                    input.readMessage(
-                        com.google.cloud.datastream.v1.MysqlRdbms.parser(), extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(
-                      (com.google.cloud.datastream.v1.MysqlRdbms) excludedObjects_);
-                  excludedObjects_ = subBuilder.buildPartial();
-                }
-                excludedObjectsCase_ = 2;
-                break;
+              excludedObjectsCase_ = 1;
+              break;
+            }
+            case 18: {
+              com.google.cloud.datastream.v1.MysqlRdbms.Builder subBuilder = null;
+              if (excludedObjectsCase_ == 2) {
+                subBuilder = ((com.google.cloud.datastream.v1.MysqlRdbms) excludedObjects_).toBuilder();
               }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              excludedObjects_ =
+                  input.readMessage(com.google.cloud.datastream.v1.MysqlRdbms.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.cloud.datastream.v1.MysqlRdbms) excludedObjects_);
+                excludedObjects_ = subBuilder.buildPartial();
               }
+              excludedObjectsCase_ = 2;
+              break;
+            }
+            case 26: {
+              com.google.cloud.datastream.v1.PostgresqlRdbms.Builder subBuilder = null;
+              if (excludedObjectsCase_ == 3) {
+                subBuilder = ((com.google.cloud.datastream.v1.PostgresqlRdbms) excludedObjects_).toBuilder();
+              }
+              excludedObjects_ =
+                  input.readMessage(com.google.cloud.datastream.v1.PostgresqlRdbms.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.cloud.datastream.v1.PostgresqlRdbms) excludedObjects_);
+                excludedObjects_ = subBuilder.buildPartial();
+              }
+              excludedObjectsCase_ = 3;
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -753,40 +679,36 @@ private BackfillAllStrategy(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datastream.v1.DatastreamResourcesProto
-          .internal_static_google_cloud_datastream_v1_Stream_BackfillAllStrategy_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_Stream_BackfillAllStrategy_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datastream.v1.DatastreamResourcesProto
-          .internal_static_google_cloud_datastream_v1_Stream_BackfillAllStrategy_fieldAccessorTable
+      return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_Stream_BackfillAllStrategy_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datastream.v1.Stream.BackfillAllStrategy.class,
-              com.google.cloud.datastream.v1.Stream.BackfillAllStrategy.Builder.class);
+              com.google.cloud.datastream.v1.Stream.BackfillAllStrategy.class, com.google.cloud.datastream.v1.Stream.BackfillAllStrategy.Builder.class);
     }
 
     private int excludedObjectsCase_ = 0;
     private java.lang.Object excludedObjects_;
-
     public enum ExcludedObjectsCase
-        implements
-            com.google.protobuf.Internal.EnumLite,
+        implements com.google.protobuf.Internal.EnumLite,
             com.google.protobuf.AbstractMessage.InternalOneOfEnum {
       ORACLE_EXCLUDED_OBJECTS(1),
       MYSQL_EXCLUDED_OBJECTS(2),
+      POSTGRESQL_EXCLUDED_OBJECTS(3),
       EXCLUDEDOBJECTS_NOT_SET(0);
       private final int value;
-
       private ExcludedObjectsCase(int value) {
         this.value = value;
       }
@@ -802,36 +724,31 @@ public static ExcludedObjectsCase valueOf(int value) {
 
       public static ExcludedObjectsCase forNumber(int value) {
         switch (value) {
-          case 1:
-            return ORACLE_EXCLUDED_OBJECTS;
-          case 2:
-            return MYSQL_EXCLUDED_OBJECTS;
-          case 0:
-            return EXCLUDEDOBJECTS_NOT_SET;
-          default:
-            return null;
+          case 1: return ORACLE_EXCLUDED_OBJECTS;
+          case 2: return MYSQL_EXCLUDED_OBJECTS;
+          case 3: return POSTGRESQL_EXCLUDED_OBJECTS;
+          case 0: return EXCLUDEDOBJECTS_NOT_SET;
+          default: return null;
         }
       }
-
       public int getNumber() {
         return this.value;
       }
     };
 
-    public ExcludedObjectsCase getExcludedObjectsCase() {
-      return ExcludedObjectsCase.forNumber(excludedObjectsCase_);
+    public ExcludedObjectsCase
+    getExcludedObjectsCase() {
+      return ExcludedObjectsCase.forNumber(
+          excludedObjectsCase_);
     }
 
     public static final int ORACLE_EXCLUDED_OBJECTS_FIELD_NUMBER = 1;
     /**
-     *
-     *
      * 
      * Oracle data source objects to avoid backfilling.
      * 
* * .google.cloud.datastream.v1.OracleRdbms oracle_excluded_objects = 1; - * * @return Whether the oracleExcludedObjects field is set. */ @java.lang.Override @@ -839,26 +756,21 @@ public boolean hasOracleExcludedObjects() { return excludedObjectsCase_ == 1; } /** - * - * *
      * Oracle data source objects to avoid backfilling.
      * 
* * .google.cloud.datastream.v1.OracleRdbms oracle_excluded_objects = 1; - * * @return The oracleExcludedObjects. */ @java.lang.Override public com.google.cloud.datastream.v1.OracleRdbms getOracleExcludedObjects() { if (excludedObjectsCase_ == 1) { - return (com.google.cloud.datastream.v1.OracleRdbms) excludedObjects_; + return (com.google.cloud.datastream.v1.OracleRdbms) excludedObjects_; } return com.google.cloud.datastream.v1.OracleRdbms.getDefaultInstance(); } /** - * - * *
      * Oracle data source objects to avoid backfilling.
      * 
@@ -868,21 +780,18 @@ public com.google.cloud.datastream.v1.OracleRdbms getOracleExcludedObjects() { @java.lang.Override public com.google.cloud.datastream.v1.OracleRdbmsOrBuilder getOracleExcludedObjectsOrBuilder() { if (excludedObjectsCase_ == 1) { - return (com.google.cloud.datastream.v1.OracleRdbms) excludedObjects_; + return (com.google.cloud.datastream.v1.OracleRdbms) excludedObjects_; } return com.google.cloud.datastream.v1.OracleRdbms.getDefaultInstance(); } public static final int MYSQL_EXCLUDED_OBJECTS_FIELD_NUMBER = 2; /** - * - * *
      * MySQL data source objects to avoid backfilling.
      * 
* * .google.cloud.datastream.v1.MysqlRdbms mysql_excluded_objects = 2; - * * @return Whether the mysqlExcludedObjects field is set. */ @java.lang.Override @@ -890,26 +799,21 @@ public boolean hasMysqlExcludedObjects() { return excludedObjectsCase_ == 2; } /** - * - * *
      * MySQL data source objects to avoid backfilling.
      * 
* * .google.cloud.datastream.v1.MysqlRdbms mysql_excluded_objects = 2; - * * @return The mysqlExcludedObjects. */ @java.lang.Override public com.google.cloud.datastream.v1.MysqlRdbms getMysqlExcludedObjects() { if (excludedObjectsCase_ == 2) { - return (com.google.cloud.datastream.v1.MysqlRdbms) excludedObjects_; + return (com.google.cloud.datastream.v1.MysqlRdbms) excludedObjects_; } return com.google.cloud.datastream.v1.MysqlRdbms.getDefaultInstance(); } /** - * - * *
      * MySQL data source objects to avoid backfilling.
      * 
@@ -919,13 +823,55 @@ public com.google.cloud.datastream.v1.MysqlRdbms getMysqlExcludedObjects() { @java.lang.Override public com.google.cloud.datastream.v1.MysqlRdbmsOrBuilder getMysqlExcludedObjectsOrBuilder() { if (excludedObjectsCase_ == 2) { - return (com.google.cloud.datastream.v1.MysqlRdbms) excludedObjects_; + return (com.google.cloud.datastream.v1.MysqlRdbms) excludedObjects_; } return com.google.cloud.datastream.v1.MysqlRdbms.getDefaultInstance(); } - private byte memoizedIsInitialized = -1; + public static final int POSTGRESQL_EXCLUDED_OBJECTS_FIELD_NUMBER = 3; + /** + *
+     * PostgreSQL data source objects to avoid backfilling.
+     * 
+ * + * .google.cloud.datastream.v1.PostgresqlRdbms postgresql_excluded_objects = 3; + * @return Whether the postgresqlExcludedObjects field is set. + */ + @java.lang.Override + public boolean hasPostgresqlExcludedObjects() { + return excludedObjectsCase_ == 3; + } + /** + *
+     * PostgreSQL data source objects to avoid backfilling.
+     * 
+ * + * .google.cloud.datastream.v1.PostgresqlRdbms postgresql_excluded_objects = 3; + * @return The postgresqlExcludedObjects. + */ + @java.lang.Override + public com.google.cloud.datastream.v1.PostgresqlRdbms getPostgresqlExcludedObjects() { + if (excludedObjectsCase_ == 3) { + return (com.google.cloud.datastream.v1.PostgresqlRdbms) excludedObjects_; + } + return com.google.cloud.datastream.v1.PostgresqlRdbms.getDefaultInstance(); + } + /** + *
+     * PostgreSQL data source objects to avoid backfilling.
+     * 
+ * + * .google.cloud.datastream.v1.PostgresqlRdbms postgresql_excluded_objects = 3; + */ + @java.lang.Override + public com.google.cloud.datastream.v1.PostgresqlRdbmsOrBuilder getPostgresqlExcludedObjectsOrBuilder() { + if (excludedObjectsCase_ == 3) { + return (com.google.cloud.datastream.v1.PostgresqlRdbms) excludedObjects_; + } + return com.google.cloud.datastream.v1.PostgresqlRdbms.getDefaultInstance(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -937,13 +883,17 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (excludedObjectsCase_ == 1) { output.writeMessage(1, (com.google.cloud.datastream.v1.OracleRdbms) excludedObjects_); } if (excludedObjectsCase_ == 2) { output.writeMessage(2, (com.google.cloud.datastream.v1.MysqlRdbms) excludedObjects_); } + if (excludedObjectsCase_ == 3) { + output.writeMessage(3, (com.google.cloud.datastream.v1.PostgresqlRdbms) excludedObjects_); + } unknownFields.writeTo(output); } @@ -954,14 +904,16 @@ public int getSerializedSize() { size = 0; if (excludedObjectsCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, (com.google.cloud.datastream.v1.OracleRdbms) excludedObjects_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.cloud.datastream.v1.OracleRdbms) excludedObjects_); } if (excludedObjectsCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.cloud.datastream.v1.MysqlRdbms) excludedObjects_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.cloud.datastream.v1.MysqlRdbms) excludedObjects_); + } + if (excludedObjectsCase_ == 3) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (com.google.cloud.datastream.v1.PostgresqlRdbms) excludedObjects_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -971,21 +923,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.datastream.v1.Stream.BackfillAllStrategy)) { return super.equals(obj); } - com.google.cloud.datastream.v1.Stream.BackfillAllStrategy other = - (com.google.cloud.datastream.v1.Stream.BackfillAllStrategy) obj; + com.google.cloud.datastream.v1.Stream.BackfillAllStrategy other = (com.google.cloud.datastream.v1.Stream.BackfillAllStrategy) obj; if (!getExcludedObjectsCase().equals(other.getExcludedObjectsCase())) return false; switch (excludedObjectsCase_) { case 1: - if (!getOracleExcludedObjects().equals(other.getOracleExcludedObjects())) return false; + if (!getOracleExcludedObjects() + .equals(other.getOracleExcludedObjects())) return false; break; case 2: - if (!getMysqlExcludedObjects().equals(other.getMysqlExcludedObjects())) return false; + if (!getMysqlExcludedObjects() + .equals(other.getMysqlExcludedObjects())) return false; + break; + case 3: + if (!getPostgresqlExcludedObjects() + .equals(other.getPostgresqlExcludedObjects())) return false; break; case 0: default: @@ -1010,6 +967,10 @@ public int hashCode() { hash = (37 * hash) + MYSQL_EXCLUDED_OBJECTS_FIELD_NUMBER; hash = (53 * hash) + getMysqlExcludedObjects().hashCode(); break; + case 3: + hash = (37 * hash) + POSTGRESQL_EXCLUDED_OBJECTS_FIELD_NUMBER; + hash = (53 * hash) + getPostgresqlExcludedObjects().hashCode(); + break; case 0: default: } @@ -1019,94 +980,87 @@ public int hashCode() { } public static com.google.cloud.datastream.v1.Stream.BackfillAllStrategy parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.Stream.BackfillAllStrategy parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.Stream.BackfillAllStrategy parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.Stream.BackfillAllStrategy parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.Stream.BackfillAllStrategy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.Stream.BackfillAllStrategy parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1.Stream.BackfillAllStrategy parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.Stream.BackfillAllStrategy parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.Stream.BackfillAllStrategy parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1.Stream.BackfillAllStrategy parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.Stream.BackfillAllStrategy parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.Stream.BackfillAllStrategy 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.datastream.v1.Stream.BackfillAllStrategy parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.Stream.BackfillAllStrategy parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datastream.v1.Stream.BackfillAllStrategy prototype) { + public static Builder newBuilder(com.google.cloud.datastream.v1.Stream.BackfillAllStrategy prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1116,8 +1070,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Backfill strategy to automatically backfill the Stream's objects.
      * Specific objects can be excluded.
@@ -1125,24 +1077,21 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.datastream.v1.Stream.BackfillAllStrategy}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1.Stream.BackfillAllStrategy)
         com.google.cloud.datastream.v1.Stream.BackfillAllStrategyOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.datastream.v1.DatastreamResourcesProto
-            .internal_static_google_cloud_datastream_v1_Stream_BackfillAllStrategy_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_Stream_BackfillAllStrategy_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.datastream.v1.DatastreamResourcesProto
-            .internal_static_google_cloud_datastream_v1_Stream_BackfillAllStrategy_fieldAccessorTable
+        return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_Stream_BackfillAllStrategy_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.datastream.v1.Stream.BackfillAllStrategy.class,
-                com.google.cloud.datastream.v1.Stream.BackfillAllStrategy.Builder.class);
+                com.google.cloud.datastream.v1.Stream.BackfillAllStrategy.class, com.google.cloud.datastream.v1.Stream.BackfillAllStrategy.Builder.class);
       }
 
       // Construct using com.google.cloud.datastream.v1.Stream.BackfillAllStrategy.newBuilder()
@@ -1150,15 +1099,16 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -1168,9 +1118,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.datastream.v1.DatastreamResourcesProto
-            .internal_static_google_cloud_datastream_v1_Stream_BackfillAllStrategy_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_Stream_BackfillAllStrategy_descriptor;
       }
 
       @java.lang.Override
@@ -1189,8 +1139,7 @@ public com.google.cloud.datastream.v1.Stream.BackfillAllStrategy build() {
 
       @java.lang.Override
       public com.google.cloud.datastream.v1.Stream.BackfillAllStrategy buildPartial() {
-        com.google.cloud.datastream.v1.Stream.BackfillAllStrategy result =
-            new com.google.cloud.datastream.v1.Stream.BackfillAllStrategy(this);
+        com.google.cloud.datastream.v1.Stream.BackfillAllStrategy result = new com.google.cloud.datastream.v1.Stream.BackfillAllStrategy(this);
         if (excludedObjectsCase_ == 1) {
           if (oracleExcludedObjectsBuilder_ == null) {
             result.excludedObjects_ = excludedObjects_;
@@ -1205,6 +1154,13 @@ public com.google.cloud.datastream.v1.Stream.BackfillAllStrategy buildPartial()
             result.excludedObjects_ = mysqlExcludedObjectsBuilder_.build();
           }
         }
+        if (excludedObjectsCase_ == 3) {
+          if (postgresqlExcludedObjectsBuilder_ == null) {
+            result.excludedObjects_ = excludedObjects_;
+          } else {
+            result.excludedObjects_ = postgresqlExcludedObjectsBuilder_.build();
+          }
+        }
         result.excludedObjectsCase_ = excludedObjectsCase_;
         onBuilt();
         return result;
@@ -1214,41 +1170,38 @@ public com.google.cloud.datastream.v1.Stream.BackfillAllStrategy buildPartial()
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.cloud.datastream.v1.Stream.BackfillAllStrategy) {
-          return mergeFrom((com.google.cloud.datastream.v1.Stream.BackfillAllStrategy) other);
+          return mergeFrom((com.google.cloud.datastream.v1.Stream.BackfillAllStrategy)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -1256,23 +1209,23 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.datastream.v1.Stream.BackfillAllStrategy other) {
-        if (other == com.google.cloud.datastream.v1.Stream.BackfillAllStrategy.getDefaultInstance())
-          return this;
+        if (other == com.google.cloud.datastream.v1.Stream.BackfillAllStrategy.getDefaultInstance()) return this;
         switch (other.getExcludedObjectsCase()) {
-          case ORACLE_EXCLUDED_OBJECTS:
-            {
-              mergeOracleExcludedObjects(other.getOracleExcludedObjects());
-              break;
-            }
-          case MYSQL_EXCLUDED_OBJECTS:
-            {
-              mergeMysqlExcludedObjects(other.getMysqlExcludedObjects());
-              break;
-            }
-          case EXCLUDEDOBJECTS_NOT_SET:
-            {
-              break;
-            }
+          case ORACLE_EXCLUDED_OBJECTS: {
+            mergeOracleExcludedObjects(other.getOracleExcludedObjects());
+            break;
+          }
+          case MYSQL_EXCLUDED_OBJECTS: {
+            mergeMysqlExcludedObjects(other.getMysqlExcludedObjects());
+            break;
+          }
+          case POSTGRESQL_EXCLUDED_OBJECTS: {
+            mergePostgresqlExcludedObjects(other.getPostgresqlExcludedObjects());
+            break;
+          }
+          case EXCLUDEDOBJECTS_NOT_SET: {
+            break;
+          }
         }
         this.mergeUnknownFields(other.unknownFields);
         onChanged();
@@ -1293,8 +1246,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.cloud.datastream.v1.Stream.BackfillAllStrategy) e.getUnfinishedMessage();
+          parsedMessage = (com.google.cloud.datastream.v1.Stream.BackfillAllStrategy) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -1303,12 +1255,12 @@ public Builder mergeFrom(
         }
         return this;
       }
-
       private int excludedObjectsCase_ = 0;
       private java.lang.Object excludedObjects_;
-
-      public ExcludedObjectsCase getExcludedObjectsCase() {
-        return ExcludedObjectsCase.forNumber(excludedObjectsCase_);
+      public ExcludedObjectsCase
+          getExcludedObjectsCase() {
+        return ExcludedObjectsCase.forNumber(
+            excludedObjectsCase_);
       }
 
       public Builder clearExcludedObjects() {
@@ -1318,20 +1270,15 @@ public Builder clearExcludedObjects() {
         return this;
       }
 
+
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.datastream.v1.OracleRdbms,
-              com.google.cloud.datastream.v1.OracleRdbms.Builder,
-              com.google.cloud.datastream.v1.OracleRdbmsOrBuilder>
-          oracleExcludedObjectsBuilder_;
+          com.google.cloud.datastream.v1.OracleRdbms, com.google.cloud.datastream.v1.OracleRdbms.Builder, com.google.cloud.datastream.v1.OracleRdbmsOrBuilder> oracleExcludedObjectsBuilder_;
       /**
-       *
-       *
        * 
        * Oracle data source objects to avoid backfilling.
        * 
* * .google.cloud.datastream.v1.OracleRdbms oracle_excluded_objects = 1; - * * @return Whether the oracleExcludedObjects field is set. */ @java.lang.Override @@ -1339,14 +1286,11 @@ public boolean hasOracleExcludedObjects() { return excludedObjectsCase_ == 1; } /** - * - * *
        * Oracle data source objects to avoid backfilling.
        * 
* * .google.cloud.datastream.v1.OracleRdbms oracle_excluded_objects = 1; - * * @return The oracleExcludedObjects. */ @java.lang.Override @@ -1364,8 +1308,6 @@ public com.google.cloud.datastream.v1.OracleRdbms getOracleExcludedObjects() { } } /** - * - * *
        * Oracle data source objects to avoid backfilling.
        * 
@@ -1386,8 +1328,6 @@ public Builder setOracleExcludedObjects(com.google.cloud.datastream.v1.OracleRdb return this; } /** - * - * *
        * Oracle data source objects to avoid backfilling.
        * 
@@ -1406,8 +1346,6 @@ public Builder setOracleExcludedObjects( return this; } /** - * - * *
        * Oracle data source objects to avoid backfilling.
        * 
@@ -1416,14 +1354,10 @@ public Builder setOracleExcludedObjects( */ public Builder mergeOracleExcludedObjects(com.google.cloud.datastream.v1.OracleRdbms value) { if (oracleExcludedObjectsBuilder_ == null) { - if (excludedObjectsCase_ == 1 - && excludedObjects_ - != com.google.cloud.datastream.v1.OracleRdbms.getDefaultInstance()) { - excludedObjects_ = - com.google.cloud.datastream.v1.OracleRdbms.newBuilder( - (com.google.cloud.datastream.v1.OracleRdbms) excludedObjects_) - .mergeFrom(value) - .buildPartial(); + if (excludedObjectsCase_ == 1 && + excludedObjects_ != com.google.cloud.datastream.v1.OracleRdbms.getDefaultInstance()) { + excludedObjects_ = com.google.cloud.datastream.v1.OracleRdbms.newBuilder((com.google.cloud.datastream.v1.OracleRdbms) excludedObjects_) + .mergeFrom(value).buildPartial(); } else { excludedObjects_ = value; } @@ -1439,8 +1373,6 @@ public Builder mergeOracleExcludedObjects(com.google.cloud.datastream.v1.OracleR return this; } /** - * - * *
        * Oracle data source objects to avoid backfilling.
        * 
@@ -1464,8 +1396,6 @@ public Builder clearOracleExcludedObjects() { return this; } /** - * - * *
        * Oracle data source objects to avoid backfilling.
        * 
@@ -1476,8 +1406,6 @@ public com.google.cloud.datastream.v1.OracleRdbms.Builder getOracleExcludedObjec return getOracleExcludedObjectsFieldBuilder().getBuilder(); } /** - * - * *
        * Oracle data source objects to avoid backfilling.
        * 
@@ -1485,8 +1413,7 @@ public com.google.cloud.datastream.v1.OracleRdbms.Builder getOracleExcludedObjec * .google.cloud.datastream.v1.OracleRdbms oracle_excluded_objects = 1; */ @java.lang.Override - public com.google.cloud.datastream.v1.OracleRdbmsOrBuilder - getOracleExcludedObjectsOrBuilder() { + public com.google.cloud.datastream.v1.OracleRdbmsOrBuilder getOracleExcludedObjectsOrBuilder() { if ((excludedObjectsCase_ == 1) && (oracleExcludedObjectsBuilder_ != null)) { return oracleExcludedObjectsBuilder_.getMessageOrBuilder(); } else { @@ -1497,8 +1424,6 @@ public com.google.cloud.datastream.v1.OracleRdbms.Builder getOracleExcludedObjec } } /** - * - * *
        * Oracle data source objects to avoid backfilling.
        * 
@@ -1506,44 +1431,32 @@ public com.google.cloud.datastream.v1.OracleRdbms.Builder getOracleExcludedObjec * .google.cloud.datastream.v1.OracleRdbms oracle_excluded_objects = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.OracleRdbms, - com.google.cloud.datastream.v1.OracleRdbms.Builder, - com.google.cloud.datastream.v1.OracleRdbmsOrBuilder> + com.google.cloud.datastream.v1.OracleRdbms, com.google.cloud.datastream.v1.OracleRdbms.Builder, com.google.cloud.datastream.v1.OracleRdbmsOrBuilder> getOracleExcludedObjectsFieldBuilder() { if (oracleExcludedObjectsBuilder_ == null) { if (!(excludedObjectsCase_ == 1)) { excludedObjects_ = com.google.cloud.datastream.v1.OracleRdbms.getDefaultInstance(); } - oracleExcludedObjectsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.OracleRdbms, - com.google.cloud.datastream.v1.OracleRdbms.Builder, - com.google.cloud.datastream.v1.OracleRdbmsOrBuilder>( + oracleExcludedObjectsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1.OracleRdbms, com.google.cloud.datastream.v1.OracleRdbms.Builder, com.google.cloud.datastream.v1.OracleRdbmsOrBuilder>( (com.google.cloud.datastream.v1.OracleRdbms) excludedObjects_, getParentForChildren(), isClean()); excludedObjects_ = null; } excludedObjectsCase_ = 1; - onChanged(); - ; + onChanged();; return oracleExcludedObjectsBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.MysqlRdbms, - com.google.cloud.datastream.v1.MysqlRdbms.Builder, - com.google.cloud.datastream.v1.MysqlRdbmsOrBuilder> - mysqlExcludedObjectsBuilder_; + com.google.cloud.datastream.v1.MysqlRdbms, com.google.cloud.datastream.v1.MysqlRdbms.Builder, com.google.cloud.datastream.v1.MysqlRdbmsOrBuilder> mysqlExcludedObjectsBuilder_; /** - * - * *
        * MySQL data source objects to avoid backfilling.
        * 
* * .google.cloud.datastream.v1.MysqlRdbms mysql_excluded_objects = 2; - * * @return Whether the mysqlExcludedObjects field is set. */ @java.lang.Override @@ -1551,14 +1464,11 @@ public boolean hasMysqlExcludedObjects() { return excludedObjectsCase_ == 2; } /** - * - * *
        * MySQL data source objects to avoid backfilling.
        * 
* * .google.cloud.datastream.v1.MysqlRdbms mysql_excluded_objects = 2; - * * @return The mysqlExcludedObjects. */ @java.lang.Override @@ -1576,8 +1486,6 @@ public com.google.cloud.datastream.v1.MysqlRdbms getMysqlExcludedObjects() { } } /** - * - * *
        * MySQL data source objects to avoid backfilling.
        * 
@@ -1598,8 +1506,6 @@ public Builder setMysqlExcludedObjects(com.google.cloud.datastream.v1.MysqlRdbms return this; } /** - * - * *
        * MySQL data source objects to avoid backfilling.
        * 
@@ -1618,8 +1524,6 @@ public Builder setMysqlExcludedObjects( return this; } /** - * - * *
        * MySQL data source objects to avoid backfilling.
        * 
@@ -1628,14 +1532,10 @@ public Builder setMysqlExcludedObjects( */ public Builder mergeMysqlExcludedObjects(com.google.cloud.datastream.v1.MysqlRdbms value) { if (mysqlExcludedObjectsBuilder_ == null) { - if (excludedObjectsCase_ == 2 - && excludedObjects_ - != com.google.cloud.datastream.v1.MysqlRdbms.getDefaultInstance()) { - excludedObjects_ = - com.google.cloud.datastream.v1.MysqlRdbms.newBuilder( - (com.google.cloud.datastream.v1.MysqlRdbms) excludedObjects_) - .mergeFrom(value) - .buildPartial(); + if (excludedObjectsCase_ == 2 && + excludedObjects_ != com.google.cloud.datastream.v1.MysqlRdbms.getDefaultInstance()) { + excludedObjects_ = com.google.cloud.datastream.v1.MysqlRdbms.newBuilder((com.google.cloud.datastream.v1.MysqlRdbms) excludedObjects_) + .mergeFrom(value).buildPartial(); } else { excludedObjects_ = value; } @@ -1651,8 +1551,6 @@ public Builder mergeMysqlExcludedObjects(com.google.cloud.datastream.v1.MysqlRdb return this; } /** - * - * *
        * MySQL data source objects to avoid backfilling.
        * 
@@ -1676,8 +1574,6 @@ public Builder clearMysqlExcludedObjects() { return this; } /** - * - * *
        * MySQL data source objects to avoid backfilling.
        * 
@@ -1688,8 +1584,6 @@ public com.google.cloud.datastream.v1.MysqlRdbms.Builder getMysqlExcludedObjects return getMysqlExcludedObjectsFieldBuilder().getBuilder(); } /** - * - * *
        * MySQL data source objects to avoid backfilling.
        * 
@@ -1708,8 +1602,6 @@ public com.google.cloud.datastream.v1.MysqlRdbmsOrBuilder getMysqlExcludedObject } } /** - * - * *
        * MySQL data source objects to avoid backfilling.
        * 
@@ -1717,30 +1609,201 @@ public com.google.cloud.datastream.v1.MysqlRdbmsOrBuilder getMysqlExcludedObject * .google.cloud.datastream.v1.MysqlRdbms mysql_excluded_objects = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.MysqlRdbms, - com.google.cloud.datastream.v1.MysqlRdbms.Builder, - com.google.cloud.datastream.v1.MysqlRdbmsOrBuilder> + com.google.cloud.datastream.v1.MysqlRdbms, com.google.cloud.datastream.v1.MysqlRdbms.Builder, com.google.cloud.datastream.v1.MysqlRdbmsOrBuilder> getMysqlExcludedObjectsFieldBuilder() { if (mysqlExcludedObjectsBuilder_ == null) { if (!(excludedObjectsCase_ == 2)) { excludedObjects_ = com.google.cloud.datastream.v1.MysqlRdbms.getDefaultInstance(); } - mysqlExcludedObjectsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.MysqlRdbms, - com.google.cloud.datastream.v1.MysqlRdbms.Builder, - com.google.cloud.datastream.v1.MysqlRdbmsOrBuilder>( + mysqlExcludedObjectsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1.MysqlRdbms, com.google.cloud.datastream.v1.MysqlRdbms.Builder, com.google.cloud.datastream.v1.MysqlRdbmsOrBuilder>( (com.google.cloud.datastream.v1.MysqlRdbms) excludedObjects_, getParentForChildren(), isClean()); excludedObjects_ = null; } excludedObjectsCase_ = 2; - onChanged(); - ; + onChanged();; return mysqlExcludedObjectsBuilder_; } + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1.PostgresqlRdbms, com.google.cloud.datastream.v1.PostgresqlRdbms.Builder, com.google.cloud.datastream.v1.PostgresqlRdbmsOrBuilder> postgresqlExcludedObjectsBuilder_; + /** + *
+       * PostgreSQL data source objects to avoid backfilling.
+       * 
+ * + * .google.cloud.datastream.v1.PostgresqlRdbms postgresql_excluded_objects = 3; + * @return Whether the postgresqlExcludedObjects field is set. + */ + @java.lang.Override + public boolean hasPostgresqlExcludedObjects() { + return excludedObjectsCase_ == 3; + } + /** + *
+       * PostgreSQL data source objects to avoid backfilling.
+       * 
+ * + * .google.cloud.datastream.v1.PostgresqlRdbms postgresql_excluded_objects = 3; + * @return The postgresqlExcludedObjects. + */ + @java.lang.Override + public com.google.cloud.datastream.v1.PostgresqlRdbms getPostgresqlExcludedObjects() { + if (postgresqlExcludedObjectsBuilder_ == null) { + if (excludedObjectsCase_ == 3) { + return (com.google.cloud.datastream.v1.PostgresqlRdbms) excludedObjects_; + } + return com.google.cloud.datastream.v1.PostgresqlRdbms.getDefaultInstance(); + } else { + if (excludedObjectsCase_ == 3) { + return postgresqlExcludedObjectsBuilder_.getMessage(); + } + return com.google.cloud.datastream.v1.PostgresqlRdbms.getDefaultInstance(); + } + } + /** + *
+       * PostgreSQL data source objects to avoid backfilling.
+       * 
+ * + * .google.cloud.datastream.v1.PostgresqlRdbms postgresql_excluded_objects = 3; + */ + public Builder setPostgresqlExcludedObjects(com.google.cloud.datastream.v1.PostgresqlRdbms value) { + if (postgresqlExcludedObjectsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + excludedObjects_ = value; + onChanged(); + } else { + postgresqlExcludedObjectsBuilder_.setMessage(value); + } + excludedObjectsCase_ = 3; + return this; + } + /** + *
+       * PostgreSQL data source objects to avoid backfilling.
+       * 
+ * + * .google.cloud.datastream.v1.PostgresqlRdbms postgresql_excluded_objects = 3; + */ + public Builder setPostgresqlExcludedObjects( + com.google.cloud.datastream.v1.PostgresqlRdbms.Builder builderForValue) { + if (postgresqlExcludedObjectsBuilder_ == null) { + excludedObjects_ = builderForValue.build(); + onChanged(); + } else { + postgresqlExcludedObjectsBuilder_.setMessage(builderForValue.build()); + } + excludedObjectsCase_ = 3; + return this; + } + /** + *
+       * PostgreSQL data source objects to avoid backfilling.
+       * 
+ * + * .google.cloud.datastream.v1.PostgresqlRdbms postgresql_excluded_objects = 3; + */ + public Builder mergePostgresqlExcludedObjects(com.google.cloud.datastream.v1.PostgresqlRdbms value) { + if (postgresqlExcludedObjectsBuilder_ == null) { + if (excludedObjectsCase_ == 3 && + excludedObjects_ != com.google.cloud.datastream.v1.PostgresqlRdbms.getDefaultInstance()) { + excludedObjects_ = com.google.cloud.datastream.v1.PostgresqlRdbms.newBuilder((com.google.cloud.datastream.v1.PostgresqlRdbms) excludedObjects_) + .mergeFrom(value).buildPartial(); + } else { + excludedObjects_ = value; + } + onChanged(); + } else { + if (excludedObjectsCase_ == 3) { + postgresqlExcludedObjectsBuilder_.mergeFrom(value); + } else { + postgresqlExcludedObjectsBuilder_.setMessage(value); + } + } + excludedObjectsCase_ = 3; + return this; + } + /** + *
+       * PostgreSQL data source objects to avoid backfilling.
+       * 
+ * + * .google.cloud.datastream.v1.PostgresqlRdbms postgresql_excluded_objects = 3; + */ + public Builder clearPostgresqlExcludedObjects() { + if (postgresqlExcludedObjectsBuilder_ == null) { + if (excludedObjectsCase_ == 3) { + excludedObjectsCase_ = 0; + excludedObjects_ = null; + onChanged(); + } + } else { + if (excludedObjectsCase_ == 3) { + excludedObjectsCase_ = 0; + excludedObjects_ = null; + } + postgresqlExcludedObjectsBuilder_.clear(); + } + return this; + } + /** + *
+       * PostgreSQL data source objects to avoid backfilling.
+       * 
+ * + * .google.cloud.datastream.v1.PostgresqlRdbms postgresql_excluded_objects = 3; + */ + public com.google.cloud.datastream.v1.PostgresqlRdbms.Builder getPostgresqlExcludedObjectsBuilder() { + return getPostgresqlExcludedObjectsFieldBuilder().getBuilder(); + } + /** + *
+       * PostgreSQL data source objects to avoid backfilling.
+       * 
+ * + * .google.cloud.datastream.v1.PostgresqlRdbms postgresql_excluded_objects = 3; + */ + @java.lang.Override + public com.google.cloud.datastream.v1.PostgresqlRdbmsOrBuilder getPostgresqlExcludedObjectsOrBuilder() { + if ((excludedObjectsCase_ == 3) && (postgresqlExcludedObjectsBuilder_ != null)) { + return postgresqlExcludedObjectsBuilder_.getMessageOrBuilder(); + } else { + if (excludedObjectsCase_ == 3) { + return (com.google.cloud.datastream.v1.PostgresqlRdbms) excludedObjects_; + } + return com.google.cloud.datastream.v1.PostgresqlRdbms.getDefaultInstance(); + } + } + /** + *
+       * PostgreSQL data source objects to avoid backfilling.
+       * 
+ * + * .google.cloud.datastream.v1.PostgresqlRdbms postgresql_excluded_objects = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1.PostgresqlRdbms, com.google.cloud.datastream.v1.PostgresqlRdbms.Builder, com.google.cloud.datastream.v1.PostgresqlRdbmsOrBuilder> + getPostgresqlExcludedObjectsFieldBuilder() { + if (postgresqlExcludedObjectsBuilder_ == null) { + if (!(excludedObjectsCase_ == 3)) { + excludedObjects_ = com.google.cloud.datastream.v1.PostgresqlRdbms.getDefaultInstance(); + } + postgresqlExcludedObjectsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1.PostgresqlRdbms, com.google.cloud.datastream.v1.PostgresqlRdbms.Builder, com.google.cloud.datastream.v1.PostgresqlRdbmsOrBuilder>( + (com.google.cloud.datastream.v1.PostgresqlRdbms) excludedObjects_, + getParentForChildren(), + isClean()); + excludedObjects_ = null; + } + excludedObjectsCase_ = 3; + onChanged();; + return postgresqlExcludedObjectsBuilder_; + } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1753,12 +1816,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1.Stream.BackfillAllStrategy) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1.Stream.BackfillAllStrategy) private static final com.google.cloud.datastream.v1.Stream.BackfillAllStrategy DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1.Stream.BackfillAllStrategy(); } @@ -1767,16 +1830,16 @@ public static com.google.cloud.datastream.v1.Stream.BackfillAllStrategy getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BackfillAllStrategy parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new BackfillAllStrategy(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BackfillAllStrategy parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new BackfillAllStrategy(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1791,44 +1854,44 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datastream.v1.Stream.BackfillAllStrategy getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface BackfillNoneStrategyOrBuilder - extends + public interface BackfillNoneStrategyOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1.Stream.BackfillNoneStrategy) - com.google.protobuf.MessageOrBuilder {} + com.google.protobuf.MessageOrBuilder { + } /** - * - * *
    * Backfill strategy to disable automatic backfill for the Stream's objects.
    * 
* * Protobuf type {@code google.cloud.datastream.v1.Stream.BackfillNoneStrategy} */ - public static final class BackfillNoneStrategy extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class BackfillNoneStrategy extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1.Stream.BackfillNoneStrategy) BackfillNoneStrategyOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BackfillNoneStrategy.newBuilder() to construct. private BackfillNoneStrategy(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private BackfillNoneStrategy() {} + private BackfillNoneStrategy() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BackfillNoneStrategy(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private BackfillNoneStrategy( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -1847,13 +1910,13 @@ private BackfillNoneStrategy( case 0: done = true; break; - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1861,30 +1924,27 @@ private BackfillNoneStrategy( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_Stream_BackfillNoneStrategy_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_Stream_BackfillNoneStrategy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_Stream_BackfillNoneStrategy_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_Stream_BackfillNoneStrategy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.Stream.BackfillNoneStrategy.class, - com.google.cloud.datastream.v1.Stream.BackfillNoneStrategy.Builder.class); + com.google.cloud.datastream.v1.Stream.BackfillNoneStrategy.class, com.google.cloud.datastream.v1.Stream.BackfillNoneStrategy.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1896,7 +1956,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { unknownFields.writeTo(output); } @@ -1914,13 +1975,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datastream.v1.Stream.BackfillNoneStrategy)) { return super.equals(obj); } - com.google.cloud.datastream.v1.Stream.BackfillNoneStrategy other = - (com.google.cloud.datastream.v1.Stream.BackfillNoneStrategy) obj; + com.google.cloud.datastream.v1.Stream.BackfillNoneStrategy other = (com.google.cloud.datastream.v1.Stream.BackfillNoneStrategy) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -1939,94 +1999,87 @@ public int hashCode() { } public static com.google.cloud.datastream.v1.Stream.BackfillNoneStrategy parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.Stream.BackfillNoneStrategy parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.Stream.BackfillNoneStrategy parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.Stream.BackfillNoneStrategy parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.Stream.BackfillNoneStrategy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.Stream.BackfillNoneStrategy parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1.Stream.BackfillNoneStrategy parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.Stream.BackfillNoneStrategy parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.Stream.BackfillNoneStrategy parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1.Stream.BackfillNoneStrategy parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.Stream.BackfillNoneStrategy parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.Stream.BackfillNoneStrategy 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.datastream.v1.Stream.BackfillNoneStrategy parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.Stream.BackfillNoneStrategy parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datastream.v1.Stream.BackfillNoneStrategy prototype) { + public static Builder newBuilder(com.google.cloud.datastream.v1.Stream.BackfillNoneStrategy prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2035,33 +2088,28 @@ protected Builder newBuilderForType( Builder builder = new Builder(parent); return builder; } - /** - * - * + /** *
      * Backfill strategy to disable automatic backfill for the Stream's objects.
      * 
* * Protobuf type {@code google.cloud.datastream.v1.Stream.BackfillNoneStrategy} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1.Stream.BackfillNoneStrategy) com.google.cloud.datastream.v1.Stream.BackfillNoneStrategyOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_Stream_BackfillNoneStrategy_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_Stream_BackfillNoneStrategy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_Stream_BackfillNoneStrategy_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_Stream_BackfillNoneStrategy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.Stream.BackfillNoneStrategy.class, - com.google.cloud.datastream.v1.Stream.BackfillNoneStrategy.Builder.class); + com.google.cloud.datastream.v1.Stream.BackfillNoneStrategy.class, com.google.cloud.datastream.v1.Stream.BackfillNoneStrategy.Builder.class); } // Construct using com.google.cloud.datastream.v1.Stream.BackfillNoneStrategy.newBuilder() @@ -2069,15 +2117,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -2085,14 +2134,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_Stream_BackfillNoneStrategy_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_Stream_BackfillNoneStrategy_descriptor; } @java.lang.Override - public com.google.cloud.datastream.v1.Stream.BackfillNoneStrategy - getDefaultInstanceForType() { + public com.google.cloud.datastream.v1.Stream.BackfillNoneStrategy getDefaultInstanceForType() { return com.google.cloud.datastream.v1.Stream.BackfillNoneStrategy.getDefaultInstance(); } @@ -2107,8 +2155,7 @@ public com.google.cloud.datastream.v1.Stream.BackfillNoneStrategy build() { @java.lang.Override public com.google.cloud.datastream.v1.Stream.BackfillNoneStrategy buildPartial() { - com.google.cloud.datastream.v1.Stream.BackfillNoneStrategy result = - new com.google.cloud.datastream.v1.Stream.BackfillNoneStrategy(this); + com.google.cloud.datastream.v1.Stream.BackfillNoneStrategy result = new com.google.cloud.datastream.v1.Stream.BackfillNoneStrategy(this); onBuilt(); return result; } @@ -2117,41 +2164,38 @@ public com.google.cloud.datastream.v1.Stream.BackfillNoneStrategy buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1.Stream.BackfillNoneStrategy) { - return mergeFrom((com.google.cloud.datastream.v1.Stream.BackfillNoneStrategy) other); + return mergeFrom((com.google.cloud.datastream.v1.Stream.BackfillNoneStrategy)other); } else { super.mergeFrom(other); return this; @@ -2159,9 +2203,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datastream.v1.Stream.BackfillNoneStrategy other) { - if (other - == com.google.cloud.datastream.v1.Stream.BackfillNoneStrategy.getDefaultInstance()) - return this; + if (other == com.google.cloud.datastream.v1.Stream.BackfillNoneStrategy.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -2181,8 +2223,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datastream.v1.Stream.BackfillNoneStrategy) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datastream.v1.Stream.BackfillNoneStrategy) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -2191,7 +2232,6 @@ public Builder mergeFrom( } return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2204,13 +2244,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1.Stream.BackfillNoneStrategy) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1.Stream.BackfillNoneStrategy) - private static final com.google.cloud.datastream.v1.Stream.BackfillNoneStrategy - DEFAULT_INSTANCE; - + private static final com.google.cloud.datastream.v1.Stream.BackfillNoneStrategy DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1.Stream.BackfillNoneStrategy(); } @@ -2219,16 +2258,16 @@ public static com.google.cloud.datastream.v1.Stream.BackfillNoneStrategy getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BackfillNoneStrategy parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new BackfillNoneStrategy(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BackfillNoneStrategy parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new BackfillNoneStrategy(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2243,21 +2282,19 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datastream.v1.Stream.BackfillNoneStrategy getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int bitField0_; private int backfillStrategyCase_ = 0; private java.lang.Object backfillStrategy_; - public enum BackfillStrategyCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { BACKFILL_ALL(101), BACKFILL_NONE(102), BACKFILLSTRATEGY_NOT_SET(0); private final int value; - private BackfillStrategyCase(int value) { this.value = value; } @@ -2273,37 +2310,31 @@ public static BackfillStrategyCase valueOf(int value) { public static BackfillStrategyCase forNumber(int value) { switch (value) { - case 101: - return BACKFILL_ALL; - case 102: - return BACKFILL_NONE; - case 0: - return BACKFILLSTRATEGY_NOT_SET; - default: - return null; + case 101: return BACKFILL_ALL; + case 102: return BACKFILL_NONE; + case 0: return BACKFILLSTRATEGY_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public BackfillStrategyCase getBackfillStrategyCase() { - return BackfillStrategyCase.forNumber(backfillStrategyCase_); + public BackfillStrategyCase + getBackfillStrategyCase() { + return BackfillStrategyCase.forNumber( + backfillStrategyCase_); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Output only. The stream's name.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -2312,29 +2343,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Output only. The stream's name.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -2345,15 +2376,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Output only. The creation time of the stream.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -2361,15 +2388,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. The creation time of the stream.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -2377,14 +2400,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. The creation time of the stream.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -2394,15 +2414,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * Output only. The last update time of the stream.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ @java.lang.Override @@ -2410,15 +2426,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * Output only. The last update time of the stream.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ @java.lang.Override @@ -2426,14 +2438,11 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * Output only. The last update time of the stream.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -2441,23 +2450,24 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } public static final int LABELS_FIELD_NUMBER = 4; - private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_Stream_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.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_Stream_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } @@ -2466,30 +2476,28 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
    * Labels.
    * 
* * map<string, string> labels = 4; */ + @java.lang.Override - public boolean containsLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } - /** Use {@link #getLabelsMap()} instead. */ + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** - * - * *
    * Labels.
    * 
@@ -2497,12 +2505,11 @@ public java.util.Map getLabels() { * map<string, string> labels = 4; */ @java.lang.Override + public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
    * Labels.
    * 
@@ -2510,16 +2517,16 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 4; */ @java.lang.Override - public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + + public java.lang.String getLabelsOrDefault( + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * Labels.
    * 
@@ -2527,11 +2534,12 @@ public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.Strin * map<string, string> labels = 4; */ @java.lang.Override - public java.lang.String getLabelsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + + public java.lang.String getLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -2541,14 +2549,11 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { public static final int DISPLAY_NAME_FIELD_NUMBER = 5; private volatile java.lang.Object displayName_; /** - * - * *
    * Required. Display name.
    * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The displayName. */ @java.lang.Override @@ -2557,29 +2562,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; } } /** - * - * *
    * Required. Display name.
    * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -2590,16 +2595,11 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int SOURCE_CONFIG_FIELD_NUMBER = 6; private com.google.cloud.datastream.v1.SourceConfig sourceConfig_; /** - * - * *
    * Required. Source connection profile configuration.
    * 
* - * - * .google.cloud.datastream.v1.SourceConfig source_config = 6 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datastream.v1.SourceConfig source_config = 6 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the sourceConfig field is set. */ @java.lang.Override @@ -2607,34 +2607,23 @@ public boolean hasSourceConfig() { return sourceConfig_ != null; } /** - * - * *
    * Required. Source connection profile configuration.
    * 
* - * - * .google.cloud.datastream.v1.SourceConfig source_config = 6 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datastream.v1.SourceConfig source_config = 6 [(.google.api.field_behavior) = REQUIRED]; * @return The sourceConfig. */ @java.lang.Override public com.google.cloud.datastream.v1.SourceConfig getSourceConfig() { - return sourceConfig_ == null - ? com.google.cloud.datastream.v1.SourceConfig.getDefaultInstance() - : sourceConfig_; + return sourceConfig_ == null ? com.google.cloud.datastream.v1.SourceConfig.getDefaultInstance() : sourceConfig_; } /** - * - * *
    * Required. Source connection profile configuration.
    * 
* - * - * .google.cloud.datastream.v1.SourceConfig source_config = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1.SourceConfig source_config = 6 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.datastream.v1.SourceConfigOrBuilder getSourceConfigOrBuilder() { @@ -2644,16 +2633,11 @@ public com.google.cloud.datastream.v1.SourceConfigOrBuilder getSourceConfigOrBui public static final int DESTINATION_CONFIG_FIELD_NUMBER = 7; private com.google.cloud.datastream.v1.DestinationConfig destinationConfig_; /** - * - * *
    * Required. Destination connection profile configuration.
    * 
* - * - * .google.cloud.datastream.v1.DestinationConfig destination_config = 7 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datastream.v1.DestinationConfig destination_config = 7 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the destinationConfig field is set. */ @java.lang.Override @@ -2661,34 +2645,23 @@ public boolean hasDestinationConfig() { return destinationConfig_ != null; } /** - * - * *
    * Required. Destination connection profile configuration.
    * 
* - * - * .google.cloud.datastream.v1.DestinationConfig destination_config = 7 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datastream.v1.DestinationConfig destination_config = 7 [(.google.api.field_behavior) = REQUIRED]; * @return The destinationConfig. */ @java.lang.Override public com.google.cloud.datastream.v1.DestinationConfig getDestinationConfig() { - return destinationConfig_ == null - ? com.google.cloud.datastream.v1.DestinationConfig.getDefaultInstance() - : destinationConfig_; + return destinationConfig_ == null ? com.google.cloud.datastream.v1.DestinationConfig.getDefaultInstance() : destinationConfig_; } /** - * - * *
    * Required. Destination connection profile configuration.
    * 
* - * - * .google.cloud.datastream.v1.DestinationConfig destination_config = 7 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1.DestinationConfig destination_config = 7 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.datastream.v1.DestinationConfigOrBuilder getDestinationConfigOrBuilder() { @@ -2698,50 +2671,38 @@ public com.google.cloud.datastream.v1.DestinationConfigOrBuilder getDestinationC public static final int STATE_FIELD_NUMBER = 8; private int state_; /** - * - * *
    * The state of the stream.
    * 
* * .google.cloud.datastream.v1.Stream.State state = 8; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
    * The state of the stream.
    * 
* * .google.cloud.datastream.v1.Stream.State state = 8; - * * @return The state. */ - @java.lang.Override - public com.google.cloud.datastream.v1.Stream.State getState() { + @java.lang.Override public com.google.cloud.datastream.v1.Stream.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.datastream.v1.Stream.State result = - com.google.cloud.datastream.v1.Stream.State.valueOf(state_); + com.google.cloud.datastream.v1.Stream.State result = com.google.cloud.datastream.v1.Stream.State.valueOf(state_); return result == null ? com.google.cloud.datastream.v1.Stream.State.UNRECOGNIZED : result; } public static final int BACKFILL_ALL_FIELD_NUMBER = 101; /** - * - * *
    * Automatically backfill objects included in the stream source
    * configuration. Specific objects can be excluded.
    * 
* * .google.cloud.datastream.v1.Stream.BackfillAllStrategy backfill_all = 101; - * * @return Whether the backfillAll field is set. */ @java.lang.Override @@ -2749,27 +2710,22 @@ public boolean hasBackfillAll() { return backfillStrategyCase_ == 101; } /** - * - * *
    * Automatically backfill objects included in the stream source
    * configuration. Specific objects can be excluded.
    * 
* * .google.cloud.datastream.v1.Stream.BackfillAllStrategy backfill_all = 101; - * * @return The backfillAll. */ @java.lang.Override public com.google.cloud.datastream.v1.Stream.BackfillAllStrategy getBackfillAll() { if (backfillStrategyCase_ == 101) { - return (com.google.cloud.datastream.v1.Stream.BackfillAllStrategy) backfillStrategy_; + return (com.google.cloud.datastream.v1.Stream.BackfillAllStrategy) backfillStrategy_; } return com.google.cloud.datastream.v1.Stream.BackfillAllStrategy.getDefaultInstance(); } /** - * - * *
    * Automatically backfill objects included in the stream source
    * configuration. Specific objects can be excluded.
@@ -2778,24 +2734,20 @@ public com.google.cloud.datastream.v1.Stream.BackfillAllStrategy getBackfillAll(
    * .google.cloud.datastream.v1.Stream.BackfillAllStrategy backfill_all = 101;
    */
   @java.lang.Override
-  public com.google.cloud.datastream.v1.Stream.BackfillAllStrategyOrBuilder
-      getBackfillAllOrBuilder() {
+  public com.google.cloud.datastream.v1.Stream.BackfillAllStrategyOrBuilder getBackfillAllOrBuilder() {
     if (backfillStrategyCase_ == 101) {
-      return (com.google.cloud.datastream.v1.Stream.BackfillAllStrategy) backfillStrategy_;
+       return (com.google.cloud.datastream.v1.Stream.BackfillAllStrategy) backfillStrategy_;
     }
     return com.google.cloud.datastream.v1.Stream.BackfillAllStrategy.getDefaultInstance();
   }
 
   public static final int BACKFILL_NONE_FIELD_NUMBER = 102;
   /**
-   *
-   *
    * 
    * Do not automatically backfill any objects.
    * 
* * .google.cloud.datastream.v1.Stream.BackfillNoneStrategy backfill_none = 102; - * * @return Whether the backfillNone field is set. */ @java.lang.Override @@ -2803,26 +2755,21 @@ public boolean hasBackfillNone() { return backfillStrategyCase_ == 102; } /** - * - * *
    * Do not automatically backfill any objects.
    * 
* * .google.cloud.datastream.v1.Stream.BackfillNoneStrategy backfill_none = 102; - * * @return The backfillNone. */ @java.lang.Override public com.google.cloud.datastream.v1.Stream.BackfillNoneStrategy getBackfillNone() { if (backfillStrategyCase_ == 102) { - return (com.google.cloud.datastream.v1.Stream.BackfillNoneStrategy) backfillStrategy_; + return (com.google.cloud.datastream.v1.Stream.BackfillNoneStrategy) backfillStrategy_; } return com.google.cloud.datastream.v1.Stream.BackfillNoneStrategy.getDefaultInstance(); } /** - * - * *
    * Do not automatically backfill any objects.
    * 
@@ -2830,10 +2777,9 @@ public com.google.cloud.datastream.v1.Stream.BackfillNoneStrategy getBackfillNon * .google.cloud.datastream.v1.Stream.BackfillNoneStrategy backfill_none = 102; */ @java.lang.Override - public com.google.cloud.datastream.v1.Stream.BackfillNoneStrategyOrBuilder - getBackfillNoneOrBuilder() { + public com.google.cloud.datastream.v1.Stream.BackfillNoneStrategyOrBuilder getBackfillNoneOrBuilder() { if (backfillStrategyCase_ == 102) { - return (com.google.cloud.datastream.v1.Stream.BackfillNoneStrategy) backfillStrategy_; + return (com.google.cloud.datastream.v1.Stream.BackfillNoneStrategy) backfillStrategy_; } return com.google.cloud.datastream.v1.Stream.BackfillNoneStrategy.getDefaultInstance(); } @@ -2841,87 +2787,66 @@ public com.google.cloud.datastream.v1.Stream.BackfillNoneStrategy getBackfillNon public static final int ERRORS_FIELD_NUMBER = 9; private java.util.List errors_; /** - * - * *
    * Output only. Errors on the Stream.
    * 
* - * - * repeated .google.cloud.datastream.v1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public java.util.List getErrorsList() { return errors_; } /** - * - * *
    * Output only. Errors on the Stream.
    * 
* - * - * repeated .google.cloud.datastream.v1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public java.util.List + public java.util.List getErrorsOrBuilderList() { return errors_; } /** - * - * *
    * Output only. Errors on the Stream.
    * 
* - * - * repeated .google.cloud.datastream.v1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public int getErrorsCount() { return errors_.size(); } /** - * - * *
    * Output only. Errors on the Stream.
    * 
* - * - * repeated .google.cloud.datastream.v1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.datastream.v1.Error getErrors(int index) { return errors_.get(index); } /** - * - * *
    * Output only. Errors on the Stream.
    * 
* - * - * repeated .google.cloud.datastream.v1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.datastream.v1.ErrorOrBuilder getErrorsOrBuilder(int index) { + public com.google.cloud.datastream.v1.ErrorOrBuilder getErrorsOrBuilder( + int index) { return errors_.get(index); } public static final int CUSTOMER_MANAGED_ENCRYPTION_KEY_FIELD_NUMBER = 10; private volatile java.lang.Object customerManagedEncryptionKey_; /** - * - * *
    * Immutable. A reference to a KMS encryption key.
    * If provided, it will be used to encrypt the data.
@@ -2929,10 +2854,7 @@ public com.google.cloud.datastream.v1.ErrorOrBuilder getErrorsOrBuilder(int inde
    * encryption key provisioned through KMS.
    * 
* - * - * optional string customer_managed_encryption_key = 10 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * optional string customer_managed_encryption_key = 10 [(.google.api.field_behavior) = IMMUTABLE]; * @return Whether the customerManagedEncryptionKey field is set. */ @java.lang.Override @@ -2940,8 +2862,6 @@ public boolean hasCustomerManagedEncryptionKey() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Immutable. A reference to a KMS encryption key.
    * If provided, it will be used to encrypt the data.
@@ -2949,10 +2869,7 @@ public boolean hasCustomerManagedEncryptionKey() {
    * encryption key provisioned through KMS.
    * 
* - * - * optional string customer_managed_encryption_key = 10 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * optional string customer_managed_encryption_key = 10 [(.google.api.field_behavior) = IMMUTABLE]; * @return The customerManagedEncryptionKey. */ @java.lang.Override @@ -2961,15 +2878,14 @@ public java.lang.String getCustomerManagedEncryptionKey() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); customerManagedEncryptionKey_ = s; return s; } } /** - * - * *
    * Immutable. A reference to a KMS encryption key.
    * If provided, it will be used to encrypt the data.
@@ -2977,18 +2893,17 @@ public java.lang.String getCustomerManagedEncryptionKey() {
    * encryption key provisioned through KMS.
    * 
* - * - * optional string customer_managed_encryption_key = 10 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * optional string customer_managed_encryption_key = 10 [(.google.api.field_behavior) = IMMUTABLE]; * @return The bytes for customerManagedEncryptionKey. */ @java.lang.Override - public com.google.protobuf.ByteString getCustomerManagedEncryptionKeyBytes() { + public com.google.protobuf.ByteString + getCustomerManagedEncryptionKeyBytes() { java.lang.Object ref = customerManagedEncryptionKey_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); customerManagedEncryptionKey_ = b; return b; } else { @@ -2997,7 +2912,6 @@ public com.google.protobuf.ByteString getCustomerManagedEncryptionKeyBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3009,7 +2923,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_); } @@ -3019,8 +2934,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (updateTime_ != null) { output.writeMessage(3, getUpdateTime()); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 4); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetLabels(), + LabelsDefaultEntryHolder.defaultEntry, + 4); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, displayName_); } @@ -3040,12 +2959,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io com.google.protobuf.GeneratedMessageV3.writeString(output, 10, customerManagedEncryptionKey_); } if (backfillStrategyCase_ == 101) { - output.writeMessage( - 101, (com.google.cloud.datastream.v1.Stream.BackfillAllStrategy) backfillStrategy_); + output.writeMessage(101, (com.google.cloud.datastream.v1.Stream.BackfillAllStrategy) backfillStrategy_); } if (backfillStrategyCase_ == 102) { - output.writeMessage( - 102, (com.google.cloud.datastream.v1.Stream.BackfillNoneStrategy) backfillStrategy_); + output.writeMessage(102, (com.google.cloud.datastream.v1.Stream.BackfillNoneStrategy) backfillStrategy_); } unknownFields.writeTo(output); } @@ -3060,50 +2977,52 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateTime()); - } - for (java.util.Map.Entry entry : - internalGetLabels().getMap().entrySet()) { - com.google.protobuf.MapEntry labels__ = - LabelsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, labels__); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getUpdateTime()); + } + for (java.util.Map.Entry entry + : internalGetLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry + labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, labels__); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, displayName_); } if (sourceConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getSourceConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getSourceConfig()); } if (destinationConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getDestinationConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getDestinationConfig()); } if (state_ != com.google.cloud.datastream.v1.Stream.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(8, state_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(8, state_); } for (int i = 0; i < errors_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, errors_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, errors_.get(i)); } if (((bitField0_ & 0x00000001) != 0)) { - size += - com.google.protobuf.GeneratedMessageV3.computeStringSize( - 10, customerManagedEncryptionKey_); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, customerManagedEncryptionKey_); } if (backfillStrategyCase_ == 101) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 101, (com.google.cloud.datastream.v1.Stream.BackfillAllStrategy) backfillStrategy_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(101, (com.google.cloud.datastream.v1.Stream.BackfillAllStrategy) backfillStrategy_); } if (backfillStrategyCase_ == 102) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 102, (com.google.cloud.datastream.v1.Stream.BackfillNoneStrategy) backfillStrategy_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(102, (com.google.cloud.datastream.v1.Stream.BackfillNoneStrategy) backfillStrategy_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -3113,46 +3032,56 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datastream.v1.Stream)) { return super.equals(obj); } com.google.cloud.datastream.v1.Stream other = (com.google.cloud.datastream.v1.Stream) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime().equals(other.getUpdateTime())) return false; + if (!getUpdateTime() + .equals(other.getUpdateTime())) return false; } - if (!internalGetLabels().equals(other.internalGetLabels())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!internalGetLabels().equals( + other.internalGetLabels())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; if (hasSourceConfig() != other.hasSourceConfig()) return false; if (hasSourceConfig()) { - if (!getSourceConfig().equals(other.getSourceConfig())) return false; + if (!getSourceConfig() + .equals(other.getSourceConfig())) return false; } if (hasDestinationConfig() != other.hasDestinationConfig()) return false; if (hasDestinationConfig()) { - if (!getDestinationConfig().equals(other.getDestinationConfig())) return false; + if (!getDestinationConfig() + .equals(other.getDestinationConfig())) return false; } if (state_ != other.state_) return false; - if (!getErrorsList().equals(other.getErrorsList())) return false; + if (!getErrorsList() + .equals(other.getErrorsList())) return false; if (hasCustomerManagedEncryptionKey() != other.hasCustomerManagedEncryptionKey()) return false; if (hasCustomerManagedEncryptionKey()) { - if (!getCustomerManagedEncryptionKey().equals(other.getCustomerManagedEncryptionKey())) - return false; + if (!getCustomerManagedEncryptionKey() + .equals(other.getCustomerManagedEncryptionKey())) return false; } if (!getBackfillStrategyCase().equals(other.getBackfillStrategyCase())) return false; switch (backfillStrategyCase_) { case 101: - if (!getBackfillAll().equals(other.getBackfillAll())) return false; + if (!getBackfillAll() + .equals(other.getBackfillAll())) return false; break; case 102: - if (!getBackfillNone().equals(other.getBackfillNone())) return false; + if (!getBackfillNone() + .equals(other.getBackfillNone())) return false; break; case 0: default: @@ -3219,146 +3148,140 @@ public int hashCode() { return hash; } - public static com.google.cloud.datastream.v1.Stream parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.datastream.v1.Stream parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.Stream parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1.Stream parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.datastream.v1.Stream parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.Stream parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.Stream parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.Stream parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.Stream 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.datastream.v1.Stream parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datastream.v1.Stream parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.Stream 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.datastream.v1.Stream parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.Stream parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datastream.v1.Stream prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 resource representing streaming data from a source to a destination.
    * 
* * Protobuf type {@code google.cloud.datastream.v1.Stream} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1.Stream) com.google.cloud.datastream.v1.StreamOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_Stream_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_Stream_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 4: return internalGetLabels(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField(int number) { + protected com.google.protobuf.MapField internalGetMutableMapField( + int number) { switch (number) { case 4: return internalGetMutableLabels(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_Stream_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_Stream_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.Stream.class, - com.google.cloud.datastream.v1.Stream.Builder.class); + com.google.cloud.datastream.v1.Stream.class, com.google.cloud.datastream.v1.Stream.Builder.class); } // Construct using com.google.cloud.datastream.v1.Stream.newBuilder() @@ -3366,17 +3289,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getErrorsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -3425,9 +3348,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_Stream_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_Stream_descriptor; } @java.lang.Override @@ -3446,8 +3369,7 @@ public com.google.cloud.datastream.v1.Stream build() { @java.lang.Override public com.google.cloud.datastream.v1.Stream buildPartial() { - com.google.cloud.datastream.v1.Stream result = - new com.google.cloud.datastream.v1.Stream(this); + com.google.cloud.datastream.v1.Stream result = new com.google.cloud.datastream.v1.Stream(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; result.name_ = name_; @@ -3512,39 +3434,38 @@ public com.google.cloud.datastream.v1.Stream buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1.Stream) { - return mergeFrom((com.google.cloud.datastream.v1.Stream) other); + return mergeFrom((com.google.cloud.datastream.v1.Stream)other); } else { super.mergeFrom(other); return this; @@ -3563,7 +3484,8 @@ public Builder mergeFrom(com.google.cloud.datastream.v1.Stream other) { if (other.hasUpdateTime()) { mergeUpdateTime(other.getUpdateTime()); } - internalGetMutableLabels().mergeFrom(other.internalGetLabels()); + internalGetMutableLabels().mergeFrom( + other.internalGetLabels()); if (!other.getDisplayName().isEmpty()) { displayName_ = other.displayName_; onChanged(); @@ -3595,10 +3517,9 @@ public Builder mergeFrom(com.google.cloud.datastream.v1.Stream other) { errorsBuilder_ = null; errors_ = other.errors_; bitField0_ = (bitField0_ & ~0x00000002); - errorsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getErrorsFieldBuilder() - : null; + errorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getErrorsFieldBuilder() : null; } else { errorsBuilder_.addAllMessages(other.errors_); } @@ -3610,20 +3531,17 @@ public Builder mergeFrom(com.google.cloud.datastream.v1.Stream other) { onChanged(); } switch (other.getBackfillStrategyCase()) { - case BACKFILL_ALL: - { - mergeBackfillAll(other.getBackfillAll()); - break; - } - case BACKFILL_NONE: - { - mergeBackfillNone(other.getBackfillNone()); - break; - } - case BACKFILLSTRATEGY_NOT_SET: - { - break; - } + case BACKFILL_ALL: { + mergeBackfillAll(other.getBackfillAll()); + break; + } + case BACKFILL_NONE: { + mergeBackfillNone(other.getBackfillNone()); + break; + } + case BACKFILLSTRATEGY_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -3653,12 +3571,12 @@ public Builder mergeFrom( } return this; } - private int backfillStrategyCase_ = 0; private java.lang.Object backfillStrategy_; - - public BackfillStrategyCase getBackfillStrategyCase() { - return BackfillStrategyCase.forNumber(backfillStrategyCase_); + public BackfillStrategyCase + getBackfillStrategyCase() { + return BackfillStrategyCase.forNumber( + backfillStrategyCase_); } public Builder clearBackfillStrategy() { @@ -3672,20 +3590,18 @@ public Builder clearBackfillStrategy() { private java.lang.Object name_ = ""; /** - * - * *
      * Output only. The stream's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -3694,21 +3610,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. The stream's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -3716,61 +3631,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. The stream's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The stream's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Output only. The stream's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -3778,58 +3686,39 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
      * Output only. The creation time of the stream.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * Output only. The creation time of the stream.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The creation time of the stream.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -3845,17 +3734,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The creation time of the stream.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -3866,21 +3752,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The creation time of the stream.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -3892,15 +3774,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The creation time of the stream.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -3914,64 +3792,48 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. The creation time of the stream.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The creation time of the stream.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * Output only. The creation time of the stream.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; @@ -3979,58 +3841,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 last update time of the stream.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
      * Output only. The last update time of the stream.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The last update time of the stream.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -4046,17 +3889,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The last update time of the stream.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -4067,21 +3907,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The last update time of the stream.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -4093,15 +3929,11 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The last update time of the stream.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearUpdateTime() { if (updateTimeBuilder_ == null) { @@ -4115,84 +3947,69 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * Output only. The last update time of the stream.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } - /** - * - * + /** *
      * Output only. The last update time of the stream.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } } /** - * - * *
      * Output only. The last update time of the stream.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), getParentForChildren(), isClean()); + updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), + getParentForChildren(), + isClean()); updateTime_ = null; } return updateTimeBuilder_; } - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - private com.google.protobuf.MapField - internalGetMutableLabels() { - onChanged(); - ; + internalGetMutableLabels() { + onChanged();; if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -4204,30 +4021,28 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
      * Labels.
      * 
* * map<string, string> labels = 4; */ + @java.lang.Override - public boolean containsLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } - /** Use {@link #getLabelsMap()} instead. */ + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** - * - * *
      * Labels.
      * 
@@ -4235,12 +4050,11 @@ public java.util.Map getLabels() { * map<string, string> labels = 4; */ @java.lang.Override + public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
      * Labels.
      * 
@@ -4248,17 +4062,16 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 4; */ @java.lang.Override + public java.lang.String getLabelsOrDefault( - java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * Labels.
      * 
@@ -4266,11 +4079,12 @@ public java.lang.String getLabelsOrDefault( * map<string, string> labels = 4; */ @java.lang.Override - public java.lang.String getLabelsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + + public java.lang.String getLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -4278,80 +4092,81 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { } public Builder clearLabels() { - internalGetMutableLabels().getMutableMap().clear(); + internalGetMutableLabels().getMutableMap() + .clear(); return this; } /** - * - * *
      * Labels.
      * 
* * map<string, string> labels = 4; */ - public Builder removeLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableLabels().getMutableMap().remove(key); + + public Builder removeLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableLabels().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map getMutableLabels() { + public java.util.Map + getMutableLabels() { return internalGetMutableLabels().getMutableMap(); } /** - * - * *
      * Labels.
      * 
* * map<string, string> labels = 4; */ - public Builder putLabels(java.lang.String key, java.lang.String value) { - if (key == null) { - throw new NullPointerException("map key"); - } + public Builder putLabels( + java.lang.String key, + java.lang.String value) { + if (key == null) { throw new NullPointerException("map key"); } if (value == null) { - throw new NullPointerException("map value"); - } + throw new NullPointerException("map value"); +} - internalGetMutableLabels().getMutableMap().put(key, value); + internalGetMutableLabels().getMutableMap() + .put(key, value); return this; } /** - * - * *
      * Labels.
      * 
* * map<string, string> labels = 4; */ - public Builder putAllLabels(java.util.Map values) { - internalGetMutableLabels().getMutableMap().putAll(values); + + public Builder putAllLabels( + java.util.Map values) { + internalGetMutableLabels().getMutableMap() + .putAll(values); return this; } private java.lang.Object displayName_ = ""; /** - * - * *
      * Required. Display name.
      * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @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; @@ -4360,21 +4175,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * Required. Display name.
      * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -4382,61 +4196,54 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * Required. Display name.
      * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** - * - * *
      * Required. Display name.
      * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** - * - * *
      * Required. Display name.
      * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -4444,58 +4251,39 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private com.google.cloud.datastream.v1.SourceConfig sourceConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.SourceConfig, - com.google.cloud.datastream.v1.SourceConfig.Builder, - com.google.cloud.datastream.v1.SourceConfigOrBuilder> - sourceConfigBuilder_; + com.google.cloud.datastream.v1.SourceConfig, com.google.cloud.datastream.v1.SourceConfig.Builder, com.google.cloud.datastream.v1.SourceConfigOrBuilder> sourceConfigBuilder_; /** - * - * *
      * Required. Source connection profile configuration.
      * 
* - * - * .google.cloud.datastream.v1.SourceConfig source_config = 6 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datastream.v1.SourceConfig source_config = 6 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the sourceConfig field is set. */ public boolean hasSourceConfig() { return sourceConfigBuilder_ != null || sourceConfig_ != null; } /** - * - * *
      * Required. Source connection profile configuration.
      * 
* - * - * .google.cloud.datastream.v1.SourceConfig source_config = 6 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datastream.v1.SourceConfig source_config = 6 [(.google.api.field_behavior) = REQUIRED]; * @return The sourceConfig. */ public com.google.cloud.datastream.v1.SourceConfig getSourceConfig() { if (sourceConfigBuilder_ == null) { - return sourceConfig_ == null - ? com.google.cloud.datastream.v1.SourceConfig.getDefaultInstance() - : sourceConfig_; + return sourceConfig_ == null ? com.google.cloud.datastream.v1.SourceConfig.getDefaultInstance() : sourceConfig_; } else { return sourceConfigBuilder_.getMessage(); } } /** - * - * *
      * Required. Source connection profile configuration.
      * 
* - * - * .google.cloud.datastream.v1.SourceConfig source_config = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1.SourceConfig source_config = 6 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setSourceConfig(com.google.cloud.datastream.v1.SourceConfig value) { if (sourceConfigBuilder_ == null) { @@ -4511,15 +4299,11 @@ public Builder setSourceConfig(com.google.cloud.datastream.v1.SourceConfig value return this; } /** - * - * *
      * Required. Source connection profile configuration.
      * 
* - * - * .google.cloud.datastream.v1.SourceConfig source_config = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1.SourceConfig source_config = 6 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setSourceConfig( com.google.cloud.datastream.v1.SourceConfig.Builder builderForValue) { @@ -4533,23 +4317,17 @@ public Builder setSourceConfig( return this; } /** - * - * *
      * Required. Source connection profile configuration.
      * 
* - * - * .google.cloud.datastream.v1.SourceConfig source_config = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1.SourceConfig source_config = 6 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeSourceConfig(com.google.cloud.datastream.v1.SourceConfig value) { if (sourceConfigBuilder_ == null) { if (sourceConfig_ != null) { sourceConfig_ = - com.google.cloud.datastream.v1.SourceConfig.newBuilder(sourceConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.datastream.v1.SourceConfig.newBuilder(sourceConfig_).mergeFrom(value).buildPartial(); } else { sourceConfig_ = value; } @@ -4561,15 +4339,11 @@ public Builder mergeSourceConfig(com.google.cloud.datastream.v1.SourceConfig val return this; } /** - * - * *
      * Required. Source connection profile configuration.
      * 
* - * - * .google.cloud.datastream.v1.SourceConfig source_config = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1.SourceConfig source_config = 6 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearSourceConfig() { if (sourceConfigBuilder_ == null) { @@ -4583,64 +4357,48 @@ public Builder clearSourceConfig() { return this; } /** - * - * *
      * Required. Source connection profile configuration.
      * 
* - * - * .google.cloud.datastream.v1.SourceConfig source_config = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1.SourceConfig source_config = 6 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.datastream.v1.SourceConfig.Builder getSourceConfigBuilder() { - + onChanged(); return getSourceConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Source connection profile configuration.
      * 
* - * - * .google.cloud.datastream.v1.SourceConfig source_config = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1.SourceConfig source_config = 6 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.datastream.v1.SourceConfigOrBuilder getSourceConfigOrBuilder() { if (sourceConfigBuilder_ != null) { return sourceConfigBuilder_.getMessageOrBuilder(); } else { - return sourceConfig_ == null - ? com.google.cloud.datastream.v1.SourceConfig.getDefaultInstance() - : sourceConfig_; + return sourceConfig_ == null ? + com.google.cloud.datastream.v1.SourceConfig.getDefaultInstance() : sourceConfig_; } } /** - * - * *
      * Required. Source connection profile configuration.
      * 
* - * - * .google.cloud.datastream.v1.SourceConfig source_config = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1.SourceConfig source_config = 6 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.SourceConfig, - com.google.cloud.datastream.v1.SourceConfig.Builder, - com.google.cloud.datastream.v1.SourceConfigOrBuilder> + com.google.cloud.datastream.v1.SourceConfig, com.google.cloud.datastream.v1.SourceConfig.Builder, com.google.cloud.datastream.v1.SourceConfigOrBuilder> getSourceConfigFieldBuilder() { if (sourceConfigBuilder_ == null) { - sourceConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.SourceConfig, - com.google.cloud.datastream.v1.SourceConfig.Builder, - com.google.cloud.datastream.v1.SourceConfigOrBuilder>( - getSourceConfig(), getParentForChildren(), isClean()); + sourceConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1.SourceConfig, com.google.cloud.datastream.v1.SourceConfig.Builder, com.google.cloud.datastream.v1.SourceConfigOrBuilder>( + getSourceConfig(), + getParentForChildren(), + isClean()); sourceConfig_ = null; } return sourceConfigBuilder_; @@ -4648,58 +4406,39 @@ public com.google.cloud.datastream.v1.SourceConfigOrBuilder getSourceConfigOrBui private com.google.cloud.datastream.v1.DestinationConfig destinationConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.DestinationConfig, - com.google.cloud.datastream.v1.DestinationConfig.Builder, - com.google.cloud.datastream.v1.DestinationConfigOrBuilder> - destinationConfigBuilder_; + com.google.cloud.datastream.v1.DestinationConfig, com.google.cloud.datastream.v1.DestinationConfig.Builder, com.google.cloud.datastream.v1.DestinationConfigOrBuilder> destinationConfigBuilder_; /** - * - * *
      * Required. Destination connection profile configuration.
      * 
* - * - * .google.cloud.datastream.v1.DestinationConfig destination_config = 7 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datastream.v1.DestinationConfig destination_config = 7 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the destinationConfig field is set. */ public boolean hasDestinationConfig() { return destinationConfigBuilder_ != null || destinationConfig_ != null; } /** - * - * *
      * Required. Destination connection profile configuration.
      * 
* - * - * .google.cloud.datastream.v1.DestinationConfig destination_config = 7 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datastream.v1.DestinationConfig destination_config = 7 [(.google.api.field_behavior) = REQUIRED]; * @return The destinationConfig. */ public com.google.cloud.datastream.v1.DestinationConfig getDestinationConfig() { if (destinationConfigBuilder_ == null) { - return destinationConfig_ == null - ? com.google.cloud.datastream.v1.DestinationConfig.getDefaultInstance() - : destinationConfig_; + return destinationConfig_ == null ? com.google.cloud.datastream.v1.DestinationConfig.getDefaultInstance() : destinationConfig_; } else { return destinationConfigBuilder_.getMessage(); } } /** - * - * *
      * Required. Destination connection profile configuration.
      * 
* - * - * .google.cloud.datastream.v1.DestinationConfig destination_config = 7 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1.DestinationConfig destination_config = 7 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setDestinationConfig(com.google.cloud.datastream.v1.DestinationConfig value) { if (destinationConfigBuilder_ == null) { @@ -4715,15 +4454,11 @@ public Builder setDestinationConfig(com.google.cloud.datastream.v1.DestinationCo return this; } /** - * - * *
      * Required. Destination connection profile configuration.
      * 
* - * - * .google.cloud.datastream.v1.DestinationConfig destination_config = 7 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1.DestinationConfig destination_config = 7 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setDestinationConfig( com.google.cloud.datastream.v1.DestinationConfig.Builder builderForValue) { @@ -4737,23 +4472,17 @@ public Builder setDestinationConfig( return this; } /** - * - * *
      * Required. Destination connection profile configuration.
      * 
* - * - * .google.cloud.datastream.v1.DestinationConfig destination_config = 7 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1.DestinationConfig destination_config = 7 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeDestinationConfig(com.google.cloud.datastream.v1.DestinationConfig value) { if (destinationConfigBuilder_ == null) { if (destinationConfig_ != null) { destinationConfig_ = - com.google.cloud.datastream.v1.DestinationConfig.newBuilder(destinationConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.datastream.v1.DestinationConfig.newBuilder(destinationConfig_).mergeFrom(value).buildPartial(); } else { destinationConfig_ = value; } @@ -4765,15 +4494,11 @@ public Builder mergeDestinationConfig(com.google.cloud.datastream.v1.Destination return this; } /** - * - * *
      * Required. Destination connection profile configuration.
      * 
* - * - * .google.cloud.datastream.v1.DestinationConfig destination_config = 7 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1.DestinationConfig destination_config = 7 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearDestinationConfig() { if (destinationConfigBuilder_ == null) { @@ -4787,65 +4512,48 @@ public Builder clearDestinationConfig() { return this; } /** - * - * *
      * Required. Destination connection profile configuration.
      * 
* - * - * .google.cloud.datastream.v1.DestinationConfig destination_config = 7 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1.DestinationConfig destination_config = 7 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.datastream.v1.DestinationConfig.Builder getDestinationConfigBuilder() { - + onChanged(); return getDestinationConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Destination connection profile configuration.
      * 
* - * - * .google.cloud.datastream.v1.DestinationConfig destination_config = 7 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1.DestinationConfig destination_config = 7 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.datastream.v1.DestinationConfigOrBuilder - getDestinationConfigOrBuilder() { + public com.google.cloud.datastream.v1.DestinationConfigOrBuilder getDestinationConfigOrBuilder() { if (destinationConfigBuilder_ != null) { return destinationConfigBuilder_.getMessageOrBuilder(); } else { - return destinationConfig_ == null - ? com.google.cloud.datastream.v1.DestinationConfig.getDefaultInstance() - : destinationConfig_; + return destinationConfig_ == null ? + com.google.cloud.datastream.v1.DestinationConfig.getDefaultInstance() : destinationConfig_; } } /** - * - * *
      * Required. Destination connection profile configuration.
      * 
* - * - * .google.cloud.datastream.v1.DestinationConfig destination_config = 7 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1.DestinationConfig destination_config = 7 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.DestinationConfig, - com.google.cloud.datastream.v1.DestinationConfig.Builder, - com.google.cloud.datastream.v1.DestinationConfigOrBuilder> + com.google.cloud.datastream.v1.DestinationConfig, com.google.cloud.datastream.v1.DestinationConfig.Builder, com.google.cloud.datastream.v1.DestinationConfigOrBuilder> getDestinationConfigFieldBuilder() { if (destinationConfigBuilder_ == null) { - destinationConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.DestinationConfig, - com.google.cloud.datastream.v1.DestinationConfig.Builder, - com.google.cloud.datastream.v1.DestinationConfigOrBuilder>( - getDestinationConfig(), getParentForChildren(), isClean()); + destinationConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1.DestinationConfig, com.google.cloud.datastream.v1.DestinationConfig.Builder, com.google.cloud.datastream.v1.DestinationConfigOrBuilder>( + getDestinationConfig(), + getParentForChildren(), + isClean()); destinationConfig_ = null; } return destinationConfigBuilder_; @@ -4853,65 +4561,51 @@ public com.google.cloud.datastream.v1.DestinationConfig.Builder getDestinationCo private int state_ = 0; /** - * - * *
      * The state of the stream.
      * 
* * .google.cloud.datastream.v1.Stream.State state = 8; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * The state of the stream.
      * 
* * .google.cloud.datastream.v1.Stream.State state = 8; - * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** - * - * *
      * The state of the stream.
      * 
* * .google.cloud.datastream.v1.Stream.State state = 8; - * * @return The state. */ @java.lang.Override public com.google.cloud.datastream.v1.Stream.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.datastream.v1.Stream.State result = - com.google.cloud.datastream.v1.Stream.State.valueOf(state_); + com.google.cloud.datastream.v1.Stream.State result = com.google.cloud.datastream.v1.Stream.State.valueOf(state_); return result == null ? com.google.cloud.datastream.v1.Stream.State.UNRECOGNIZED : result; } /** - * - * *
      * The state of the stream.
      * 
* * .google.cloud.datastream.v1.Stream.State state = 8; - * * @param value The state to set. * @return This builder for chaining. */ @@ -4919,44 +4613,35 @@ public Builder setState(com.google.cloud.datastream.v1.Stream.State value) { if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The state of the stream.
      * 
* * .google.cloud.datastream.v1.Stream.State state = 8; - * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.Stream.BackfillAllStrategy, - com.google.cloud.datastream.v1.Stream.BackfillAllStrategy.Builder, - com.google.cloud.datastream.v1.Stream.BackfillAllStrategyOrBuilder> - backfillAllBuilder_; + com.google.cloud.datastream.v1.Stream.BackfillAllStrategy, com.google.cloud.datastream.v1.Stream.BackfillAllStrategy.Builder, com.google.cloud.datastream.v1.Stream.BackfillAllStrategyOrBuilder> backfillAllBuilder_; /** - * - * *
      * Automatically backfill objects included in the stream source
      * configuration. Specific objects can be excluded.
      * 
* * .google.cloud.datastream.v1.Stream.BackfillAllStrategy backfill_all = 101; - * * @return Whether the backfillAll field is set. */ @java.lang.Override @@ -4964,15 +4649,12 @@ public boolean hasBackfillAll() { return backfillStrategyCase_ == 101; } /** - * - * *
      * Automatically backfill objects included in the stream source
      * configuration. Specific objects can be excluded.
      * 
* * .google.cloud.datastream.v1.Stream.BackfillAllStrategy backfill_all = 101; - * * @return The backfillAll. */ @java.lang.Override @@ -4990,8 +4672,6 @@ public com.google.cloud.datastream.v1.Stream.BackfillAllStrategy getBackfillAll( } } /** - * - * *
      * Automatically backfill objects included in the stream source
      * configuration. Specific objects can be excluded.
@@ -5013,8 +4693,6 @@ public Builder setBackfillAll(com.google.cloud.datastream.v1.Stream.BackfillAllS
       return this;
     }
     /**
-     *
-     *
      * 
      * Automatically backfill objects included in the stream source
      * configuration. Specific objects can be excluded.
@@ -5034,8 +4712,6 @@ public Builder setBackfillAll(
       return this;
     }
     /**
-     *
-     *
      * 
      * Automatically backfill objects included in the stream source
      * configuration. Specific objects can be excluded.
@@ -5043,17 +4719,12 @@ public Builder setBackfillAll(
      *
      * .google.cloud.datastream.v1.Stream.BackfillAllStrategy backfill_all = 101;
      */
-    public Builder mergeBackfillAll(
-        com.google.cloud.datastream.v1.Stream.BackfillAllStrategy value) {
+    public Builder mergeBackfillAll(com.google.cloud.datastream.v1.Stream.BackfillAllStrategy value) {
       if (backfillAllBuilder_ == null) {
-        if (backfillStrategyCase_ == 101
-            && backfillStrategy_
-                != com.google.cloud.datastream.v1.Stream.BackfillAllStrategy.getDefaultInstance()) {
-          backfillStrategy_ =
-              com.google.cloud.datastream.v1.Stream.BackfillAllStrategy.newBuilder(
-                      (com.google.cloud.datastream.v1.Stream.BackfillAllStrategy) backfillStrategy_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (backfillStrategyCase_ == 101 &&
+            backfillStrategy_ != com.google.cloud.datastream.v1.Stream.BackfillAllStrategy.getDefaultInstance()) {
+          backfillStrategy_ = com.google.cloud.datastream.v1.Stream.BackfillAllStrategy.newBuilder((com.google.cloud.datastream.v1.Stream.BackfillAllStrategy) backfillStrategy_)
+              .mergeFrom(value).buildPartial();
         } else {
           backfillStrategy_ = value;
         }
@@ -5069,8 +4740,6 @@ public Builder mergeBackfillAll(
       return this;
     }
     /**
-     *
-     *
      * 
      * Automatically backfill objects included in the stream source
      * configuration. Specific objects can be excluded.
@@ -5095,8 +4764,6 @@ public Builder clearBackfillAll() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Automatically backfill objects included in the stream source
      * configuration. Specific objects can be excluded.
@@ -5104,13 +4771,10 @@ public Builder clearBackfillAll() {
      *
      * .google.cloud.datastream.v1.Stream.BackfillAllStrategy backfill_all = 101;
      */
-    public com.google.cloud.datastream.v1.Stream.BackfillAllStrategy.Builder
-        getBackfillAllBuilder() {
+    public com.google.cloud.datastream.v1.Stream.BackfillAllStrategy.Builder getBackfillAllBuilder() {
       return getBackfillAllFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Automatically backfill objects included in the stream source
      * configuration. Specific objects can be excluded.
@@ -5119,8 +4783,7 @@ public Builder clearBackfillAll() {
      * .google.cloud.datastream.v1.Stream.BackfillAllStrategy backfill_all = 101;
      */
     @java.lang.Override
-    public com.google.cloud.datastream.v1.Stream.BackfillAllStrategyOrBuilder
-        getBackfillAllOrBuilder() {
+    public com.google.cloud.datastream.v1.Stream.BackfillAllStrategyOrBuilder getBackfillAllOrBuilder() {
       if ((backfillStrategyCase_ == 101) && (backfillAllBuilder_ != null)) {
         return backfillAllBuilder_.getMessageOrBuilder();
       } else {
@@ -5131,8 +4794,6 @@ public Builder clearBackfillAll() {
       }
     }
     /**
-     *
-     *
      * 
      * Automatically backfill objects included in the stream source
      * configuration. Specific objects can be excluded.
@@ -5141,45 +4802,32 @@ public Builder clearBackfillAll() {
      * .google.cloud.datastream.v1.Stream.BackfillAllStrategy backfill_all = 101;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.datastream.v1.Stream.BackfillAllStrategy,
-            com.google.cloud.datastream.v1.Stream.BackfillAllStrategy.Builder,
-            com.google.cloud.datastream.v1.Stream.BackfillAllStrategyOrBuilder>
+        com.google.cloud.datastream.v1.Stream.BackfillAllStrategy, com.google.cloud.datastream.v1.Stream.BackfillAllStrategy.Builder, com.google.cloud.datastream.v1.Stream.BackfillAllStrategyOrBuilder> 
         getBackfillAllFieldBuilder() {
       if (backfillAllBuilder_ == null) {
         if (!(backfillStrategyCase_ == 101)) {
-          backfillStrategy_ =
-              com.google.cloud.datastream.v1.Stream.BackfillAllStrategy.getDefaultInstance();
+          backfillStrategy_ = com.google.cloud.datastream.v1.Stream.BackfillAllStrategy.getDefaultInstance();
         }
-        backfillAllBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.datastream.v1.Stream.BackfillAllStrategy,
-                com.google.cloud.datastream.v1.Stream.BackfillAllStrategy.Builder,
-                com.google.cloud.datastream.v1.Stream.BackfillAllStrategyOrBuilder>(
+        backfillAllBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.datastream.v1.Stream.BackfillAllStrategy, com.google.cloud.datastream.v1.Stream.BackfillAllStrategy.Builder, com.google.cloud.datastream.v1.Stream.BackfillAllStrategyOrBuilder>(
                 (com.google.cloud.datastream.v1.Stream.BackfillAllStrategy) backfillStrategy_,
                 getParentForChildren(),
                 isClean());
         backfillStrategy_ = null;
       }
       backfillStrategyCase_ = 101;
-      onChanged();
-      ;
+      onChanged();;
       return backfillAllBuilder_;
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.datastream.v1.Stream.BackfillNoneStrategy,
-            com.google.cloud.datastream.v1.Stream.BackfillNoneStrategy.Builder,
-            com.google.cloud.datastream.v1.Stream.BackfillNoneStrategyOrBuilder>
-        backfillNoneBuilder_;
+        com.google.cloud.datastream.v1.Stream.BackfillNoneStrategy, com.google.cloud.datastream.v1.Stream.BackfillNoneStrategy.Builder, com.google.cloud.datastream.v1.Stream.BackfillNoneStrategyOrBuilder> backfillNoneBuilder_;
     /**
-     *
-     *
      * 
      * Do not automatically backfill any objects.
      * 
* * .google.cloud.datastream.v1.Stream.BackfillNoneStrategy backfill_none = 102; - * * @return Whether the backfillNone field is set. */ @java.lang.Override @@ -5187,14 +4835,11 @@ public boolean hasBackfillNone() { return backfillStrategyCase_ == 102; } /** - * - * *
      * Do not automatically backfill any objects.
      * 
* * .google.cloud.datastream.v1.Stream.BackfillNoneStrategy backfill_none = 102; - * * @return The backfillNone. */ @java.lang.Override @@ -5212,16 +4857,13 @@ public com.google.cloud.datastream.v1.Stream.BackfillNoneStrategy getBackfillNon } } /** - * - * *
      * Do not automatically backfill any objects.
      * 
* * .google.cloud.datastream.v1.Stream.BackfillNoneStrategy backfill_none = 102; */ - public Builder setBackfillNone( - com.google.cloud.datastream.v1.Stream.BackfillNoneStrategy value) { + public Builder setBackfillNone(com.google.cloud.datastream.v1.Stream.BackfillNoneStrategy value) { if (backfillNoneBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5235,8 +4877,6 @@ public Builder setBackfillNone( return this; } /** - * - * *
      * Do not automatically backfill any objects.
      * 
@@ -5255,27 +4895,18 @@ public Builder setBackfillNone( return this; } /** - * - * *
      * Do not automatically backfill any objects.
      * 
* * .google.cloud.datastream.v1.Stream.BackfillNoneStrategy backfill_none = 102; */ - public Builder mergeBackfillNone( - com.google.cloud.datastream.v1.Stream.BackfillNoneStrategy value) { + public Builder mergeBackfillNone(com.google.cloud.datastream.v1.Stream.BackfillNoneStrategy value) { if (backfillNoneBuilder_ == null) { - if (backfillStrategyCase_ == 102 - && backfillStrategy_ - != com.google.cloud.datastream.v1.Stream.BackfillNoneStrategy - .getDefaultInstance()) { - backfillStrategy_ = - com.google.cloud.datastream.v1.Stream.BackfillNoneStrategy.newBuilder( - (com.google.cloud.datastream.v1.Stream.BackfillNoneStrategy) - backfillStrategy_) - .mergeFrom(value) - .buildPartial(); + if (backfillStrategyCase_ == 102 && + backfillStrategy_ != com.google.cloud.datastream.v1.Stream.BackfillNoneStrategy.getDefaultInstance()) { + backfillStrategy_ = com.google.cloud.datastream.v1.Stream.BackfillNoneStrategy.newBuilder((com.google.cloud.datastream.v1.Stream.BackfillNoneStrategy) backfillStrategy_) + .mergeFrom(value).buildPartial(); } else { backfillStrategy_ = value; } @@ -5291,8 +4922,6 @@ public Builder mergeBackfillNone( return this; } /** - * - * *
      * Do not automatically backfill any objects.
      * 
@@ -5316,21 +4945,16 @@ public Builder clearBackfillNone() { return this; } /** - * - * *
      * Do not automatically backfill any objects.
      * 
* * .google.cloud.datastream.v1.Stream.BackfillNoneStrategy backfill_none = 102; */ - public com.google.cloud.datastream.v1.Stream.BackfillNoneStrategy.Builder - getBackfillNoneBuilder() { + public com.google.cloud.datastream.v1.Stream.BackfillNoneStrategy.Builder getBackfillNoneBuilder() { return getBackfillNoneFieldBuilder().getBuilder(); } /** - * - * *
      * Do not automatically backfill any objects.
      * 
@@ -5338,8 +4962,7 @@ public Builder clearBackfillNone() { * .google.cloud.datastream.v1.Stream.BackfillNoneStrategy backfill_none = 102; */ @java.lang.Override - public com.google.cloud.datastream.v1.Stream.BackfillNoneStrategyOrBuilder - getBackfillNoneOrBuilder() { + public com.google.cloud.datastream.v1.Stream.BackfillNoneStrategyOrBuilder getBackfillNoneOrBuilder() { if ((backfillStrategyCase_ == 102) && (backfillNoneBuilder_ != null)) { return backfillNoneBuilder_.getMessageOrBuilder(); } else { @@ -5350,8 +4973,6 @@ public Builder clearBackfillNone() { } } /** - * - * *
      * Do not automatically backfill any objects.
      * 
@@ -5359,57 +4980,42 @@ public Builder clearBackfillNone() { * .google.cloud.datastream.v1.Stream.BackfillNoneStrategy backfill_none = 102; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.Stream.BackfillNoneStrategy, - com.google.cloud.datastream.v1.Stream.BackfillNoneStrategy.Builder, - com.google.cloud.datastream.v1.Stream.BackfillNoneStrategyOrBuilder> + com.google.cloud.datastream.v1.Stream.BackfillNoneStrategy, com.google.cloud.datastream.v1.Stream.BackfillNoneStrategy.Builder, com.google.cloud.datastream.v1.Stream.BackfillNoneStrategyOrBuilder> getBackfillNoneFieldBuilder() { if (backfillNoneBuilder_ == null) { if (!(backfillStrategyCase_ == 102)) { - backfillStrategy_ = - com.google.cloud.datastream.v1.Stream.BackfillNoneStrategy.getDefaultInstance(); + backfillStrategy_ = com.google.cloud.datastream.v1.Stream.BackfillNoneStrategy.getDefaultInstance(); } - backfillNoneBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.Stream.BackfillNoneStrategy, - com.google.cloud.datastream.v1.Stream.BackfillNoneStrategy.Builder, - com.google.cloud.datastream.v1.Stream.BackfillNoneStrategyOrBuilder>( + backfillNoneBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1.Stream.BackfillNoneStrategy, com.google.cloud.datastream.v1.Stream.BackfillNoneStrategy.Builder, com.google.cloud.datastream.v1.Stream.BackfillNoneStrategyOrBuilder>( (com.google.cloud.datastream.v1.Stream.BackfillNoneStrategy) backfillStrategy_, getParentForChildren(), isClean()); backfillStrategy_ = null; } backfillStrategyCase_ = 102; - onChanged(); - ; + onChanged();; return backfillNoneBuilder_; } private java.util.List errors_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureErrorsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { errors_ = new java.util.ArrayList(errors_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datastream.v1.Error, - com.google.cloud.datastream.v1.Error.Builder, - com.google.cloud.datastream.v1.ErrorOrBuilder> - errorsBuilder_; + com.google.cloud.datastream.v1.Error, com.google.cloud.datastream.v1.Error.Builder, com.google.cloud.datastream.v1.ErrorOrBuilder> errorsBuilder_; /** - * - * *
      * Output only. Errors on the Stream.
      * 
* - * - * repeated .google.cloud.datastream.v1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public java.util.List getErrorsList() { if (errorsBuilder_ == null) { @@ -5419,15 +5025,11 @@ public java.util.List getErrorsList() { } } /** - * - * *
      * Output only. Errors on the Stream.
      * 
* - * - * repeated .google.cloud.datastream.v1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public int getErrorsCount() { if (errorsBuilder_ == null) { @@ -5437,15 +5039,11 @@ public int getErrorsCount() { } } /** - * - * *
      * Output only. Errors on the Stream.
      * 
* - * - * repeated .google.cloud.datastream.v1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.datastream.v1.Error getErrors(int index) { if (errorsBuilder_ == null) { @@ -5455,17 +5053,14 @@ public com.google.cloud.datastream.v1.Error getErrors(int index) { } } /** - * - * *
      * Output only. Errors on the Stream.
      * 
* - * - * repeated .google.cloud.datastream.v1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setErrors(int index, com.google.cloud.datastream.v1.Error value) { + public Builder setErrors( + int index, com.google.cloud.datastream.v1.Error value) { if (errorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5479,15 +5074,11 @@ public Builder setErrors(int index, com.google.cloud.datastream.v1.Error value) return this; } /** - * - * *
      * Output only. Errors on the Stream.
      * 
* - * - * repeated .google.cloud.datastream.v1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setErrors( int index, com.google.cloud.datastream.v1.Error.Builder builderForValue) { @@ -5501,15 +5092,11 @@ public Builder setErrors( return this; } /** - * - * *
      * Output only. Errors on the Stream.
      * 
* - * - * repeated .google.cloud.datastream.v1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addErrors(com.google.cloud.datastream.v1.Error value) { if (errorsBuilder_ == null) { @@ -5525,17 +5112,14 @@ public Builder addErrors(com.google.cloud.datastream.v1.Error value) { return this; } /** - * - * *
      * Output only. Errors on the Stream.
      * 
* - * - * repeated .google.cloud.datastream.v1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder addErrors(int index, com.google.cloud.datastream.v1.Error value) { + public Builder addErrors( + int index, com.google.cloud.datastream.v1.Error value) { if (errorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5549,17 +5133,14 @@ public Builder addErrors(int index, com.google.cloud.datastream.v1.Error value) return this; } /** - * - * *
      * Output only. Errors on the Stream.
      * 
* - * - * repeated .google.cloud.datastream.v1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder addErrors(com.google.cloud.datastream.v1.Error.Builder builderForValue) { + public Builder addErrors( + com.google.cloud.datastream.v1.Error.Builder builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.add(builderForValue.build()); @@ -5570,15 +5151,11 @@ public Builder addErrors(com.google.cloud.datastream.v1.Error.Builder builderFor return this; } /** - * - * *
      * Output only. Errors on the Stream.
      * 
* - * - * repeated .google.cloud.datastream.v1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addErrors( int index, com.google.cloud.datastream.v1.Error.Builder builderForValue) { @@ -5592,21 +5169,18 @@ public Builder addErrors( return this; } /** - * - * *
      * Output only. Errors on the Stream.
      * 
* - * - * repeated .google.cloud.datastream.v1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addAllErrors( java.lang.Iterable values) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, errors_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, errors_); onChanged(); } else { errorsBuilder_.addAllMessages(values); @@ -5614,15 +5188,11 @@ public Builder addAllErrors( return this; } /** - * - * *
      * Output only. Errors on the Stream.
      * 
* - * - * repeated .google.cloud.datastream.v1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearErrors() { if (errorsBuilder_ == null) { @@ -5635,15 +5205,11 @@ public Builder clearErrors() { return this; } /** - * - * *
      * Output only. Errors on the Stream.
      * 
* - * - * repeated .google.cloud.datastream.v1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder removeErrors(int index) { if (errorsBuilder_ == null) { @@ -5656,50 +5222,39 @@ public Builder removeErrors(int index) { return this; } /** - * - * *
      * Output only. Errors on the Stream.
      * 
* - * - * repeated .google.cloud.datastream.v1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.datastream.v1.Error.Builder getErrorsBuilder(int index) { + public com.google.cloud.datastream.v1.Error.Builder getErrorsBuilder( + int index) { return getErrorsFieldBuilder().getBuilder(index); } /** - * - * *
      * Output only. Errors on the Stream.
      * 
* - * - * repeated .google.cloud.datastream.v1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.datastream.v1.ErrorOrBuilder getErrorsOrBuilder(int index) { + public com.google.cloud.datastream.v1.ErrorOrBuilder getErrorsOrBuilder( + int index) { if (errorsBuilder_ == null) { - return errors_.get(index); - } else { + return errors_.get(index); } else { return errorsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Output only. Errors on the Stream.
      * 
* - * - * repeated .google.cloud.datastream.v1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List - getErrorsOrBuilderList() { + public java.util.List + getErrorsOrBuilderList() { if (errorsBuilder_ != null) { return errorsBuilder_.getMessageOrBuilderList(); } else { @@ -5707,62 +5262,49 @@ public com.google.cloud.datastream.v1.ErrorOrBuilder getErrorsOrBuilder(int inde } } /** - * - * *
      * Output only. Errors on the Stream.
      * 
* - * - * repeated .google.cloud.datastream.v1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.datastream.v1.Error.Builder addErrorsBuilder() { - return getErrorsFieldBuilder() - .addBuilder(com.google.cloud.datastream.v1.Error.getDefaultInstance()); + return getErrorsFieldBuilder().addBuilder( + com.google.cloud.datastream.v1.Error.getDefaultInstance()); } /** - * - * *
      * Output only. Errors on the Stream.
      * 
* - * - * repeated .google.cloud.datastream.v1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.datastream.v1.Error.Builder addErrorsBuilder(int index) { - return getErrorsFieldBuilder() - .addBuilder(index, com.google.cloud.datastream.v1.Error.getDefaultInstance()); + public com.google.cloud.datastream.v1.Error.Builder addErrorsBuilder( + int index) { + return getErrorsFieldBuilder().addBuilder( + index, com.google.cloud.datastream.v1.Error.getDefaultInstance()); } /** - * - * *
      * Output only. Errors on the Stream.
      * 
* - * - * repeated .google.cloud.datastream.v1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List getErrorsBuilderList() { + public java.util.List + getErrorsBuilderList() { return getErrorsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datastream.v1.Error, - com.google.cloud.datastream.v1.Error.Builder, - com.google.cloud.datastream.v1.ErrorOrBuilder> + com.google.cloud.datastream.v1.Error, com.google.cloud.datastream.v1.Error.Builder, com.google.cloud.datastream.v1.ErrorOrBuilder> getErrorsFieldBuilder() { if (errorsBuilder_ == null) { - errorsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datastream.v1.Error, - com.google.cloud.datastream.v1.Error.Builder, - com.google.cloud.datastream.v1.ErrorOrBuilder>( - errors_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); + errorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datastream.v1.Error, com.google.cloud.datastream.v1.Error.Builder, com.google.cloud.datastream.v1.ErrorOrBuilder>( + errors_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); errors_ = null; } return errorsBuilder_; @@ -5770,8 +5312,6 @@ public java.util.List getErrorsBui private java.lang.Object customerManagedEncryptionKey_ = ""; /** - * - * *
      * Immutable. A reference to a KMS encryption key.
      * If provided, it will be used to encrypt the data.
@@ -5779,18 +5319,13 @@ public java.util.List getErrorsBui
      * encryption key provisioned through KMS.
      * 
* - * - * optional string customer_managed_encryption_key = 10 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * optional string customer_managed_encryption_key = 10 [(.google.api.field_behavior) = IMMUTABLE]; * @return Whether the customerManagedEncryptionKey field is set. */ public boolean hasCustomerManagedEncryptionKey() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Immutable. A reference to a KMS encryption key.
      * If provided, it will be used to encrypt the data.
@@ -5798,16 +5333,14 @@ public boolean hasCustomerManagedEncryptionKey() {
      * encryption key provisioned through KMS.
      * 
* - * - * optional string customer_managed_encryption_key = 10 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * optional string customer_managed_encryption_key = 10 [(.google.api.field_behavior) = IMMUTABLE]; * @return The customerManagedEncryptionKey. */ public java.lang.String getCustomerManagedEncryptionKey() { java.lang.Object ref = customerManagedEncryptionKey_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); customerManagedEncryptionKey_ = s; return s; @@ -5816,8 +5349,6 @@ public java.lang.String getCustomerManagedEncryptionKey() { } } /** - * - * *
      * Immutable. A reference to a KMS encryption key.
      * If provided, it will be used to encrypt the data.
@@ -5825,17 +5356,16 @@ public java.lang.String getCustomerManagedEncryptionKey() {
      * encryption key provisioned through KMS.
      * 
* - * - * optional string customer_managed_encryption_key = 10 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * optional string customer_managed_encryption_key = 10 [(.google.api.field_behavior) = IMMUTABLE]; * @return The bytes for customerManagedEncryptionKey. */ - public com.google.protobuf.ByteString getCustomerManagedEncryptionKeyBytes() { + public com.google.protobuf.ByteString + getCustomerManagedEncryptionKeyBytes() { java.lang.Object ref = customerManagedEncryptionKey_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); customerManagedEncryptionKey_ = b; return b; } else { @@ -5843,8 +5373,6 @@ public com.google.protobuf.ByteString getCustomerManagedEncryptionKeyBytes() { } } /** - * - * *
      * Immutable. A reference to a KMS encryption key.
      * If provided, it will be used to encrypt the data.
@@ -5852,25 +5380,21 @@ public com.google.protobuf.ByteString getCustomerManagedEncryptionKeyBytes() {
      * encryption key provisioned through KMS.
      * 
* - * - * optional string customer_managed_encryption_key = 10 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * optional string customer_managed_encryption_key = 10 [(.google.api.field_behavior) = IMMUTABLE]; * @param value The customerManagedEncryptionKey to set. * @return This builder for chaining. */ - public Builder setCustomerManagedEncryptionKey(java.lang.String value) { + public Builder setCustomerManagedEncryptionKey( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000004; + throw new NullPointerException(); + } + bitField0_ |= 0x00000004; customerManagedEncryptionKey_ = value; onChanged(); return this; } /** - * - * *
      * Immutable. A reference to a KMS encryption key.
      * If provided, it will be used to encrypt the data.
@@ -5878,10 +5402,7 @@ public Builder setCustomerManagedEncryptionKey(java.lang.String value) {
      * encryption key provisioned through KMS.
      * 
* - * - * optional string customer_managed_encryption_key = 10 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * optional string customer_managed_encryption_key = 10 [(.google.api.field_behavior) = IMMUTABLE]; * @return This builder for chaining. */ public Builder clearCustomerManagedEncryptionKey() { @@ -5891,8 +5412,6 @@ public Builder clearCustomerManagedEncryptionKey() { return this; } /** - * - * *
      * Immutable. A reference to a KMS encryption key.
      * If provided, it will be used to encrypt the data.
@@ -5900,26 +5419,24 @@ public Builder clearCustomerManagedEncryptionKey() {
      * encryption key provisioned through KMS.
      * 
* - * - * optional string customer_managed_encryption_key = 10 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * optional string customer_managed_encryption_key = 10 [(.google.api.field_behavior) = IMMUTABLE]; * @param value The bytes for customerManagedEncryptionKey to set. * @return This builder for chaining. */ - public Builder setCustomerManagedEncryptionKeyBytes(com.google.protobuf.ByteString value) { + public Builder setCustomerManagedEncryptionKeyBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); bitField0_ |= 0x00000004; customerManagedEncryptionKey_ = 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); } @@ -5929,12 +5446,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1.Stream) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1.Stream) private static final com.google.cloud.datastream.v1.Stream DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1.Stream(); } @@ -5943,16 +5460,16 @@ public static com.google.cloud.datastream.v1.Stream getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Stream parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Stream(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Stream parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Stream(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5967,4 +5484,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datastream.v1.Stream getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StreamName.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StreamName.java similarity index 100% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StreamName.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StreamName.java diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StreamObject.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StreamObject.java similarity index 67% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StreamObject.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StreamObject.java index a7c69521..b001795d 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StreamObject.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StreamObject.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/datastream/v1/datastream_resources.proto package com.google.cloud.datastream.v1; /** - * - * *
  * A specific stream object (e.g a specific DB table).
  * 
* * Protobuf type {@code google.cloud.datastream.v1.StreamObject} */ -public final class StreamObject extends com.google.protobuf.GeneratedMessageV3 - implements +public final class StreamObject extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1.StreamObject) StreamObjectOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use StreamObject.newBuilder() to construct. private StreamObject(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private StreamObject() { name_ = ""; displayName_ = ""; @@ -45,15 +27,16 @@ private StreamObject() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new StreamObject(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private StreamObject( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,101 +56,86 @@ private StreamObject( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; + name_ = s; + break; + } + case 18: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); } - case 18: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } - - break; + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 26: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); - } - updateTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); - } - - break; + + break; + } + case 26: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); + } + updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); - displayName_ = s; - break; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + displayName_ = s; + break; + } + case 50: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + errors_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 50: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - errors_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - errors_.add( - input.readMessage( - com.google.cloud.datastream.v1.Error.parser(), extensionRegistry)); - break; + errors_.add( + input.readMessage(com.google.cloud.datastream.v1.Error.parser(), extensionRegistry)); + break; + } + case 58: { + com.google.cloud.datastream.v1.BackfillJob.Builder subBuilder = null; + if (backfillJob_ != null) { + subBuilder = backfillJob_.toBuilder(); + } + backfillJob_ = input.readMessage(com.google.cloud.datastream.v1.BackfillJob.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(backfillJob_); + backfillJob_ = subBuilder.buildPartial(); } - case 58: - { - com.google.cloud.datastream.v1.BackfillJob.Builder subBuilder = null; - if (backfillJob_ != null) { - subBuilder = backfillJob_.toBuilder(); - } - backfillJob_ = - input.readMessage( - com.google.cloud.datastream.v1.BackfillJob.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(backfillJob_); - backfillJob_ = subBuilder.buildPartial(); - } - - break; + + break; + } + case 66: { + com.google.cloud.datastream.v1.SourceObjectIdentifier.Builder subBuilder = null; + if (sourceObject_ != null) { + subBuilder = sourceObject_.toBuilder(); } - case 66: - { - com.google.cloud.datastream.v1.SourceObjectIdentifier.Builder subBuilder = null; - if (sourceObject_ != null) { - subBuilder = sourceObject_.toBuilder(); - } - sourceObject_ = - input.readMessage( - com.google.cloud.datastream.v1.SourceObjectIdentifier.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(sourceObject_); - sourceObject_ = subBuilder.buildPartial(); - } - - break; + sourceObject_ = input.readMessage(com.google.cloud.datastream.v1.SourceObjectIdentifier.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(sourceObject_); + sourceObject_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -175,7 +143,8 @@ private StreamObject( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { errors_ = java.util.Collections.unmodifiableList(errors_); @@ -184,33 +153,27 @@ private StreamObject( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_StreamObject_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_StreamObject_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_StreamObject_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_StreamObject_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.StreamObject.class, - com.google.cloud.datastream.v1.StreamObject.Builder.class); + com.google.cloud.datastream.v1.StreamObject.class, com.google.cloud.datastream.v1.StreamObject.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Output only. The object resource's name.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -219,29 +182,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Output only. The object resource's name.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -252,15 +215,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Output only. The creation time of the object.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -268,15 +227,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. The creation time of the object.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -284,14 +239,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. The creation time of the object.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -301,15 +253,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * Output only. The last update time of the object.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ @java.lang.Override @@ -317,15 +265,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * Output only. The last update time of the object.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ @java.lang.Override @@ -333,14 +277,11 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * Output only. The last update time of the object.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -350,14 +291,11 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int DISPLAY_NAME_FIELD_NUMBER = 5; private volatile java.lang.Object displayName_; /** - * - * *
    * Required. Display name.
    * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The displayName. */ @java.lang.Override @@ -366,29 +304,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; } } /** - * - * *
    * Required. Display name.
    * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -399,93 +337,71 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int ERRORS_FIELD_NUMBER = 6; private java.util.List errors_; /** - * - * *
    * Output only. Active errors on the object.
    * 
* - * - * repeated .google.cloud.datastream.v1.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public java.util.List getErrorsList() { return errors_; } /** - * - * *
    * Output only. Active errors on the object.
    * 
* - * - * repeated .google.cloud.datastream.v1.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public java.util.List + public java.util.List getErrorsOrBuilderList() { return errors_; } /** - * - * *
    * Output only. Active errors on the object.
    * 
* - * - * repeated .google.cloud.datastream.v1.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public int getErrorsCount() { return errors_.size(); } /** - * - * *
    * Output only. Active errors on the object.
    * 
* - * - * repeated .google.cloud.datastream.v1.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.datastream.v1.Error getErrors(int index) { return errors_.get(index); } /** - * - * *
    * Output only. Active errors on the object.
    * 
* - * - * repeated .google.cloud.datastream.v1.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.datastream.v1.ErrorOrBuilder getErrorsOrBuilder(int index) { + public com.google.cloud.datastream.v1.ErrorOrBuilder getErrorsOrBuilder( + int index) { return errors_.get(index); } public static final int BACKFILL_JOB_FIELD_NUMBER = 7; private com.google.cloud.datastream.v1.BackfillJob backfillJob_; /** - * - * *
    * The latest backfill job that was initiated for the stream object.
    * 
* * .google.cloud.datastream.v1.BackfillJob backfill_job = 7; - * * @return Whether the backfillJob field is set. */ @java.lang.Override @@ -493,25 +409,18 @@ public boolean hasBackfillJob() { return backfillJob_ != null; } /** - * - * *
    * The latest backfill job that was initiated for the stream object.
    * 
* * .google.cloud.datastream.v1.BackfillJob backfill_job = 7; - * * @return The backfillJob. */ @java.lang.Override public com.google.cloud.datastream.v1.BackfillJob getBackfillJob() { - return backfillJob_ == null - ? com.google.cloud.datastream.v1.BackfillJob.getDefaultInstance() - : backfillJob_; + return backfillJob_ == null ? com.google.cloud.datastream.v1.BackfillJob.getDefaultInstance() : backfillJob_; } /** - * - * *
    * The latest backfill job that was initiated for the stream object.
    * 
@@ -526,14 +435,11 @@ public com.google.cloud.datastream.v1.BackfillJobOrBuilder getBackfillJobOrBuild public static final int SOURCE_OBJECT_FIELD_NUMBER = 8; private com.google.cloud.datastream.v1.SourceObjectIdentifier sourceObject_; /** - * - * *
    * The object identifier in the data source.
    * 
* * .google.cloud.datastream.v1.SourceObjectIdentifier source_object = 8; - * * @return Whether the sourceObject field is set. */ @java.lang.Override @@ -541,25 +447,18 @@ public boolean hasSourceObject() { return sourceObject_ != null; } /** - * - * *
    * The object identifier in the data source.
    * 
* * .google.cloud.datastream.v1.SourceObjectIdentifier source_object = 8; - * * @return The sourceObject. */ @java.lang.Override public com.google.cloud.datastream.v1.SourceObjectIdentifier getSourceObject() { - return sourceObject_ == null - ? com.google.cloud.datastream.v1.SourceObjectIdentifier.getDefaultInstance() - : sourceObject_; + return sourceObject_ == null ? com.google.cloud.datastream.v1.SourceObjectIdentifier.getDefaultInstance() : sourceObject_; } /** - * - * *
    * The object identifier in the data source.
    * 
@@ -572,7 +471,6 @@ public com.google.cloud.datastream.v1.SourceObjectIdentifierOrBuilder getSourceO } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -584,7 +482,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_); } @@ -619,22 +518,27 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, displayName_); } for (int i = 0; i < errors_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, errors_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, errors_.get(i)); } if (backfillJob_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getBackfillJob()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getBackfillJob()); } if (sourceObject_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getSourceObject()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, getSourceObject()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -644,32 +548,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.datastream.v1.StreamObject)) { return super.equals(obj); } - com.google.cloud.datastream.v1.StreamObject other = - (com.google.cloud.datastream.v1.StreamObject) obj; + com.google.cloud.datastream.v1.StreamObject other = (com.google.cloud.datastream.v1.StreamObject) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime().equals(other.getUpdateTime())) return false; + if (!getUpdateTime() + .equals(other.getUpdateTime())) return false; } - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!getErrorsList().equals(other.getErrorsList())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!getErrorsList() + .equals(other.getErrorsList())) return false; if (hasBackfillJob() != other.hasBackfillJob()) return false; if (hasBackfillJob()) { - if (!getBackfillJob().equals(other.getBackfillJob())) return false; + if (!getBackfillJob() + .equals(other.getBackfillJob())) return false; } if (hasSourceObject() != other.hasSourceObject()) return false; if (hasSourceObject()) { - if (!getSourceObject().equals(other.getSourceObject())) return false; + if (!getSourceObject() + .equals(other.getSourceObject())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -711,127 +621,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.datastream.v1.StreamObject parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.datastream.v1.StreamObject parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.StreamObject parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.StreamObject parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.StreamObject parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.StreamObject parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.StreamObject parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.StreamObject 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.datastream.v1.StreamObject parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1.StreamObject parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.StreamObject parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.StreamObject 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.datastream.v1.StreamObject parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.StreamObject parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datastream.v1.StreamObject prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 specific stream object (e.g a specific DB table).
    * 
* * Protobuf type {@code google.cloud.datastream.v1.StreamObject} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1.StreamObject) com.google.cloud.datastream.v1.StreamObjectOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_StreamObject_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_StreamObject_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_StreamObject_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_StreamObject_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.StreamObject.class, - com.google.cloud.datastream.v1.StreamObject.Builder.class); + com.google.cloud.datastream.v1.StreamObject.class, com.google.cloud.datastream.v1.StreamObject.Builder.class); } // Construct using com.google.cloud.datastream.v1.StreamObject.newBuilder() @@ -839,17 +740,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getErrorsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -891,9 +792,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_StreamObject_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_StreamObject_descriptor; } @java.lang.Override @@ -912,8 +813,7 @@ public com.google.cloud.datastream.v1.StreamObject build() { @java.lang.Override public com.google.cloud.datastream.v1.StreamObject buildPartial() { - com.google.cloud.datastream.v1.StreamObject result = - new com.google.cloud.datastream.v1.StreamObject(this); + com.google.cloud.datastream.v1.StreamObject result = new com.google.cloud.datastream.v1.StreamObject(this); int from_bitField0_ = bitField0_; result.name_ = name_; if (createTimeBuilder_ == null) { @@ -954,39 +854,38 @@ public com.google.cloud.datastream.v1.StreamObject buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1.StreamObject) { - return mergeFrom((com.google.cloud.datastream.v1.StreamObject) other); + return mergeFrom((com.google.cloud.datastream.v1.StreamObject)other); } else { super.mergeFrom(other); return this; @@ -1027,10 +926,9 @@ public Builder mergeFrom(com.google.cloud.datastream.v1.StreamObject other) { errorsBuilder_ = null; errors_ = other.errors_; bitField0_ = (bitField0_ & ~0x00000001); - errorsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getErrorsFieldBuilder() - : null; + errorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getErrorsFieldBuilder() : null; } else { errorsBuilder_.addAllMessages(other.errors_); } @@ -1070,25 +968,22 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Output only. The object resource's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1097,21 +992,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. The object resource's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1119,61 +1013,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. The object resource's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The object resource's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Output only. The object resource's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1181,58 +1068,39 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
      * Output only. The creation time of the object.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * Output only. The creation time of the object.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The creation time of the object.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -1248,17 +1116,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The creation time of the object.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -1269,21 +1134,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The creation time of the object.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1295,15 +1156,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The creation time of the object.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -1317,64 +1174,48 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. The creation time of the object.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The creation time of the object.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * Output only. The creation time of the object.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; @@ -1382,58 +1223,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 last update time of the object.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
      * Output only. The last update time of the object.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The last update time of the object.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -1449,17 +1271,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The last update time of the object.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -1470,21 +1289,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The last update time of the object.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -1496,15 +1311,11 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The last update time of the object.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearUpdateTime() { if (updateTimeBuilder_ == null) { @@ -1518,64 +1329,48 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * Output only. The last update time of the object.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The last update time of the object.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } } /** - * - * *
      * Output only. The last update time of the object.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), getParentForChildren(), isClean()); + updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), + getParentForChildren(), + isClean()); updateTime_ = null; } return updateTimeBuilder_; @@ -1583,20 +1378,18 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object displayName_ = ""; /** - * - * *
      * Required. Display name.
      * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @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; @@ -1605,21 +1398,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * Required. Display name.
      * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -1627,92 +1419,77 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * Required. Display name.
      * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** - * - * *
      * Required. Display name.
      * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** - * - * *
      * Required. Display name.
      * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; } private java.util.List errors_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureErrorsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { errors_ = new java.util.ArrayList(errors_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datastream.v1.Error, - com.google.cloud.datastream.v1.Error.Builder, - com.google.cloud.datastream.v1.ErrorOrBuilder> - errorsBuilder_; + com.google.cloud.datastream.v1.Error, com.google.cloud.datastream.v1.Error.Builder, com.google.cloud.datastream.v1.ErrorOrBuilder> errorsBuilder_; /** - * - * *
      * Output only. Active errors on the object.
      * 
* - * - * repeated .google.cloud.datastream.v1.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public java.util.List getErrorsList() { if (errorsBuilder_ == null) { @@ -1722,15 +1499,11 @@ public java.util.List getErrorsList() { } } /** - * - * *
      * Output only. Active errors on the object.
      * 
* - * - * repeated .google.cloud.datastream.v1.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public int getErrorsCount() { if (errorsBuilder_ == null) { @@ -1740,15 +1513,11 @@ public int getErrorsCount() { } } /** - * - * *
      * Output only. Active errors on the object.
      * 
* - * - * repeated .google.cloud.datastream.v1.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.datastream.v1.Error getErrors(int index) { if (errorsBuilder_ == null) { @@ -1758,17 +1527,14 @@ public com.google.cloud.datastream.v1.Error getErrors(int index) { } } /** - * - * *
      * Output only. Active errors on the object.
      * 
* - * - * repeated .google.cloud.datastream.v1.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setErrors(int index, com.google.cloud.datastream.v1.Error value) { + public Builder setErrors( + int index, com.google.cloud.datastream.v1.Error value) { if (errorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1782,15 +1548,11 @@ public Builder setErrors(int index, com.google.cloud.datastream.v1.Error value) return this; } /** - * - * *
      * Output only. Active errors on the object.
      * 
* - * - * repeated .google.cloud.datastream.v1.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setErrors( int index, com.google.cloud.datastream.v1.Error.Builder builderForValue) { @@ -1804,15 +1566,11 @@ public Builder setErrors( return this; } /** - * - * *
      * Output only. Active errors on the object.
      * 
* - * - * repeated .google.cloud.datastream.v1.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addErrors(com.google.cloud.datastream.v1.Error value) { if (errorsBuilder_ == null) { @@ -1828,17 +1586,14 @@ public Builder addErrors(com.google.cloud.datastream.v1.Error value) { return this; } /** - * - * *
      * Output only. Active errors on the object.
      * 
* - * - * repeated .google.cloud.datastream.v1.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder addErrors(int index, com.google.cloud.datastream.v1.Error value) { + public Builder addErrors( + int index, com.google.cloud.datastream.v1.Error value) { if (errorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1852,17 +1607,14 @@ public Builder addErrors(int index, com.google.cloud.datastream.v1.Error value) return this; } /** - * - * *
      * Output only. Active errors on the object.
      * 
* - * - * repeated .google.cloud.datastream.v1.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder addErrors(com.google.cloud.datastream.v1.Error.Builder builderForValue) { + public Builder addErrors( + com.google.cloud.datastream.v1.Error.Builder builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.add(builderForValue.build()); @@ -1873,15 +1625,11 @@ public Builder addErrors(com.google.cloud.datastream.v1.Error.Builder builderFor return this; } /** - * - * *
      * Output only. Active errors on the object.
      * 
* - * - * repeated .google.cloud.datastream.v1.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addErrors( int index, com.google.cloud.datastream.v1.Error.Builder builderForValue) { @@ -1895,21 +1643,18 @@ public Builder addErrors( return this; } /** - * - * *
      * Output only. Active errors on the object.
      * 
* - * - * repeated .google.cloud.datastream.v1.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addAllErrors( java.lang.Iterable values) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, errors_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, errors_); onChanged(); } else { errorsBuilder_.addAllMessages(values); @@ -1917,15 +1662,11 @@ public Builder addAllErrors( return this; } /** - * - * *
      * Output only. Active errors on the object.
      * 
* - * - * repeated .google.cloud.datastream.v1.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearErrors() { if (errorsBuilder_ == null) { @@ -1938,15 +1679,11 @@ public Builder clearErrors() { return this; } /** - * - * *
      * Output only. Active errors on the object.
      * 
* - * - * repeated .google.cloud.datastream.v1.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder removeErrors(int index) { if (errorsBuilder_ == null) { @@ -1959,50 +1696,39 @@ public Builder removeErrors(int index) { return this; } /** - * - * *
      * Output only. Active errors on the object.
      * 
* - * - * repeated .google.cloud.datastream.v1.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.datastream.v1.Error.Builder getErrorsBuilder(int index) { + public com.google.cloud.datastream.v1.Error.Builder getErrorsBuilder( + int index) { return getErrorsFieldBuilder().getBuilder(index); } /** - * - * *
      * Output only. Active errors on the object.
      * 
* - * - * repeated .google.cloud.datastream.v1.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.datastream.v1.ErrorOrBuilder getErrorsOrBuilder(int index) { + public com.google.cloud.datastream.v1.ErrorOrBuilder getErrorsOrBuilder( + int index) { if (errorsBuilder_ == null) { - return errors_.get(index); - } else { + return errors_.get(index); } else { return errorsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Output only. Active errors on the object.
      * 
* - * - * repeated .google.cloud.datastream.v1.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List - getErrorsOrBuilderList() { + public java.util.List + getErrorsOrBuilderList() { if (errorsBuilder_ != null) { return errorsBuilder_.getMessageOrBuilderList(); } else { @@ -2010,62 +1736,49 @@ public com.google.cloud.datastream.v1.ErrorOrBuilder getErrorsOrBuilder(int inde } } /** - * - * *
      * Output only. Active errors on the object.
      * 
* - * - * repeated .google.cloud.datastream.v1.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.datastream.v1.Error.Builder addErrorsBuilder() { - return getErrorsFieldBuilder() - .addBuilder(com.google.cloud.datastream.v1.Error.getDefaultInstance()); + return getErrorsFieldBuilder().addBuilder( + com.google.cloud.datastream.v1.Error.getDefaultInstance()); } /** - * - * *
      * Output only. Active errors on the object.
      * 
* - * - * repeated .google.cloud.datastream.v1.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.datastream.v1.Error.Builder addErrorsBuilder(int index) { - return getErrorsFieldBuilder() - .addBuilder(index, com.google.cloud.datastream.v1.Error.getDefaultInstance()); + public com.google.cloud.datastream.v1.Error.Builder addErrorsBuilder( + int index) { + return getErrorsFieldBuilder().addBuilder( + index, com.google.cloud.datastream.v1.Error.getDefaultInstance()); } /** - * - * *
      * Output only. Active errors on the object.
      * 
* - * - * repeated .google.cloud.datastream.v1.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List getErrorsBuilderList() { + public java.util.List + getErrorsBuilderList() { return getErrorsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datastream.v1.Error, - com.google.cloud.datastream.v1.Error.Builder, - com.google.cloud.datastream.v1.ErrorOrBuilder> + com.google.cloud.datastream.v1.Error, com.google.cloud.datastream.v1.Error.Builder, com.google.cloud.datastream.v1.ErrorOrBuilder> getErrorsFieldBuilder() { if (errorsBuilder_ == null) { - errorsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datastream.v1.Error, - com.google.cloud.datastream.v1.Error.Builder, - com.google.cloud.datastream.v1.ErrorOrBuilder>( - errors_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + errorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datastream.v1.Error, com.google.cloud.datastream.v1.Error.Builder, com.google.cloud.datastream.v1.ErrorOrBuilder>( + errors_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); errors_ = null; } return errorsBuilder_; @@ -2073,47 +1786,34 @@ public java.util.List getErrorsBui private com.google.cloud.datastream.v1.BackfillJob backfillJob_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.BackfillJob, - com.google.cloud.datastream.v1.BackfillJob.Builder, - com.google.cloud.datastream.v1.BackfillJobOrBuilder> - backfillJobBuilder_; + com.google.cloud.datastream.v1.BackfillJob, com.google.cloud.datastream.v1.BackfillJob.Builder, com.google.cloud.datastream.v1.BackfillJobOrBuilder> backfillJobBuilder_; /** - * - * *
      * The latest backfill job that was initiated for the stream object.
      * 
* * .google.cloud.datastream.v1.BackfillJob backfill_job = 7; - * * @return Whether the backfillJob field is set. */ public boolean hasBackfillJob() { return backfillJobBuilder_ != null || backfillJob_ != null; } /** - * - * *
      * The latest backfill job that was initiated for the stream object.
      * 
* * .google.cloud.datastream.v1.BackfillJob backfill_job = 7; - * * @return The backfillJob. */ public com.google.cloud.datastream.v1.BackfillJob getBackfillJob() { if (backfillJobBuilder_ == null) { - return backfillJob_ == null - ? com.google.cloud.datastream.v1.BackfillJob.getDefaultInstance() - : backfillJob_; + return backfillJob_ == null ? com.google.cloud.datastream.v1.BackfillJob.getDefaultInstance() : backfillJob_; } else { return backfillJobBuilder_.getMessage(); } } /** - * - * *
      * The latest backfill job that was initiated for the stream object.
      * 
@@ -2134,8 +1834,6 @@ public Builder setBackfillJob(com.google.cloud.datastream.v1.BackfillJob value) return this; } /** - * - * *
      * The latest backfill job that was initiated for the stream object.
      * 
@@ -2154,8 +1852,6 @@ public Builder setBackfillJob( return this; } /** - * - * *
      * The latest backfill job that was initiated for the stream object.
      * 
@@ -2166,9 +1862,7 @@ public Builder mergeBackfillJob(com.google.cloud.datastream.v1.BackfillJob value if (backfillJobBuilder_ == null) { if (backfillJob_ != null) { backfillJob_ = - com.google.cloud.datastream.v1.BackfillJob.newBuilder(backfillJob_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.datastream.v1.BackfillJob.newBuilder(backfillJob_).mergeFrom(value).buildPartial(); } else { backfillJob_ = value; } @@ -2180,8 +1874,6 @@ public Builder mergeBackfillJob(com.google.cloud.datastream.v1.BackfillJob value return this; } /** - * - * *
      * The latest backfill job that was initiated for the stream object.
      * 
@@ -2200,8 +1892,6 @@ public Builder clearBackfillJob() { return this; } /** - * - * *
      * The latest backfill job that was initiated for the stream object.
      * 
@@ -2209,13 +1899,11 @@ public Builder clearBackfillJob() { * .google.cloud.datastream.v1.BackfillJob backfill_job = 7; */ public com.google.cloud.datastream.v1.BackfillJob.Builder getBackfillJobBuilder() { - + onChanged(); return getBackfillJobFieldBuilder().getBuilder(); } /** - * - * *
      * The latest backfill job that was initiated for the stream object.
      * 
@@ -2226,14 +1914,11 @@ public com.google.cloud.datastream.v1.BackfillJobOrBuilder getBackfillJobOrBuild if (backfillJobBuilder_ != null) { return backfillJobBuilder_.getMessageOrBuilder(); } else { - return backfillJob_ == null - ? com.google.cloud.datastream.v1.BackfillJob.getDefaultInstance() - : backfillJob_; + return backfillJob_ == null ? + com.google.cloud.datastream.v1.BackfillJob.getDefaultInstance() : backfillJob_; } } /** - * - * *
      * The latest backfill job that was initiated for the stream object.
      * 
@@ -2241,17 +1926,14 @@ public com.google.cloud.datastream.v1.BackfillJobOrBuilder getBackfillJobOrBuild * .google.cloud.datastream.v1.BackfillJob backfill_job = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.BackfillJob, - com.google.cloud.datastream.v1.BackfillJob.Builder, - com.google.cloud.datastream.v1.BackfillJobOrBuilder> + com.google.cloud.datastream.v1.BackfillJob, com.google.cloud.datastream.v1.BackfillJob.Builder, com.google.cloud.datastream.v1.BackfillJobOrBuilder> getBackfillJobFieldBuilder() { if (backfillJobBuilder_ == null) { - backfillJobBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.BackfillJob, - com.google.cloud.datastream.v1.BackfillJob.Builder, - com.google.cloud.datastream.v1.BackfillJobOrBuilder>( - getBackfillJob(), getParentForChildren(), isClean()); + backfillJobBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1.BackfillJob, com.google.cloud.datastream.v1.BackfillJob.Builder, com.google.cloud.datastream.v1.BackfillJobOrBuilder>( + getBackfillJob(), + getParentForChildren(), + isClean()); backfillJob_ = null; } return backfillJobBuilder_; @@ -2259,47 +1941,34 @@ public com.google.cloud.datastream.v1.BackfillJobOrBuilder getBackfillJobOrBuild private com.google.cloud.datastream.v1.SourceObjectIdentifier sourceObject_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.SourceObjectIdentifier, - com.google.cloud.datastream.v1.SourceObjectIdentifier.Builder, - com.google.cloud.datastream.v1.SourceObjectIdentifierOrBuilder> - sourceObjectBuilder_; + com.google.cloud.datastream.v1.SourceObjectIdentifier, com.google.cloud.datastream.v1.SourceObjectIdentifier.Builder, com.google.cloud.datastream.v1.SourceObjectIdentifierOrBuilder> sourceObjectBuilder_; /** - * - * *
      * The object identifier in the data source.
      * 
* * .google.cloud.datastream.v1.SourceObjectIdentifier source_object = 8; - * * @return Whether the sourceObject field is set. */ public boolean hasSourceObject() { return sourceObjectBuilder_ != null || sourceObject_ != null; } /** - * - * *
      * The object identifier in the data source.
      * 
* * .google.cloud.datastream.v1.SourceObjectIdentifier source_object = 8; - * * @return The sourceObject. */ public com.google.cloud.datastream.v1.SourceObjectIdentifier getSourceObject() { if (sourceObjectBuilder_ == null) { - return sourceObject_ == null - ? com.google.cloud.datastream.v1.SourceObjectIdentifier.getDefaultInstance() - : sourceObject_; + return sourceObject_ == null ? com.google.cloud.datastream.v1.SourceObjectIdentifier.getDefaultInstance() : sourceObject_; } else { return sourceObjectBuilder_.getMessage(); } } /** - * - * *
      * The object identifier in the data source.
      * 
@@ -2320,8 +1989,6 @@ public Builder setSourceObject(com.google.cloud.datastream.v1.SourceObjectIdenti return this; } /** - * - * *
      * The object identifier in the data source.
      * 
@@ -2340,8 +2007,6 @@ public Builder setSourceObject( return this; } /** - * - * *
      * The object identifier in the data source.
      * 
@@ -2352,9 +2017,7 @@ public Builder mergeSourceObject(com.google.cloud.datastream.v1.SourceObjectIden if (sourceObjectBuilder_ == null) { if (sourceObject_ != null) { sourceObject_ = - com.google.cloud.datastream.v1.SourceObjectIdentifier.newBuilder(sourceObject_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.datastream.v1.SourceObjectIdentifier.newBuilder(sourceObject_).mergeFrom(value).buildPartial(); } else { sourceObject_ = value; } @@ -2366,8 +2029,6 @@ public Builder mergeSourceObject(com.google.cloud.datastream.v1.SourceObjectIden return this; } /** - * - * *
      * The object identifier in the data source.
      * 
@@ -2386,8 +2047,6 @@ public Builder clearSourceObject() { return this; } /** - * - * *
      * The object identifier in the data source.
      * 
@@ -2395,32 +2054,26 @@ public Builder clearSourceObject() { * .google.cloud.datastream.v1.SourceObjectIdentifier source_object = 8; */ public com.google.cloud.datastream.v1.SourceObjectIdentifier.Builder getSourceObjectBuilder() { - + onChanged(); return getSourceObjectFieldBuilder().getBuilder(); } /** - * - * *
      * The object identifier in the data source.
      * 
* * .google.cloud.datastream.v1.SourceObjectIdentifier source_object = 8; */ - public com.google.cloud.datastream.v1.SourceObjectIdentifierOrBuilder - getSourceObjectOrBuilder() { + public com.google.cloud.datastream.v1.SourceObjectIdentifierOrBuilder getSourceObjectOrBuilder() { if (sourceObjectBuilder_ != null) { return sourceObjectBuilder_.getMessageOrBuilder(); } else { - return sourceObject_ == null - ? com.google.cloud.datastream.v1.SourceObjectIdentifier.getDefaultInstance() - : sourceObject_; + return sourceObject_ == null ? + com.google.cloud.datastream.v1.SourceObjectIdentifier.getDefaultInstance() : sourceObject_; } } /** - * - * *
      * The object identifier in the data source.
      * 
@@ -2428,24 +2081,21 @@ public com.google.cloud.datastream.v1.SourceObjectIdentifier.Builder getSourceOb * .google.cloud.datastream.v1.SourceObjectIdentifier source_object = 8; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.SourceObjectIdentifier, - com.google.cloud.datastream.v1.SourceObjectIdentifier.Builder, - com.google.cloud.datastream.v1.SourceObjectIdentifierOrBuilder> + com.google.cloud.datastream.v1.SourceObjectIdentifier, com.google.cloud.datastream.v1.SourceObjectIdentifier.Builder, com.google.cloud.datastream.v1.SourceObjectIdentifierOrBuilder> getSourceObjectFieldBuilder() { if (sourceObjectBuilder_ == null) { - sourceObjectBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.SourceObjectIdentifier, - com.google.cloud.datastream.v1.SourceObjectIdentifier.Builder, - com.google.cloud.datastream.v1.SourceObjectIdentifierOrBuilder>( - getSourceObject(), getParentForChildren(), isClean()); + sourceObjectBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1.SourceObjectIdentifier, com.google.cloud.datastream.v1.SourceObjectIdentifier.Builder, com.google.cloud.datastream.v1.SourceObjectIdentifierOrBuilder>( + getSourceObject(), + getParentForChildren(), + isClean()); sourceObject_ = null; } return sourceObjectBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2455,12 +2105,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1.StreamObject) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1.StreamObject) private static final com.google.cloud.datastream.v1.StreamObject DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1.StreamObject(); } @@ -2469,16 +2119,16 @@ public static com.google.cloud.datastream.v1.StreamObject getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StreamObject parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new StreamObject(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StreamObject parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StreamObject(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2493,4 +2143,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datastream.v1.StreamObject getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StreamObjectName.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StreamObjectName.java similarity index 100% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StreamObjectName.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StreamObjectName.java diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StreamObjectOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StreamObjectOrBuilder.java similarity index 69% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StreamObjectOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StreamObjectOrBuilder.java index b99264eb..1551449c 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StreamObjectOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StreamObjectOrBuilder.java @@ -1,242 +1,169 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1/datastream_resources.proto package com.google.cloud.datastream.v1; -public interface StreamObjectOrBuilder - extends +public interface StreamObjectOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1.StreamObject) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The object resource's name.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. The object resource's name.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Output only. The creation time of the object.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Output only. The creation time of the object.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Output only. The creation time of the object.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * Output only. The last update time of the object.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * Output only. The last update time of the object.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * Output only. The last update time of the object.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
    * Required. Display name.
    * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * Required. Display name.
    * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * Output only. Active errors on the object.
    * 
* - * - * repeated .google.cloud.datastream.v1.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List getErrorsList(); + java.util.List + getErrorsList(); /** - * - * *
    * Output only. Active errors on the object.
    * 
* - * - * repeated .google.cloud.datastream.v1.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.datastream.v1.Error getErrors(int index); /** - * - * *
    * Output only. Active errors on the object.
    * 
* - * - * repeated .google.cloud.datastream.v1.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ int getErrorsCount(); /** - * - * *
    * Output only. Active errors on the object.
    * 
* - * - * repeated .google.cloud.datastream.v1.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List getErrorsOrBuilderList(); + java.util.List + getErrorsOrBuilderList(); /** - * - * *
    * Output only. Active errors on the object.
    * 
* - * - * repeated .google.cloud.datastream.v1.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - com.google.cloud.datastream.v1.ErrorOrBuilder getErrorsOrBuilder(int index); + com.google.cloud.datastream.v1.ErrorOrBuilder getErrorsOrBuilder( + int index); /** - * - * *
    * The latest backfill job that was initiated for the stream object.
    * 
* * .google.cloud.datastream.v1.BackfillJob backfill_job = 7; - * * @return Whether the backfillJob field is set. */ boolean hasBackfillJob(); /** - * - * *
    * The latest backfill job that was initiated for the stream object.
    * 
* * .google.cloud.datastream.v1.BackfillJob backfill_job = 7; - * * @return The backfillJob. */ com.google.cloud.datastream.v1.BackfillJob getBackfillJob(); /** - * - * *
    * The latest backfill job that was initiated for the stream object.
    * 
@@ -246,32 +173,24 @@ public interface StreamObjectOrBuilder com.google.cloud.datastream.v1.BackfillJobOrBuilder getBackfillJobOrBuilder(); /** - * - * *
    * The object identifier in the data source.
    * 
* * .google.cloud.datastream.v1.SourceObjectIdentifier source_object = 8; - * * @return Whether the sourceObject field is set. */ boolean hasSourceObject(); /** - * - * *
    * The object identifier in the data source.
    * 
* * .google.cloud.datastream.v1.SourceObjectIdentifier source_object = 8; - * * @return The sourceObject. */ com.google.cloud.datastream.v1.SourceObjectIdentifier getSourceObject(); /** - * - * *
    * The object identifier in the data source.
    * 
diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StreamOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StreamOrBuilder.java similarity index 68% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StreamOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StreamOrBuilder.java index 0224be64..7a4ed6ea 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StreamOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StreamOrBuilder.java @@ -1,132 +1,87 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1/datastream_resources.proto package com.google.cloud.datastream.v1; -public interface StreamOrBuilder - extends +public interface StreamOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1.Stream) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The stream's name.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. The stream's name.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Output only. The creation time of the stream.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Output only. The creation time of the stream.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Output only. The creation time of the stream.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * Output only. The last update time of the stream.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * Output only. The last update time of the stream.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * Output only. The last update time of the stream.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
    * Labels.
    * 
@@ -135,31 +90,30 @@ public interface StreamOrBuilder */ int getLabelsCount(); /** - * - * *
    * Labels.
    * 
* * map<string, string> labels = 4; */ - boolean containsLabels(java.lang.String key); - /** Use {@link #getLabelsMap()} instead. */ + boolean containsLabels( + java.lang.String key); + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Deprecated - java.util.Map getLabels(); + java.util.Map + getLabels(); /** - * - * *
    * Labels.
    * 
* * map<string, string> labels = 4; */ - java.util.Map getLabelsMap(); + java.util.Map + getLabelsMap(); /** - * - * *
    * Labels.
    * 
@@ -168,182 +122,135 @@ public interface StreamOrBuilder */ /* nullable */ - java.lang.String getLabelsOrDefault( +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue); +java.lang.String defaultValue); /** - * - * *
    * Labels.
    * 
* * map<string, string> labels = 4; */ - java.lang.String getLabelsOrThrow(java.lang.String key); + + java.lang.String getLabelsOrThrow( + java.lang.String key); /** - * - * *
    * Required. Display name.
    * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * Required. Display name.
    * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * Required. Source connection profile configuration.
    * 
* - * - * .google.cloud.datastream.v1.SourceConfig source_config = 6 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datastream.v1.SourceConfig source_config = 6 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the sourceConfig field is set. */ boolean hasSourceConfig(); /** - * - * *
    * Required. Source connection profile configuration.
    * 
* - * - * .google.cloud.datastream.v1.SourceConfig source_config = 6 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datastream.v1.SourceConfig source_config = 6 [(.google.api.field_behavior) = REQUIRED]; * @return The sourceConfig. */ com.google.cloud.datastream.v1.SourceConfig getSourceConfig(); /** - * - * *
    * Required. Source connection profile configuration.
    * 
* - * - * .google.cloud.datastream.v1.SourceConfig source_config = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1.SourceConfig source_config = 6 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.datastream.v1.SourceConfigOrBuilder getSourceConfigOrBuilder(); /** - * - * *
    * Required. Destination connection profile configuration.
    * 
* - * - * .google.cloud.datastream.v1.DestinationConfig destination_config = 7 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datastream.v1.DestinationConfig destination_config = 7 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the destinationConfig field is set. */ boolean hasDestinationConfig(); /** - * - * *
    * Required. Destination connection profile configuration.
    * 
* - * - * .google.cloud.datastream.v1.DestinationConfig destination_config = 7 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datastream.v1.DestinationConfig destination_config = 7 [(.google.api.field_behavior) = REQUIRED]; * @return The destinationConfig. */ com.google.cloud.datastream.v1.DestinationConfig getDestinationConfig(); /** - * - * *
    * Required. Destination connection profile configuration.
    * 
* - * - * .google.cloud.datastream.v1.DestinationConfig destination_config = 7 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1.DestinationConfig destination_config = 7 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.datastream.v1.DestinationConfigOrBuilder getDestinationConfigOrBuilder(); /** - * - * *
    * The state of the stream.
    * 
* * .google.cloud.datastream.v1.Stream.State state = 8; - * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * The state of the stream.
    * 
* * .google.cloud.datastream.v1.Stream.State state = 8; - * * @return The state. */ com.google.cloud.datastream.v1.Stream.State getState(); /** - * - * *
    * Automatically backfill objects included in the stream source
    * configuration. Specific objects can be excluded.
    * 
* * .google.cloud.datastream.v1.Stream.BackfillAllStrategy backfill_all = 101; - * * @return Whether the backfillAll field is set. */ boolean hasBackfillAll(); /** - * - * *
    * Automatically backfill objects included in the stream source
    * configuration. Specific objects can be excluded.
    * 
* * .google.cloud.datastream.v1.Stream.BackfillAllStrategy backfill_all = 101; - * * @return The backfillAll. */ com.google.cloud.datastream.v1.Stream.BackfillAllStrategy getBackfillAll(); /** - * - * *
    * Automatically backfill objects included in the stream source
    * configuration. Specific objects can be excluded.
@@ -354,32 +261,24 @@ java.lang.String getLabelsOrDefault(
   com.google.cloud.datastream.v1.Stream.BackfillAllStrategyOrBuilder getBackfillAllOrBuilder();
 
   /**
-   *
-   *
    * 
    * Do not automatically backfill any objects.
    * 
* * .google.cloud.datastream.v1.Stream.BackfillNoneStrategy backfill_none = 102; - * * @return Whether the backfillNone field is set. */ boolean hasBackfillNone(); /** - * - * *
    * Do not automatically backfill any objects.
    * 
* * .google.cloud.datastream.v1.Stream.BackfillNoneStrategy backfill_none = 102; - * * @return The backfillNone. */ com.google.cloud.datastream.v1.Stream.BackfillNoneStrategy getBackfillNone(); /** - * - * *
    * Do not automatically backfill any objects.
    * 
@@ -389,69 +288,50 @@ java.lang.String getLabelsOrDefault( com.google.cloud.datastream.v1.Stream.BackfillNoneStrategyOrBuilder getBackfillNoneOrBuilder(); /** - * - * *
    * Output only. Errors on the Stream.
    * 
* - * - * repeated .google.cloud.datastream.v1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List getErrorsList(); + java.util.List + getErrorsList(); /** - * - * *
    * Output only. Errors on the Stream.
    * 
* - * - * repeated .google.cloud.datastream.v1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.datastream.v1.Error getErrors(int index); /** - * - * *
    * Output only. Errors on the Stream.
    * 
* - * - * repeated .google.cloud.datastream.v1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ int getErrorsCount(); /** - * - * *
    * Output only. Errors on the Stream.
    * 
* - * - * repeated .google.cloud.datastream.v1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List getErrorsOrBuilderList(); + java.util.List + getErrorsOrBuilderList(); /** - * - * *
    * Output only. Errors on the Stream.
    * 
* - * - * repeated .google.cloud.datastream.v1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - com.google.cloud.datastream.v1.ErrorOrBuilder getErrorsOrBuilder(int index); + com.google.cloud.datastream.v1.ErrorOrBuilder getErrorsOrBuilder( + int index); /** - * - * *
    * Immutable. A reference to a KMS encryption key.
    * If provided, it will be used to encrypt the data.
@@ -459,16 +339,11 @@ java.lang.String getLabelsOrDefault(
    * encryption key provisioned through KMS.
    * 
* - * - * optional string customer_managed_encryption_key = 10 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * optional string customer_managed_encryption_key = 10 [(.google.api.field_behavior) = IMMUTABLE]; * @return Whether the customerManagedEncryptionKey field is set. */ boolean hasCustomerManagedEncryptionKey(); /** - * - * *
    * Immutable. A reference to a KMS encryption key.
    * If provided, it will be used to encrypt the data.
@@ -476,16 +351,11 @@ java.lang.String getLabelsOrDefault(
    * encryption key provisioned through KMS.
    * 
* - * - * optional string customer_managed_encryption_key = 10 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * optional string customer_managed_encryption_key = 10 [(.google.api.field_behavior) = IMMUTABLE]; * @return The customerManagedEncryptionKey. */ java.lang.String getCustomerManagedEncryptionKey(); /** - * - * *
    * Immutable. A reference to a KMS encryption key.
    * If provided, it will be used to encrypt the data.
@@ -493,13 +363,11 @@ java.lang.String getLabelsOrDefault(
    * encryption key provisioned through KMS.
    * 
* - * - * optional string customer_managed_encryption_key = 10 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * optional string customer_managed_encryption_key = 10 [(.google.api.field_behavior) = IMMUTABLE]; * @return The bytes for customerManagedEncryptionKey. */ - com.google.protobuf.ByteString getCustomerManagedEncryptionKeyBytes(); + com.google.protobuf.ByteString + getCustomerManagedEncryptionKeyBytes(); public com.google.cloud.datastream.v1.Stream.BackfillStrategyCase getBackfillStrategyCase(); } diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/UpdateConnectionProfileRequest.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/UpdateConnectionProfileRequest.java similarity index 72% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/UpdateConnectionProfileRequest.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/UpdateConnectionProfileRequest.java index fba22a37..2df6502c 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/UpdateConnectionProfileRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/UpdateConnectionProfileRequest.java @@ -1,58 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1/datastream.proto package com.google.cloud.datastream.v1; /** - * - * *
  * Connection profile update message.
  * 
* * Protobuf type {@code google.cloud.datastream.v1.UpdateConnectionProfileRequest} */ -public final class UpdateConnectionProfileRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateConnectionProfileRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1.UpdateConnectionProfileRequest) UpdateConnectionProfileRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateConnectionProfileRequest.newBuilder() to construct. - private UpdateConnectionProfileRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private UpdateConnectionProfileRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateConnectionProfileRequest() { requestId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateConnectionProfileRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private UpdateConnectionProfileRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,61 +53,55 @@ private UpdateConnectionProfileRequest( case 0: done = true; break; - case 10: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); } - case 18: - { - com.google.cloud.datastream.v1.ConnectionProfile.Builder subBuilder = null; - if (connectionProfile_ != null) { - subBuilder = connectionProfile_.toBuilder(); - } - connectionProfile_ = - input.readMessage( - com.google.cloud.datastream.v1.ConnectionProfile.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(connectionProfile_); - connectionProfile_ = subBuilder.buildPartial(); - } - - break; + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - requestId_ = s; - break; - } - case 32: - { - validateOnly_ = input.readBool(); - break; + break; + } + case 18: { + com.google.cloud.datastream.v1.ConnectionProfile.Builder subBuilder = null; + if (connectionProfile_ != null) { + subBuilder = connectionProfile_.toBuilder(); } - case 40: - { - force_ = input.readBool(); - break; + connectionProfile_ = input.readMessage(com.google.cloud.datastream.v1.ConnectionProfile.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(connectionProfile_); + connectionProfile_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + requestId_ = s; + break; + } + case 32: { + + validateOnly_ = input.readBool(); + break; + } + case 40: { + + force_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -133,33 +109,29 @@ private UpdateConnectionProfileRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_UpdateConnectionProfileRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_UpdateConnectionProfileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_UpdateConnectionProfileRequest_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_UpdateConnectionProfileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.UpdateConnectionProfileRequest.class, - com.google.cloud.datastream.v1.UpdateConnectionProfileRequest.Builder.class); + com.google.cloud.datastream.v1.UpdateConnectionProfileRequest.class, com.google.cloud.datastream.v1.UpdateConnectionProfileRequest.Builder.class); } public static final int UPDATE_MASK_FIELD_NUMBER = 1; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * ConnectionProfile resource by the update.
@@ -168,9 +140,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the updateMask field is set. */ @java.lang.Override @@ -178,8 +148,6 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * ConnectionProfile resource by the update.
@@ -188,9 +156,7 @@ public boolean hasUpdateMask() {
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return The updateMask. */ @java.lang.Override @@ -198,8 +164,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * ConnectionProfile resource by the update.
@@ -208,8 +172,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -219,16 +182,11 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { public static final int CONNECTION_PROFILE_FIELD_NUMBER = 2; private com.google.cloud.datastream.v1.ConnectionProfile connectionProfile_; /** - * - * *
    * Required. The connection profile to update.
    * 
* - * - * .google.cloud.datastream.v1.ConnectionProfile connection_profile = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datastream.v1.ConnectionProfile connection_profile = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the connectionProfile field is set. */ @java.lang.Override @@ -236,34 +194,23 @@ public boolean hasConnectionProfile() { return connectionProfile_ != null; } /** - * - * *
    * Required. The connection profile to update.
    * 
* - * - * .google.cloud.datastream.v1.ConnectionProfile connection_profile = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datastream.v1.ConnectionProfile connection_profile = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The connectionProfile. */ @java.lang.Override public com.google.cloud.datastream.v1.ConnectionProfile getConnectionProfile() { - return connectionProfile_ == null - ? com.google.cloud.datastream.v1.ConnectionProfile.getDefaultInstance() - : connectionProfile_; + return connectionProfile_ == null ? com.google.cloud.datastream.v1.ConnectionProfile.getDefaultInstance() : connectionProfile_; } /** - * - * *
    * Required. The connection profile to update.
    * 
* - * - * .google.cloud.datastream.v1.ConnectionProfile connection_profile = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1.ConnectionProfile connection_profile = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.datastream.v1.ConnectionProfileOrBuilder getConnectionProfileOrBuilder() { @@ -273,8 +220,6 @@ public com.google.cloud.datastream.v1.ConnectionProfileOrBuilder getConnectionPr public static final int REQUEST_ID_FIELD_NUMBER = 3; private volatile java.lang.Object requestId_; /** - * - * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -290,7 +235,6 @@ public com.google.cloud.datastream.v1.ConnectionProfileOrBuilder getConnectionPr
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -299,15 +243,14 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** - * - * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -323,15 +266,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -342,15 +286,12 @@ public com.google.protobuf.ByteString getRequestIdBytes() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; private boolean validateOnly_; /** - * - * *
    * Optional. Only validate the connection profile, but don't update any resources.
    * The default is false.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -361,14 +302,11 @@ public boolean getValidateOnly() { public static final int FORCE_FIELD_NUMBER = 5; private boolean force_; /** - * - * *
    * Optional. Update the connection profile without validating it.
    * 
* * bool force = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The force. */ @java.lang.Override @@ -377,7 +315,6 @@ public boolean getForce() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -389,7 +326,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()); } @@ -415,19 +353,23 @@ 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 (connectionProfile_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getConnectionProfile()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getConnectionProfile()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, requestId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, validateOnly_); } if (force_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, force_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, force_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -437,25 +379,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.datastream.v1.UpdateConnectionProfileRequest)) { return super.equals(obj); } - com.google.cloud.datastream.v1.UpdateConnectionProfileRequest other = - (com.google.cloud.datastream.v1.UpdateConnectionProfileRequest) obj; + com.google.cloud.datastream.v1.UpdateConnectionProfileRequest other = (com.google.cloud.datastream.v1.UpdateConnectionProfileRequest) obj; if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (hasConnectionProfile() != other.hasConnectionProfile()) return false; if (hasConnectionProfile()) { - if (!getConnectionProfile().equals(other.getConnectionProfile())) return false; - } - if (!getRequestId().equals(other.getRequestId())) return false; - if (getValidateOnly() != other.getValidateOnly()) return false; - if (getForce() != other.getForce()) return false; + if (!getConnectionProfile() + .equals(other.getConnectionProfile())) return false; + } + if (!getRequestId() + .equals(other.getRequestId())) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; + if (getForce() + != other.getForce()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -478,136 +424,128 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().hashCode(); hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getValidateOnly()); hash = (37 * hash) + FORCE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getForce()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getForce()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.datastream.v1.UpdateConnectionProfileRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.UpdateConnectionProfileRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.UpdateConnectionProfileRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.UpdateConnectionProfileRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.UpdateConnectionProfileRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.UpdateConnectionProfileRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1.UpdateConnectionProfileRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.UpdateConnectionProfileRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.UpdateConnectionProfileRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1.UpdateConnectionProfileRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.UpdateConnectionProfileRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.UpdateConnectionProfileRequest 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.datastream.v1.UpdateConnectionProfileRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.UpdateConnectionProfileRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datastream.v1.UpdateConnectionProfileRequest prototype) { + public static Builder newBuilder(com.google.cloud.datastream.v1.UpdateConnectionProfileRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Connection profile update message.
    * 
* * Protobuf type {@code google.cloud.datastream.v1.UpdateConnectionProfileRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1.UpdateConnectionProfileRequest) com.google.cloud.datastream.v1.UpdateConnectionProfileRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_UpdateConnectionProfileRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_UpdateConnectionProfileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_UpdateConnectionProfileRequest_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_UpdateConnectionProfileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.UpdateConnectionProfileRequest.class, - com.google.cloud.datastream.v1.UpdateConnectionProfileRequest.Builder.class); + com.google.cloud.datastream.v1.UpdateConnectionProfileRequest.class, com.google.cloud.datastream.v1.UpdateConnectionProfileRequest.Builder.class); } // Construct using com.google.cloud.datastream.v1.UpdateConnectionProfileRequest.newBuilder() @@ -615,15 +553,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -649,14 +588,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_UpdateConnectionProfileRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_UpdateConnectionProfileRequest_descriptor; } @java.lang.Override - public com.google.cloud.datastream.v1.UpdateConnectionProfileRequest - getDefaultInstanceForType() { + public com.google.cloud.datastream.v1.UpdateConnectionProfileRequest getDefaultInstanceForType() { return com.google.cloud.datastream.v1.UpdateConnectionProfileRequest.getDefaultInstance(); } @@ -671,8 +609,7 @@ public com.google.cloud.datastream.v1.UpdateConnectionProfileRequest build() { @java.lang.Override public com.google.cloud.datastream.v1.UpdateConnectionProfileRequest buildPartial() { - com.google.cloud.datastream.v1.UpdateConnectionProfileRequest result = - new com.google.cloud.datastream.v1.UpdateConnectionProfileRequest(this); + com.google.cloud.datastream.v1.UpdateConnectionProfileRequest result = new com.google.cloud.datastream.v1.UpdateConnectionProfileRequest(this); if (updateMaskBuilder_ == null) { result.updateMask_ = updateMask_; } else { @@ -694,39 +631,38 @@ public com.google.cloud.datastream.v1.UpdateConnectionProfileRequest buildPartia public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1.UpdateConnectionProfileRequest) { - return mergeFrom((com.google.cloud.datastream.v1.UpdateConnectionProfileRequest) other); + return mergeFrom((com.google.cloud.datastream.v1.UpdateConnectionProfileRequest)other); } else { super.mergeFrom(other); return this; @@ -734,9 +670,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datastream.v1.UpdateConnectionProfileRequest other) { - if (other - == com.google.cloud.datastream.v1.UpdateConnectionProfileRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.datastream.v1.UpdateConnectionProfileRequest.getDefaultInstance()) return this; if (other.hasUpdateMask()) { mergeUpdateMask(other.getUpdateMask()); } @@ -772,9 +706,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datastream.v1.UpdateConnectionProfileRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datastream.v1.UpdateConnectionProfileRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -786,13 +718,8 @@ public Builder mergeFrom( 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_; /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * ConnectionProfile resource by the update.
@@ -801,17 +728,13 @@ public Builder mergeFrom(
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * ConnectionProfile resource by the update.
@@ -820,23 +743,17 @@ public boolean hasUpdateMask() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; * @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(); } } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * ConnectionProfile resource by the update.
@@ -845,8 +762,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -862,8 +778,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * ConnectionProfile resource by the update.
@@ -872,10 +786,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); onChanged(); @@ -886,8 +800,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * ConnectionProfile resource by the update.
@@ -896,14 +808,13 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -915,8 +826,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * ConnectionProfile resource by the update.
@@ -925,8 +834,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearUpdateMask() { if (updateMaskBuilder_ == null) { @@ -940,8 +848,6 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * ConnectionProfile resource by the update.
@@ -950,17 +856,14 @@ public Builder clearUpdateMask() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * ConnectionProfile resource by the update.
@@ -969,21 +872,17 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ 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_; } } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * ConnectionProfile resource by the update.
@@ -992,21 +891,17 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ 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_; @@ -1014,58 +909,39 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { private com.google.cloud.datastream.v1.ConnectionProfile connectionProfile_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.ConnectionProfile, - com.google.cloud.datastream.v1.ConnectionProfile.Builder, - com.google.cloud.datastream.v1.ConnectionProfileOrBuilder> - connectionProfileBuilder_; + com.google.cloud.datastream.v1.ConnectionProfile, com.google.cloud.datastream.v1.ConnectionProfile.Builder, com.google.cloud.datastream.v1.ConnectionProfileOrBuilder> connectionProfileBuilder_; /** - * - * *
      * Required. The connection profile to update.
      * 
* - * - * .google.cloud.datastream.v1.ConnectionProfile connection_profile = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datastream.v1.ConnectionProfile connection_profile = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the connectionProfile field is set. */ public boolean hasConnectionProfile() { return connectionProfileBuilder_ != null || connectionProfile_ != null; } /** - * - * *
      * Required. The connection profile to update.
      * 
* - * - * .google.cloud.datastream.v1.ConnectionProfile connection_profile = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datastream.v1.ConnectionProfile connection_profile = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The connectionProfile. */ public com.google.cloud.datastream.v1.ConnectionProfile getConnectionProfile() { if (connectionProfileBuilder_ == null) { - return connectionProfile_ == null - ? com.google.cloud.datastream.v1.ConnectionProfile.getDefaultInstance() - : connectionProfile_; + return connectionProfile_ == null ? com.google.cloud.datastream.v1.ConnectionProfile.getDefaultInstance() : connectionProfile_; } else { return connectionProfileBuilder_.getMessage(); } } /** - * - * *
      * Required. The connection profile to update.
      * 
* - * - * .google.cloud.datastream.v1.ConnectionProfile connection_profile = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1.ConnectionProfile connection_profile = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setConnectionProfile(com.google.cloud.datastream.v1.ConnectionProfile value) { if (connectionProfileBuilder_ == null) { @@ -1081,15 +957,11 @@ public Builder setConnectionProfile(com.google.cloud.datastream.v1.ConnectionPro return this; } /** - * - * *
      * Required. The connection profile to update.
      * 
* - * - * .google.cloud.datastream.v1.ConnectionProfile connection_profile = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1.ConnectionProfile connection_profile = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setConnectionProfile( com.google.cloud.datastream.v1.ConnectionProfile.Builder builderForValue) { @@ -1103,23 +975,17 @@ public Builder setConnectionProfile( return this; } /** - * - * *
      * Required. The connection profile to update.
      * 
* - * - * .google.cloud.datastream.v1.ConnectionProfile connection_profile = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1.ConnectionProfile connection_profile = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeConnectionProfile(com.google.cloud.datastream.v1.ConnectionProfile value) { if (connectionProfileBuilder_ == null) { if (connectionProfile_ != null) { connectionProfile_ = - com.google.cloud.datastream.v1.ConnectionProfile.newBuilder(connectionProfile_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.datastream.v1.ConnectionProfile.newBuilder(connectionProfile_).mergeFrom(value).buildPartial(); } else { connectionProfile_ = value; } @@ -1131,15 +997,11 @@ public Builder mergeConnectionProfile(com.google.cloud.datastream.v1.ConnectionP return this; } /** - * - * *
      * Required. The connection profile to update.
      * 
* - * - * .google.cloud.datastream.v1.ConnectionProfile connection_profile = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1.ConnectionProfile connection_profile = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearConnectionProfile() { if (connectionProfileBuilder_ == null) { @@ -1153,65 +1015,48 @@ public Builder clearConnectionProfile() { return this; } /** - * - * *
      * Required. The connection profile to update.
      * 
* - * - * .google.cloud.datastream.v1.ConnectionProfile connection_profile = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1.ConnectionProfile connection_profile = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.datastream.v1.ConnectionProfile.Builder getConnectionProfileBuilder() { - + onChanged(); return getConnectionProfileFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The connection profile to update.
      * 
* - * - * .google.cloud.datastream.v1.ConnectionProfile connection_profile = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1.ConnectionProfile connection_profile = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.datastream.v1.ConnectionProfileOrBuilder - getConnectionProfileOrBuilder() { + public com.google.cloud.datastream.v1.ConnectionProfileOrBuilder getConnectionProfileOrBuilder() { if (connectionProfileBuilder_ != null) { return connectionProfileBuilder_.getMessageOrBuilder(); } else { - return connectionProfile_ == null - ? com.google.cloud.datastream.v1.ConnectionProfile.getDefaultInstance() - : connectionProfile_; + return connectionProfile_ == null ? + com.google.cloud.datastream.v1.ConnectionProfile.getDefaultInstance() : connectionProfile_; } } /** - * - * *
      * Required. The connection profile to update.
      * 
* - * - * .google.cloud.datastream.v1.ConnectionProfile connection_profile = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1.ConnectionProfile connection_profile = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.ConnectionProfile, - com.google.cloud.datastream.v1.ConnectionProfile.Builder, - com.google.cloud.datastream.v1.ConnectionProfileOrBuilder> + com.google.cloud.datastream.v1.ConnectionProfile, com.google.cloud.datastream.v1.ConnectionProfile.Builder, com.google.cloud.datastream.v1.ConnectionProfileOrBuilder> getConnectionProfileFieldBuilder() { if (connectionProfileBuilder_ == null) { - connectionProfileBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.ConnectionProfile, - com.google.cloud.datastream.v1.ConnectionProfile.Builder, - com.google.cloud.datastream.v1.ConnectionProfileOrBuilder>( - getConnectionProfile(), getParentForChildren(), isClean()); + connectionProfileBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1.ConnectionProfile, com.google.cloud.datastream.v1.ConnectionProfile.Builder, com.google.cloud.datastream.v1.ConnectionProfileOrBuilder>( + getConnectionProfile(), + getParentForChildren(), + isClean()); connectionProfile_ = null; } return connectionProfileBuilder_; @@ -1219,8 +1064,6 @@ public com.google.cloud.datastream.v1.ConnectionProfile.Builder getConnectionPro private java.lang.Object requestId_ = ""; /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1236,13 +1079,13 @@ public com.google.cloud.datastream.v1.ConnectionProfile.Builder getConnectionPro
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -1251,8 +1094,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1268,14 +1109,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -1283,8 +1125,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1300,22 +1140,20 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { + public Builder setRequestId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1331,18 +1169,15 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1358,32 +1193,29 @@ public Builder clearRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = value; onChanged(); return this; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * Optional. Only validate the connection profile, but don't update any resources.
      * The default is false.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -1391,53 +1223,44 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * Optional. Only validate the connection profile, but don't update any resources.
      * The default is false.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The validateOnly to set. * @return This builder for chaining. */ public Builder setValidateOnly(boolean value) { - + validateOnly_ = value; onChanged(); return this; } /** - * - * *
      * Optional. Only validate the connection profile, but don't update any resources.
      * The default is false.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { - + validateOnly_ = false; onChanged(); return this; } - private boolean force_; + private boolean force_ ; /** - * - * *
      * Optional. Update the connection profile without validating it.
      * 
* * bool force = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The force. */ @java.lang.Override @@ -1445,43 +1268,37 @@ public boolean getForce() { return force_; } /** - * - * *
      * Optional. Update the connection profile without validating it.
      * 
* * bool force = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The force to set. * @return This builder for chaining. */ public Builder setForce(boolean value) { - + force_ = value; onChanged(); return this; } /** - * - * *
      * Optional. Update the connection profile without validating it.
      * 
* * bool force = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearForce() { - + force_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1491,13 +1308,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1.UpdateConnectionProfileRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1.UpdateConnectionProfileRequest) - private static final com.google.cloud.datastream.v1.UpdateConnectionProfileRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.datastream.v1.UpdateConnectionProfileRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1.UpdateConnectionProfileRequest(); } @@ -1506,16 +1322,16 @@ public static com.google.cloud.datastream.v1.UpdateConnectionProfileRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateConnectionProfileRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateConnectionProfileRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateConnectionProfileRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpdateConnectionProfileRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1530,4 +1346,6 @@ public com.google.protobuf.Parser getParserForTy public com.google.cloud.datastream.v1.UpdateConnectionProfileRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/UpdateConnectionProfileRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/UpdateConnectionProfileRequestOrBuilder.java similarity index 77% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/UpdateConnectionProfileRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/UpdateConnectionProfileRequestOrBuilder.java index cdd17316..585f35c1 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/UpdateConnectionProfileRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/UpdateConnectionProfileRequestOrBuilder.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/datastream/v1/datastream.proto package com.google.cloud.datastream.v1; -public interface UpdateConnectionProfileRequestOrBuilder - extends +public interface UpdateConnectionProfileRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1.UpdateConnectionProfileRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * ConnectionProfile resource by the update.
@@ -34,15 +16,11 @@ public interface UpdateConnectionProfileRequestOrBuilder
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * ConnectionProfile resource by the update.
@@ -51,15 +29,11 @@ public interface UpdateConnectionProfileRequestOrBuilder
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * ConnectionProfile resource by the update.
@@ -68,55 +42,38 @@ public interface UpdateConnectionProfileRequestOrBuilder
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); /** - * - * *
    * Required. The connection profile to update.
    * 
* - * - * .google.cloud.datastream.v1.ConnectionProfile connection_profile = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datastream.v1.ConnectionProfile connection_profile = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the connectionProfile field is set. */ boolean hasConnectionProfile(); /** - * - * *
    * Required. The connection profile to update.
    * 
* - * - * .google.cloud.datastream.v1.ConnectionProfile connection_profile = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datastream.v1.ConnectionProfile connection_profile = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The connectionProfile. */ com.google.cloud.datastream.v1.ConnectionProfile getConnectionProfile(); /** - * - * *
    * Required. The connection profile to update.
    * 
* - * - * .google.cloud.datastream.v1.ConnectionProfile connection_profile = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1.ConnectionProfile connection_profile = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.datastream.v1.ConnectionProfileOrBuilder getConnectionProfileOrBuilder(); /** - * - * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -132,13 +89,10 @@ public interface UpdateConnectionProfileRequestOrBuilder
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -154,34 +108,28 @@ public interface UpdateConnectionProfileRequestOrBuilder
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); /** - * - * *
    * Optional. Only validate the connection profile, but don't update any resources.
    * The default is false.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ boolean getValidateOnly(); /** - * - * *
    * Optional. Update the connection profile without validating it.
    * 
* * bool force = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The force. */ boolean getForce(); diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/UpdateStreamRequest.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/UpdateStreamRequest.java similarity index 73% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/UpdateStreamRequest.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/UpdateStreamRequest.java index bf1bf6f2..a7fc35f7 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/UpdateStreamRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/UpdateStreamRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1/datastream.proto package com.google.cloud.datastream.v1; /** - * - * *
  * Request message for updating a stream.
  * 
* * Protobuf type {@code google.cloud.datastream.v1.UpdateStreamRequest} */ -public final class UpdateStreamRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateStreamRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1.UpdateStreamRequest) UpdateStreamRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateStreamRequest.newBuilder() to construct. private UpdateStreamRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateStreamRequest() { requestId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateStreamRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private UpdateStreamRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,61 +53,55 @@ private UpdateStreamRequest( case 0: done = true; break; - case 10: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); } - case 18: - { - com.google.cloud.datastream.v1.Stream.Builder subBuilder = null; - if (stream_ != null) { - subBuilder = stream_.toBuilder(); - } - stream_ = - input.readMessage( - com.google.cloud.datastream.v1.Stream.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(stream_); - stream_ = subBuilder.buildPartial(); - } - - break; + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - requestId_ = s; - break; - } - case 32: - { - validateOnly_ = input.readBool(); - break; + break; + } + case 18: { + com.google.cloud.datastream.v1.Stream.Builder subBuilder = null; + if (stream_ != null) { + subBuilder = stream_.toBuilder(); } - case 40: - { - force_ = input.readBool(); - break; + stream_ = input.readMessage(com.google.cloud.datastream.v1.Stream.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(stream_); + stream_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + requestId_ = s; + break; + } + case 32: { + + validateOnly_ = input.readBool(); + break; + } + case 40: { + + force_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -132,33 +109,29 @@ private UpdateStreamRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_UpdateStreamRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_UpdateStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_UpdateStreamRequest_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_UpdateStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.UpdateStreamRequest.class, - com.google.cloud.datastream.v1.UpdateStreamRequest.Builder.class); + com.google.cloud.datastream.v1.UpdateStreamRequest.class, com.google.cloud.datastream.v1.UpdateStreamRequest.Builder.class); } public static final int UPDATE_MASK_FIELD_NUMBER = 1; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * stream resource by the update.
@@ -167,9 +140,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the updateMask field is set. */ @java.lang.Override @@ -177,8 +148,6 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * stream resource by the update.
@@ -187,9 +156,7 @@ public boolean hasUpdateMask() {
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return The updateMask. */ @java.lang.Override @@ -197,8 +164,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * stream resource by the update.
@@ -207,8 +172,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -218,15 +182,11 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { public static final int STREAM_FIELD_NUMBER = 2; private com.google.cloud.datastream.v1.Stream stream_; /** - * - * *
    * Required. The stream resource to update.
    * 
* - * .google.cloud.datastream.v1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datastream.v1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the stream field is set. */ @java.lang.Override @@ -234,15 +194,11 @@ public boolean hasStream() { return stream_ != null; } /** - * - * *
    * Required. The stream resource to update.
    * 
* - * .google.cloud.datastream.v1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datastream.v1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The stream. */ @java.lang.Override @@ -250,14 +206,11 @@ public com.google.cloud.datastream.v1.Stream getStream() { return stream_ == null ? com.google.cloud.datastream.v1.Stream.getDefaultInstance() : stream_; } /** - * - * *
    * Required. The stream resource to update.
    * 
* - * .google.cloud.datastream.v1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.datastream.v1.StreamOrBuilder getStreamOrBuilder() { @@ -267,8 +220,6 @@ public com.google.cloud.datastream.v1.StreamOrBuilder getStreamOrBuilder() { public static final int REQUEST_ID_FIELD_NUMBER = 3; private volatile java.lang.Object requestId_; /** - * - * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -284,7 +235,6 @@ public com.google.cloud.datastream.v1.StreamOrBuilder getStreamOrBuilder() {
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -293,15 +243,14 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** - * - * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -317,15 +266,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -336,15 +286,12 @@ public com.google.protobuf.ByteString getRequestIdBytes() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; private boolean validateOnly_; /** - * - * *
    * Optional. Only validate the stream with the changes, without actually updating it.
    * The default is false.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -355,14 +302,11 @@ public boolean getValidateOnly() { public static final int FORCE_FIELD_NUMBER = 5; private boolean force_; /** - * - * *
    * Optional. Update the stream without validating it.
    * 
* * bool force = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The force. */ @java.lang.Override @@ -371,7 +315,6 @@ public boolean getForce() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -383,7 +326,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()); } @@ -409,19 +353,23 @@ 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 (stream_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getStream()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getStream()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, requestId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, validateOnly_); } if (force_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, force_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, force_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -431,25 +379,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.datastream.v1.UpdateStreamRequest)) { return super.equals(obj); } - com.google.cloud.datastream.v1.UpdateStreamRequest other = - (com.google.cloud.datastream.v1.UpdateStreamRequest) obj; + com.google.cloud.datastream.v1.UpdateStreamRequest other = (com.google.cloud.datastream.v1.UpdateStreamRequest) obj; if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (hasStream() != other.hasStream()) return false; if (hasStream()) { - if (!getStream().equals(other.getStream())) return false; - } - if (!getRequestId().equals(other.getRequestId())) return false; - if (getValidateOnly() != other.getValidateOnly()) return false; - if (getForce() != other.getForce()) return false; + if (!getStream() + .equals(other.getStream())) return false; + } + if (!getRequestId() + .equals(other.getRequestId())) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; + if (getForce() + != other.getForce()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -472,135 +424,128 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().hashCode(); hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getValidateOnly()); hash = (37 * hash) + FORCE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getForce()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getForce()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.datastream.v1.UpdateStreamRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.UpdateStreamRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.UpdateStreamRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.UpdateStreamRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.UpdateStreamRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.UpdateStreamRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1.UpdateStreamRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.UpdateStreamRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.UpdateStreamRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1.UpdateStreamRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.UpdateStreamRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.UpdateStreamRequest 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.datastream.v1.UpdateStreamRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.UpdateStreamRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datastream.v1.UpdateStreamRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for updating a stream.
    * 
* * Protobuf type {@code google.cloud.datastream.v1.UpdateStreamRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1.UpdateStreamRequest) com.google.cloud.datastream.v1.UpdateStreamRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_UpdateStreamRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_UpdateStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_UpdateStreamRequest_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_UpdateStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.UpdateStreamRequest.class, - com.google.cloud.datastream.v1.UpdateStreamRequest.Builder.class); + com.google.cloud.datastream.v1.UpdateStreamRequest.class, com.google.cloud.datastream.v1.UpdateStreamRequest.Builder.class); } // Construct using com.google.cloud.datastream.v1.UpdateStreamRequest.newBuilder() @@ -608,15 +553,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -642,9 +588,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1.DatastreamProto - .internal_static_google_cloud_datastream_v1_UpdateStreamRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1.DatastreamProto.internal_static_google_cloud_datastream_v1_UpdateStreamRequest_descriptor; } @java.lang.Override @@ -663,8 +609,7 @@ public com.google.cloud.datastream.v1.UpdateStreamRequest build() { @java.lang.Override public com.google.cloud.datastream.v1.UpdateStreamRequest buildPartial() { - com.google.cloud.datastream.v1.UpdateStreamRequest result = - new com.google.cloud.datastream.v1.UpdateStreamRequest(this); + com.google.cloud.datastream.v1.UpdateStreamRequest result = new com.google.cloud.datastream.v1.UpdateStreamRequest(this); if (updateMaskBuilder_ == null) { result.updateMask_ = updateMask_; } else { @@ -686,39 +631,38 @@ public com.google.cloud.datastream.v1.UpdateStreamRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1.UpdateStreamRequest) { - return mergeFrom((com.google.cloud.datastream.v1.UpdateStreamRequest) other); + return mergeFrom((com.google.cloud.datastream.v1.UpdateStreamRequest)other); } else { super.mergeFrom(other); return this; @@ -726,8 +670,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datastream.v1.UpdateStreamRequest other) { - if (other == com.google.cloud.datastream.v1.UpdateStreamRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.datastream.v1.UpdateStreamRequest.getDefaultInstance()) return this; if (other.hasUpdateMask()) { mergeUpdateMask(other.getUpdateMask()); } @@ -763,8 +706,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datastream.v1.UpdateStreamRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datastream.v1.UpdateStreamRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -776,13 +718,8 @@ public Builder mergeFrom( 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_; /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * stream resource by the update.
@@ -791,17 +728,13 @@ public Builder mergeFrom(
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * stream resource by the update.
@@ -810,23 +743,17 @@ public boolean hasUpdateMask() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; * @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(); } } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * stream resource by the update.
@@ -835,8 +762,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -852,8 +778,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * stream resource by the update.
@@ -862,10 +786,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); onChanged(); @@ -876,8 +800,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * stream resource by the update.
@@ -886,14 +808,13 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -905,8 +826,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * stream resource by the update.
@@ -915,8 +834,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearUpdateMask() { if (updateMaskBuilder_ == null) { @@ -930,8 +848,6 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * stream resource by the update.
@@ -940,17 +856,14 @@ public Builder clearUpdateMask() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * stream resource by the update.
@@ -959,21 +872,17 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ 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_; } } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * stream resource by the update.
@@ -982,21 +891,17 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ 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_; @@ -1004,58 +909,39 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { private com.google.cloud.datastream.v1.Stream stream_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.Stream, - com.google.cloud.datastream.v1.Stream.Builder, - com.google.cloud.datastream.v1.StreamOrBuilder> - streamBuilder_; + com.google.cloud.datastream.v1.Stream, com.google.cloud.datastream.v1.Stream.Builder, com.google.cloud.datastream.v1.StreamOrBuilder> streamBuilder_; /** - * - * *
      * Required. The stream resource to update.
      * 
* - * - * .google.cloud.datastream.v1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datastream.v1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the stream field is set. */ public boolean hasStream() { return streamBuilder_ != null || stream_ != null; } /** - * - * *
      * Required. The stream resource to update.
      * 
* - * - * .google.cloud.datastream.v1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datastream.v1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The stream. */ public com.google.cloud.datastream.v1.Stream getStream() { if (streamBuilder_ == null) { - return stream_ == null - ? com.google.cloud.datastream.v1.Stream.getDefaultInstance() - : stream_; + return stream_ == null ? com.google.cloud.datastream.v1.Stream.getDefaultInstance() : stream_; } else { return streamBuilder_.getMessage(); } } /** - * - * *
      * Required. The stream resource to update.
      * 
* - * - * .google.cloud.datastream.v1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setStream(com.google.cloud.datastream.v1.Stream value) { if (streamBuilder_ == null) { @@ -1071,17 +957,14 @@ public Builder setStream(com.google.cloud.datastream.v1.Stream value) { return this; } /** - * - * *
      * Required. The stream resource to update.
      * 
* - * - * .google.cloud.datastream.v1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setStream(com.google.cloud.datastream.v1.Stream.Builder builderForValue) { + public Builder setStream( + com.google.cloud.datastream.v1.Stream.Builder builderForValue) { if (streamBuilder_ == null) { stream_ = builderForValue.build(); onChanged(); @@ -1092,23 +975,17 @@ public Builder setStream(com.google.cloud.datastream.v1.Stream.Builder builderFo return this; } /** - * - * *
      * Required. The stream resource to update.
      * 
* - * - * .google.cloud.datastream.v1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeStream(com.google.cloud.datastream.v1.Stream value) { if (streamBuilder_ == null) { if (stream_ != null) { stream_ = - com.google.cloud.datastream.v1.Stream.newBuilder(stream_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.datastream.v1.Stream.newBuilder(stream_).mergeFrom(value).buildPartial(); } else { stream_ = value; } @@ -1120,15 +997,11 @@ public Builder mergeStream(com.google.cloud.datastream.v1.Stream value) { return this; } /** - * - * *
      * Required. The stream resource to update.
      * 
* - * - * .google.cloud.datastream.v1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearStream() { if (streamBuilder_ == null) { @@ -1142,64 +1015,48 @@ public Builder clearStream() { return this; } /** - * - * *
      * Required. The stream resource to update.
      * 
* - * - * .google.cloud.datastream.v1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.datastream.v1.Stream.Builder getStreamBuilder() { - + onChanged(); return getStreamFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The stream resource to update.
      * 
* - * - * .google.cloud.datastream.v1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.datastream.v1.StreamOrBuilder getStreamOrBuilder() { if (streamBuilder_ != null) { return streamBuilder_.getMessageOrBuilder(); } else { - return stream_ == null - ? com.google.cloud.datastream.v1.Stream.getDefaultInstance() - : stream_; + return stream_ == null ? + com.google.cloud.datastream.v1.Stream.getDefaultInstance() : stream_; } } /** - * - * *
      * Required. The stream resource to update.
      * 
* - * - * .google.cloud.datastream.v1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.Stream, - com.google.cloud.datastream.v1.Stream.Builder, - com.google.cloud.datastream.v1.StreamOrBuilder> + com.google.cloud.datastream.v1.Stream, com.google.cloud.datastream.v1.Stream.Builder, com.google.cloud.datastream.v1.StreamOrBuilder> getStreamFieldBuilder() { if (streamBuilder_ == null) { - streamBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.Stream, - com.google.cloud.datastream.v1.Stream.Builder, - com.google.cloud.datastream.v1.StreamOrBuilder>( - getStream(), getParentForChildren(), isClean()); + streamBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1.Stream, com.google.cloud.datastream.v1.Stream.Builder, com.google.cloud.datastream.v1.StreamOrBuilder>( + getStream(), + getParentForChildren(), + isClean()); stream_ = null; } return streamBuilder_; @@ -1207,8 +1064,6 @@ public com.google.cloud.datastream.v1.StreamOrBuilder getStreamOrBuilder() { private java.lang.Object requestId_ = ""; /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1224,13 +1079,13 @@ public com.google.cloud.datastream.v1.StreamOrBuilder getStreamOrBuilder() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -1239,8 +1094,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1256,14 +1109,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -1271,8 +1125,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1288,22 +1140,20 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { + public Builder setRequestId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1319,18 +1169,15 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1346,32 +1193,29 @@ public Builder clearRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = value; onChanged(); return this; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * Optional. Only validate the stream with the changes, without actually updating it.
      * The default is false.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -1379,53 +1223,44 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * Optional. Only validate the stream with the changes, without actually updating it.
      * The default is false.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The validateOnly to set. * @return This builder for chaining. */ public Builder setValidateOnly(boolean value) { - + validateOnly_ = value; onChanged(); return this; } /** - * - * *
      * Optional. Only validate the stream with the changes, without actually updating it.
      * The default is false.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { - + validateOnly_ = false; onChanged(); return this; } - private boolean force_; + private boolean force_ ; /** - * - * *
      * Optional. Update the stream without validating it.
      * 
* * bool force = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The force. */ @java.lang.Override @@ -1433,43 +1268,37 @@ public boolean getForce() { return force_; } /** - * - * *
      * Optional. Update the stream without validating it.
      * 
* * bool force = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The force to set. * @return This builder for chaining. */ public Builder setForce(boolean value) { - + force_ = value; onChanged(); return this; } /** - * - * *
      * Optional. Update the stream without validating it.
      * 
* * bool force = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearForce() { - + force_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1479,12 +1308,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1.UpdateStreamRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1.UpdateStreamRequest) private static final com.google.cloud.datastream.v1.UpdateStreamRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1.UpdateStreamRequest(); } @@ -1493,16 +1322,16 @@ public static com.google.cloud.datastream.v1.UpdateStreamRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateStreamRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateStreamRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateStreamRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpdateStreamRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1517,4 +1346,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datastream.v1.UpdateStreamRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/UpdateStreamRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/UpdateStreamRequestOrBuilder.java similarity index 81% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/UpdateStreamRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/UpdateStreamRequestOrBuilder.java index 3daa8f06..b808f835 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/UpdateStreamRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/UpdateStreamRequestOrBuilder.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/datastream/v1/datastream.proto package com.google.cloud.datastream.v1; -public interface UpdateStreamRequestOrBuilder - extends +public interface UpdateStreamRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1.UpdateStreamRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * stream resource by the update.
@@ -34,15 +16,11 @@ public interface UpdateStreamRequestOrBuilder
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * stream resource by the update.
@@ -51,15 +29,11 @@ public interface UpdateStreamRequestOrBuilder
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * stream resource by the update.
@@ -68,52 +42,38 @@ public interface UpdateStreamRequestOrBuilder
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); /** - * - * *
    * Required. The stream resource to update.
    * 
* - * .google.cloud.datastream.v1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datastream.v1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the stream field is set. */ boolean hasStream(); /** - * - * *
    * Required. The stream resource to update.
    * 
* - * .google.cloud.datastream.v1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datastream.v1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The stream. */ com.google.cloud.datastream.v1.Stream getStream(); /** - * - * *
    * Required. The stream resource to update.
    * 
* - * .google.cloud.datastream.v1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.datastream.v1.StreamOrBuilder getStreamOrBuilder(); /** - * - * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -129,13 +89,10 @@ public interface UpdateStreamRequestOrBuilder
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -151,34 +108,28 @@ public interface UpdateStreamRequestOrBuilder
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); /** - * - * *
    * Optional. Only validate the stream with the changes, without actually updating it.
    * The default is false.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ boolean getValidateOnly(); /** - * - * *
    * Optional. Update the stream without validating it.
    * 
* * bool force = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The force. */ boolean getForce(); diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/Validation.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/Validation.java similarity index 74% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/Validation.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/Validation.java index 59956e64..d3392f07 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/Validation.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/Validation.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/datastream/v1/datastream_resources.proto package com.google.cloud.datastream.v1; /** - * - * *
  * A validation to perform on a stream.
  * 
* * Protobuf type {@code google.cloud.datastream.v1.Validation} */ -public final class Validation extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Validation extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1.Validation) ValidationOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Validation.newBuilder() to construct. private Validation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Validation() { description_ = ""; state_ = 0; @@ -46,15 +28,16 @@ private Validation() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Validation(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Validation( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -74,47 +57,40 @@ private Validation( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - description_ = s; - break; - } - case 16: - { - int rawValue = input.readEnum(); + description_ = s; + break; + } + case 16: { + int rawValue = input.readEnum(); - state_ = rawValue; - break; - } - case 26: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - message_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - message_.add( - input.readMessage( - com.google.cloud.datastream.v1.ValidationMessage.parser(), - extensionRegistry)); - break; + state_ = rawValue; + break; + } + case 26: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + message_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + message_.add( + input.readMessage(com.google.cloud.datastream.v1.ValidationMessage.parser(), extensionRegistry)); + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - code_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + code_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -122,7 +98,8 @@ private Validation( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { message_ = java.util.Collections.unmodifiableList(message_); @@ -131,35 +108,29 @@ private Validation( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_Validation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_Validation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_Validation_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_Validation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.Validation.class, - com.google.cloud.datastream.v1.Validation.Builder.class); + com.google.cloud.datastream.v1.Validation.class, com.google.cloud.datastream.v1.Validation.Builder.class); } /** - * - * *
    * Validation execution state.
    * 
* * Protobuf enum {@code google.cloud.datastream.v1.Validation.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { + public enum State + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Unspecified state.
      * 
@@ -168,8 +139,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
      * Validation did not execute.
      * 
@@ -178,8 +147,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ NOT_EXECUTED(1), /** - * - * *
      * Validation failed.
      * 
@@ -188,8 +155,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ FAILED(2), /** - * - * *
      * Validation passed.
      * 
@@ -201,8 +166,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Unspecified state.
      * 
@@ -211,8 +174,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Validation did not execute.
      * 
@@ -221,8 +182,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int NOT_EXECUTED_VALUE = 1; /** - * - * *
      * Validation failed.
      * 
@@ -231,8 +190,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FAILED_VALUE = 2; /** - * - * *
      * Validation passed.
      * 
@@ -241,6 +198,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PASSED_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -265,51 +223,50 @@ public static State valueOf(int value) { */ public static State forNumber(int value) { switch (value) { - case 0: - return STATE_UNSPECIFIED; - case 1: - return NOT_EXECUTED; - case 2: - return FAILED; - case 3: - return PASSED; - default: - return null; + case 0: return STATE_UNSPECIFIED; + case 1: return NOT_EXECUTED; + case 2: return FAILED; + case 3: return PASSED; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + State> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public State findValueByNumber(int number) { + return State.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public State findValueByNumber(int number) { - return State.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.datastream.v1.Validation.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; @@ -329,14 +286,11 @@ private State(int value) { public static final int DESCRIPTION_FIELD_NUMBER = 1; private volatile java.lang.Object description_; /** - * - * *
    * A short description of the validation.
    * 
* * string description = 1; - * * @return The description. */ @java.lang.Override @@ -345,29 +299,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 short description of the validation.
    * 
* * 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 { @@ -378,44 +332,33 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int STATE_FIELD_NUMBER = 2; private int state_; /** - * - * *
    * Validation execution status.
    * 
* * .google.cloud.datastream.v1.Validation.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_; } /** - * - * *
    * Validation execution status.
    * 
* * .google.cloud.datastream.v1.Validation.State state = 2; - * * @return The state. */ - @java.lang.Override - public com.google.cloud.datastream.v1.Validation.State getState() { + @java.lang.Override public com.google.cloud.datastream.v1.Validation.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.datastream.v1.Validation.State result = - com.google.cloud.datastream.v1.Validation.State.valueOf(state_); + com.google.cloud.datastream.v1.Validation.State result = com.google.cloud.datastream.v1.Validation.State.valueOf(state_); return result == null ? com.google.cloud.datastream.v1.Validation.State.UNRECOGNIZED : result; } public static final int MESSAGE_FIELD_NUMBER = 3; private java.util.List message_; /** - * - * *
    * Messages reflecting the validation results.
    * 
@@ -427,8 +370,6 @@ public java.util.List getMessa return message_; } /** - * - * *
    * Messages reflecting the validation results.
    * 
@@ -436,13 +377,11 @@ public java.util.List getMessa * repeated .google.cloud.datastream.v1.ValidationMessage message = 3; */ @java.lang.Override - public java.util.List + public java.util.List getMessageOrBuilderList() { return message_; } /** - * - * *
    * Messages reflecting the validation results.
    * 
@@ -454,8 +393,6 @@ public int getMessageCount() { return message_.size(); } /** - * - * *
    * Messages reflecting the validation results.
    * 
@@ -467,8 +404,6 @@ public com.google.cloud.datastream.v1.ValidationMessage getMessage(int index) { return message_.get(index); } /** - * - * *
    * Messages reflecting the validation results.
    * 
@@ -476,21 +411,19 @@ public com.google.cloud.datastream.v1.ValidationMessage getMessage(int index) { * repeated .google.cloud.datastream.v1.ValidationMessage message = 3; */ @java.lang.Override - public com.google.cloud.datastream.v1.ValidationMessageOrBuilder getMessageOrBuilder(int index) { + public com.google.cloud.datastream.v1.ValidationMessageOrBuilder getMessageOrBuilder( + int index) { return message_.get(index); } public static final int CODE_FIELD_NUMBER = 4; private volatile java.lang.Object code_; /** - * - * *
    * A custom code identifying this validation.
    * 
* * string code = 4; - * * @return The code. */ @java.lang.Override @@ -499,29 +432,29 @@ public java.lang.String getCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); code_ = s; return s; } } /** - * - * *
    * A custom code identifying this validation.
    * 
* * string code = 4; - * * @return The bytes for code. */ @java.lang.Override - public com.google.protobuf.ByteString getCodeBytes() { + public com.google.protobuf.ByteString + getCodeBytes() { java.lang.Object ref = code_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); code_ = b; return b; } else { @@ -530,7 +463,6 @@ public com.google.protobuf.ByteString getCodeBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -542,7 +474,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_); } @@ -568,10 +501,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, description_); } if (state_ != com.google.cloud.datastream.v1.Validation.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, state_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, state_); } for (int i = 0; i < message_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, message_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, message_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(code_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, code_); @@ -584,18 +519,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.datastream.v1.Validation)) { return super.equals(obj); } - com.google.cloud.datastream.v1.Validation other = - (com.google.cloud.datastream.v1.Validation) obj; + com.google.cloud.datastream.v1.Validation other = (com.google.cloud.datastream.v1.Validation) obj; - if (!getDescription().equals(other.getDescription())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; if (state_ != other.state_) return false; - if (!getMessageList().equals(other.getMessageList())) return false; - if (!getCode().equals(other.getCode())) return false; + if (!getMessageList() + .equals(other.getMessageList())) return false; + if (!getCode() + .equals(other.getCode())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -622,127 +559,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.datastream.v1.Validation parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.datastream.v1.Validation parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.Validation parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.Validation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.Validation parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.Validation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.Validation parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.Validation 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.datastream.v1.Validation parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1.Validation parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.Validation parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.Validation 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.datastream.v1.Validation parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.Validation parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datastream.v1.Validation prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 validation to perform on a stream.
    * 
* * Protobuf type {@code google.cloud.datastream.v1.Validation} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1.Validation) com.google.cloud.datastream.v1.ValidationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_Validation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_Validation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_Validation_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_Validation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.Validation.class, - com.google.cloud.datastream.v1.Validation.Builder.class); + com.google.cloud.datastream.v1.Validation.class, com.google.cloud.datastream.v1.Validation.Builder.class); } // Construct using com.google.cloud.datastream.v1.Validation.newBuilder() @@ -750,17 +678,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getMessageFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -780,9 +708,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_Validation_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_Validation_descriptor; } @java.lang.Override @@ -801,8 +729,7 @@ public com.google.cloud.datastream.v1.Validation build() { @java.lang.Override public com.google.cloud.datastream.v1.Validation buildPartial() { - com.google.cloud.datastream.v1.Validation result = - new com.google.cloud.datastream.v1.Validation(this); + com.google.cloud.datastream.v1.Validation result = new com.google.cloud.datastream.v1.Validation(this); int from_bitField0_ = bitField0_; result.description_ = description_; result.state_ = state_; @@ -824,39 +751,38 @@ public com.google.cloud.datastream.v1.Validation buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1.Validation) { - return mergeFrom((com.google.cloud.datastream.v1.Validation) other); + return mergeFrom((com.google.cloud.datastream.v1.Validation)other); } else { super.mergeFrom(other); return this; @@ -890,10 +816,9 @@ public Builder mergeFrom(com.google.cloud.datastream.v1.Validation other) { messageBuilder_ = null; message_ = other.message_; bitField0_ = (bitField0_ & ~0x00000001); - messageBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getMessageFieldBuilder() - : null; + messageBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getMessageFieldBuilder() : null; } else { messageBuilder_.addAllMessages(other.message_); } @@ -931,25 +856,22 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object description_ = ""; /** - * - * *
      * A short description of the validation.
      * 
* * 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; @@ -958,21 +880,20 @@ public java.lang.String getDescription() { } } /** - * - * *
      * A short description of the validation.
      * 
* * 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 { @@ -980,61 +901,54 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * A short description of the validation.
      * 
* * string description = 1; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { + public Builder setDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** - * - * *
      * A short description of the validation.
      * 
* * string description = 1; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** - * - * *
      * A short description of the validation.
      * 
* * string description = 1; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; @@ -1042,65 +956,51 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { private int state_ = 0; /** - * - * *
      * Validation execution status.
      * 
* * .google.cloud.datastream.v1.Validation.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_; } /** - * - * *
      * Validation execution status.
      * 
* * .google.cloud.datastream.v1.Validation.State state = 2; - * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** - * - * *
      * Validation execution status.
      * 
* * .google.cloud.datastream.v1.Validation.State state = 2; - * * @return The state. */ @java.lang.Override public com.google.cloud.datastream.v1.Validation.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.datastream.v1.Validation.State result = - com.google.cloud.datastream.v1.Validation.State.valueOf(state_); + com.google.cloud.datastream.v1.Validation.State result = com.google.cloud.datastream.v1.Validation.State.valueOf(state_); return result == null ? com.google.cloud.datastream.v1.Validation.State.UNRECOGNIZED : result; } /** - * - * *
      * Validation execution status.
      * 
* * .google.cloud.datastream.v1.Validation.State state = 2; - * * @param value The state to set. * @return This builder for chaining. */ @@ -1108,49 +1008,39 @@ public Builder setState(com.google.cloud.datastream.v1.Validation.State value) { if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Validation execution status.
      * 
* * .google.cloud.datastream.v1.Validation.State state = 2; - * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; } private java.util.List message_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureMessageIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - message_ = - new java.util.ArrayList(message_); + message_ = new java.util.ArrayList(message_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datastream.v1.ValidationMessage, - com.google.cloud.datastream.v1.ValidationMessage.Builder, - com.google.cloud.datastream.v1.ValidationMessageOrBuilder> - messageBuilder_; + com.google.cloud.datastream.v1.ValidationMessage, com.google.cloud.datastream.v1.ValidationMessage.Builder, com.google.cloud.datastream.v1.ValidationMessageOrBuilder> messageBuilder_; /** - * - * *
      * Messages reflecting the validation results.
      * 
@@ -1165,8 +1055,6 @@ public java.util.List getMessa } } /** - * - * *
      * Messages reflecting the validation results.
      * 
@@ -1181,8 +1069,6 @@ public int getMessageCount() { } } /** - * - * *
      * Messages reflecting the validation results.
      * 
@@ -1197,15 +1083,14 @@ public com.google.cloud.datastream.v1.ValidationMessage getMessage(int index) { } } /** - * - * *
      * Messages reflecting the validation results.
      * 
* * repeated .google.cloud.datastream.v1.ValidationMessage message = 3; */ - public Builder setMessage(int index, com.google.cloud.datastream.v1.ValidationMessage value) { + public Builder setMessage( + int index, com.google.cloud.datastream.v1.ValidationMessage value) { if (messageBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1219,8 +1104,6 @@ public Builder setMessage(int index, com.google.cloud.datastream.v1.ValidationMe return this; } /** - * - * *
      * Messages reflecting the validation results.
      * 
@@ -1239,8 +1122,6 @@ public Builder setMessage( return this; } /** - * - * *
      * Messages reflecting the validation results.
      * 
@@ -1261,15 +1142,14 @@ public Builder addMessage(com.google.cloud.datastream.v1.ValidationMessage value return this; } /** - * - * *
      * Messages reflecting the validation results.
      * 
* * repeated .google.cloud.datastream.v1.ValidationMessage message = 3; */ - public Builder addMessage(int index, com.google.cloud.datastream.v1.ValidationMessage value) { + public Builder addMessage( + int index, com.google.cloud.datastream.v1.ValidationMessage value) { if (messageBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1283,8 +1163,6 @@ public Builder addMessage(int index, com.google.cloud.datastream.v1.ValidationMe return this; } /** - * - * *
      * Messages reflecting the validation results.
      * 
@@ -1303,8 +1181,6 @@ public Builder addMessage( return this; } /** - * - * *
      * Messages reflecting the validation results.
      * 
@@ -1323,8 +1199,6 @@ public Builder addMessage( return this; } /** - * - * *
      * Messages reflecting the validation results.
      * 
@@ -1335,7 +1209,8 @@ public Builder addAllMessage( java.lang.Iterable values) { if (messageBuilder_ == null) { ensureMessageIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, message_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, message_); onChanged(); } else { messageBuilder_.addAllMessages(values); @@ -1343,8 +1218,6 @@ public Builder addAllMessage( return this; } /** - * - * *
      * Messages reflecting the validation results.
      * 
@@ -1362,8 +1235,6 @@ public Builder clearMessage() { return this; } /** - * - * *
      * Messages reflecting the validation results.
      * 
@@ -1381,20 +1252,17 @@ public Builder removeMessage(int index) { return this; } /** - * - * *
      * Messages reflecting the validation results.
      * 
* * repeated .google.cloud.datastream.v1.ValidationMessage message = 3; */ - public com.google.cloud.datastream.v1.ValidationMessage.Builder getMessageBuilder(int index) { + public com.google.cloud.datastream.v1.ValidationMessage.Builder getMessageBuilder( + int index) { return getMessageFieldBuilder().getBuilder(index); } /** - * - * *
      * Messages reflecting the validation results.
      * 
@@ -1404,22 +1272,19 @@ public com.google.cloud.datastream.v1.ValidationMessage.Builder getMessageBuilde public com.google.cloud.datastream.v1.ValidationMessageOrBuilder getMessageOrBuilder( int index) { if (messageBuilder_ == null) { - return message_.get(index); - } else { + return message_.get(index); } else { return messageBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Messages reflecting the validation results.
      * 
* * repeated .google.cloud.datastream.v1.ValidationMessage message = 3; */ - public java.util.List - getMessageOrBuilderList() { + public java.util.List + getMessageOrBuilderList() { if (messageBuilder_ != null) { return messageBuilder_.getMessageOrBuilderList(); } else { @@ -1427,8 +1292,6 @@ public com.google.cloud.datastream.v1.ValidationMessageOrBuilder getMessageOrBui } } /** - * - * *
      * Messages reflecting the validation results.
      * 
@@ -1436,48 +1299,42 @@ public com.google.cloud.datastream.v1.ValidationMessageOrBuilder getMessageOrBui * repeated .google.cloud.datastream.v1.ValidationMessage message = 3; */ public com.google.cloud.datastream.v1.ValidationMessage.Builder addMessageBuilder() { - return getMessageFieldBuilder() - .addBuilder(com.google.cloud.datastream.v1.ValidationMessage.getDefaultInstance()); + return getMessageFieldBuilder().addBuilder( + com.google.cloud.datastream.v1.ValidationMessage.getDefaultInstance()); } /** - * - * *
      * Messages reflecting the validation results.
      * 
* * repeated .google.cloud.datastream.v1.ValidationMessage message = 3; */ - public com.google.cloud.datastream.v1.ValidationMessage.Builder addMessageBuilder(int index) { - return getMessageFieldBuilder() - .addBuilder(index, com.google.cloud.datastream.v1.ValidationMessage.getDefaultInstance()); + public com.google.cloud.datastream.v1.ValidationMessage.Builder addMessageBuilder( + int index) { + return getMessageFieldBuilder().addBuilder( + index, com.google.cloud.datastream.v1.ValidationMessage.getDefaultInstance()); } /** - * - * *
      * Messages reflecting the validation results.
      * 
* * repeated .google.cloud.datastream.v1.ValidationMessage message = 3; */ - public java.util.List - getMessageBuilderList() { + public java.util.List + getMessageBuilderList() { return getMessageFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datastream.v1.ValidationMessage, - com.google.cloud.datastream.v1.ValidationMessage.Builder, - com.google.cloud.datastream.v1.ValidationMessageOrBuilder> + com.google.cloud.datastream.v1.ValidationMessage, com.google.cloud.datastream.v1.ValidationMessage.Builder, com.google.cloud.datastream.v1.ValidationMessageOrBuilder> getMessageFieldBuilder() { if (messageBuilder_ == null) { - messageBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datastream.v1.ValidationMessage, - com.google.cloud.datastream.v1.ValidationMessage.Builder, - com.google.cloud.datastream.v1.ValidationMessageOrBuilder>( - message_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + messageBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datastream.v1.ValidationMessage, com.google.cloud.datastream.v1.ValidationMessage.Builder, com.google.cloud.datastream.v1.ValidationMessageOrBuilder>( + message_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); message_ = null; } return messageBuilder_; @@ -1485,20 +1342,18 @@ public com.google.cloud.datastream.v1.ValidationMessage.Builder addMessageBuilde private java.lang.Object code_ = ""; /** - * - * *
      * A custom code identifying this validation.
      * 
* * string code = 4; - * * @return The code. */ public java.lang.String getCode() { java.lang.Object ref = code_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); code_ = s; return s; @@ -1507,21 +1362,20 @@ public java.lang.String getCode() { } } /** - * - * *
      * A custom code identifying this validation.
      * 
* * string code = 4; - * * @return The bytes for code. */ - public com.google.protobuf.ByteString getCodeBytes() { + public com.google.protobuf.ByteString + getCodeBytes() { java.lang.Object ref = code_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); code_ = b; return b; } else { @@ -1529,68 +1383,61 @@ public com.google.protobuf.ByteString getCodeBytes() { } } /** - * - * *
      * A custom code identifying this validation.
      * 
* * string code = 4; - * * @param value The code to set. * @return This builder for chaining. */ - public Builder setCode(java.lang.String value) { + public Builder setCode( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + code_ = value; onChanged(); return this; } /** - * - * *
      * A custom code identifying this validation.
      * 
* * string code = 4; - * * @return This builder for chaining. */ public Builder clearCode() { - + code_ = getDefaultInstance().getCode(); onChanged(); return this; } /** - * - * *
      * A custom code identifying this validation.
      * 
* * string code = 4; - * * @param value The bytes for code to set. * @return This builder for chaining. */ - public Builder setCodeBytes(com.google.protobuf.ByteString value) { + public Builder setCodeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + code_ = 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); } @@ -1600,12 +1447,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1.Validation) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1.Validation) private static final com.google.cloud.datastream.v1.Validation DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1.Validation(); } @@ -1614,16 +1461,16 @@ public static com.google.cloud.datastream.v1.Validation getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Validation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Validation(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Validation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Validation(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1638,4 +1485,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datastream.v1.Validation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ValidationMessage.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ValidationMessage.java similarity index 66% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ValidationMessage.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ValidationMessage.java index 95a4c676..7d113f21 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ValidationMessage.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ValidationMessage.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/datastream/v1/datastream_resources.proto package com.google.cloud.datastream.v1; /** - * - * *
  * Represent user-facing validation result message.
  * 
* * Protobuf type {@code google.cloud.datastream.v1.ValidationMessage} */ -public final class ValidationMessage extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ValidationMessage extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1.ValidationMessage) ValidationMessageOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ValidationMessage.newBuilder() to construct. private ValidationMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ValidationMessage() { message_ = ""; level_ = 0; @@ -45,15 +27,16 @@ private ValidationMessage() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ValidationMessage(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ValidationMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,49 +56,44 @@ private ValidationMessage( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - message_ = s; - break; - } - case 16: - { - int rawValue = input.readEnum(); + message_ = s; + break; + } + case 16: { + int rawValue = input.readEnum(); - level_ = rawValue; - break; - } - case 26: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - metadata_ = - com.google.protobuf.MapField.newMapField( - MetadataDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; - } - com.google.protobuf.MapEntry metadata__ = - input.readMessage( - MetadataDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - metadata_.getMutableMap().put(metadata__.getKey(), metadata__.getValue()); - break; + level_ = rawValue; + break; + } + case 26: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + metadata_ = com.google.protobuf.MapField.newMapField( + MetadataDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + com.google.protobuf.MapEntry + metadata__ = input.readMessage( + MetadataDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + metadata_.getMutableMap().put( + metadata__.getKey(), metadata__.getValue()); + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - code_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + code_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -123,52 +101,48 @@ private ValidationMessage( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_ValidationMessage_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_ValidationMessage_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 3: return internalGetMetadata(); 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.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_ValidationMessage_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_ValidationMessage_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.ValidationMessage.class, - com.google.cloud.datastream.v1.ValidationMessage.Builder.class); + com.google.cloud.datastream.v1.ValidationMessage.class, com.google.cloud.datastream.v1.ValidationMessage.Builder.class); } /** - * - * *
    * Validation message level.
    * 
* * Protobuf enum {@code google.cloud.datastream.v1.ValidationMessage.Level} */ - public enum Level implements com.google.protobuf.ProtocolMessageEnum { + public enum Level + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Unspecified level.
      * 
@@ -177,8 +151,6 @@ public enum Level implements com.google.protobuf.ProtocolMessageEnum { */ LEVEL_UNSPECIFIED(0), /** - * - * *
      * Potentially cause issues with the Stream.
      * 
@@ -187,8 +159,6 @@ public enum Level implements com.google.protobuf.ProtocolMessageEnum { */ WARNING(1), /** - * - * *
      * Definitely cause issues with the Stream.
      * 
@@ -200,8 +170,6 @@ public enum Level implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Unspecified level.
      * 
@@ -210,8 +178,6 @@ public enum Level implements com.google.protobuf.ProtocolMessageEnum { */ public static final int LEVEL_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Potentially cause issues with the Stream.
      * 
@@ -220,8 +186,6 @@ public enum Level implements com.google.protobuf.ProtocolMessageEnum { */ public static final int WARNING_VALUE = 1; /** - * - * *
      * Definitely cause issues with the Stream.
      * 
@@ -230,6 +194,7 @@ public enum Level implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ERROR_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -254,49 +219,49 @@ public static Level valueOf(int value) { */ public static Level forNumber(int value) { switch (value) { - case 0: - return LEVEL_UNSPECIFIED; - case 1: - return WARNING; - case 2: - return ERROR; - default: - return null; + case 0: return LEVEL_UNSPECIFIED; + case 1: return WARNING; + case 2: return ERROR; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + Level> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Level findValueByNumber(int number) { + return Level.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Level findValueByNumber(int number) { - return Level.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.datastream.v1.ValidationMessage.getDescriptor().getEnumTypes().get(0); } private static final Level[] VALUES = values(); - public static Level valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Level 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; @@ -316,14 +281,11 @@ private Level(int value) { public static final int MESSAGE_FIELD_NUMBER = 1; private volatile java.lang.Object message_; /** - * - * *
    * The result of the validation.
    * 
* * string message = 1; - * * @return The message. */ @java.lang.Override @@ -332,29 +294,29 @@ public java.lang.String getMessage() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; } } /** - * - * *
    * The result of the validation.
    * 
* * string message = 1; - * * @return The bytes for message. */ @java.lang.Override - public com.google.protobuf.ByteString getMessageBytes() { + public com.google.protobuf.ByteString + getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); message_ = b; return b; } else { @@ -365,59 +327,49 @@ public com.google.protobuf.ByteString getMessageBytes() { public static final int LEVEL_FIELD_NUMBER = 2; private int level_; /** - * - * *
    * Message severity level (warning or error).
    * 
* * .google.cloud.datastream.v1.ValidationMessage.Level level = 2; - * * @return The enum numeric value on the wire for level. */ - @java.lang.Override - public int getLevelValue() { + @java.lang.Override public int getLevelValue() { return level_; } /** - * - * *
    * Message severity level (warning or error).
    * 
* * .google.cloud.datastream.v1.ValidationMessage.Level level = 2; - * * @return The level. */ - @java.lang.Override - public com.google.cloud.datastream.v1.ValidationMessage.Level getLevel() { + @java.lang.Override public com.google.cloud.datastream.v1.ValidationMessage.Level getLevel() { @SuppressWarnings("deprecation") - com.google.cloud.datastream.v1.ValidationMessage.Level result = - com.google.cloud.datastream.v1.ValidationMessage.Level.valueOf(level_); - return result == null - ? com.google.cloud.datastream.v1.ValidationMessage.Level.UNRECOGNIZED - : result; + com.google.cloud.datastream.v1.ValidationMessage.Level result = com.google.cloud.datastream.v1.ValidationMessage.Level.valueOf(level_); + return result == null ? com.google.cloud.datastream.v1.ValidationMessage.Level.UNRECOGNIZED : result; } public static final int METADATA_FIELD_NUMBER = 3; - private static final class MetadataDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_ValidationMessage_MetadataEntry_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.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_ValidationMessage_MetadataEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - - private com.google.protobuf.MapField metadata_; - - private com.google.protobuf.MapField internalGetMetadata() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> metadata_; + private com.google.protobuf.MapField + internalGetMetadata() { if (metadata_ == null) { - return com.google.protobuf.MapField.emptyMapField(MetadataDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + MetadataDefaultEntryHolder.defaultEntry); } return metadata_; } @@ -426,30 +378,28 @@ public int getMetadataCount() { return internalGetMetadata().getMap().size(); } /** - * - * *
    * Additional metadata related to the result.
    * 
* * map<string, string> metadata = 3; */ + @java.lang.Override - public boolean containsMetadata(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsMetadata( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetMetadata().getMap().containsKey(key); } - /** Use {@link #getMetadataMap()} instead. */ + /** + * Use {@link #getMetadataMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getMetadata() { return getMetadataMap(); } /** - * - * *
    * Additional metadata related to the result.
    * 
@@ -457,12 +407,11 @@ public java.util.Map getMetadata() { * map<string, string> metadata = 3; */ @java.lang.Override + public java.util.Map getMetadataMap() { return internalGetMetadata().getMap(); } /** - * - * *
    * Additional metadata related to the result.
    * 
@@ -470,17 +419,16 @@ public java.util.Map getMetadataMap() { * map<string, string> metadata = 3; */ @java.lang.Override + public java.lang.String getMetadataOrDefault( - java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetMetadata().getMap(); + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetMetadata().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * Additional metadata related to the result.
    * 
@@ -488,11 +436,12 @@ public java.lang.String getMetadataOrDefault( * map<string, string> metadata = 3; */ @java.lang.Override - public java.lang.String getMetadataOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetMetadata().getMap(); + + public java.lang.String getMetadataOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetMetadata().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -502,14 +451,11 @@ public java.lang.String getMetadataOrThrow(java.lang.String key) { public static final int CODE_FIELD_NUMBER = 4; private volatile java.lang.Object code_; /** - * - * *
    * A custom code identifying this specific message.
    * 
* * string code = 4; - * * @return The code. */ @java.lang.Override @@ -518,29 +464,29 @@ public java.lang.String getCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); code_ = s; return s; } } /** - * - * *
    * A custom code identifying this specific message.
    * 
* * string code = 4; - * * @return The bytes for code. */ @java.lang.Override - public com.google.protobuf.ByteString getCodeBytes() { + public com.google.protobuf.ByteString + getCodeBytes() { java.lang.Object ref = code_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); code_ = b; return b; } else { @@ -549,7 +495,6 @@ public com.google.protobuf.ByteString getCodeBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -561,16 +506,20 @@ public final boolean isInitialized() { } @java.lang.Override - public 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(message_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, message_); } - if (level_ - != com.google.cloud.datastream.v1.ValidationMessage.Level.LEVEL_UNSPECIFIED.getNumber()) { + if (level_ != com.google.cloud.datastream.v1.ValidationMessage.Level.LEVEL_UNSPECIFIED.getNumber()) { output.writeEnum(2, level_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetMetadata(), MetadataDefaultEntryHolder.defaultEntry, 3); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetMetadata(), + MetadataDefaultEntryHolder.defaultEntry, + 3); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(code_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, code_); } @@ -586,19 +535,19 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, message_); } - if (level_ - != com.google.cloud.datastream.v1.ValidationMessage.Level.LEVEL_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, level_); + if (level_ != com.google.cloud.datastream.v1.ValidationMessage.Level.LEVEL_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, level_); } - for (java.util.Map.Entry entry : - internalGetMetadata().getMap().entrySet()) { - com.google.protobuf.MapEntry metadata__ = - MetadataDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, metadata__); + for (java.util.Map.Entry entry + : internalGetMetadata().getMap().entrySet()) { + com.google.protobuf.MapEntry + metadata__ = MetadataDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, metadata__); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(code_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, code_); @@ -611,18 +560,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.datastream.v1.ValidationMessage)) { return super.equals(obj); } - com.google.cloud.datastream.v1.ValidationMessage other = - (com.google.cloud.datastream.v1.ValidationMessage) obj; + com.google.cloud.datastream.v1.ValidationMessage other = (com.google.cloud.datastream.v1.ValidationMessage) obj; - if (!getMessage().equals(other.getMessage())) return false; + if (!getMessage() + .equals(other.getMessage())) return false; if (level_ != other.level_) return false; - if (!internalGetMetadata().equals(other.internalGetMetadata())) return false; - if (!getCode().equals(other.getCode())) return false; + if (!internalGetMetadata().equals( + other.internalGetMetadata())) return false; + if (!getCode() + .equals(other.getCode())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -649,147 +600,140 @@ public int hashCode() { return hash; } - public static com.google.cloud.datastream.v1.ValidationMessage parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.datastream.v1.ValidationMessage parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.ValidationMessage parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.ValidationMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.ValidationMessage parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.ValidationMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.ValidationMessage parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1.ValidationMessage parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.ValidationMessage parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.ValidationMessage parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1.ValidationMessage parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.ValidationMessage parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.ValidationMessage 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.datastream.v1.ValidationMessage parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.ValidationMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datastream.v1.ValidationMessage prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Represent user-facing validation result message.
    * 
* * Protobuf type {@code google.cloud.datastream.v1.ValidationMessage} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1.ValidationMessage) com.google.cloud.datastream.v1.ValidationMessageOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_ValidationMessage_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_ValidationMessage_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 3: return internalGetMetadata(); 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 3: return internalGetMutableMetadata(); 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.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_ValidationMessage_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_ValidationMessage_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.ValidationMessage.class, - com.google.cloud.datastream.v1.ValidationMessage.Builder.class); + com.google.cloud.datastream.v1.ValidationMessage.class, com.google.cloud.datastream.v1.ValidationMessage.Builder.class); } // Construct using com.google.cloud.datastream.v1.ValidationMessage.newBuilder() @@ -797,15 +741,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -820,9 +765,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_ValidationMessage_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_ValidationMessage_descriptor; } @java.lang.Override @@ -841,8 +786,7 @@ public com.google.cloud.datastream.v1.ValidationMessage build() { @java.lang.Override public com.google.cloud.datastream.v1.ValidationMessage buildPartial() { - com.google.cloud.datastream.v1.ValidationMessage result = - new com.google.cloud.datastream.v1.ValidationMessage(this); + com.google.cloud.datastream.v1.ValidationMessage result = new com.google.cloud.datastream.v1.ValidationMessage(this); int from_bitField0_ = bitField0_; result.message_ = message_; result.level_ = level_; @@ -857,39 +801,38 @@ public com.google.cloud.datastream.v1.ValidationMessage buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1.ValidationMessage) { - return mergeFrom((com.google.cloud.datastream.v1.ValidationMessage) other); + return mergeFrom((com.google.cloud.datastream.v1.ValidationMessage)other); } else { super.mergeFrom(other); return this; @@ -897,8 +840,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datastream.v1.ValidationMessage other) { - if (other == com.google.cloud.datastream.v1.ValidationMessage.getDefaultInstance()) - return this; + if (other == com.google.cloud.datastream.v1.ValidationMessage.getDefaultInstance()) return this; if (!other.getMessage().isEmpty()) { message_ = other.message_; onChanged(); @@ -906,7 +848,8 @@ public Builder mergeFrom(com.google.cloud.datastream.v1.ValidationMessage other) if (other.level_ != 0) { setLevelValue(other.getLevelValue()); } - internalGetMutableMetadata().mergeFrom(other.internalGetMetadata()); + internalGetMutableMetadata().mergeFrom( + other.internalGetMetadata()); if (!other.getCode().isEmpty()) { code_ = other.code_; onChanged(); @@ -939,25 +882,22 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object message_ = ""; /** - * - * *
      * The result of the validation.
      * 
* * string message = 1; - * * @return The message. */ public java.lang.String getMessage() { java.lang.Object ref = message_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; @@ -966,21 +906,20 @@ public java.lang.String getMessage() { } } /** - * - * *
      * The result of the validation.
      * 
* * string message = 1; - * * @return The bytes for message. */ - public com.google.protobuf.ByteString getMessageBytes() { + public com.google.protobuf.ByteString + getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); message_ = b; return b; } else { @@ -988,61 +927,54 @@ public com.google.protobuf.ByteString getMessageBytes() { } } /** - * - * *
      * The result of the validation.
      * 
* * string message = 1; - * * @param value The message to set. * @return This builder for chaining. */ - public Builder setMessage(java.lang.String value) { + public Builder setMessage( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + message_ = value; onChanged(); return this; } /** - * - * *
      * The result of the validation.
      * 
* * string message = 1; - * * @return This builder for chaining. */ public Builder clearMessage() { - + message_ = getDefaultInstance().getMessage(); onChanged(); return this; } /** - * - * *
      * The result of the validation.
      * 
* * string message = 1; - * * @param value The bytes for message to set. * @return This builder for chaining. */ - public Builder setMessageBytes(com.google.protobuf.ByteString value) { + public Builder setMessageBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + message_ = value; onChanged(); return this; @@ -1050,67 +982,51 @@ public Builder setMessageBytes(com.google.protobuf.ByteString value) { private int level_ = 0; /** - * - * *
      * Message severity level (warning or error).
      * 
* * .google.cloud.datastream.v1.ValidationMessage.Level level = 2; - * * @return The enum numeric value on the wire for level. */ - @java.lang.Override - public int getLevelValue() { + @java.lang.Override public int getLevelValue() { return level_; } /** - * - * *
      * Message severity level (warning or error).
      * 
* * .google.cloud.datastream.v1.ValidationMessage.Level level = 2; - * * @param value The enum numeric value on the wire for level to set. * @return This builder for chaining. */ public Builder setLevelValue(int value) { - + level_ = value; onChanged(); return this; } /** - * - * *
      * Message severity level (warning or error).
      * 
* * .google.cloud.datastream.v1.ValidationMessage.Level level = 2; - * * @return The level. */ @java.lang.Override public com.google.cloud.datastream.v1.ValidationMessage.Level getLevel() { @SuppressWarnings("deprecation") - com.google.cloud.datastream.v1.ValidationMessage.Level result = - com.google.cloud.datastream.v1.ValidationMessage.Level.valueOf(level_); - return result == null - ? com.google.cloud.datastream.v1.ValidationMessage.Level.UNRECOGNIZED - : result; + com.google.cloud.datastream.v1.ValidationMessage.Level result = com.google.cloud.datastream.v1.ValidationMessage.Level.valueOf(level_); + return result == null ? com.google.cloud.datastream.v1.ValidationMessage.Level.UNRECOGNIZED : result; } /** - * - * *
      * Message severity level (warning or error).
      * 
* * .google.cloud.datastream.v1.ValidationMessage.Level level = 2; - * * @param value The level to set. * @return This builder for chaining. */ @@ -1118,45 +1034,42 @@ public Builder setLevel(com.google.cloud.datastream.v1.ValidationMessage.Level v if (value == null) { throw new NullPointerException(); } - + level_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Message severity level (warning or error).
      * 
* * .google.cloud.datastream.v1.ValidationMessage.Level level = 2; - * * @return This builder for chaining. */ public Builder clearLevel() { - + level_ = 0; onChanged(); return this; } - private com.google.protobuf.MapField metadata_; - - private com.google.protobuf.MapField internalGetMetadata() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> metadata_; + private com.google.protobuf.MapField + internalGetMetadata() { if (metadata_ == null) { - return com.google.protobuf.MapField.emptyMapField(MetadataDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + MetadataDefaultEntryHolder.defaultEntry); } return metadata_; } - private com.google.protobuf.MapField - internalGetMutableMetadata() { - onChanged(); - ; + internalGetMutableMetadata() { + onChanged();; if (metadata_ == null) { - metadata_ = - com.google.protobuf.MapField.newMapField(MetadataDefaultEntryHolder.defaultEntry); + metadata_ = com.google.protobuf.MapField.newMapField( + MetadataDefaultEntryHolder.defaultEntry); } if (!metadata_.isMutable()) { metadata_ = metadata_.copy(); @@ -1168,30 +1081,28 @@ public int getMetadataCount() { return internalGetMetadata().getMap().size(); } /** - * - * *
      * Additional metadata related to the result.
      * 
* * map<string, string> metadata = 3; */ + @java.lang.Override - public boolean containsMetadata(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsMetadata( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetMetadata().getMap().containsKey(key); } - /** Use {@link #getMetadataMap()} instead. */ + /** + * Use {@link #getMetadataMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getMetadata() { return getMetadataMap(); } /** - * - * *
      * Additional metadata related to the result.
      * 
@@ -1199,12 +1110,11 @@ public java.util.Map getMetadata() { * map<string, string> metadata = 3; */ @java.lang.Override + public java.util.Map getMetadataMap() { return internalGetMetadata().getMap(); } /** - * - * *
      * Additional metadata related to the result.
      * 
@@ -1212,17 +1122,16 @@ public java.util.Map getMetadataMap() { * map<string, string> metadata = 3; */ @java.lang.Override + public java.lang.String getMetadataOrDefault( - java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetMetadata().getMap(); + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetMetadata().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * Additional metadata related to the result.
      * 
@@ -1230,11 +1139,12 @@ public java.lang.String getMetadataOrDefault( * map<string, string> metadata = 3; */ @java.lang.Override - public java.lang.String getMetadataOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetMetadata().getMap(); + + public java.lang.String getMetadataOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetMetadata().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -1242,80 +1152,81 @@ public java.lang.String getMetadataOrThrow(java.lang.String key) { } public Builder clearMetadata() { - internalGetMutableMetadata().getMutableMap().clear(); + internalGetMutableMetadata().getMutableMap() + .clear(); return this; } /** - * - * *
      * Additional metadata related to the result.
      * 
* * map<string, string> metadata = 3; */ - public Builder removeMetadata(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableMetadata().getMutableMap().remove(key); + + public Builder removeMetadata( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableMetadata().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map getMutableMetadata() { + public java.util.Map + getMutableMetadata() { return internalGetMutableMetadata().getMutableMap(); } /** - * - * *
      * Additional metadata related to the result.
      * 
* * map<string, string> metadata = 3; */ - public Builder putMetadata(java.lang.String key, java.lang.String value) { - if (key == null) { - throw new NullPointerException("map key"); - } + public Builder putMetadata( + java.lang.String key, + java.lang.String value) { + if (key == null) { throw new NullPointerException("map key"); } if (value == null) { - throw new NullPointerException("map value"); - } + throw new NullPointerException("map value"); +} - internalGetMutableMetadata().getMutableMap().put(key, value); + internalGetMutableMetadata().getMutableMap() + .put(key, value); return this; } /** - * - * *
      * Additional metadata related to the result.
      * 
* * map<string, string> metadata = 3; */ - public Builder putAllMetadata(java.util.Map values) { - internalGetMutableMetadata().getMutableMap().putAll(values); + + public Builder putAllMetadata( + java.util.Map values) { + internalGetMutableMetadata().getMutableMap() + .putAll(values); return this; } private java.lang.Object code_ = ""; /** - * - * *
      * A custom code identifying this specific message.
      * 
* * string code = 4; - * * @return The code. */ public java.lang.String getCode() { java.lang.Object ref = code_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); code_ = s; return s; @@ -1324,21 +1235,20 @@ public java.lang.String getCode() { } } /** - * - * *
      * A custom code identifying this specific message.
      * 
* * string code = 4; - * * @return The bytes for code. */ - public com.google.protobuf.ByteString getCodeBytes() { + public com.google.protobuf.ByteString + getCodeBytes() { java.lang.Object ref = code_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); code_ = b; return b; } else { @@ -1346,68 +1256,61 @@ public com.google.protobuf.ByteString getCodeBytes() { } } /** - * - * *
      * A custom code identifying this specific message.
      * 
* * string code = 4; - * * @param value The code to set. * @return This builder for chaining. */ - public Builder setCode(java.lang.String value) { + public Builder setCode( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + code_ = value; onChanged(); return this; } /** - * - * *
      * A custom code identifying this specific message.
      * 
* * string code = 4; - * * @return This builder for chaining. */ public Builder clearCode() { - + code_ = getDefaultInstance().getCode(); onChanged(); return this; } /** - * - * *
      * A custom code identifying this specific message.
      * 
* * string code = 4; - * * @param value The bytes for code to set. * @return This builder for chaining. */ - public Builder setCodeBytes(com.google.protobuf.ByteString value) { + public Builder setCodeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + code_ = 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); } @@ -1417,12 +1320,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1.ValidationMessage) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1.ValidationMessage) private static final com.google.cloud.datastream.v1.ValidationMessage DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1.ValidationMessage(); } @@ -1431,16 +1334,16 @@ public static com.google.cloud.datastream.v1.ValidationMessage getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ValidationMessage parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ValidationMessage(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ValidationMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ValidationMessage(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1455,4 +1358,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datastream.v1.ValidationMessage getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ValidationMessageOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ValidationMessageOrBuilder.java similarity index 64% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ValidationMessageOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ValidationMessageOrBuilder.java index aed24294..60c4fbda 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ValidationMessageOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ValidationMessageOrBuilder.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/datastream/v1/datastream_resources.proto package com.google.cloud.datastream.v1; -public interface ValidationMessageOrBuilder - extends +public interface ValidationMessageOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1.ValidationMessage) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The result of the validation.
    * 
* * string message = 1; - * * @return The message. */ java.lang.String getMessage(); /** - * - * *
    * The result of the validation.
    * 
* * string message = 1; - * * @return The bytes for message. */ - com.google.protobuf.ByteString getMessageBytes(); + com.google.protobuf.ByteString + getMessageBytes(); /** - * - * *
    * Message severity level (warning or error).
    * 
* * .google.cloud.datastream.v1.ValidationMessage.Level level = 2; - * * @return The enum numeric value on the wire for level. */ int getLevelValue(); /** - * - * *
    * Message severity level (warning or error).
    * 
* * .google.cloud.datastream.v1.ValidationMessage.Level level = 2; - * * @return The level. */ com.google.cloud.datastream.v1.ValidationMessage.Level getLevel(); /** - * - * *
    * Additional metadata related to the result.
    * 
@@ -84,31 +55,30 @@ public interface ValidationMessageOrBuilder */ int getMetadataCount(); /** - * - * *
    * Additional metadata related to the result.
    * 
* * map<string, string> metadata = 3; */ - boolean containsMetadata(java.lang.String key); - /** Use {@link #getMetadataMap()} instead. */ + boolean containsMetadata( + java.lang.String key); + /** + * Use {@link #getMetadataMap()} instead. + */ @java.lang.Deprecated - java.util.Map getMetadata(); + java.util.Map + getMetadata(); /** - * - * *
    * Additional metadata related to the result.
    * 
* * map<string, string> metadata = 3; */ - java.util.Map getMetadataMap(); + java.util.Map + getMetadataMap(); /** - * - * *
    * Additional metadata related to the result.
    * 
@@ -117,43 +87,38 @@ public interface ValidationMessageOrBuilder */ /* nullable */ - java.lang.String getMetadataOrDefault( +java.lang.String getMetadataOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue); +java.lang.String defaultValue); /** - * - * *
    * Additional metadata related to the result.
    * 
* * map<string, string> metadata = 3; */ - java.lang.String getMetadataOrThrow(java.lang.String key); + + java.lang.String getMetadataOrThrow( + java.lang.String key); /** - * - * *
    * A custom code identifying this specific message.
    * 
* * string code = 4; - * * @return The code. */ java.lang.String getCode(); /** - * - * *
    * A custom code identifying this specific message.
    * 
* * string code = 4; - * * @return The bytes for code. */ - com.google.protobuf.ByteString getCodeBytes(); + com.google.protobuf.ByteString + getCodeBytes(); } diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ValidationOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ValidationOrBuilder.java similarity index 73% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ValidationOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ValidationOrBuilder.java index 83411d0e..7ab98b63 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ValidationOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ValidationOrBuilder.java @@ -1,91 +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/datastream/v1/datastream_resources.proto package com.google.cloud.datastream.v1; -public interface ValidationOrBuilder - extends +public interface ValidationOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1.Validation) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A short description of the validation.
    * 
* * string description = 1; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * A short description of the validation.
    * 
* * string description = 1; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * Validation execution status.
    * 
* * .google.cloud.datastream.v1.Validation.State state = 2; - * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * Validation execution status.
    * 
* * .google.cloud.datastream.v1.Validation.State state = 2; - * * @return The state. */ com.google.cloud.datastream.v1.Validation.State getState(); /** - * - * *
    * Messages reflecting the validation results.
    * 
* * repeated .google.cloud.datastream.v1.ValidationMessage message = 3; */ - java.util.List getMessageList(); + java.util.List + getMessageList(); /** - * - * *
    * Messages reflecting the validation results.
    * 
@@ -94,8 +64,6 @@ public interface ValidationOrBuilder */ com.google.cloud.datastream.v1.ValidationMessage getMessage(int index); /** - * - * *
    * Messages reflecting the validation results.
    * 
@@ -104,49 +72,41 @@ public interface ValidationOrBuilder */ int getMessageCount(); /** - * - * *
    * Messages reflecting the validation results.
    * 
* * repeated .google.cloud.datastream.v1.ValidationMessage message = 3; */ - java.util.List + java.util.List getMessageOrBuilderList(); /** - * - * *
    * Messages reflecting the validation results.
    * 
* * repeated .google.cloud.datastream.v1.ValidationMessage message = 3; */ - com.google.cloud.datastream.v1.ValidationMessageOrBuilder getMessageOrBuilder(int index); + com.google.cloud.datastream.v1.ValidationMessageOrBuilder getMessageOrBuilder( + int index); /** - * - * *
    * A custom code identifying this validation.
    * 
* * string code = 4; - * * @return The code. */ java.lang.String getCode(); /** - * - * *
    * A custom code identifying this validation.
    * 
* * string code = 4; - * * @return The bytes for code. */ - com.google.protobuf.ByteString getCodeBytes(); + com.google.protobuf.ByteString + getCodeBytes(); } diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ValidationResult.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ValidationResult.java similarity index 75% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ValidationResult.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ValidationResult.java index b3d88eb4..34431db2 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ValidationResult.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ValidationResult.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1/datastream_resources.proto package com.google.cloud.datastream.v1; /** - * - * *
  * Contains the current validation results.
  * 
* * Protobuf type {@code google.cloud.datastream.v1.ValidationResult} */ -public final class ValidationResult extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ValidationResult extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1.ValidationResult) ValidationResultOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ValidationResult.newBuilder() to construct. private ValidationResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ValidationResult() { validations_ = 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 ValidationResult(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ValidationResult( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,24 +54,22 @@ private ValidationResult( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - validations_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - validations_.add( - input.readMessage( - com.google.cloud.datastream.v1.Validation.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + validations_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + validations_.add( + input.readMessage(com.google.cloud.datastream.v1.Validation.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -96,7 +77,8 @@ private ValidationResult( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { validations_ = java.util.Collections.unmodifiableList(validations_); @@ -105,27 +87,22 @@ private ValidationResult( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_ValidationResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_ValidationResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_ValidationResult_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_ValidationResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.ValidationResult.class, - com.google.cloud.datastream.v1.ValidationResult.Builder.class); + com.google.cloud.datastream.v1.ValidationResult.class, com.google.cloud.datastream.v1.ValidationResult.Builder.class); } public static final int VALIDATIONS_FIELD_NUMBER = 1; private java.util.List validations_; /** - * - * *
    * A list of validations (includes both executed as well as not executed
    * validations).
@@ -138,8 +115,6 @@ public java.util.List getValidationsL
     return validations_;
   }
   /**
-   *
-   *
    * 
    * A list of validations (includes both executed as well as not executed
    * validations).
@@ -148,13 +123,11 @@ public java.util.List getValidationsL
    * repeated .google.cloud.datastream.v1.Validation validations = 1;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getValidationsOrBuilderList() {
     return validations_;
   }
   /**
-   *
-   *
    * 
    * A list of validations (includes both executed as well as not executed
    * validations).
@@ -167,8 +140,6 @@ public int getValidationsCount() {
     return validations_.size();
   }
   /**
-   *
-   *
    * 
    * A list of validations (includes both executed as well as not executed
    * validations).
@@ -181,8 +152,6 @@ public com.google.cloud.datastream.v1.Validation getValidations(int index) {
     return validations_.get(index);
   }
   /**
-   *
-   *
    * 
    * A list of validations (includes both executed as well as not executed
    * validations).
@@ -191,12 +160,12 @@ public com.google.cloud.datastream.v1.Validation getValidations(int index) {
    * repeated .google.cloud.datastream.v1.Validation validations = 1;
    */
   @java.lang.Override
-  public com.google.cloud.datastream.v1.ValidationOrBuilder getValidationsOrBuilder(int index) {
+  public com.google.cloud.datastream.v1.ValidationOrBuilder getValidationsOrBuilder(
+      int index) {
     return validations_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -208,7 +177,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 < validations_.size(); i++) {
       output.writeMessage(1, validations_.get(i));
     }
@@ -222,7 +192,8 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < validations_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, validations_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, validations_.get(i));
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -232,15 +203,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.datastream.v1.ValidationResult)) {
       return super.equals(obj);
     }
-    com.google.cloud.datastream.v1.ValidationResult other =
-        (com.google.cloud.datastream.v1.ValidationResult) obj;
+    com.google.cloud.datastream.v1.ValidationResult other = (com.google.cloud.datastream.v1.ValidationResult) obj;
 
-    if (!getValidationsList().equals(other.getValidationsList())) return false;
+    if (!getValidationsList()
+        .equals(other.getValidationsList())) return false;
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
   }
@@ -261,127 +232,118 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.datastream.v1.ValidationResult parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.datastream.v1.ValidationResult parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.datastream.v1.ValidationResult parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.datastream.v1.ValidationResult parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.datastream.v1.ValidationResult parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.datastream.v1.ValidationResult parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.datastream.v1.ValidationResult parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.datastream.v1.ValidationResult 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.datastream.v1.ValidationResult parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.cloud.datastream.v1.ValidationResult parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.datastream.v1.ValidationResult parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.datastream.v1.ValidationResult 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.datastream.v1.ValidationResult parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.datastream.v1.ValidationResult parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.datastream.v1.ValidationResult prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Contains the current validation results.
    * 
* * Protobuf type {@code google.cloud.datastream.v1.ValidationResult} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1.ValidationResult) com.google.cloud.datastream.v1.ValidationResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_ValidationResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_ValidationResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_ValidationResult_fieldAccessorTable + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_ValidationResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.ValidationResult.class, - com.google.cloud.datastream.v1.ValidationResult.Builder.class); + com.google.cloud.datastream.v1.ValidationResult.class, com.google.cloud.datastream.v1.ValidationResult.Builder.class); } // Construct using com.google.cloud.datastream.v1.ValidationResult.newBuilder() @@ -389,17 +351,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getValidationsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -413,9 +375,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_ValidationResult_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_ValidationResult_descriptor; } @java.lang.Override @@ -434,8 +396,7 @@ public com.google.cloud.datastream.v1.ValidationResult build() { @java.lang.Override public com.google.cloud.datastream.v1.ValidationResult buildPartial() { - com.google.cloud.datastream.v1.ValidationResult result = - new com.google.cloud.datastream.v1.ValidationResult(this); + com.google.cloud.datastream.v1.ValidationResult result = new com.google.cloud.datastream.v1.ValidationResult(this); int from_bitField0_ = bitField0_; if (validationsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -454,39 +415,38 @@ public com.google.cloud.datastream.v1.ValidationResult buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1.ValidationResult) { - return mergeFrom((com.google.cloud.datastream.v1.ValidationResult) other); + return mergeFrom((com.google.cloud.datastream.v1.ValidationResult)other); } else { super.mergeFrom(other); return this; @@ -494,8 +454,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datastream.v1.ValidationResult other) { - if (other == com.google.cloud.datastream.v1.ValidationResult.getDefaultInstance()) - return this; + if (other == com.google.cloud.datastream.v1.ValidationResult.getDefaultInstance()) return this; if (validationsBuilder_ == null) { if (!other.validations_.isEmpty()) { if (validations_.isEmpty()) { @@ -514,10 +473,9 @@ public Builder mergeFrom(com.google.cloud.datastream.v1.ValidationResult other) validationsBuilder_ = null; validations_ = other.validations_; bitField0_ = (bitField0_ & ~0x00000001); - validationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getValidationsFieldBuilder() - : null; + validationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getValidationsFieldBuilder() : null; } else { validationsBuilder_.addAllMessages(other.validations_); } @@ -551,29 +509,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List validations_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureValidationsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - validations_ = - new java.util.ArrayList(validations_); + validations_ = new java.util.ArrayList(validations_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datastream.v1.Validation, - com.google.cloud.datastream.v1.Validation.Builder, - com.google.cloud.datastream.v1.ValidationOrBuilder> - validationsBuilder_; + com.google.cloud.datastream.v1.Validation, com.google.cloud.datastream.v1.Validation.Builder, com.google.cloud.datastream.v1.ValidationOrBuilder> validationsBuilder_; /** - * - * *
      * A list of validations (includes both executed as well as not executed
      * validations).
@@ -589,8 +539,6 @@ public java.util.List getValidationsL
       }
     }
     /**
-     *
-     *
      * 
      * A list of validations (includes both executed as well as not executed
      * validations).
@@ -606,8 +554,6 @@ public int getValidationsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * A list of validations (includes both executed as well as not executed
      * validations).
@@ -623,8 +569,6 @@ public com.google.cloud.datastream.v1.Validation getValidations(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * A list of validations (includes both executed as well as not executed
      * validations).
@@ -632,7 +576,8 @@ public com.google.cloud.datastream.v1.Validation getValidations(int index) {
      *
      * repeated .google.cloud.datastream.v1.Validation validations = 1;
      */
-    public Builder setValidations(int index, com.google.cloud.datastream.v1.Validation value) {
+    public Builder setValidations(
+        int index, com.google.cloud.datastream.v1.Validation value) {
       if (validationsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -646,8 +591,6 @@ public Builder setValidations(int index, com.google.cloud.datastream.v1.Validati
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of validations (includes both executed as well as not executed
      * validations).
@@ -667,8 +610,6 @@ public Builder setValidations(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of validations (includes both executed as well as not executed
      * validations).
@@ -690,8 +631,6 @@ public Builder addValidations(com.google.cloud.datastream.v1.Validation value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of validations (includes both executed as well as not executed
      * validations).
@@ -699,7 +638,8 @@ public Builder addValidations(com.google.cloud.datastream.v1.Validation value) {
      *
      * repeated .google.cloud.datastream.v1.Validation validations = 1;
      */
-    public Builder addValidations(int index, com.google.cloud.datastream.v1.Validation value) {
+    public Builder addValidations(
+        int index, com.google.cloud.datastream.v1.Validation value) {
       if (validationsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -713,8 +653,6 @@ public Builder addValidations(int index, com.google.cloud.datastream.v1.Validati
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of validations (includes both executed as well as not executed
      * validations).
@@ -734,8 +672,6 @@ public Builder addValidations(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of validations (includes both executed as well as not executed
      * validations).
@@ -755,8 +691,6 @@ public Builder addValidations(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of validations (includes both executed as well as not executed
      * validations).
@@ -768,7 +702,8 @@ public Builder addAllValidations(
         java.lang.Iterable values) {
       if (validationsBuilder_ == null) {
         ensureValidationsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, validations_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, validations_);
         onChanged();
       } else {
         validationsBuilder_.addAllMessages(values);
@@ -776,8 +711,6 @@ public Builder addAllValidations(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of validations (includes both executed as well as not executed
      * validations).
@@ -796,8 +729,6 @@ public Builder clearValidations() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of validations (includes both executed as well as not executed
      * validations).
@@ -816,8 +747,6 @@ public Builder removeValidations(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of validations (includes both executed as well as not executed
      * validations).
@@ -825,12 +754,11 @@ public Builder removeValidations(int index) {
      *
      * repeated .google.cloud.datastream.v1.Validation validations = 1;
      */
-    public com.google.cloud.datastream.v1.Validation.Builder getValidationsBuilder(int index) {
+    public com.google.cloud.datastream.v1.Validation.Builder getValidationsBuilder(
+        int index) {
       return getValidationsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * A list of validations (includes both executed as well as not executed
      * validations).
@@ -838,16 +766,14 @@ public com.google.cloud.datastream.v1.Validation.Builder getValidationsBuilder(i
      *
      * repeated .google.cloud.datastream.v1.Validation validations = 1;
      */
-    public com.google.cloud.datastream.v1.ValidationOrBuilder getValidationsOrBuilder(int index) {
+    public com.google.cloud.datastream.v1.ValidationOrBuilder getValidationsOrBuilder(
+        int index) {
       if (validationsBuilder_ == null) {
-        return validations_.get(index);
-      } else {
+        return validations_.get(index);  } else {
         return validationsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * A list of validations (includes both executed as well as not executed
      * validations).
@@ -855,8 +781,8 @@ public com.google.cloud.datastream.v1.ValidationOrBuilder getValidationsOrBuilde
      *
      * repeated .google.cloud.datastream.v1.Validation validations = 1;
      */
-    public java.util.List
-        getValidationsOrBuilderList() {
+    public java.util.List 
+         getValidationsOrBuilderList() {
       if (validationsBuilder_ != null) {
         return validationsBuilder_.getMessageOrBuilderList();
       } else {
@@ -864,8 +790,6 @@ public com.google.cloud.datastream.v1.ValidationOrBuilder getValidationsOrBuilde
       }
     }
     /**
-     *
-     *
      * 
      * A list of validations (includes both executed as well as not executed
      * validations).
@@ -874,12 +798,10 @@ public com.google.cloud.datastream.v1.ValidationOrBuilder getValidationsOrBuilde
      * repeated .google.cloud.datastream.v1.Validation validations = 1;
      */
     public com.google.cloud.datastream.v1.Validation.Builder addValidationsBuilder() {
-      return getValidationsFieldBuilder()
-          .addBuilder(com.google.cloud.datastream.v1.Validation.getDefaultInstance());
+      return getValidationsFieldBuilder().addBuilder(
+          com.google.cloud.datastream.v1.Validation.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * A list of validations (includes both executed as well as not executed
      * validations).
@@ -887,13 +809,12 @@ public com.google.cloud.datastream.v1.Validation.Builder addValidationsBuilder()
      *
      * repeated .google.cloud.datastream.v1.Validation validations = 1;
      */
-    public com.google.cloud.datastream.v1.Validation.Builder addValidationsBuilder(int index) {
-      return getValidationsFieldBuilder()
-          .addBuilder(index, com.google.cloud.datastream.v1.Validation.getDefaultInstance());
+    public com.google.cloud.datastream.v1.Validation.Builder addValidationsBuilder(
+        int index) {
+      return getValidationsFieldBuilder().addBuilder(
+          index, com.google.cloud.datastream.v1.Validation.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * A list of validations (includes both executed as well as not executed
      * validations).
@@ -901,30 +822,27 @@ public com.google.cloud.datastream.v1.Validation.Builder addValidationsBuilder(i
      *
      * repeated .google.cloud.datastream.v1.Validation validations = 1;
      */
-    public java.util.List
-        getValidationsBuilderList() {
+    public java.util.List 
+         getValidationsBuilderList() {
       return getValidationsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.datastream.v1.Validation,
-            com.google.cloud.datastream.v1.Validation.Builder,
-            com.google.cloud.datastream.v1.ValidationOrBuilder>
+        com.google.cloud.datastream.v1.Validation, com.google.cloud.datastream.v1.Validation.Builder, com.google.cloud.datastream.v1.ValidationOrBuilder> 
         getValidationsFieldBuilder() {
       if (validationsBuilder_ == null) {
-        validationsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.cloud.datastream.v1.Validation,
-                com.google.cloud.datastream.v1.Validation.Builder,
-                com.google.cloud.datastream.v1.ValidationOrBuilder>(
-                validations_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        validationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.cloud.datastream.v1.Validation, com.google.cloud.datastream.v1.Validation.Builder, com.google.cloud.datastream.v1.ValidationOrBuilder>(
+                validations_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         validations_ = null;
       }
       return validationsBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -934,12 +852,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1.ValidationResult)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1.ValidationResult)
   private static final com.google.cloud.datastream.v1.ValidationResult DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.datastream.v1.ValidationResult();
   }
@@ -948,16 +866,16 @@ public static com.google.cloud.datastream.v1.ValidationResult getDefaultInstance
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public ValidationResult parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new ValidationResult(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public ValidationResult parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new ValidationResult(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -972,4 +890,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.datastream.v1.ValidationResult getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ValidationResultOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ValidationResultOrBuilder.java
similarity index 66%
rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ValidationResultOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ValidationResultOrBuilder.java
index 62248221..bc914cee 100644
--- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ValidationResultOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ValidationResultOrBuilder.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/datastream/v1/datastream_resources.proto
 
 package com.google.cloud.datastream.v1;
 
-public interface ValidationResultOrBuilder
-    extends
+public interface ValidationResultOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1.ValidationResult)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * A list of validations (includes both executed as well as not executed
    * validations).
@@ -33,10 +15,9 @@ public interface ValidationResultOrBuilder
    *
    * repeated .google.cloud.datastream.v1.Validation validations = 1;
    */
-  java.util.List getValidationsList();
+  java.util.List 
+      getValidationsList();
   /**
-   *
-   *
    * 
    * A list of validations (includes both executed as well as not executed
    * validations).
@@ -46,8 +27,6 @@ public interface ValidationResultOrBuilder
    */
   com.google.cloud.datastream.v1.Validation getValidations(int index);
   /**
-   *
-   *
    * 
    * A list of validations (includes both executed as well as not executed
    * validations).
@@ -57,8 +36,6 @@ public interface ValidationResultOrBuilder
    */
   int getValidationsCount();
   /**
-   *
-   *
    * 
    * A list of validations (includes both executed as well as not executed
    * validations).
@@ -66,11 +43,9 @@ public interface ValidationResultOrBuilder
    *
    * repeated .google.cloud.datastream.v1.Validation validations = 1;
    */
-  java.util.List
+  java.util.List 
       getValidationsOrBuilderList();
   /**
-   *
-   *
    * 
    * A list of validations (includes both executed as well as not executed
    * validations).
@@ -78,5 +53,6 @@ public interface ValidationResultOrBuilder
    *
    * repeated .google.cloud.datastream.v1.Validation validations = 1;
    */
-  com.google.cloud.datastream.v1.ValidationOrBuilder getValidationsOrBuilder(int index);
+  com.google.cloud.datastream.v1.ValidationOrBuilder getValidationsOrBuilder(
+      int index);
 }
diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/VpcPeeringConfig.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/VpcPeeringConfig.java
similarity index 69%
rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/VpcPeeringConfig.java
rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/VpcPeeringConfig.java
index e41e5fec..a0aac895 100644
--- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/VpcPeeringConfig.java
+++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/VpcPeeringConfig.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/datastream/v1/datastream_resources.proto
 
 package com.google.cloud.datastream.v1;
 
 /**
- *
- *
  * 
  * The VPC Peering configuration is used to create VPC peering between
  * Datastream and the consumer's VPC.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.datastream.v1.VpcPeeringConfig}
  */
-public final class VpcPeeringConfig extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class VpcPeeringConfig extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1.VpcPeeringConfig)
     VpcPeeringConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use VpcPeeringConfig.newBuilder() to construct.
   private VpcPeeringConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private VpcPeeringConfig() {
     vpc_ = "";
     subnet_ = "";
@@ -45,15 +27,16 @@ private VpcPeeringConfig() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new VpcPeeringConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private VpcPeeringConfig(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -72,27 +55,25 @@ private VpcPeeringConfig(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              vpc_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            vpc_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              subnet_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            subnet_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -100,42 +81,35 @@ private VpcPeeringConfig(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datastream.v1.DatastreamResourcesProto
-        .internal_static_google_cloud_datastream_v1_VpcPeeringConfig_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_VpcPeeringConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datastream.v1.DatastreamResourcesProto
-        .internal_static_google_cloud_datastream_v1_VpcPeeringConfig_fieldAccessorTable
+    return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_VpcPeeringConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datastream.v1.VpcPeeringConfig.class,
-            com.google.cloud.datastream.v1.VpcPeeringConfig.Builder.class);
+            com.google.cloud.datastream.v1.VpcPeeringConfig.class, com.google.cloud.datastream.v1.VpcPeeringConfig.Builder.class);
   }
 
   public static final int VPC_FIELD_NUMBER = 1;
   private volatile java.lang.Object vpc_;
   /**
-   *
-   *
    * 
    * Required. Fully qualified name of the VPC that Datastream will peer to.
    * Format: `projects/{project}/global/{networks}/{name}`
    * 
* - * - * string vpc = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string vpc = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The vpc. */ @java.lang.Override @@ -144,32 +118,30 @@ public java.lang.String getVpc() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); vpc_ = s; return s; } } /** - * - * *
    * Required. Fully qualified name of the VPC that Datastream will peer to.
    * Format: `projects/{project}/global/{networks}/{name}`
    * 
* - * - * string vpc = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string vpc = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for vpc. */ @java.lang.Override - public com.google.protobuf.ByteString getVpcBytes() { + public com.google.protobuf.ByteString + getVpcBytes() { java.lang.Object ref = vpc_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); vpc_ = b; return b; } else { @@ -180,14 +152,11 @@ public com.google.protobuf.ByteString getVpcBytes() { public static final int SUBNET_FIELD_NUMBER = 2; private volatile java.lang.Object subnet_; /** - * - * *
    * Required. A free subnet for peering. (CIDR of /29)
    * 
* * string subnet = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The subnet. */ @java.lang.Override @@ -196,29 +165,29 @@ public java.lang.String getSubnet() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); subnet_ = s; return s; } } /** - * - * *
    * Required. A free subnet for peering. (CIDR of /29)
    * 
* * string subnet = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for subnet. */ @java.lang.Override - public com.google.protobuf.ByteString getSubnetBytes() { + public com.google.protobuf.ByteString + getSubnetBytes() { java.lang.Object ref = subnet_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); subnet_ = b; return b; } else { @@ -227,7 +196,6 @@ public com.google.protobuf.ByteString getSubnetBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -239,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(vpc_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, vpc_); } @@ -269,16 +238,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.datastream.v1.VpcPeeringConfig)) { return super.equals(obj); } - com.google.cloud.datastream.v1.VpcPeeringConfig other = - (com.google.cloud.datastream.v1.VpcPeeringConfig) obj; + com.google.cloud.datastream.v1.VpcPeeringConfig other = (com.google.cloud.datastream.v1.VpcPeeringConfig) obj; - if (!getVpc().equals(other.getVpc())) return false; - if (!getSubnet().equals(other.getSubnet())) return false; + if (!getVpc() + .equals(other.getVpc())) return false; + if (!getSubnet() + .equals(other.getSubnet())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -299,104 +269,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.datastream.v1.VpcPeeringConfig parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.datastream.v1.VpcPeeringConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.VpcPeeringConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.VpcPeeringConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.VpcPeeringConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.VpcPeeringConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1.VpcPeeringConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1.VpcPeeringConfig 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.datastream.v1.VpcPeeringConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1.VpcPeeringConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1.VpcPeeringConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.VpcPeeringConfig 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.datastream.v1.VpcPeeringConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1.VpcPeeringConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datastream.v1.VpcPeeringConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The VPC Peering configuration is used to create VPC peering between
    * Datastream and the consumer's VPC.
@@ -404,23 +367,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datastream.v1.VpcPeeringConfig}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1.VpcPeeringConfig)
       com.google.cloud.datastream.v1.VpcPeeringConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datastream.v1.DatastreamResourcesProto
-          .internal_static_google_cloud_datastream_v1_VpcPeeringConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_VpcPeeringConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datastream.v1.DatastreamResourcesProto
-          .internal_static_google_cloud_datastream_v1_VpcPeeringConfig_fieldAccessorTable
+      return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_VpcPeeringConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datastream.v1.VpcPeeringConfig.class,
-              com.google.cloud.datastream.v1.VpcPeeringConfig.Builder.class);
+              com.google.cloud.datastream.v1.VpcPeeringConfig.class, com.google.cloud.datastream.v1.VpcPeeringConfig.Builder.class);
     }
 
     // Construct using com.google.cloud.datastream.v1.VpcPeeringConfig.newBuilder()
@@ -428,15 +389,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -448,9 +410,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datastream.v1.DatastreamResourcesProto
-          .internal_static_google_cloud_datastream_v1_VpcPeeringConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datastream.v1.DatastreamResourcesProto.internal_static_google_cloud_datastream_v1_VpcPeeringConfig_descriptor;
     }
 
     @java.lang.Override
@@ -469,8 +431,7 @@ public com.google.cloud.datastream.v1.VpcPeeringConfig build() {
 
     @java.lang.Override
     public com.google.cloud.datastream.v1.VpcPeeringConfig buildPartial() {
-      com.google.cloud.datastream.v1.VpcPeeringConfig result =
-          new com.google.cloud.datastream.v1.VpcPeeringConfig(this);
+      com.google.cloud.datastream.v1.VpcPeeringConfig result = new com.google.cloud.datastream.v1.VpcPeeringConfig(this);
       result.vpc_ = vpc_;
       result.subnet_ = subnet_;
       onBuilt();
@@ -481,39 +442,38 @@ public com.google.cloud.datastream.v1.VpcPeeringConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datastream.v1.VpcPeeringConfig) {
-        return mergeFrom((com.google.cloud.datastream.v1.VpcPeeringConfig) other);
+        return mergeFrom((com.google.cloud.datastream.v1.VpcPeeringConfig)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -521,8 +481,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datastream.v1.VpcPeeringConfig other) {
-      if (other == com.google.cloud.datastream.v1.VpcPeeringConfig.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datastream.v1.VpcPeeringConfig.getDefaultInstance()) return this;
       if (!other.getVpc().isEmpty()) {
         vpc_ = other.vpc_;
         onChanged();
@@ -562,23 +521,19 @@ public Builder mergeFrom(
 
     private java.lang.Object vpc_ = "";
     /**
-     *
-     *
      * 
      * Required. Fully qualified name of the VPC that Datastream will peer to.
      * Format: `projects/{project}/global/{networks}/{name}`
      * 
* - * - * string vpc = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string vpc = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The vpc. */ public java.lang.String getVpc() { java.lang.Object ref = vpc_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); vpc_ = s; return s; @@ -587,24 +542,21 @@ public java.lang.String getVpc() { } } /** - * - * *
      * Required. Fully qualified name of the VPC that Datastream will peer to.
      * Format: `projects/{project}/global/{networks}/{name}`
      * 
* - * - * string vpc = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string vpc = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for vpc. */ - public com.google.protobuf.ByteString getVpcBytes() { + public com.google.protobuf.ByteString + getVpcBytes() { java.lang.Object ref = vpc_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); vpc_ = b; return b; } else { @@ -612,70 +564,57 @@ public com.google.protobuf.ByteString getVpcBytes() { } } /** - * - * *
      * Required. Fully qualified name of the VPC that Datastream will peer to.
      * Format: `projects/{project}/global/{networks}/{name}`
      * 
* - * - * string vpc = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string vpc = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The vpc to set. * @return This builder for chaining. */ - public Builder setVpc(java.lang.String value) { + public Builder setVpc( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + vpc_ = value; onChanged(); return this; } /** - * - * *
      * Required. Fully qualified name of the VPC that Datastream will peer to.
      * Format: `projects/{project}/global/{networks}/{name}`
      * 
* - * - * string vpc = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string vpc = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearVpc() { - + vpc_ = getDefaultInstance().getVpc(); onChanged(); return this; } /** - * - * *
      * Required. Fully qualified name of the VPC that Datastream will peer to.
      * Format: `projects/{project}/global/{networks}/{name}`
      * 
* - * - * string vpc = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string vpc = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for vpc to set. * @return This builder for chaining. */ - public Builder setVpcBytes(com.google.protobuf.ByteString value) { + public Builder setVpcBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + vpc_ = value; onChanged(); return this; @@ -683,20 +622,18 @@ public Builder setVpcBytes(com.google.protobuf.ByteString value) { private java.lang.Object subnet_ = ""; /** - * - * *
      * Required. A free subnet for peering. (CIDR of /29)
      * 
* * string subnet = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The subnet. */ public java.lang.String getSubnet() { java.lang.Object ref = subnet_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); subnet_ = s; return s; @@ -705,21 +642,20 @@ public java.lang.String getSubnet() { } } /** - * - * *
      * Required. A free subnet for peering. (CIDR of /29)
      * 
* * string subnet = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for subnet. */ - public com.google.protobuf.ByteString getSubnetBytes() { + public com.google.protobuf.ByteString + getSubnetBytes() { java.lang.Object ref = subnet_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); subnet_ = b; return b; } else { @@ -727,68 +663,61 @@ public com.google.protobuf.ByteString getSubnetBytes() { } } /** - * - * *
      * Required. A free subnet for peering. (CIDR of /29)
      * 
* * string subnet = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The subnet to set. * @return This builder for chaining. */ - public Builder setSubnet(java.lang.String value) { + public Builder setSubnet( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + subnet_ = value; onChanged(); return this; } /** - * - * *
      * Required. A free subnet for peering. (CIDR of /29)
      * 
* * string subnet = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearSubnet() { - + subnet_ = getDefaultInstance().getSubnet(); onChanged(); return this; } /** - * - * *
      * Required. A free subnet for peering. (CIDR of /29)
      * 
* * string subnet = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for subnet to set. * @return This builder for chaining. */ - public Builder setSubnetBytes(com.google.protobuf.ByteString value) { + public Builder setSubnetBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + subnet_ = 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); } @@ -798,12 +727,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1.VpcPeeringConfig) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1.VpcPeeringConfig) private static final com.google.cloud.datastream.v1.VpcPeeringConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1.VpcPeeringConfig(); } @@ -812,16 +741,16 @@ public static com.google.cloud.datastream.v1.VpcPeeringConfig getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public VpcPeeringConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new VpcPeeringConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public VpcPeeringConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new VpcPeeringConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -836,4 +765,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datastream.v1.VpcPeeringConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/VpcPeeringConfigOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/VpcPeeringConfigOrBuilder.java similarity index 52% rename from proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/VpcPeeringConfigOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/VpcPeeringConfigOrBuilder.java index ceb3ef38..d4f2223f 100644 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/VpcPeeringConfigOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/VpcPeeringConfigOrBuilder.java @@ -1,81 +1,51 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1/datastream_resources.proto package com.google.cloud.datastream.v1; -public interface VpcPeeringConfigOrBuilder - extends +public interface VpcPeeringConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1.VpcPeeringConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Fully qualified name of the VPC that Datastream will peer to.
    * Format: `projects/{project}/global/{networks}/{name}`
    * 
* - * - * string vpc = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string vpc = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The vpc. */ java.lang.String getVpc(); /** - * - * *
    * Required. Fully qualified name of the VPC that Datastream will peer to.
    * Format: `projects/{project}/global/{networks}/{name}`
    * 
* - * - * string vpc = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string vpc = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for vpc. */ - com.google.protobuf.ByteString getVpcBytes(); + com.google.protobuf.ByteString + getVpcBytes(); /** - * - * *
    * Required. A free subnet for peering. (CIDR of /29)
    * 
* * string subnet = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The subnet. */ java.lang.String getSubnet(); /** - * - * *
    * Required. A free subnet for peering. (CIDR of /29)
    * 
* * string subnet = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for subnet. */ - com.google.protobuf.ByteString getSubnetBytes(); + com.google.protobuf.ByteString + getSubnetBytes(); } diff --git a/proto-google-cloud-datastream-v1/src/main/proto/google/cloud/datastream/v1/datastream.proto b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/proto/google/cloud/datastream/v1/datastream.proto similarity index 99% rename from proto-google-cloud-datastream-v1/src/main/proto/google/cloud/datastream/v1/datastream.proto rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/proto/google/cloud/datastream/v1/datastream.proto index 0c11a1eb..a2963391 100644 --- a/proto-google-cloud-datastream-v1/src/main/proto/google/cloud/datastream/v1/datastream.proto +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/proto/google/cloud/datastream/v1/datastream.proto @@ -332,6 +332,9 @@ message DiscoverConnectionProfileRequest { // MySQL RDBMS to enrich with child data objects and metadata. MysqlRdbms mysql_rdbms = 101; + + // PostgreSQL RDBMS to enrich with child data objects and metadata. + PostgresqlRdbms postgresql_rdbms = 102; } } @@ -344,6 +347,9 @@ message DiscoverConnectionProfileResponse { // Enriched MySQL RDBMS object. MysqlRdbms mysql_rdbms = 101; + + // Enriched PostgreSQL RDBMS object. + PostgresqlRdbms postgresql_rdbms = 102; } } diff --git a/proto-google-cloud-datastream-v1/src/main/proto/google/cloud/datastream/v1/datastream_resources.proto b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/proto/google/cloud/datastream/v1/datastream_resources.proto similarity index 74% rename from proto-google-cloud-datastream-v1/src/main/proto/google/cloud/datastream/v1/datastream_resources.proto rename to owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/proto/google/cloud/datastream/v1/datastream_resources.proto index 7c320add..58a2c7bd 100644 --- a/proto-google-cloud-datastream-v1/src/main/proto/google/cloud/datastream/v1/datastream_resources.proto +++ b/owl-bot-staging/v1/proto-google-cloud-datastream-v1/src/main/proto/google/cloud/datastream/v1/datastream_resources.proto @@ -75,6 +75,24 @@ message MysqlProfile { MysqlSslConfig ssl_config = 5; } +// PostgreSQL database profile. +message PostgresqlProfile { + // Required. Hostname for the PostgreSQL connection. + string hostname = 1 [(google.api.field_behavior) = REQUIRED]; + + // Port for the PostgreSQL connection, default value is 5432. + int32 port = 2; + + // Required. Username for the PostgreSQL connection. + string username = 3 [(google.api.field_behavior) = REQUIRED]; + + // Required. Password for the PostgreSQL connection. + string password = 4 [(google.api.field_behavior) = REQUIRED]; + + // Required. Database for the PostgreSQL connection. + string database = 5 [(google.api.field_behavior) = REQUIRED]; +} + // Cloud Storage bucket profile. message GcsProfile { // Required. The Cloud Storage bucket name. @@ -84,8 +102,15 @@ message GcsProfile { string root_path = 2; } +// BigQuery warehouse profile. +message BigQueryProfile { + +} + // Static IP address connectivity. -message StaticServiceIpConnectivity {} +message StaticServiceIpConnectivity { + +} // Forward SSH Tunnel connectivity. message ForwardSshTunnelConnectivity { @@ -156,12 +181,10 @@ message PrivateConnection { string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The create time of the resource. - google.protobuf.Timestamp create_time = 2 - [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The update time of the resource. - google.protobuf.Timestamp update_time = 3 - [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; // Labels. map labels = 4; @@ -172,8 +195,7 @@ message PrivateConnection { // Output only. The state of the Private Connection. State state = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. In case of error, the details of the error in a user-friendly - // format. + // Output only. In case of error, the details of the error in a user-friendly format. Error error = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; // VPC Peering Config. @@ -204,12 +226,10 @@ message Route { string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The create time of the resource. - google.protobuf.Timestamp create_time = 2 - [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The update time of the resource. - google.protobuf.Timestamp update_time = 3 - [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; // Labels. map labels = 4; @@ -242,8 +262,8 @@ message MysqlSslConfig { // Output only. Indicates whether the client_certificate field is set. bool client_certificate_set = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Input only. PEM-encoded certificate of the CA that signed the source - // database server's certificate. + // Input only. PEM-encoded certificate of the CA that signed the source database + // server's certificate. string ca_certificate = 5 [(google.api.field_behavior) = INPUT_ONLY]; // Output only. Indicates whether the ca_certificate field is set. @@ -262,12 +282,10 @@ message ConnectionProfile { string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The create time of the resource. - google.protobuf.Timestamp create_time = 2 - [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The update time of the resource. - google.protobuf.Timestamp update_time = 3 - [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; // Labels. map labels = 4; @@ -285,6 +303,12 @@ message ConnectionProfile { // MySQL ConnectionProfile configuration. MysqlProfile mysql_profile = 102; + + // BigQuery Connection Profile configuration. + BigQueryProfile bigquery_profile = 103; + + // PostgreSQL Connection Profile configuration. + PostgresqlProfile postgresql_profile = 104; } // Connectivity options used to establish a connection to the profile. @@ -336,7 +360,7 @@ message OracleTable { string table = 1; // Oracle columns in the schema. - // When unspecified as part of inclue/exclude lists, includes/excludes + // When unspecified as part of include/exclude objects, includes/excludes // everything. repeated OracleColumn oracle_columns = 2; } @@ -358,11 +382,104 @@ message OracleRdbms { // Oracle data source configuration message OracleSourceConfig { + // Configuration to drop large object values. + message DropLargeObjects { + + } + + // Configuration to stream large object values. + message StreamLargeObjects { + + } + // Oracle objects to include in the stream. OracleRdbms include_objects = 1; // Oracle objects to exclude from the stream. OracleRdbms exclude_objects = 2; + + // Maximum number of concurrent CDC tasks. The number should be non negative. + // If not set (or set to 0), the system's default value will be used. + int32 max_concurrent_cdc_tasks = 3; + + // The configuration for handle Oracle large objects. + oneof large_objects_handling { + // Drop large object values. + DropLargeObjects drop_large_objects = 100; + + // Stream large object values. + StreamLargeObjects stream_large_objects = 102; + } +} + +// PostgreSQL Column. +message PostgresqlColumn { + // Column name. + string column = 1; + + // The PostgreSQL data type. + string data_type = 2; + + // Column length. + int32 length = 3; + + // Column precision. + int32 precision = 4; + + // Column scale. + int32 scale = 5; + + // Whether or not the column represents a primary key. + bool primary_key = 7; + + // Whether or not the column can accept a null value. + bool nullable = 8; + + // The ordinal position of the column in the table. + int32 ordinal_position = 9; +} + +// PostgreSQL table. +message PostgresqlTable { + // Table name. + string table = 1; + + // PostgreSQL columns in the schema. + // When unspecified as part of include/exclude objects, + // includes/excludes everything. + repeated PostgresqlColumn postgresql_columns = 2; +} + +// PostgreSQL schema. +message PostgresqlSchema { + // Schema name. + string schema = 1; + + // Tables in the schema. + repeated PostgresqlTable postgresql_tables = 2; +} + +// PostgreSQL database structure. +message PostgresqlRdbms { + // PostgreSQL schemas in the database server. + repeated PostgresqlSchema postgresql_schemas = 1; +} + +// PostgreSQL data source configuration +message PostgresqlSourceConfig { + // PostgreSQL objects to include in the stream. + PostgresqlRdbms include_objects = 1; + + // PostgreSQL objects to exclude from the stream. + PostgresqlRdbms exclude_objects = 2; + + // Required. The name of the logical replication slot that's configured with the + // pgoutput plugin. + string replication_slot = 3 [(google.api.field_behavior) = REQUIRED]; + + // Required. The name of the publication that includes the set of all tables that are + // defined in the stream's include_objects. + string publication = 4 [(google.api.field_behavior) = REQUIRED]; } // MySQL Column. @@ -396,7 +513,7 @@ message MysqlTable { string table = 1; // MySQL columns in the database. - // When unspecified as part of include/exclude lists, includes/excludes + // When unspecified as part of include/exclude objects, includes/excludes // everything. repeated MysqlColumn mysql_columns = 2; } @@ -423,6 +540,10 @@ message MysqlSourceConfig { // MySQL objects to exclude from the stream. MysqlRdbms exclude_objects = 2; + + // Maximum number of concurrent CDC tasks. The number should be non negative. + // If not set (or set to 0), the system's default value will be used. + int32 max_concurrent_cdc_tasks = 3; } // The configuration of the stream source. @@ -438,16 +559,21 @@ message SourceConfig { // Stream configuration that is specific to the data source type. oneof source_stream_config { - // Oracle data source configuration + // Oracle data source configuration. OracleSourceConfig oracle_source_config = 100; - // MySQL data source configuration + // MySQL data source configuration. MysqlSourceConfig mysql_source_config = 101; + + // PostgreSQL data source configuration. + PostgresqlSourceConfig postgresql_source_config = 102; } } // AVRO file format configuration. -message AvroFileFormat {} +message AvroFileFormat { + +} // JSON file format configuration. message JsonFileFormat { @@ -504,6 +630,56 @@ message GcsDestinationConfig { } } +message BigQueryDestinationConfig { + // A single target dataset to which all data will be streamed. + message SingleTargetDataset { + string dataset_id = 1; + } + + // Destination datasets are created so that hierarchy of the destination data + // objects matches the source hierarchy. + message SourceHierarchyDatasets { + // Dataset template used for dynamic dataset creation. + message DatasetTemplate { + // Required. The geographic location where the dataset should reside. See + // https://cloud.google.com/bigquery/docs/locations for supported + // locations. + string location = 1 [(google.api.field_behavior) = REQUIRED]; + + // If supplied, every created dataset will have its name prefixed by the + // provided value. The prefix and name will be separated by an underscore. + // i.e. _. + string dataset_id_prefix = 2; + + // Describes the Cloud KMS encryption key that will be used to + // protect destination BigQuery table. The BigQuery Service Account + // associated with your project requires access to this encryption key. + // i.e. + // projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{cryptoKey}. + // See https://cloud.google.com/bigquery/docs/customer-managed-encryption + // for more information. + string kms_key_name = 3; + } + + DatasetTemplate dataset_template = 2; + } + + // Target dataset(s) configuration. + oneof dataset_config { + // Single destination dataset. + SingleTargetDataset single_target_dataset = 201; + + // Source hierarchy datasets. + SourceHierarchyDatasets source_hierarchy_datasets = 202; + } + + // The guaranteed data freshness (in seconds) when querying tables created by + // the stream. Editing this field will only affect new tables created in the + // future, but existing tables will not be impacted. Lower values mean that + // queries will return fresher data, but may result in higher cost. + google.protobuf.Duration data_freshness = 300; +} + // The configuration of the stream destination. message DestinationConfig { // Required. Destination connection profile resource. @@ -519,6 +695,9 @@ message DestinationConfig { oneof destination_stream_config { // A configuration for how data should be loaded to Cloud Storage. GcsDestinationConfig gcs_destination_config = 100; + + // BigQuery destination configuration. + BigQueryDestinationConfig bigquery_destination_config = 101; } } @@ -573,22 +752,25 @@ message Stream { // MySQL data source objects to avoid backfilling. MysqlRdbms mysql_excluded_objects = 2; + + // PostgreSQL data source objects to avoid backfilling. + PostgresqlRdbms postgresql_excluded_objects = 3; } } // Backfill strategy to disable automatic backfill for the Stream's objects. - message BackfillNoneStrategy {} + message BackfillNoneStrategy { + + } // Output only. The stream's name. string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The creation time of the stream. - google.protobuf.Timestamp create_time = 2 - [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The last update time of the stream. - google.protobuf.Timestamp update_time = 3 - [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; // Labels. map labels = 4; @@ -600,8 +782,7 @@ message Stream { SourceConfig source_config = 6 [(google.api.field_behavior) = REQUIRED]; // Required. Destination connection profile configuration. - DestinationConfig destination_config = 7 - [(google.api.field_behavior) = REQUIRED]; + DestinationConfig destination_config = 7 [(google.api.field_behavior) = REQUIRED]; // The state of the stream. State state = 8; @@ -623,8 +804,7 @@ message Stream { // If provided, it will be used to encrypt the data. // If left blank, data will be encrypted using an internal Stream-specific // encryption key provisioned through KMS. - optional string customer_managed_encryption_key = 10 - [(google.api.field_behavior) = IMMUTABLE]; + optional string customer_managed_encryption_key = 10 [(google.api.field_behavior) = IMMUTABLE]; } // A specific stream object (e.g a specific DB table). @@ -638,12 +818,10 @@ message StreamObject { string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The creation time of the object. - google.protobuf.Timestamp create_time = 2 - [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The last update time of the object. - google.protobuf.Timestamp update_time = 3 - [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; // Required. Display name. string display_name = 5 [(google.api.field_behavior) = REQUIRED]; @@ -669,6 +847,15 @@ message SourceObjectIdentifier { string table = 2 [(google.api.field_behavior) = REQUIRED]; } + // PostgreSQL data source object identifier. + message PostgresqlObjectIdentifier { + // Required. The schema name. + string schema = 1 [(google.api.field_behavior) = REQUIRED]; + + // Required. The table name. + string table = 2 [(google.api.field_behavior) = REQUIRED]; + } + // Mysql data source object identifier. message MysqlObjectIdentifier { // Required. The database name. @@ -685,6 +872,9 @@ message SourceObjectIdentifier { // Mysql data source object identifier. MysqlObjectIdentifier mysql_identifier = 2; + + // PostgreSQL data source object identifier. + PostgresqlObjectIdentifier postgresql_identifier = 3; } } @@ -740,12 +930,10 @@ message BackfillJob { Trigger trigger = 2; // Output only. Backfill job's start time. - google.protobuf.Timestamp last_start_time = 3 - [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp last_start_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Backfill job's end time. - google.protobuf.Timestamp last_end_time = 4 - [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp last_end_time = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Errors which caused the backfill job to fail. repeated Error errors = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/create/SyncCreateSetCredentialsProvider.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/create/SyncCreateSetCredentialsProvider.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/create/SyncCreateSetCredentialsProvider.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/create/SyncCreateSetCredentialsProvider1.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/create/SyncCreateSetCredentialsProvider1.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/create/SyncCreateSetCredentialsProvider1.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/create/SyncCreateSetEndpoint.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/create/SyncCreateSetEndpoint.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/create/SyncCreateSetEndpoint.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/create/SyncCreateSetEndpoint.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createconnectionprofile/AsyncCreateConnectionProfile.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createconnectionprofile/AsyncCreateConnectionProfile.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createconnectionprofile/AsyncCreateConnectionProfile.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createconnectionprofile/AsyncCreateConnectionProfile.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createconnectionprofile/AsyncCreateConnectionProfileLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createconnectionprofile/AsyncCreateConnectionProfileLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createconnectionprofile/AsyncCreateConnectionProfileLRO.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createconnectionprofile/AsyncCreateConnectionProfileLRO.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createconnectionprofile/SyncCreateConnectionProfile.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createconnectionprofile/SyncCreateConnectionProfile.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createconnectionprofile/SyncCreateConnectionProfile.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createconnectionprofile/SyncCreateConnectionProfile.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createconnectionprofile/SyncCreateConnectionProfileLocationnameConnectionprofileString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createconnectionprofile/SyncCreateConnectionProfileLocationnameConnectionprofileString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createconnectionprofile/SyncCreateConnectionProfileLocationnameConnectionprofileString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createconnectionprofile/SyncCreateConnectionProfileLocationnameConnectionprofileString.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createconnectionprofile/SyncCreateConnectionProfileStringConnectionprofileString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createconnectionprofile/SyncCreateConnectionProfileStringConnectionprofileString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createconnectionprofile/SyncCreateConnectionProfileStringConnectionprofileString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createconnectionprofile/SyncCreateConnectionProfileStringConnectionprofileString.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createprivateconnection/AsyncCreatePrivateConnection.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createprivateconnection/AsyncCreatePrivateConnection.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createprivateconnection/AsyncCreatePrivateConnection.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createprivateconnection/AsyncCreatePrivateConnection.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createprivateconnection/AsyncCreatePrivateConnectionLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createprivateconnection/AsyncCreatePrivateConnectionLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createprivateconnection/AsyncCreatePrivateConnectionLRO.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createprivateconnection/AsyncCreatePrivateConnectionLRO.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createprivateconnection/SyncCreatePrivateConnection.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createprivateconnection/SyncCreatePrivateConnection.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createprivateconnection/SyncCreatePrivateConnection.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createprivateconnection/SyncCreatePrivateConnection.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createprivateconnection/SyncCreatePrivateConnectionLocationnamePrivateconnectionString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createprivateconnection/SyncCreatePrivateConnectionLocationnamePrivateconnectionString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createprivateconnection/SyncCreatePrivateConnectionLocationnamePrivateconnectionString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createprivateconnection/SyncCreatePrivateConnectionLocationnamePrivateconnectionString.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createprivateconnection/SyncCreatePrivateConnectionStringPrivateconnectionString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createprivateconnection/SyncCreatePrivateConnectionStringPrivateconnectionString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createprivateconnection/SyncCreatePrivateConnectionStringPrivateconnectionString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createprivateconnection/SyncCreatePrivateConnectionStringPrivateconnectionString.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createroute/AsyncCreateRoute.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createroute/AsyncCreateRoute.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createroute/AsyncCreateRoute.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createroute/AsyncCreateRoute.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createroute/AsyncCreateRouteLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createroute/AsyncCreateRouteLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createroute/AsyncCreateRouteLRO.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createroute/AsyncCreateRouteLRO.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createroute/SyncCreateRoute.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createroute/SyncCreateRoute.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createroute/SyncCreateRoute.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createroute/SyncCreateRoute.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createroute/SyncCreateRoutePrivateconnectionnameRouteString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createroute/SyncCreateRoutePrivateconnectionnameRouteString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createroute/SyncCreateRoutePrivateconnectionnameRouteString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createroute/SyncCreateRoutePrivateconnectionnameRouteString.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createroute/SyncCreateRouteStringRouteString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createroute/SyncCreateRouteStringRouteString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createroute/SyncCreateRouteStringRouteString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createroute/SyncCreateRouteStringRouteString.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createstream/AsyncCreateStream.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createstream/AsyncCreateStream.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createstream/AsyncCreateStream.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createstream/AsyncCreateStream.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createstream/AsyncCreateStreamLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createstream/AsyncCreateStreamLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createstream/AsyncCreateStreamLRO.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createstream/AsyncCreateStreamLRO.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createstream/SyncCreateStream.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createstream/SyncCreateStream.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createstream/SyncCreateStream.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createstream/SyncCreateStream.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createstream/SyncCreateStreamLocationnameStreamString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createstream/SyncCreateStreamLocationnameStreamString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createstream/SyncCreateStreamLocationnameStreamString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createstream/SyncCreateStreamLocationnameStreamString.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createstream/SyncCreateStreamStringStreamString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createstream/SyncCreateStreamStringStreamString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createstream/SyncCreateStreamStringStreamString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/createstream/SyncCreateStreamStringStreamString.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteconnectionprofile/AsyncDeleteConnectionProfile.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteconnectionprofile/AsyncDeleteConnectionProfile.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteconnectionprofile/AsyncDeleteConnectionProfile.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteconnectionprofile/AsyncDeleteConnectionProfile.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteconnectionprofile/AsyncDeleteConnectionProfileLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteconnectionprofile/AsyncDeleteConnectionProfileLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteconnectionprofile/AsyncDeleteConnectionProfileLRO.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteconnectionprofile/AsyncDeleteConnectionProfileLRO.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteconnectionprofile/SyncDeleteConnectionProfile.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteconnectionprofile/SyncDeleteConnectionProfile.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteconnectionprofile/SyncDeleteConnectionProfile.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteconnectionprofile/SyncDeleteConnectionProfile.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteconnectionprofile/SyncDeleteConnectionProfileConnectionprofilename.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteconnectionprofile/SyncDeleteConnectionProfileConnectionprofilename.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteconnectionprofile/SyncDeleteConnectionProfileConnectionprofilename.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteconnectionprofile/SyncDeleteConnectionProfileConnectionprofilename.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteconnectionprofile/SyncDeleteConnectionProfileString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteconnectionprofile/SyncDeleteConnectionProfileString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteconnectionprofile/SyncDeleteConnectionProfileString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteconnectionprofile/SyncDeleteConnectionProfileString.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteprivateconnection/AsyncDeletePrivateConnection.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteprivateconnection/AsyncDeletePrivateConnection.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteprivateconnection/AsyncDeletePrivateConnection.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteprivateconnection/AsyncDeletePrivateConnection.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteprivateconnection/AsyncDeletePrivateConnectionLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteprivateconnection/AsyncDeletePrivateConnectionLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteprivateconnection/AsyncDeletePrivateConnectionLRO.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteprivateconnection/AsyncDeletePrivateConnectionLRO.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteprivateconnection/SyncDeletePrivateConnection.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteprivateconnection/SyncDeletePrivateConnection.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteprivateconnection/SyncDeletePrivateConnection.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteprivateconnection/SyncDeletePrivateConnection.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteprivateconnection/SyncDeletePrivateConnectionPrivateconnectionname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteprivateconnection/SyncDeletePrivateConnectionPrivateconnectionname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteprivateconnection/SyncDeletePrivateConnectionPrivateconnectionname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteprivateconnection/SyncDeletePrivateConnectionPrivateconnectionname.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteprivateconnection/SyncDeletePrivateConnectionString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteprivateconnection/SyncDeletePrivateConnectionString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteprivateconnection/SyncDeletePrivateConnectionString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteprivateconnection/SyncDeletePrivateConnectionString.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteroute/AsyncDeleteRoute.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteroute/AsyncDeleteRoute.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteroute/AsyncDeleteRoute.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteroute/AsyncDeleteRoute.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteroute/AsyncDeleteRouteLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteroute/AsyncDeleteRouteLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteroute/AsyncDeleteRouteLRO.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteroute/AsyncDeleteRouteLRO.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteroute/SyncDeleteRoute.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteroute/SyncDeleteRoute.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteroute/SyncDeleteRoute.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteroute/SyncDeleteRoute.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteroute/SyncDeleteRouteRoutename.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteroute/SyncDeleteRouteRoutename.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteroute/SyncDeleteRouteRoutename.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteroute/SyncDeleteRouteRoutename.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteroute/SyncDeleteRouteString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteroute/SyncDeleteRouteString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteroute/SyncDeleteRouteString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deleteroute/SyncDeleteRouteString.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deletestream/AsyncDeleteStream.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deletestream/AsyncDeleteStream.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deletestream/AsyncDeleteStream.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deletestream/AsyncDeleteStream.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deletestream/AsyncDeleteStreamLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deletestream/AsyncDeleteStreamLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deletestream/AsyncDeleteStreamLRO.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deletestream/AsyncDeleteStreamLRO.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deletestream/SyncDeleteStream.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deletestream/SyncDeleteStream.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deletestream/SyncDeleteStream.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deletestream/SyncDeleteStream.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deletestream/SyncDeleteStreamStreamname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deletestream/SyncDeleteStreamStreamname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deletestream/SyncDeleteStreamStreamname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deletestream/SyncDeleteStreamStreamname.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deletestream/SyncDeleteStreamString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deletestream/SyncDeleteStreamString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deletestream/SyncDeleteStreamString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/deletestream/SyncDeleteStreamString.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/discoverconnectionprofile/AsyncDiscoverConnectionProfile.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/discoverconnectionprofile/AsyncDiscoverConnectionProfile.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/discoverconnectionprofile/AsyncDiscoverConnectionProfile.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/discoverconnectionprofile/AsyncDiscoverConnectionProfile.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/discoverconnectionprofile/SyncDiscoverConnectionProfile.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/discoverconnectionprofile/SyncDiscoverConnectionProfile.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/discoverconnectionprofile/SyncDiscoverConnectionProfile.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/discoverconnectionprofile/SyncDiscoverConnectionProfile.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/fetchstaticips/AsyncFetchStaticIps.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/fetchstaticips/AsyncFetchStaticIps.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/fetchstaticips/AsyncFetchStaticIps.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/fetchstaticips/AsyncFetchStaticIps.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/fetchstaticips/AsyncFetchStaticIpsPaged.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/fetchstaticips/AsyncFetchStaticIpsPaged.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/fetchstaticips/AsyncFetchStaticIpsPaged.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/fetchstaticips/AsyncFetchStaticIpsPaged.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/fetchstaticips/SyncFetchStaticIps.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/fetchstaticips/SyncFetchStaticIps.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/fetchstaticips/SyncFetchStaticIps.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/fetchstaticips/SyncFetchStaticIps.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/fetchstaticips/SyncFetchStaticIpsLocationname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/fetchstaticips/SyncFetchStaticIpsLocationname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/fetchstaticips/SyncFetchStaticIpsLocationname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/fetchstaticips/SyncFetchStaticIpsLocationname.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/fetchstaticips/SyncFetchStaticIpsString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/fetchstaticips/SyncFetchStaticIpsString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/fetchstaticips/SyncFetchStaticIpsString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/fetchstaticips/SyncFetchStaticIpsString.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getconnectionprofile/AsyncGetConnectionProfile.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getconnectionprofile/AsyncGetConnectionProfile.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getconnectionprofile/AsyncGetConnectionProfile.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getconnectionprofile/AsyncGetConnectionProfile.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getconnectionprofile/SyncGetConnectionProfile.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getconnectionprofile/SyncGetConnectionProfile.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getconnectionprofile/SyncGetConnectionProfile.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getconnectionprofile/SyncGetConnectionProfile.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getconnectionprofile/SyncGetConnectionProfileConnectionprofilename.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getconnectionprofile/SyncGetConnectionProfileConnectionprofilename.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getconnectionprofile/SyncGetConnectionProfileConnectionprofilename.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getconnectionprofile/SyncGetConnectionProfileConnectionprofilename.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getconnectionprofile/SyncGetConnectionProfileString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getconnectionprofile/SyncGetConnectionProfileString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getconnectionprofile/SyncGetConnectionProfileString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getconnectionprofile/SyncGetConnectionProfileString.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getlocation/AsyncGetLocation.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getlocation/AsyncGetLocation.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getlocation/AsyncGetLocation.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getlocation/AsyncGetLocation.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getlocation/SyncGetLocation.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getlocation/SyncGetLocation.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getlocation/SyncGetLocation.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getlocation/SyncGetLocation.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getprivateconnection/AsyncGetPrivateConnection.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getprivateconnection/AsyncGetPrivateConnection.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getprivateconnection/AsyncGetPrivateConnection.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getprivateconnection/AsyncGetPrivateConnection.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getprivateconnection/SyncGetPrivateConnection.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getprivateconnection/SyncGetPrivateConnection.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getprivateconnection/SyncGetPrivateConnection.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getprivateconnection/SyncGetPrivateConnection.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getprivateconnection/SyncGetPrivateConnectionPrivateconnectionname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getprivateconnection/SyncGetPrivateConnectionPrivateconnectionname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getprivateconnection/SyncGetPrivateConnectionPrivateconnectionname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getprivateconnection/SyncGetPrivateConnectionPrivateconnectionname.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getprivateconnection/SyncGetPrivateConnectionString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getprivateconnection/SyncGetPrivateConnectionString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getprivateconnection/SyncGetPrivateConnectionString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getprivateconnection/SyncGetPrivateConnectionString.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getroute/AsyncGetRoute.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getroute/AsyncGetRoute.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getroute/AsyncGetRoute.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getroute/AsyncGetRoute.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getroute/SyncGetRoute.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getroute/SyncGetRoute.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getroute/SyncGetRoute.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getroute/SyncGetRoute.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getroute/SyncGetRouteRoutename.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getroute/SyncGetRouteRoutename.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getroute/SyncGetRouteRoutename.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getroute/SyncGetRouteRoutename.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getroute/SyncGetRouteString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getroute/SyncGetRouteString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getroute/SyncGetRouteString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getroute/SyncGetRouteString.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getstream/AsyncGetStream.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getstream/AsyncGetStream.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getstream/AsyncGetStream.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getstream/AsyncGetStream.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getstream/SyncGetStream.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getstream/SyncGetStream.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getstream/SyncGetStream.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getstream/SyncGetStream.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getstream/SyncGetStreamStreamname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getstream/SyncGetStreamStreamname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getstream/SyncGetStreamStreamname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getstream/SyncGetStreamStreamname.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getstream/SyncGetStreamString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getstream/SyncGetStreamString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getstream/SyncGetStreamString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getstream/SyncGetStreamString.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getstreamobject/AsyncGetStreamObject.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getstreamobject/AsyncGetStreamObject.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getstreamobject/AsyncGetStreamObject.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getstreamobject/AsyncGetStreamObject.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getstreamobject/SyncGetStreamObject.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getstreamobject/SyncGetStreamObject.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getstreamobject/SyncGetStreamObject.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getstreamobject/SyncGetStreamObject.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getstreamobject/SyncGetStreamObjectStreamobjectname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getstreamobject/SyncGetStreamObjectStreamobjectname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getstreamobject/SyncGetStreamObjectStreamobjectname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getstreamobject/SyncGetStreamObjectStreamobjectname.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getstreamobject/SyncGetStreamObjectString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getstreamobject/SyncGetStreamObjectString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getstreamobject/SyncGetStreamObjectString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/getstreamobject/SyncGetStreamObjectString.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listconnectionprofiles/AsyncListConnectionProfiles.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listconnectionprofiles/AsyncListConnectionProfiles.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listconnectionprofiles/AsyncListConnectionProfiles.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listconnectionprofiles/AsyncListConnectionProfiles.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listconnectionprofiles/AsyncListConnectionProfilesPaged.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listconnectionprofiles/AsyncListConnectionProfilesPaged.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listconnectionprofiles/AsyncListConnectionProfilesPaged.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listconnectionprofiles/AsyncListConnectionProfilesPaged.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listconnectionprofiles/SyncListConnectionProfiles.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listconnectionprofiles/SyncListConnectionProfiles.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listconnectionprofiles/SyncListConnectionProfiles.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listconnectionprofiles/SyncListConnectionProfiles.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listconnectionprofiles/SyncListConnectionProfilesLocationname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listconnectionprofiles/SyncListConnectionProfilesLocationname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listconnectionprofiles/SyncListConnectionProfilesLocationname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listconnectionprofiles/SyncListConnectionProfilesLocationname.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listconnectionprofiles/SyncListConnectionProfilesString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listconnectionprofiles/SyncListConnectionProfilesString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listconnectionprofiles/SyncListConnectionProfilesString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listconnectionprofiles/SyncListConnectionProfilesString.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listlocations/AsyncListLocations.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listlocations/AsyncListLocations.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listlocations/AsyncListLocations.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listlocations/AsyncListLocations.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listlocations/AsyncListLocationsPaged.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listlocations/AsyncListLocationsPaged.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listlocations/AsyncListLocationsPaged.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listlocations/AsyncListLocationsPaged.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listlocations/SyncListLocations.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listlocations/SyncListLocations.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listlocations/SyncListLocations.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listlocations/SyncListLocations.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listprivateconnections/AsyncListPrivateConnections.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listprivateconnections/AsyncListPrivateConnections.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listprivateconnections/AsyncListPrivateConnections.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listprivateconnections/AsyncListPrivateConnections.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listprivateconnections/AsyncListPrivateConnectionsPaged.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listprivateconnections/AsyncListPrivateConnectionsPaged.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listprivateconnections/AsyncListPrivateConnectionsPaged.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listprivateconnections/AsyncListPrivateConnectionsPaged.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listprivateconnections/SyncListPrivateConnections.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listprivateconnections/SyncListPrivateConnections.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listprivateconnections/SyncListPrivateConnections.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listprivateconnections/SyncListPrivateConnections.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listprivateconnections/SyncListPrivateConnectionsLocationname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listprivateconnections/SyncListPrivateConnectionsLocationname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listprivateconnections/SyncListPrivateConnectionsLocationname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listprivateconnections/SyncListPrivateConnectionsLocationname.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listprivateconnections/SyncListPrivateConnectionsString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listprivateconnections/SyncListPrivateConnectionsString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listprivateconnections/SyncListPrivateConnectionsString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listprivateconnections/SyncListPrivateConnectionsString.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listroutes/AsyncListRoutes.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listroutes/AsyncListRoutes.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listroutes/AsyncListRoutes.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listroutes/AsyncListRoutes.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listroutes/AsyncListRoutesPaged.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listroutes/AsyncListRoutesPaged.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listroutes/AsyncListRoutesPaged.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listroutes/AsyncListRoutesPaged.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listroutes/SyncListRoutes.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listroutes/SyncListRoutes.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listroutes/SyncListRoutes.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listroutes/SyncListRoutes.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listroutes/SyncListRoutesPrivateconnectionname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listroutes/SyncListRoutesPrivateconnectionname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listroutes/SyncListRoutesPrivateconnectionname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listroutes/SyncListRoutesPrivateconnectionname.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listroutes/SyncListRoutesString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listroutes/SyncListRoutesString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listroutes/SyncListRoutesString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/listroutes/SyncListRoutesString.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/liststreamobjects/AsyncListStreamObjects.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/liststreamobjects/AsyncListStreamObjects.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/liststreamobjects/AsyncListStreamObjects.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/liststreamobjects/AsyncListStreamObjects.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/liststreamobjects/AsyncListStreamObjectsPaged.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/liststreamobjects/AsyncListStreamObjectsPaged.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/liststreamobjects/AsyncListStreamObjectsPaged.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/liststreamobjects/AsyncListStreamObjectsPaged.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/liststreamobjects/SyncListStreamObjects.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/liststreamobjects/SyncListStreamObjects.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/liststreamobjects/SyncListStreamObjects.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/liststreamobjects/SyncListStreamObjects.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/liststreamobjects/SyncListStreamObjectsStreamname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/liststreamobjects/SyncListStreamObjectsStreamname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/liststreamobjects/SyncListStreamObjectsStreamname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/liststreamobjects/SyncListStreamObjectsStreamname.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/liststreamobjects/SyncListStreamObjectsString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/liststreamobjects/SyncListStreamObjectsString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/liststreamobjects/SyncListStreamObjectsString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/liststreamobjects/SyncListStreamObjectsString.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/liststreams/AsyncListStreams.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/liststreams/AsyncListStreams.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/liststreams/AsyncListStreams.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/liststreams/AsyncListStreams.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/liststreams/AsyncListStreamsPaged.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/liststreams/AsyncListStreamsPaged.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/liststreams/AsyncListStreamsPaged.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/liststreams/AsyncListStreamsPaged.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/liststreams/SyncListStreams.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/liststreams/SyncListStreams.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/liststreams/SyncListStreams.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/liststreams/SyncListStreams.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/liststreams/SyncListStreamsLocationname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/liststreams/SyncListStreamsLocationname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/liststreams/SyncListStreamsLocationname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/liststreams/SyncListStreamsLocationname.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/liststreams/SyncListStreamsString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/liststreams/SyncListStreamsString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/liststreams/SyncListStreamsString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/liststreams/SyncListStreamsString.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/lookupstreamobject/AsyncLookupStreamObject.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/lookupstreamobject/AsyncLookupStreamObject.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/lookupstreamobject/AsyncLookupStreamObject.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/lookupstreamobject/AsyncLookupStreamObject.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/lookupstreamobject/SyncLookupStreamObject.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/lookupstreamobject/SyncLookupStreamObject.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/lookupstreamobject/SyncLookupStreamObject.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/lookupstreamobject/SyncLookupStreamObject.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/startbackfilljob/AsyncStartBackfillJob.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/startbackfilljob/AsyncStartBackfillJob.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/startbackfilljob/AsyncStartBackfillJob.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/startbackfilljob/AsyncStartBackfillJob.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/startbackfilljob/SyncStartBackfillJob.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/startbackfilljob/SyncStartBackfillJob.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/startbackfilljob/SyncStartBackfillJob.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/startbackfilljob/SyncStartBackfillJob.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/startbackfilljob/SyncStartBackfillJobStreamobjectname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/startbackfilljob/SyncStartBackfillJobStreamobjectname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/startbackfilljob/SyncStartBackfillJobStreamobjectname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/startbackfilljob/SyncStartBackfillJobStreamobjectname.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/startbackfilljob/SyncStartBackfillJobString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/startbackfilljob/SyncStartBackfillJobString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/startbackfilljob/SyncStartBackfillJobString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/startbackfilljob/SyncStartBackfillJobString.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/stopbackfilljob/AsyncStopBackfillJob.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/stopbackfilljob/AsyncStopBackfillJob.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/stopbackfilljob/AsyncStopBackfillJob.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/stopbackfilljob/AsyncStopBackfillJob.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/stopbackfilljob/SyncStopBackfillJob.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/stopbackfilljob/SyncStopBackfillJob.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/stopbackfilljob/SyncStopBackfillJob.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/stopbackfilljob/SyncStopBackfillJob.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/stopbackfilljob/SyncStopBackfillJobStreamobjectname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/stopbackfilljob/SyncStopBackfillJobStreamobjectname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/stopbackfilljob/SyncStopBackfillJobStreamobjectname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/stopbackfilljob/SyncStopBackfillJobStreamobjectname.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/stopbackfilljob/SyncStopBackfillJobString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/stopbackfilljob/SyncStopBackfillJobString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/stopbackfilljob/SyncStopBackfillJobString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/stopbackfilljob/SyncStopBackfillJobString.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/updateconnectionprofile/AsyncUpdateConnectionProfile.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/updateconnectionprofile/AsyncUpdateConnectionProfile.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/updateconnectionprofile/AsyncUpdateConnectionProfile.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/updateconnectionprofile/AsyncUpdateConnectionProfile.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/updateconnectionprofile/AsyncUpdateConnectionProfileLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/updateconnectionprofile/AsyncUpdateConnectionProfileLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/updateconnectionprofile/AsyncUpdateConnectionProfileLRO.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/updateconnectionprofile/AsyncUpdateConnectionProfileLRO.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/updateconnectionprofile/SyncUpdateConnectionProfile.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/updateconnectionprofile/SyncUpdateConnectionProfile.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/updateconnectionprofile/SyncUpdateConnectionProfile.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/updateconnectionprofile/SyncUpdateConnectionProfile.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/updateconnectionprofile/SyncUpdateConnectionProfileConnectionprofileFieldmask.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/updateconnectionprofile/SyncUpdateConnectionProfileConnectionprofileFieldmask.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/updateconnectionprofile/SyncUpdateConnectionProfileConnectionprofileFieldmask.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/updateconnectionprofile/SyncUpdateConnectionProfileConnectionprofileFieldmask.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/updatestream/AsyncUpdateStream.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/updatestream/AsyncUpdateStream.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/updatestream/AsyncUpdateStream.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/updatestream/AsyncUpdateStream.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/updatestream/AsyncUpdateStreamLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/updatestream/AsyncUpdateStreamLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/updatestream/AsyncUpdateStreamLRO.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/updatestream/AsyncUpdateStreamLRO.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/updatestream/SyncUpdateStream.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/updatestream/SyncUpdateStream.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/updatestream/SyncUpdateStream.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/updatestream/SyncUpdateStream.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/updatestream/SyncUpdateStreamStreamFieldmask.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/updatestream/SyncUpdateStreamStreamFieldmask.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/updatestream/SyncUpdateStreamStreamFieldmask.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamclient/updatestream/SyncUpdateStreamStreamFieldmask.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamsettings/getconnectionprofile/SyncGetConnectionProfile.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamsettings/getconnectionprofile/SyncGetConnectionProfile.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/datastreamsettings/getconnectionprofile/SyncGetConnectionProfile.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/datastreamsettings/getconnectionprofile/SyncGetConnectionProfile.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1/stub/datastreamstubsettings/getconnectionprofile/SyncGetConnectionProfile.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/stub/datastreamstubsettings/getconnectionprofile/SyncGetConnectionProfile.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1/stub/datastreamstubsettings/getconnectionprofile/SyncGetConnectionProfile.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/datastream/v1/stub/datastreamstubsettings/getconnectionprofile/SyncGetConnectionProfile.java diff --git a/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/DatastreamClient.java b/owl-bot-staging/v1alpha1/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/DatastreamClient.java similarity index 98% rename from google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/DatastreamClient.java rename to owl-bot-staging/v1alpha1/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/DatastreamClient.java index 2a9f640b..4dde6d3f 100644 --- a/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/DatastreamClient.java +++ b/owl-bot-staging/v1alpha1/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/DatastreamClient.java @@ -63,13 +63,13 @@ * methods: * *
    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* @@ -2973,11 +2973,8 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListConnectionProfilesPagedResponse extends AbstractPagedListResponse< - ListConnectionProfilesRequest, - ListConnectionProfilesResponse, - ConnectionProfile, - ListConnectionProfilesPage, - ListConnectionProfilesFixedSizeCollection> { + ListConnectionProfilesRequest, ListConnectionProfilesResponse, ConnectionProfile, + ListConnectionProfilesPage, ListConnectionProfilesFixedSizeCollection> { public static ApiFuture createAsync( PageContext< @@ -2999,9 +2996,7 @@ private ListConnectionProfilesPagedResponse(ListConnectionProfilesPage page) { public static class ListConnectionProfilesPage extends AbstractPage< - ListConnectionProfilesRequest, - ListConnectionProfilesResponse, - ConnectionProfile, + ListConnectionProfilesRequest, ListConnectionProfilesResponse, ConnectionProfile, ListConnectionProfilesPage> { private ListConnectionProfilesPage( @@ -3037,11 +3032,8 @@ public ApiFuture createPageAsync( public static class ListConnectionProfilesFixedSizeCollection extends AbstractFixedSizeCollection< - ListConnectionProfilesRequest, - ListConnectionProfilesResponse, - ConnectionProfile, - ListConnectionProfilesPage, - ListConnectionProfilesFixedSizeCollection> { + ListConnectionProfilesRequest, ListConnectionProfilesResponse, ConnectionProfile, + ListConnectionProfilesPage, ListConnectionProfilesFixedSizeCollection> { private ListConnectionProfilesFixedSizeCollection( List pages, int collectionSize) { @@ -3061,10 +3053,7 @@ protected ListConnectionProfilesFixedSizeCollection createCollection( public static class ListStreamsPagedResponse extends AbstractPagedListResponse< - ListStreamsRequest, - ListStreamsResponse, - Stream, - ListStreamsPage, + ListStreamsRequest, ListStreamsResponse, Stream, ListStreamsPage, ListStreamsFixedSizeCollection> { public static ApiFuture createAsync( @@ -3111,10 +3100,7 @@ public ApiFuture createPageAsync( public static class ListStreamsFixedSizeCollection extends AbstractFixedSizeCollection< - ListStreamsRequest, - ListStreamsResponse, - Stream, - ListStreamsPage, + ListStreamsRequest, ListStreamsResponse, Stream, ListStreamsPage, ListStreamsFixedSizeCollection> { private ListStreamsFixedSizeCollection(List pages, int collectionSize) { @@ -3134,10 +3120,7 @@ protected ListStreamsFixedSizeCollection createCollection( public static class FetchStaticIpsPagedResponse extends AbstractPagedListResponse< - FetchStaticIpsRequest, - FetchStaticIpsResponse, - String, - FetchStaticIpsPage, + FetchStaticIpsRequest, FetchStaticIpsResponse, String, FetchStaticIpsPage, FetchStaticIpsFixedSizeCollection> { public static ApiFuture createAsync( @@ -3187,10 +3170,7 @@ public ApiFuture createPageAsync( public static class FetchStaticIpsFixedSizeCollection extends AbstractFixedSizeCollection< - FetchStaticIpsRequest, - FetchStaticIpsResponse, - String, - FetchStaticIpsPage, + FetchStaticIpsRequest, FetchStaticIpsResponse, String, FetchStaticIpsPage, FetchStaticIpsFixedSizeCollection> { private FetchStaticIpsFixedSizeCollection(List pages, int collectionSize) { @@ -3210,11 +3190,8 @@ protected FetchStaticIpsFixedSizeCollection createCollection( public static class ListPrivateConnectionsPagedResponse extends AbstractPagedListResponse< - ListPrivateConnectionsRequest, - ListPrivateConnectionsResponse, - PrivateConnection, - ListPrivateConnectionsPage, - ListPrivateConnectionsFixedSizeCollection> { + ListPrivateConnectionsRequest, ListPrivateConnectionsResponse, PrivateConnection, + ListPrivateConnectionsPage, ListPrivateConnectionsFixedSizeCollection> { public static ApiFuture createAsync( PageContext< @@ -3236,9 +3213,7 @@ private ListPrivateConnectionsPagedResponse(ListPrivateConnectionsPage page) { public static class ListPrivateConnectionsPage extends AbstractPage< - ListPrivateConnectionsRequest, - ListPrivateConnectionsResponse, - PrivateConnection, + ListPrivateConnectionsRequest, ListPrivateConnectionsResponse, PrivateConnection, ListPrivateConnectionsPage> { private ListPrivateConnectionsPage( @@ -3274,11 +3249,8 @@ public ApiFuture createPageAsync( public static class ListPrivateConnectionsFixedSizeCollection extends AbstractFixedSizeCollection< - ListPrivateConnectionsRequest, - ListPrivateConnectionsResponse, - PrivateConnection, - ListPrivateConnectionsPage, - ListPrivateConnectionsFixedSizeCollection> { + ListPrivateConnectionsRequest, ListPrivateConnectionsResponse, PrivateConnection, + ListPrivateConnectionsPage, ListPrivateConnectionsFixedSizeCollection> { private ListPrivateConnectionsFixedSizeCollection( List pages, int collectionSize) { @@ -3298,10 +3270,7 @@ protected ListPrivateConnectionsFixedSizeCollection createCollection( public static class ListRoutesPagedResponse extends AbstractPagedListResponse< - ListRoutesRequest, - ListRoutesResponse, - Route, - ListRoutesPage, + ListRoutesRequest, ListRoutesResponse, Route, ListRoutesPage, ListRoutesFixedSizeCollection> { public static ApiFuture createAsync( @@ -3348,10 +3317,7 @@ public ApiFuture createPageAsync( public static class ListRoutesFixedSizeCollection extends AbstractFixedSizeCollection< - ListRoutesRequest, - ListRoutesResponse, - Route, - ListRoutesPage, + ListRoutesRequest, ListRoutesResponse, Route, ListRoutesPage, ListRoutesFixedSizeCollection> { private ListRoutesFixedSizeCollection(List pages, int collectionSize) { diff --git a/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/DatastreamSettings.java b/owl-bot-staging/v1alpha1/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/DatastreamSettings.java similarity index 97% rename from google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/DatastreamSettings.java rename to owl-bot-staging/v1alpha1/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/DatastreamSettings.java index bd0a8f98..122b203e 100644 --- a/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/DatastreamSettings.java +++ b/owl-bot-staging/v1alpha1/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/DatastreamSettings.java @@ -33,6 +33,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.datastream.v1alpha1.stub.DatastreamStubSettings; @@ -49,9 +50,9 @@ *

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

    - *
  • The default service address (datastream.googleapis.com) and default port (443) are used. - *
  • Credentials are acquired automatically through Application Default Credentials. - *
  • Retries are configured for idempotent methods but not for non-idempotent methods. + *
  • The default service address (datastream.googleapis.com) and default port (443) are used. + *
  • Credentials are acquired automatically through Application Default Credentials. + *
  • Retries are configured for idempotent methods but not for non-idempotent methods. *
* *

The builder of this class is recursive, so contained classes are themselves builders. When @@ -81,8 +82,7 @@ public class DatastreamSettings extends ClientSettings { /** Returns the object with the settings used for calls to listConnectionProfiles. */ public PagedCallSettings< - ListConnectionProfilesRequest, - ListConnectionProfilesResponse, + ListConnectionProfilesRequest, ListConnectionProfilesResponse, ListConnectionProfilesPagedResponse> listConnectionProfilesSettings() { return ((DatastreamStubSettings) getStubSettings()).listConnectionProfilesSettings(); @@ -218,8 +218,7 @@ public UnaryCallSettings fetchErrorsSettings() { /** Returns the object with the settings used for calls to listPrivateConnections. */ public PagedCallSettings< - ListPrivateConnectionsRequest, - ListPrivateConnectionsResponse, + ListPrivateConnectionsRequest, ListPrivateConnectionsResponse, ListPrivateConnectionsPagedResponse> listPrivateConnectionsSettings() { return ((DatastreamStubSettings) getStubSettings()).listPrivateConnectionsSettings(); @@ -386,8 +385,7 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to listConnectionProfiles. */ public PagedCallSettings.Builder< - ListConnectionProfilesRequest, - ListConnectionProfilesResponse, + ListConnectionProfilesRequest, ListConnectionProfilesResponse, ListConnectionProfilesPagedResponse> listConnectionProfilesSettings() { return getStubSettingsBuilder().listConnectionProfilesSettings(); @@ -528,8 +526,7 @@ public UnaryCallSettings.Builder fetchErrorsSetti /** Returns the builder for the settings used for calls to listPrivateConnections. */ public PagedCallSettings.Builder< - ListPrivateConnectionsRequest, - ListPrivateConnectionsResponse, + ListPrivateConnectionsRequest, ListPrivateConnectionsResponse, ListPrivateConnectionsPagedResponse> listPrivateConnectionsSettings() { return getStubSettingsBuilder().listPrivateConnectionsSettings(); diff --git a/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/gapic_metadata.json b/owl-bot-staging/v1alpha1/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/gapic_metadata.json similarity index 100% rename from google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/gapic_metadata.json rename to owl-bot-staging/v1alpha1/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/gapic_metadata.json diff --git a/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/package-info.java b/owl-bot-staging/v1alpha1/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/package-info.java similarity index 100% rename from google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/package-info.java rename to owl-bot-staging/v1alpha1/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/package-info.java diff --git a/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/stub/DatastreamStub.java b/owl-bot-staging/v1alpha1/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/stub/DatastreamStub.java similarity index 100% rename from google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/stub/DatastreamStub.java rename to owl-bot-staging/v1alpha1/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/stub/DatastreamStub.java diff --git a/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/stub/DatastreamStubSettings.java b/owl-bot-staging/v1alpha1/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/stub/DatastreamStubSettings.java similarity index 98% rename from google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/stub/DatastreamStubSettings.java rename to owl-bot-staging/v1alpha1/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/stub/DatastreamStubSettings.java index 09435df8..115901d8 100644 --- a/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/stub/DatastreamStubSettings.java +++ b/owl-bot-staging/v1alpha1/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/stub/DatastreamStubSettings.java @@ -102,9 +102,9 @@ *

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

    - *
  • The default service address (datastream.googleapis.com) and default port (443) are used. - *
  • Credentials are acquired automatically through Application Default Credentials. - *
  • Retries are configured for idempotent methods but not for non-idempotent methods. + *
  • The default service address (datastream.googleapis.com) and default port (443) are used. + *
  • Credentials are acquired automatically through Application Default Credentials. + *
  • Retries are configured for idempotent methods but not for non-idempotent methods. *
* *

The builder of this class is recursive, so contained classes are themselves builders. When @@ -136,8 +136,7 @@ public class DatastreamStubSettings extends StubSettings ImmutableList.builder().add("https://www.googleapis.com/auth/cloud-platform").build(); private final PagedCallSettings< - ListConnectionProfilesRequest, - ListConnectionProfilesResponse, + ListConnectionProfilesRequest, ListConnectionProfilesResponse, ListConnectionProfilesPagedResponse> listConnectionProfilesSettings; private final UnaryCallSettings @@ -185,8 +184,7 @@ public class DatastreamStubSettings extends StubSettings private final UnaryCallSettings getPrivateConnectionSettings; private final PagedCallSettings< - ListPrivateConnectionsRequest, - ListPrivateConnectionsResponse, + ListPrivateConnectionsRequest, ListPrivateConnectionsResponse, ListPrivateConnectionsPagedResponse> listPrivateConnectionsSettings; private final UnaryCallSettings @@ -399,13 +397,11 @@ public Iterable extractResources(ListRoutesResponse payload) { }; private static final PagedListResponseFactory< - ListConnectionProfilesRequest, - ListConnectionProfilesResponse, + ListConnectionProfilesRequest, ListConnectionProfilesResponse, ListConnectionProfilesPagedResponse> LIST_CONNECTION_PROFILES_PAGE_STR_FACT = new PagedListResponseFactory< - ListConnectionProfilesRequest, - ListConnectionProfilesResponse, + ListConnectionProfilesRequest, ListConnectionProfilesResponse, ListConnectionProfilesPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -415,8 +411,7 @@ public ApiFuture getFuturePagedResponse( ApiCallContext context, ApiFuture futureResponse) { PageContext< - ListConnectionProfilesRequest, - ListConnectionProfilesResponse, + ListConnectionProfilesRequest, ListConnectionProfilesResponse, ConnectionProfile> pageContext = PageContext.create( @@ -460,13 +455,11 @@ public ApiFuture getFuturePagedResponse( }; private static final PagedListResponseFactory< - ListPrivateConnectionsRequest, - ListPrivateConnectionsResponse, + ListPrivateConnectionsRequest, ListPrivateConnectionsResponse, ListPrivateConnectionsPagedResponse> LIST_PRIVATE_CONNECTIONS_PAGE_STR_FACT = new PagedListResponseFactory< - ListPrivateConnectionsRequest, - ListPrivateConnectionsResponse, + ListPrivateConnectionsRequest, ListPrivateConnectionsResponse, ListPrivateConnectionsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -476,8 +469,7 @@ public ApiFuture getFuturePagedResponse( ApiCallContext context, ApiFuture futureResponse) { PageContext< - ListPrivateConnectionsRequest, - ListPrivateConnectionsResponse, + ListPrivateConnectionsRequest, ListPrivateConnectionsResponse, PrivateConnection> pageContext = PageContext.create( @@ -505,8 +497,7 @@ public ApiFuture getFuturePagedResponse( /** Returns the object with the settings used for calls to listConnectionProfiles. */ public PagedCallSettings< - ListConnectionProfilesRequest, - ListConnectionProfilesResponse, + ListConnectionProfilesRequest, ListConnectionProfilesResponse, ListConnectionProfilesPagedResponse> listConnectionProfilesSettings() { return listConnectionProfilesSettings; @@ -642,8 +633,7 @@ public UnaryCallSettings fetchErrorsSettings() { /** Returns the object with the settings used for calls to listPrivateConnections. */ public PagedCallSettings< - ListPrivateConnectionsRequest, - ListPrivateConnectionsResponse, + ListPrivateConnectionsRequest, ListPrivateConnectionsResponse, ListPrivateConnectionsPagedResponse> listPrivateConnectionsSettings() { return listPrivateConnectionsSettings; @@ -843,8 +833,7 @@ protected DatastreamStubSettings(Builder settingsBuilder) throws IOException { public static class Builder extends StubSettings.Builder { private final ImmutableList> unaryMethodSettingsBuilders; private final PagedCallSettings.Builder< - ListConnectionProfilesRequest, - ListConnectionProfilesResponse, + ListConnectionProfilesRequest, ListConnectionProfilesResponse, ListConnectionProfilesPagedResponse> listConnectionProfilesSettings; private final UnaryCallSettings.Builder @@ -895,8 +884,7 @@ public static class Builder extends StubSettings.Builder getPrivateConnectionSettings; private final PagedCallSettings.Builder< - ListPrivateConnectionsRequest, - ListPrivateConnectionsResponse, + ListPrivateConnectionsRequest, ListPrivateConnectionsResponse, ListPrivateConnectionsPagedResponse> listPrivateConnectionsSettings; private final UnaryCallSettings.Builder @@ -1502,8 +1490,7 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to listConnectionProfiles. */ public PagedCallSettings.Builder< - ListConnectionProfilesRequest, - ListConnectionProfilesResponse, + ListConnectionProfilesRequest, ListConnectionProfilesResponse, ListConnectionProfilesPagedResponse> listConnectionProfilesSettings() { return listConnectionProfilesSettings; @@ -1660,8 +1647,7 @@ public UnaryCallSettings.Builder fetchErrorsSetti /** Returns the builder for the settings used for calls to listPrivateConnections. */ public PagedCallSettings.Builder< - ListPrivateConnectionsRequest, - ListPrivateConnectionsResponse, + ListPrivateConnectionsRequest, ListPrivateConnectionsResponse, ListPrivateConnectionsPagedResponse> listPrivateConnectionsSettings() { return listPrivateConnectionsSettings; diff --git a/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/stub/GrpcDatastreamCallableFactory.java b/owl-bot-staging/v1alpha1/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/stub/GrpcDatastreamCallableFactory.java similarity index 100% rename from google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/stub/GrpcDatastreamCallableFactory.java rename to owl-bot-staging/v1alpha1/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/stub/GrpcDatastreamCallableFactory.java diff --git a/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/stub/GrpcDatastreamStub.java b/owl-bot-staging/v1alpha1/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/stub/GrpcDatastreamStub.java similarity index 99% rename from google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/stub/GrpcDatastreamStub.java rename to owl-bot-staging/v1alpha1/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/stub/GrpcDatastreamStub.java index 5379c0ad..f3d278fa 100644 --- a/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/stub/GrpcDatastreamStub.java +++ b/owl-bot-staging/v1alpha1/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/stub/GrpcDatastreamStub.java @@ -70,6 +70,7 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; +import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/stub/HttpJsonDatastreamCallableFactory.java b/owl-bot-staging/v1alpha1/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/stub/HttpJsonDatastreamCallableFactory.java similarity index 100% rename from google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/stub/HttpJsonDatastreamCallableFactory.java rename to owl-bot-staging/v1alpha1/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/stub/HttpJsonDatastreamCallableFactory.java diff --git a/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/stub/HttpJsonDatastreamStub.java b/owl-bot-staging/v1alpha1/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/stub/HttpJsonDatastreamStub.java similarity index 99% rename from google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/stub/HttpJsonDatastreamStub.java rename to owl-bot-staging/v1alpha1/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/stub/HttpJsonDatastreamStub.java index 3a1a643d..ac1e165a 100644 --- a/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/stub/HttpJsonDatastreamStub.java +++ b/owl-bot-staging/v1alpha1/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/stub/HttpJsonDatastreamStub.java @@ -34,6 +34,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/google-cloud-datastream/src/test/java/com/google/cloud/datastream/v1alpha1/DatastreamClientHttpJsonTest.java b/owl-bot-staging/v1alpha1/google-cloud-datastream/src/test/java/com/google/cloud/datastream/v1alpha1/DatastreamClientHttpJsonTest.java similarity index 100% rename from google-cloud-datastream/src/test/java/com/google/cloud/datastream/v1alpha1/DatastreamClientHttpJsonTest.java rename to owl-bot-staging/v1alpha1/google-cloud-datastream/src/test/java/com/google/cloud/datastream/v1alpha1/DatastreamClientHttpJsonTest.java diff --git a/google-cloud-datastream/src/test/java/com/google/cloud/datastream/v1alpha1/DatastreamClientTest.java b/owl-bot-staging/v1alpha1/google-cloud-datastream/src/test/java/com/google/cloud/datastream/v1alpha1/DatastreamClientTest.java similarity index 100% rename from google-cloud-datastream/src/test/java/com/google/cloud/datastream/v1alpha1/DatastreamClientTest.java rename to owl-bot-staging/v1alpha1/google-cloud-datastream/src/test/java/com/google/cloud/datastream/v1alpha1/DatastreamClientTest.java diff --git a/google-cloud-datastream/src/test/java/com/google/cloud/datastream/v1alpha1/MockDatastream.java b/owl-bot-staging/v1alpha1/google-cloud-datastream/src/test/java/com/google/cloud/datastream/v1alpha1/MockDatastream.java similarity index 100% rename from google-cloud-datastream/src/test/java/com/google/cloud/datastream/v1alpha1/MockDatastream.java rename to owl-bot-staging/v1alpha1/google-cloud-datastream/src/test/java/com/google/cloud/datastream/v1alpha1/MockDatastream.java diff --git a/google-cloud-datastream/src/test/java/com/google/cloud/datastream/v1alpha1/MockDatastreamImpl.java b/owl-bot-staging/v1alpha1/google-cloud-datastream/src/test/java/com/google/cloud/datastream/v1alpha1/MockDatastreamImpl.java similarity index 100% rename from google-cloud-datastream/src/test/java/com/google/cloud/datastream/v1alpha1/MockDatastreamImpl.java rename to owl-bot-staging/v1alpha1/google-cloud-datastream/src/test/java/com/google/cloud/datastream/v1alpha1/MockDatastreamImpl.java diff --git a/owl-bot-staging/v1alpha1/grpc-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DatastreamGrpc.java b/owl-bot-staging/v1alpha1/grpc-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DatastreamGrpc.java new file mode 100644 index 00000000..96fac2d9 --- /dev/null +++ b/owl-bot-staging/v1alpha1/grpc-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DatastreamGrpc.java @@ -0,0 +1,2059 @@ +package com.google.cloud.datastream.v1alpha1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + *

+ * Datastream service
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/datastream/v1alpha1/datastream.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class DatastreamGrpc { + + private DatastreamGrpc() {} + + public static final String SERVICE_NAME = "google.cloud.datastream.v1alpha1.Datastream"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor getListConnectionProfilesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListConnectionProfiles", + requestType = com.google.cloud.datastream.v1alpha1.ListConnectionProfilesRequest.class, + responseType = com.google.cloud.datastream.v1alpha1.ListConnectionProfilesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListConnectionProfilesMethod() { + io.grpc.MethodDescriptor getListConnectionProfilesMethod; + if ((getListConnectionProfilesMethod = DatastreamGrpc.getListConnectionProfilesMethod) == null) { + synchronized (DatastreamGrpc.class) { + if ((getListConnectionProfilesMethod = DatastreamGrpc.getListConnectionProfilesMethod) == null) { + DatastreamGrpc.getListConnectionProfilesMethod = getListConnectionProfilesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListConnectionProfiles")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datastream.v1alpha1.ListConnectionProfilesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datastream.v1alpha1.ListConnectionProfilesResponse.getDefaultInstance())) + .setSchemaDescriptor(new DatastreamMethodDescriptorSupplier("ListConnectionProfiles")) + .build(); + } + } + } + return getListConnectionProfilesMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetConnectionProfileMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetConnectionProfile", + requestType = com.google.cloud.datastream.v1alpha1.GetConnectionProfileRequest.class, + responseType = com.google.cloud.datastream.v1alpha1.ConnectionProfile.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetConnectionProfileMethod() { + io.grpc.MethodDescriptor getGetConnectionProfileMethod; + if ((getGetConnectionProfileMethod = DatastreamGrpc.getGetConnectionProfileMethod) == null) { + synchronized (DatastreamGrpc.class) { + if ((getGetConnectionProfileMethod = DatastreamGrpc.getGetConnectionProfileMethod) == null) { + DatastreamGrpc.getGetConnectionProfileMethod = getGetConnectionProfileMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetConnectionProfile")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datastream.v1alpha1.GetConnectionProfileRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datastream.v1alpha1.ConnectionProfile.getDefaultInstance())) + .setSchemaDescriptor(new DatastreamMethodDescriptorSupplier("GetConnectionProfile")) + .build(); + } + } + } + return getGetConnectionProfileMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateConnectionProfileMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateConnectionProfile", + requestType = com.google.cloud.datastream.v1alpha1.CreateConnectionProfileRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateConnectionProfileMethod() { + io.grpc.MethodDescriptor getCreateConnectionProfileMethod; + if ((getCreateConnectionProfileMethod = DatastreamGrpc.getCreateConnectionProfileMethod) == null) { + synchronized (DatastreamGrpc.class) { + if ((getCreateConnectionProfileMethod = DatastreamGrpc.getCreateConnectionProfileMethod) == null) { + DatastreamGrpc.getCreateConnectionProfileMethod = getCreateConnectionProfileMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateConnectionProfile")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datastream.v1alpha1.CreateConnectionProfileRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DatastreamMethodDescriptorSupplier("CreateConnectionProfile")) + .build(); + } + } + } + return getCreateConnectionProfileMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateConnectionProfileMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateConnectionProfile", + requestType = com.google.cloud.datastream.v1alpha1.UpdateConnectionProfileRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateConnectionProfileMethod() { + io.grpc.MethodDescriptor getUpdateConnectionProfileMethod; + if ((getUpdateConnectionProfileMethod = DatastreamGrpc.getUpdateConnectionProfileMethod) == null) { + synchronized (DatastreamGrpc.class) { + if ((getUpdateConnectionProfileMethod = DatastreamGrpc.getUpdateConnectionProfileMethod) == null) { + DatastreamGrpc.getUpdateConnectionProfileMethod = getUpdateConnectionProfileMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateConnectionProfile")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datastream.v1alpha1.UpdateConnectionProfileRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DatastreamMethodDescriptorSupplier("UpdateConnectionProfile")) + .build(); + } + } + } + return getUpdateConnectionProfileMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteConnectionProfileMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteConnectionProfile", + requestType = com.google.cloud.datastream.v1alpha1.DeleteConnectionProfileRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteConnectionProfileMethod() { + io.grpc.MethodDescriptor getDeleteConnectionProfileMethod; + if ((getDeleteConnectionProfileMethod = DatastreamGrpc.getDeleteConnectionProfileMethod) == null) { + synchronized (DatastreamGrpc.class) { + if ((getDeleteConnectionProfileMethod = DatastreamGrpc.getDeleteConnectionProfileMethod) == null) { + DatastreamGrpc.getDeleteConnectionProfileMethod = getDeleteConnectionProfileMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteConnectionProfile")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datastream.v1alpha1.DeleteConnectionProfileRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DatastreamMethodDescriptorSupplier("DeleteConnectionProfile")) + .build(); + } + } + } + return getDeleteConnectionProfileMethod; + } + + private static volatile io.grpc.MethodDescriptor getDiscoverConnectionProfileMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DiscoverConnectionProfile", + requestType = com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileRequest.class, + responseType = com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDiscoverConnectionProfileMethod() { + io.grpc.MethodDescriptor getDiscoverConnectionProfileMethod; + if ((getDiscoverConnectionProfileMethod = DatastreamGrpc.getDiscoverConnectionProfileMethod) == null) { + synchronized (DatastreamGrpc.class) { + if ((getDiscoverConnectionProfileMethod = DatastreamGrpc.getDiscoverConnectionProfileMethod) == null) { + DatastreamGrpc.getDiscoverConnectionProfileMethod = getDiscoverConnectionProfileMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DiscoverConnectionProfile")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileResponse.getDefaultInstance())) + .setSchemaDescriptor(new DatastreamMethodDescriptorSupplier("DiscoverConnectionProfile")) + .build(); + } + } + } + return getDiscoverConnectionProfileMethod; + } + + private static volatile io.grpc.MethodDescriptor getListStreamsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListStreams", + requestType = com.google.cloud.datastream.v1alpha1.ListStreamsRequest.class, + responseType = com.google.cloud.datastream.v1alpha1.ListStreamsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListStreamsMethod() { + io.grpc.MethodDescriptor getListStreamsMethod; + if ((getListStreamsMethod = DatastreamGrpc.getListStreamsMethod) == null) { + synchronized (DatastreamGrpc.class) { + if ((getListStreamsMethod = DatastreamGrpc.getListStreamsMethod) == null) { + DatastreamGrpc.getListStreamsMethod = getListStreamsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListStreams")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datastream.v1alpha1.ListStreamsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datastream.v1alpha1.ListStreamsResponse.getDefaultInstance())) + .setSchemaDescriptor(new DatastreamMethodDescriptorSupplier("ListStreams")) + .build(); + } + } + } + return getListStreamsMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetStreamMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetStream", + requestType = com.google.cloud.datastream.v1alpha1.GetStreamRequest.class, + responseType = com.google.cloud.datastream.v1alpha1.Stream.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetStreamMethod() { + io.grpc.MethodDescriptor getGetStreamMethod; + if ((getGetStreamMethod = DatastreamGrpc.getGetStreamMethod) == null) { + synchronized (DatastreamGrpc.class) { + if ((getGetStreamMethod = DatastreamGrpc.getGetStreamMethod) == null) { + DatastreamGrpc.getGetStreamMethod = getGetStreamMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetStream")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datastream.v1alpha1.GetStreamRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datastream.v1alpha1.Stream.getDefaultInstance())) + .setSchemaDescriptor(new DatastreamMethodDescriptorSupplier("GetStream")) + .build(); + } + } + } + return getGetStreamMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateStreamMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateStream", + requestType = com.google.cloud.datastream.v1alpha1.CreateStreamRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateStreamMethod() { + io.grpc.MethodDescriptor getCreateStreamMethod; + if ((getCreateStreamMethod = DatastreamGrpc.getCreateStreamMethod) == null) { + synchronized (DatastreamGrpc.class) { + if ((getCreateStreamMethod = DatastreamGrpc.getCreateStreamMethod) == null) { + DatastreamGrpc.getCreateStreamMethod = getCreateStreamMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateStream")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datastream.v1alpha1.CreateStreamRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DatastreamMethodDescriptorSupplier("CreateStream")) + .build(); + } + } + } + return getCreateStreamMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateStreamMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateStream", + requestType = com.google.cloud.datastream.v1alpha1.UpdateStreamRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateStreamMethod() { + io.grpc.MethodDescriptor getUpdateStreamMethod; + if ((getUpdateStreamMethod = DatastreamGrpc.getUpdateStreamMethod) == null) { + synchronized (DatastreamGrpc.class) { + if ((getUpdateStreamMethod = DatastreamGrpc.getUpdateStreamMethod) == null) { + DatastreamGrpc.getUpdateStreamMethod = getUpdateStreamMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateStream")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datastream.v1alpha1.UpdateStreamRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DatastreamMethodDescriptorSupplier("UpdateStream")) + .build(); + } + } + } + return getUpdateStreamMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteStreamMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteStream", + requestType = com.google.cloud.datastream.v1alpha1.DeleteStreamRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteStreamMethod() { + io.grpc.MethodDescriptor getDeleteStreamMethod; + if ((getDeleteStreamMethod = DatastreamGrpc.getDeleteStreamMethod) == null) { + synchronized (DatastreamGrpc.class) { + if ((getDeleteStreamMethod = DatastreamGrpc.getDeleteStreamMethod) == null) { + DatastreamGrpc.getDeleteStreamMethod = getDeleteStreamMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteStream")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datastream.v1alpha1.DeleteStreamRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DatastreamMethodDescriptorSupplier("DeleteStream")) + .build(); + } + } + } + return getDeleteStreamMethod; + } + + private static volatile io.grpc.MethodDescriptor getFetchErrorsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "FetchErrors", + requestType = com.google.cloud.datastream.v1alpha1.FetchErrorsRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getFetchErrorsMethod() { + io.grpc.MethodDescriptor getFetchErrorsMethod; + if ((getFetchErrorsMethod = DatastreamGrpc.getFetchErrorsMethod) == null) { + synchronized (DatastreamGrpc.class) { + if ((getFetchErrorsMethod = DatastreamGrpc.getFetchErrorsMethod) == null) { + DatastreamGrpc.getFetchErrorsMethod = getFetchErrorsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "FetchErrors")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datastream.v1alpha1.FetchErrorsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DatastreamMethodDescriptorSupplier("FetchErrors")) + .build(); + } + } + } + return getFetchErrorsMethod; + } + + private static volatile io.grpc.MethodDescriptor getFetchStaticIpsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "FetchStaticIps", + requestType = com.google.cloud.datastream.v1alpha1.FetchStaticIpsRequest.class, + responseType = com.google.cloud.datastream.v1alpha1.FetchStaticIpsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getFetchStaticIpsMethod() { + io.grpc.MethodDescriptor getFetchStaticIpsMethod; + if ((getFetchStaticIpsMethod = DatastreamGrpc.getFetchStaticIpsMethod) == null) { + synchronized (DatastreamGrpc.class) { + if ((getFetchStaticIpsMethod = DatastreamGrpc.getFetchStaticIpsMethod) == null) { + DatastreamGrpc.getFetchStaticIpsMethod = getFetchStaticIpsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "FetchStaticIps")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datastream.v1alpha1.FetchStaticIpsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datastream.v1alpha1.FetchStaticIpsResponse.getDefaultInstance())) + .setSchemaDescriptor(new DatastreamMethodDescriptorSupplier("FetchStaticIps")) + .build(); + } + } + } + return getFetchStaticIpsMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreatePrivateConnectionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreatePrivateConnection", + requestType = com.google.cloud.datastream.v1alpha1.CreatePrivateConnectionRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreatePrivateConnectionMethod() { + io.grpc.MethodDescriptor getCreatePrivateConnectionMethod; + if ((getCreatePrivateConnectionMethod = DatastreamGrpc.getCreatePrivateConnectionMethod) == null) { + synchronized (DatastreamGrpc.class) { + if ((getCreatePrivateConnectionMethod = DatastreamGrpc.getCreatePrivateConnectionMethod) == null) { + DatastreamGrpc.getCreatePrivateConnectionMethod = getCreatePrivateConnectionMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreatePrivateConnection")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datastream.v1alpha1.CreatePrivateConnectionRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DatastreamMethodDescriptorSupplier("CreatePrivateConnection")) + .build(); + } + } + } + return getCreatePrivateConnectionMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetPrivateConnectionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetPrivateConnection", + requestType = com.google.cloud.datastream.v1alpha1.GetPrivateConnectionRequest.class, + responseType = com.google.cloud.datastream.v1alpha1.PrivateConnection.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetPrivateConnectionMethod() { + io.grpc.MethodDescriptor getGetPrivateConnectionMethod; + if ((getGetPrivateConnectionMethod = DatastreamGrpc.getGetPrivateConnectionMethod) == null) { + synchronized (DatastreamGrpc.class) { + if ((getGetPrivateConnectionMethod = DatastreamGrpc.getGetPrivateConnectionMethod) == null) { + DatastreamGrpc.getGetPrivateConnectionMethod = getGetPrivateConnectionMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetPrivateConnection")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datastream.v1alpha1.GetPrivateConnectionRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datastream.v1alpha1.PrivateConnection.getDefaultInstance())) + .setSchemaDescriptor(new DatastreamMethodDescriptorSupplier("GetPrivateConnection")) + .build(); + } + } + } + return getGetPrivateConnectionMethod; + } + + private static volatile io.grpc.MethodDescriptor getListPrivateConnectionsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListPrivateConnections", + requestType = com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsRequest.class, + responseType = com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListPrivateConnectionsMethod() { + io.grpc.MethodDescriptor getListPrivateConnectionsMethod; + if ((getListPrivateConnectionsMethod = DatastreamGrpc.getListPrivateConnectionsMethod) == null) { + synchronized (DatastreamGrpc.class) { + if ((getListPrivateConnectionsMethod = DatastreamGrpc.getListPrivateConnectionsMethod) == null) { + DatastreamGrpc.getListPrivateConnectionsMethod = getListPrivateConnectionsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListPrivateConnections")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsResponse.getDefaultInstance())) + .setSchemaDescriptor(new DatastreamMethodDescriptorSupplier("ListPrivateConnections")) + .build(); + } + } + } + return getListPrivateConnectionsMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeletePrivateConnectionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeletePrivateConnection", + requestType = com.google.cloud.datastream.v1alpha1.DeletePrivateConnectionRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeletePrivateConnectionMethod() { + io.grpc.MethodDescriptor getDeletePrivateConnectionMethod; + if ((getDeletePrivateConnectionMethod = DatastreamGrpc.getDeletePrivateConnectionMethod) == null) { + synchronized (DatastreamGrpc.class) { + if ((getDeletePrivateConnectionMethod = DatastreamGrpc.getDeletePrivateConnectionMethod) == null) { + DatastreamGrpc.getDeletePrivateConnectionMethod = getDeletePrivateConnectionMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeletePrivateConnection")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datastream.v1alpha1.DeletePrivateConnectionRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DatastreamMethodDescriptorSupplier("DeletePrivateConnection")) + .build(); + } + } + } + return getDeletePrivateConnectionMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateRouteMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateRoute", + requestType = com.google.cloud.datastream.v1alpha1.CreateRouteRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateRouteMethod() { + io.grpc.MethodDescriptor getCreateRouteMethod; + if ((getCreateRouteMethod = DatastreamGrpc.getCreateRouteMethod) == null) { + synchronized (DatastreamGrpc.class) { + if ((getCreateRouteMethod = DatastreamGrpc.getCreateRouteMethod) == null) { + DatastreamGrpc.getCreateRouteMethod = getCreateRouteMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateRoute")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datastream.v1alpha1.CreateRouteRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DatastreamMethodDescriptorSupplier("CreateRoute")) + .build(); + } + } + } + return getCreateRouteMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetRouteMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetRoute", + requestType = com.google.cloud.datastream.v1alpha1.GetRouteRequest.class, + responseType = com.google.cloud.datastream.v1alpha1.Route.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetRouteMethod() { + io.grpc.MethodDescriptor getGetRouteMethod; + if ((getGetRouteMethod = DatastreamGrpc.getGetRouteMethod) == null) { + synchronized (DatastreamGrpc.class) { + if ((getGetRouteMethod = DatastreamGrpc.getGetRouteMethod) == null) { + DatastreamGrpc.getGetRouteMethod = getGetRouteMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetRoute")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datastream.v1alpha1.GetRouteRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datastream.v1alpha1.Route.getDefaultInstance())) + .setSchemaDescriptor(new DatastreamMethodDescriptorSupplier("GetRoute")) + .build(); + } + } + } + return getGetRouteMethod; + } + + private static volatile io.grpc.MethodDescriptor getListRoutesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListRoutes", + requestType = com.google.cloud.datastream.v1alpha1.ListRoutesRequest.class, + responseType = com.google.cloud.datastream.v1alpha1.ListRoutesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListRoutesMethod() { + io.grpc.MethodDescriptor getListRoutesMethod; + if ((getListRoutesMethod = DatastreamGrpc.getListRoutesMethod) == null) { + synchronized (DatastreamGrpc.class) { + if ((getListRoutesMethod = DatastreamGrpc.getListRoutesMethod) == null) { + DatastreamGrpc.getListRoutesMethod = getListRoutesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListRoutes")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datastream.v1alpha1.ListRoutesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datastream.v1alpha1.ListRoutesResponse.getDefaultInstance())) + .setSchemaDescriptor(new DatastreamMethodDescriptorSupplier("ListRoutes")) + .build(); + } + } + } + return getListRoutesMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteRouteMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteRoute", + requestType = com.google.cloud.datastream.v1alpha1.DeleteRouteRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteRouteMethod() { + io.grpc.MethodDescriptor getDeleteRouteMethod; + if ((getDeleteRouteMethod = DatastreamGrpc.getDeleteRouteMethod) == null) { + synchronized (DatastreamGrpc.class) { + if ((getDeleteRouteMethod = DatastreamGrpc.getDeleteRouteMethod) == null) { + DatastreamGrpc.getDeleteRouteMethod = getDeleteRouteMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteRoute")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datastream.v1alpha1.DeleteRouteRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DatastreamMethodDescriptorSupplier("DeleteRoute")) + .build(); + } + } + } + return getDeleteRouteMethod; + } + + /** + * Creates a new async stub that supports all call types for the service + */ + public static DatastreamStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public DatastreamStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DatastreamStub(channel, callOptions); + } + }; + return DatastreamStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static DatastreamBlockingStub newBlockingStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public DatastreamBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DatastreamBlockingStub(channel, callOptions); + } + }; + return DatastreamBlockingStub.newStub(factory, channel); + } + + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static DatastreamFutureStub newFutureStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public DatastreamFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DatastreamFutureStub(channel, callOptions); + } + }; + return DatastreamFutureStub.newStub(factory, channel); + } + + /** + *
+   * Datastream service
+   * 
+ */ + public static abstract class DatastreamImplBase implements io.grpc.BindableService { + + /** + *
+     * Use this method to list connection profiles created in a project and
+     * location.
+     * 
+ */ + public void listConnectionProfiles(com.google.cloud.datastream.v1alpha1.ListConnectionProfilesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListConnectionProfilesMethod(), responseObserver); + } + + /** + *
+     * Use this method to get details about a connection profile.
+     * 
+ */ + public void getConnectionProfile(com.google.cloud.datastream.v1alpha1.GetConnectionProfileRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetConnectionProfileMethod(), responseObserver); + } + + /** + *
+     * Use this method to create a connection profile in a project and location.
+     * 
+ */ + public void createConnectionProfile(com.google.cloud.datastream.v1alpha1.CreateConnectionProfileRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateConnectionProfileMethod(), responseObserver); + } + + /** + *
+     * Use this method to update the parameters of a connection profile.
+     * 
+ */ + public void updateConnectionProfile(com.google.cloud.datastream.v1alpha1.UpdateConnectionProfileRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateConnectionProfileMethod(), responseObserver); + } + + /** + *
+     * Use this method to delete a connection profile..
+     * 
+ */ + public void deleteConnectionProfile(com.google.cloud.datastream.v1alpha1.DeleteConnectionProfileRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteConnectionProfileMethod(), responseObserver); + } + + /** + *
+     * Use this method to discover a connection profile.
+     * The discover API call exposes the data objects and metadata belonging to
+     * the profile. Typically, a request returns children data objects under a
+     * parent data object that's optionally supplied in the request.
+     * 
+ */ + public void discoverConnectionProfile(com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDiscoverConnectionProfileMethod(), responseObserver); + } + + /** + *
+     * Use this method to list streams in a project and location.
+     * 
+ */ + public void listStreams(com.google.cloud.datastream.v1alpha1.ListStreamsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListStreamsMethod(), responseObserver); + } + + /** + *
+     * Use this method to get details about a stream.
+     * 
+ */ + public void getStream(com.google.cloud.datastream.v1alpha1.GetStreamRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetStreamMethod(), responseObserver); + } + + /** + *
+     * Use this method to create a stream.
+     * 
+ */ + public void createStream(com.google.cloud.datastream.v1alpha1.CreateStreamRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateStreamMethod(), responseObserver); + } + + /** + *
+     * Use this method to update the configuration of a stream.
+     * 
+ */ + public void updateStream(com.google.cloud.datastream.v1alpha1.UpdateStreamRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateStreamMethod(), responseObserver); + } + + /** + *
+     * Use this method to delete a stream.
+     * 
+ */ + public void deleteStream(com.google.cloud.datastream.v1alpha1.DeleteStreamRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteStreamMethod(), responseObserver); + } + + /** + *
+     * Use this method to fetch any errors associated with a stream.
+     * 
+ */ + public void fetchErrors(com.google.cloud.datastream.v1alpha1.FetchErrorsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getFetchErrorsMethod(), responseObserver); + } + + /** + *
+     * The FetchStaticIps API call exposes the static ips used by Datastream.
+     * Typically, a request returns children data objects under
+     * a parent data object that's optionally supplied in the request.
+     * 
+ */ + public void fetchStaticIps(com.google.cloud.datastream.v1alpha1.FetchStaticIpsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getFetchStaticIpsMethod(), responseObserver); + } + + /** + *
+     * Use this method to create a private connectivity configuration.
+     * 
+ */ + public void createPrivateConnection(com.google.cloud.datastream.v1alpha1.CreatePrivateConnectionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreatePrivateConnectionMethod(), responseObserver); + } + + /** + *
+     * Use this method to get details about a private connectivity configuration.
+     * 
+ */ + public void getPrivateConnection(com.google.cloud.datastream.v1alpha1.GetPrivateConnectionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetPrivateConnectionMethod(), responseObserver); + } + + /** + *
+     * Use this method to list private connectivity configurations in a project
+     * and location.
+     * 
+ */ + public void listPrivateConnections(com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListPrivateConnectionsMethod(), responseObserver); + } + + /** + *
+     * Use this method to delete a private connectivity configuration.
+     * 
+ */ + public void deletePrivateConnection(com.google.cloud.datastream.v1alpha1.DeletePrivateConnectionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeletePrivateConnectionMethod(), responseObserver); + } + + /** + *
+     * Use this method to create a route for a private connectivity in a project
+     * and location.
+     * 
+ */ + public void createRoute(com.google.cloud.datastream.v1alpha1.CreateRouteRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateRouteMethod(), responseObserver); + } + + /** + *
+     * Use this method to get details about a route.
+     * 
+ */ + public void getRoute(com.google.cloud.datastream.v1alpha1.GetRouteRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetRouteMethod(), responseObserver); + } + + /** + *
+     * Use this method to list routes created for a private connectivity in a
+     * project and location.
+     * 
+ */ + public void listRoutes(com.google.cloud.datastream.v1alpha1.ListRoutesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListRoutesMethod(), responseObserver); + } + + /** + *
+     * Use this method to delete a route.
+     * 
+ */ + public void deleteRoute(com.google.cloud.datastream.v1alpha1.DeleteRouteRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteRouteMethod(), responseObserver); + } + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getListConnectionProfilesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datastream.v1alpha1.ListConnectionProfilesRequest, + com.google.cloud.datastream.v1alpha1.ListConnectionProfilesResponse>( + this, METHODID_LIST_CONNECTION_PROFILES))) + .addMethod( + getGetConnectionProfileMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datastream.v1alpha1.GetConnectionProfileRequest, + com.google.cloud.datastream.v1alpha1.ConnectionProfile>( + this, METHODID_GET_CONNECTION_PROFILE))) + .addMethod( + getCreateConnectionProfileMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datastream.v1alpha1.CreateConnectionProfileRequest, + com.google.longrunning.Operation>( + this, METHODID_CREATE_CONNECTION_PROFILE))) + .addMethod( + getUpdateConnectionProfileMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datastream.v1alpha1.UpdateConnectionProfileRequest, + com.google.longrunning.Operation>( + this, METHODID_UPDATE_CONNECTION_PROFILE))) + .addMethod( + getDeleteConnectionProfileMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datastream.v1alpha1.DeleteConnectionProfileRequest, + com.google.longrunning.Operation>( + this, METHODID_DELETE_CONNECTION_PROFILE))) + .addMethod( + getDiscoverConnectionProfileMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileRequest, + com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileResponse>( + this, METHODID_DISCOVER_CONNECTION_PROFILE))) + .addMethod( + getListStreamsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datastream.v1alpha1.ListStreamsRequest, + com.google.cloud.datastream.v1alpha1.ListStreamsResponse>( + this, METHODID_LIST_STREAMS))) + .addMethod( + getGetStreamMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datastream.v1alpha1.GetStreamRequest, + com.google.cloud.datastream.v1alpha1.Stream>( + this, METHODID_GET_STREAM))) + .addMethod( + getCreateStreamMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datastream.v1alpha1.CreateStreamRequest, + com.google.longrunning.Operation>( + this, METHODID_CREATE_STREAM))) + .addMethod( + getUpdateStreamMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datastream.v1alpha1.UpdateStreamRequest, + com.google.longrunning.Operation>( + this, METHODID_UPDATE_STREAM))) + .addMethod( + getDeleteStreamMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datastream.v1alpha1.DeleteStreamRequest, + com.google.longrunning.Operation>( + this, METHODID_DELETE_STREAM))) + .addMethod( + getFetchErrorsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datastream.v1alpha1.FetchErrorsRequest, + com.google.longrunning.Operation>( + this, METHODID_FETCH_ERRORS))) + .addMethod( + getFetchStaticIpsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datastream.v1alpha1.FetchStaticIpsRequest, + com.google.cloud.datastream.v1alpha1.FetchStaticIpsResponse>( + this, METHODID_FETCH_STATIC_IPS))) + .addMethod( + getCreatePrivateConnectionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datastream.v1alpha1.CreatePrivateConnectionRequest, + com.google.longrunning.Operation>( + this, METHODID_CREATE_PRIVATE_CONNECTION))) + .addMethod( + getGetPrivateConnectionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datastream.v1alpha1.GetPrivateConnectionRequest, + com.google.cloud.datastream.v1alpha1.PrivateConnection>( + this, METHODID_GET_PRIVATE_CONNECTION))) + .addMethod( + getListPrivateConnectionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsRequest, + com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsResponse>( + this, METHODID_LIST_PRIVATE_CONNECTIONS))) + .addMethod( + getDeletePrivateConnectionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datastream.v1alpha1.DeletePrivateConnectionRequest, + com.google.longrunning.Operation>( + this, METHODID_DELETE_PRIVATE_CONNECTION))) + .addMethod( + getCreateRouteMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datastream.v1alpha1.CreateRouteRequest, + com.google.longrunning.Operation>( + this, METHODID_CREATE_ROUTE))) + .addMethod( + getGetRouteMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datastream.v1alpha1.GetRouteRequest, + com.google.cloud.datastream.v1alpha1.Route>( + this, METHODID_GET_ROUTE))) + .addMethod( + getListRoutesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datastream.v1alpha1.ListRoutesRequest, + com.google.cloud.datastream.v1alpha1.ListRoutesResponse>( + this, METHODID_LIST_ROUTES))) + .addMethod( + getDeleteRouteMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datastream.v1alpha1.DeleteRouteRequest, + com.google.longrunning.Operation>( + this, METHODID_DELETE_ROUTE))) + .build(); + } + } + + /** + *
+   * Datastream service
+   * 
+ */ + public static final class DatastreamStub extends io.grpc.stub.AbstractAsyncStub { + private DatastreamStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected DatastreamStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DatastreamStub(channel, callOptions); + } + + /** + *
+     * Use this method to list connection profiles created in a project and
+     * location.
+     * 
+ */ + public void listConnectionProfiles(com.google.cloud.datastream.v1alpha1.ListConnectionProfilesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListConnectionProfilesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Use this method to get details about a connection profile.
+     * 
+ */ + public void getConnectionProfile(com.google.cloud.datastream.v1alpha1.GetConnectionProfileRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetConnectionProfileMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Use this method to create a connection profile in a project and location.
+     * 
+ */ + public void createConnectionProfile(com.google.cloud.datastream.v1alpha1.CreateConnectionProfileRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateConnectionProfileMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Use this method to update the parameters of a connection profile.
+     * 
+ */ + public void updateConnectionProfile(com.google.cloud.datastream.v1alpha1.UpdateConnectionProfileRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateConnectionProfileMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Use this method to delete a connection profile..
+     * 
+ */ + public void deleteConnectionProfile(com.google.cloud.datastream.v1alpha1.DeleteConnectionProfileRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteConnectionProfileMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Use this method to discover a connection profile.
+     * The discover API call exposes the data objects and metadata belonging to
+     * the profile. Typically, a request returns children data objects under a
+     * parent data object that's optionally supplied in the request.
+     * 
+ */ + public void discoverConnectionProfile(com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDiscoverConnectionProfileMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Use this method to list streams in a project and location.
+     * 
+ */ + public void listStreams(com.google.cloud.datastream.v1alpha1.ListStreamsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListStreamsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Use this method to get details about a stream.
+     * 
+ */ + public void getStream(com.google.cloud.datastream.v1alpha1.GetStreamRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetStreamMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Use this method to create a stream.
+     * 
+ */ + public void createStream(com.google.cloud.datastream.v1alpha1.CreateStreamRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateStreamMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Use this method to update the configuration of a stream.
+     * 
+ */ + public void updateStream(com.google.cloud.datastream.v1alpha1.UpdateStreamRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateStreamMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Use this method to delete a stream.
+     * 
+ */ + public void deleteStream(com.google.cloud.datastream.v1alpha1.DeleteStreamRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteStreamMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Use this method to fetch any errors associated with a stream.
+     * 
+ */ + public void fetchErrors(com.google.cloud.datastream.v1alpha1.FetchErrorsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getFetchErrorsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * The FetchStaticIps API call exposes the static ips used by Datastream.
+     * Typically, a request returns children data objects under
+     * a parent data object that's optionally supplied in the request.
+     * 
+ */ + public void fetchStaticIps(com.google.cloud.datastream.v1alpha1.FetchStaticIpsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getFetchStaticIpsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Use this method to create a private connectivity configuration.
+     * 
+ */ + public void createPrivateConnection(com.google.cloud.datastream.v1alpha1.CreatePrivateConnectionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreatePrivateConnectionMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Use this method to get details about a private connectivity configuration.
+     * 
+ */ + public void getPrivateConnection(com.google.cloud.datastream.v1alpha1.GetPrivateConnectionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetPrivateConnectionMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Use this method to list private connectivity configurations in a project
+     * and location.
+     * 
+ */ + public void listPrivateConnections(com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListPrivateConnectionsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Use this method to delete a private connectivity configuration.
+     * 
+ */ + public void deletePrivateConnection(com.google.cloud.datastream.v1alpha1.DeletePrivateConnectionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeletePrivateConnectionMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Use this method to create a route for a private connectivity in a project
+     * and location.
+     * 
+ */ + public void createRoute(com.google.cloud.datastream.v1alpha1.CreateRouteRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateRouteMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Use this method to get details about a route.
+     * 
+ */ + public void getRoute(com.google.cloud.datastream.v1alpha1.GetRouteRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetRouteMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Use this method to list routes created for a private connectivity in a
+     * project and location.
+     * 
+ */ + public void listRoutes(com.google.cloud.datastream.v1alpha1.ListRoutesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListRoutesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Use this method to delete a route.
+     * 
+ */ + public void deleteRoute(com.google.cloud.datastream.v1alpha1.DeleteRouteRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteRouteMethod(), getCallOptions()), request, responseObserver); + } + } + + /** + *
+   * Datastream service
+   * 
+ */ + public static final class DatastreamBlockingStub extends io.grpc.stub.AbstractBlockingStub { + private DatastreamBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected DatastreamBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DatastreamBlockingStub(channel, callOptions); + } + + /** + *
+     * Use this method to list connection profiles created in a project and
+     * location.
+     * 
+ */ + public com.google.cloud.datastream.v1alpha1.ListConnectionProfilesResponse listConnectionProfiles(com.google.cloud.datastream.v1alpha1.ListConnectionProfilesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListConnectionProfilesMethod(), getCallOptions(), request); + } + + /** + *
+     * Use this method to get details about a connection profile.
+     * 
+ */ + public com.google.cloud.datastream.v1alpha1.ConnectionProfile getConnectionProfile(com.google.cloud.datastream.v1alpha1.GetConnectionProfileRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetConnectionProfileMethod(), getCallOptions(), request); + } + + /** + *
+     * Use this method to create a connection profile in a project and location.
+     * 
+ */ + public com.google.longrunning.Operation createConnectionProfile(com.google.cloud.datastream.v1alpha1.CreateConnectionProfileRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateConnectionProfileMethod(), getCallOptions(), request); + } + + /** + *
+     * Use this method to update the parameters of a connection profile.
+     * 
+ */ + public com.google.longrunning.Operation updateConnectionProfile(com.google.cloud.datastream.v1alpha1.UpdateConnectionProfileRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateConnectionProfileMethod(), getCallOptions(), request); + } + + /** + *
+     * Use this method to delete a connection profile..
+     * 
+ */ + public com.google.longrunning.Operation deleteConnectionProfile(com.google.cloud.datastream.v1alpha1.DeleteConnectionProfileRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteConnectionProfileMethod(), getCallOptions(), request); + } + + /** + *
+     * Use this method to discover a connection profile.
+     * The discover API call exposes the data objects and metadata belonging to
+     * the profile. Typically, a request returns children data objects under a
+     * parent data object that's optionally supplied in the request.
+     * 
+ */ + public com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileResponse discoverConnectionProfile(com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDiscoverConnectionProfileMethod(), getCallOptions(), request); + } + + /** + *
+     * Use this method to list streams in a project and location.
+     * 
+ */ + public com.google.cloud.datastream.v1alpha1.ListStreamsResponse listStreams(com.google.cloud.datastream.v1alpha1.ListStreamsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListStreamsMethod(), getCallOptions(), request); + } + + /** + *
+     * Use this method to get details about a stream.
+     * 
+ */ + public com.google.cloud.datastream.v1alpha1.Stream getStream(com.google.cloud.datastream.v1alpha1.GetStreamRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetStreamMethod(), getCallOptions(), request); + } + + /** + *
+     * Use this method to create a stream.
+     * 
+ */ + public com.google.longrunning.Operation createStream(com.google.cloud.datastream.v1alpha1.CreateStreamRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateStreamMethod(), getCallOptions(), request); + } + + /** + *
+     * Use this method to update the configuration of a stream.
+     * 
+ */ + public com.google.longrunning.Operation updateStream(com.google.cloud.datastream.v1alpha1.UpdateStreamRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateStreamMethod(), getCallOptions(), request); + } + + /** + *
+     * Use this method to delete a stream.
+     * 
+ */ + public com.google.longrunning.Operation deleteStream(com.google.cloud.datastream.v1alpha1.DeleteStreamRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteStreamMethod(), getCallOptions(), request); + } + + /** + *
+     * Use this method to fetch any errors associated with a stream.
+     * 
+ */ + public com.google.longrunning.Operation fetchErrors(com.google.cloud.datastream.v1alpha1.FetchErrorsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getFetchErrorsMethod(), getCallOptions(), request); + } + + /** + *
+     * The FetchStaticIps API call exposes the static ips used by Datastream.
+     * Typically, a request returns children data objects under
+     * a parent data object that's optionally supplied in the request.
+     * 
+ */ + public com.google.cloud.datastream.v1alpha1.FetchStaticIpsResponse fetchStaticIps(com.google.cloud.datastream.v1alpha1.FetchStaticIpsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getFetchStaticIpsMethod(), getCallOptions(), request); + } + + /** + *
+     * Use this method to create a private connectivity configuration.
+     * 
+ */ + public com.google.longrunning.Operation createPrivateConnection(com.google.cloud.datastream.v1alpha1.CreatePrivateConnectionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreatePrivateConnectionMethod(), getCallOptions(), request); + } + + /** + *
+     * Use this method to get details about a private connectivity configuration.
+     * 
+ */ + public com.google.cloud.datastream.v1alpha1.PrivateConnection getPrivateConnection(com.google.cloud.datastream.v1alpha1.GetPrivateConnectionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetPrivateConnectionMethod(), getCallOptions(), request); + } + + /** + *
+     * Use this method to list private connectivity configurations in a project
+     * and location.
+     * 
+ */ + public com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsResponse listPrivateConnections(com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListPrivateConnectionsMethod(), getCallOptions(), request); + } + + /** + *
+     * Use this method to delete a private connectivity configuration.
+     * 
+ */ + public com.google.longrunning.Operation deletePrivateConnection(com.google.cloud.datastream.v1alpha1.DeletePrivateConnectionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeletePrivateConnectionMethod(), getCallOptions(), request); + } + + /** + *
+     * Use this method to create a route for a private connectivity in a project
+     * and location.
+     * 
+ */ + public com.google.longrunning.Operation createRoute(com.google.cloud.datastream.v1alpha1.CreateRouteRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateRouteMethod(), getCallOptions(), request); + } + + /** + *
+     * Use this method to get details about a route.
+     * 
+ */ + public com.google.cloud.datastream.v1alpha1.Route getRoute(com.google.cloud.datastream.v1alpha1.GetRouteRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetRouteMethod(), getCallOptions(), request); + } + + /** + *
+     * Use this method to list routes created for a private connectivity in a
+     * project and location.
+     * 
+ */ + public com.google.cloud.datastream.v1alpha1.ListRoutesResponse listRoutes(com.google.cloud.datastream.v1alpha1.ListRoutesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListRoutesMethod(), getCallOptions(), request); + } + + /** + *
+     * Use this method to delete a route.
+     * 
+ */ + public com.google.longrunning.Operation deleteRoute(com.google.cloud.datastream.v1alpha1.DeleteRouteRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteRouteMethod(), getCallOptions(), request); + } + } + + /** + *
+   * Datastream service
+   * 
+ */ + public static final class DatastreamFutureStub extends io.grpc.stub.AbstractFutureStub { + private DatastreamFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected DatastreamFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DatastreamFutureStub(channel, callOptions); + } + + /** + *
+     * Use this method to list connection profiles created in a project and
+     * location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listConnectionProfiles( + com.google.cloud.datastream.v1alpha1.ListConnectionProfilesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListConnectionProfilesMethod(), getCallOptions()), request); + } + + /** + *
+     * Use this method to get details about a connection profile.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getConnectionProfile( + com.google.cloud.datastream.v1alpha1.GetConnectionProfileRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetConnectionProfileMethod(), getCallOptions()), request); + } + + /** + *
+     * Use this method to create a connection profile in a project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createConnectionProfile( + com.google.cloud.datastream.v1alpha1.CreateConnectionProfileRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateConnectionProfileMethod(), getCallOptions()), request); + } + + /** + *
+     * Use this method to update the parameters of a connection profile.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateConnectionProfile( + com.google.cloud.datastream.v1alpha1.UpdateConnectionProfileRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateConnectionProfileMethod(), getCallOptions()), request); + } + + /** + *
+     * Use this method to delete a connection profile..
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteConnectionProfile( + com.google.cloud.datastream.v1alpha1.DeleteConnectionProfileRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteConnectionProfileMethod(), getCallOptions()), request); + } + + /** + *
+     * Use this method to discover a connection profile.
+     * The discover API call exposes the data objects and metadata belonging to
+     * the profile. Typically, a request returns children data objects under a
+     * parent data object that's optionally supplied in the request.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture discoverConnectionProfile( + com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDiscoverConnectionProfileMethod(), getCallOptions()), request); + } + + /** + *
+     * Use this method to list streams in a project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listStreams( + com.google.cloud.datastream.v1alpha1.ListStreamsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListStreamsMethod(), getCallOptions()), request); + } + + /** + *
+     * Use this method to get details about a stream.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getStream( + com.google.cloud.datastream.v1alpha1.GetStreamRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetStreamMethod(), getCallOptions()), request); + } + + /** + *
+     * Use this method to create a stream.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createStream( + com.google.cloud.datastream.v1alpha1.CreateStreamRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateStreamMethod(), getCallOptions()), request); + } + + /** + *
+     * Use this method to update the configuration of a stream.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateStream( + com.google.cloud.datastream.v1alpha1.UpdateStreamRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateStreamMethod(), getCallOptions()), request); + } + + /** + *
+     * Use this method to delete a stream.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteStream( + com.google.cloud.datastream.v1alpha1.DeleteStreamRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteStreamMethod(), getCallOptions()), request); + } + + /** + *
+     * Use this method to fetch any errors associated with a stream.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture fetchErrors( + com.google.cloud.datastream.v1alpha1.FetchErrorsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getFetchErrorsMethod(), getCallOptions()), request); + } + + /** + *
+     * The FetchStaticIps API call exposes the static ips used by Datastream.
+     * Typically, a request returns children data objects under
+     * a parent data object that's optionally supplied in the request.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture fetchStaticIps( + com.google.cloud.datastream.v1alpha1.FetchStaticIpsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getFetchStaticIpsMethod(), getCallOptions()), request); + } + + /** + *
+     * Use this method to create a private connectivity configuration.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createPrivateConnection( + com.google.cloud.datastream.v1alpha1.CreatePrivateConnectionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreatePrivateConnectionMethod(), getCallOptions()), request); + } + + /** + *
+     * Use this method to get details about a private connectivity configuration.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getPrivateConnection( + com.google.cloud.datastream.v1alpha1.GetPrivateConnectionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetPrivateConnectionMethod(), getCallOptions()), request); + } + + /** + *
+     * Use this method to list private connectivity configurations in a project
+     * and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listPrivateConnections( + com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListPrivateConnectionsMethod(), getCallOptions()), request); + } + + /** + *
+     * Use this method to delete a private connectivity configuration.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deletePrivateConnection( + com.google.cloud.datastream.v1alpha1.DeletePrivateConnectionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeletePrivateConnectionMethod(), getCallOptions()), request); + } + + /** + *
+     * Use this method to create a route for a private connectivity in a project
+     * and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createRoute( + com.google.cloud.datastream.v1alpha1.CreateRouteRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateRouteMethod(), getCallOptions()), request); + } + + /** + *
+     * Use this method to get details about a route.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getRoute( + com.google.cloud.datastream.v1alpha1.GetRouteRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetRouteMethod(), getCallOptions()), request); + } + + /** + *
+     * Use this method to list routes created for a private connectivity in a
+     * project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listRoutes( + com.google.cloud.datastream.v1alpha1.ListRoutesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListRoutesMethod(), getCallOptions()), request); + } + + /** + *
+     * Use this method to delete a route.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteRoute( + com.google.cloud.datastream.v1alpha1.DeleteRouteRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteRouteMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_LIST_CONNECTION_PROFILES = 0; + private static final int METHODID_GET_CONNECTION_PROFILE = 1; + private static final int METHODID_CREATE_CONNECTION_PROFILE = 2; + private static final int METHODID_UPDATE_CONNECTION_PROFILE = 3; + private static final int METHODID_DELETE_CONNECTION_PROFILE = 4; + private static final int METHODID_DISCOVER_CONNECTION_PROFILE = 5; + private static final int METHODID_LIST_STREAMS = 6; + private static final int METHODID_GET_STREAM = 7; + private static final int METHODID_CREATE_STREAM = 8; + private static final int METHODID_UPDATE_STREAM = 9; + private static final int METHODID_DELETE_STREAM = 10; + private static final int METHODID_FETCH_ERRORS = 11; + private static final int METHODID_FETCH_STATIC_IPS = 12; + private static final int METHODID_CREATE_PRIVATE_CONNECTION = 13; + private static final int METHODID_GET_PRIVATE_CONNECTION = 14; + private static final int METHODID_LIST_PRIVATE_CONNECTIONS = 15; + private static final int METHODID_DELETE_PRIVATE_CONNECTION = 16; + private static final int METHODID_CREATE_ROUTE = 17; + private static final int METHODID_GET_ROUTE = 18; + private static final int METHODID_LIST_ROUTES = 19; + private static final int METHODID_DELETE_ROUTE = 20; + + 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 DatastreamImplBase serviceImpl; + private final int methodId; + + MethodHandlers(DatastreamImplBase serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_LIST_CONNECTION_PROFILES: + serviceImpl.listConnectionProfiles((com.google.cloud.datastream.v1alpha1.ListConnectionProfilesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_CONNECTION_PROFILE: + serviceImpl.getConnectionProfile((com.google.cloud.datastream.v1alpha1.GetConnectionProfileRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_CONNECTION_PROFILE: + serviceImpl.createConnectionProfile((com.google.cloud.datastream.v1alpha1.CreateConnectionProfileRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_CONNECTION_PROFILE: + serviceImpl.updateConnectionProfile((com.google.cloud.datastream.v1alpha1.UpdateConnectionProfileRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_CONNECTION_PROFILE: + serviceImpl.deleteConnectionProfile((com.google.cloud.datastream.v1alpha1.DeleteConnectionProfileRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DISCOVER_CONNECTION_PROFILE: + serviceImpl.discoverConnectionProfile((com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_STREAMS: + serviceImpl.listStreams((com.google.cloud.datastream.v1alpha1.ListStreamsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_STREAM: + serviceImpl.getStream((com.google.cloud.datastream.v1alpha1.GetStreamRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_STREAM: + serviceImpl.createStream((com.google.cloud.datastream.v1alpha1.CreateStreamRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_STREAM: + serviceImpl.updateStream((com.google.cloud.datastream.v1alpha1.UpdateStreamRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_STREAM: + serviceImpl.deleteStream((com.google.cloud.datastream.v1alpha1.DeleteStreamRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_FETCH_ERRORS: + serviceImpl.fetchErrors((com.google.cloud.datastream.v1alpha1.FetchErrorsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_FETCH_STATIC_IPS: + serviceImpl.fetchStaticIps((com.google.cloud.datastream.v1alpha1.FetchStaticIpsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_PRIVATE_CONNECTION: + serviceImpl.createPrivateConnection((com.google.cloud.datastream.v1alpha1.CreatePrivateConnectionRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_PRIVATE_CONNECTION: + serviceImpl.getPrivateConnection((com.google.cloud.datastream.v1alpha1.GetPrivateConnectionRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_PRIVATE_CONNECTIONS: + serviceImpl.listPrivateConnections((com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_PRIVATE_CONNECTION: + serviceImpl.deletePrivateConnection((com.google.cloud.datastream.v1alpha1.DeletePrivateConnectionRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_ROUTE: + serviceImpl.createRoute((com.google.cloud.datastream.v1alpha1.CreateRouteRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_ROUTE: + serviceImpl.getRoute((com.google.cloud.datastream.v1alpha1.GetRouteRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_ROUTES: + serviceImpl.listRoutes((com.google.cloud.datastream.v1alpha1.ListRoutesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_ROUTE: + serviceImpl.deleteRoute((com.google.cloud.datastream.v1alpha1.DeleteRouteRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + private static abstract class DatastreamBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + DatastreamBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("Datastream"); + } + } + + private static final class DatastreamFileDescriptorSupplier + extends DatastreamBaseDescriptorSupplier { + DatastreamFileDescriptorSupplier() {} + } + + private static final class DatastreamMethodDescriptorSupplier + extends DatastreamBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + DatastreamMethodDescriptorSupplier(String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (DatastreamGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new DatastreamFileDescriptorSupplier()) + .addMethod(getListConnectionProfilesMethod()) + .addMethod(getGetConnectionProfileMethod()) + .addMethod(getCreateConnectionProfileMethod()) + .addMethod(getUpdateConnectionProfileMethod()) + .addMethod(getDeleteConnectionProfileMethod()) + .addMethod(getDiscoverConnectionProfileMethod()) + .addMethod(getListStreamsMethod()) + .addMethod(getGetStreamMethod()) + .addMethod(getCreateStreamMethod()) + .addMethod(getUpdateStreamMethod()) + .addMethod(getDeleteStreamMethod()) + .addMethod(getFetchErrorsMethod()) + .addMethod(getFetchStaticIpsMethod()) + .addMethod(getCreatePrivateConnectionMethod()) + .addMethod(getGetPrivateConnectionMethod()) + .addMethod(getListPrivateConnectionsMethod()) + .addMethod(getDeletePrivateConnectionMethod()) + .addMethod(getCreateRouteMethod()) + .addMethod(getGetRouteMethod()) + .addMethod(getListRoutesMethod()) + .addMethod(getDeleteRouteMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/AvroFileFormat.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/AvroFileFormat.java similarity index 67% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/AvroFileFormat.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/AvroFileFormat.java index 7cdce13f..5800cac5 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/AvroFileFormat.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/AvroFileFormat.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1alpha1/datastream_resources.proto package com.google.cloud.datastream.v1alpha1; /** - * - * *
  * AVRO file format configuration.
  * 
* * Protobuf type {@code google.cloud.datastream.v1alpha1.AvroFileFormat} */ -public final class AvroFileFormat extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AvroFileFormat extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1alpha1.AvroFileFormat) AvroFileFormatOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AvroFileFormat.newBuilder() to construct. private AvroFileFormat(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private AvroFileFormat() {} + private AvroFileFormat() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AvroFileFormat(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private AvroFileFormat( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,13 +52,13 @@ private AvroFileFormat( case 0: done = true; break; - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -82,30 +66,27 @@ private AvroFileFormat( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_AvroFileFormat_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_AvroFileFormat_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_AvroFileFormat_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_AvroFileFormat_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.AvroFileFormat.class, - com.google.cloud.datastream.v1alpha1.AvroFileFormat.Builder.class); + com.google.cloud.datastream.v1alpha1.AvroFileFormat.class, com.google.cloud.datastream.v1alpha1.AvroFileFormat.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -117,7 +98,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { unknownFields.writeTo(output); } @@ -135,13 +117,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datastream.v1alpha1.AvroFileFormat)) { return super.equals(obj); } - com.google.cloud.datastream.v1alpha1.AvroFileFormat other = - (com.google.cloud.datastream.v1alpha1.AvroFileFormat) obj; + com.google.cloud.datastream.v1alpha1.AvroFileFormat other = (com.google.cloud.datastream.v1alpha1.AvroFileFormat) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -160,126 +141,117 @@ public int hashCode() { } public static com.google.cloud.datastream.v1alpha1.AvroFileFormat parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.AvroFileFormat parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.AvroFileFormat parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.AvroFileFormat parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.AvroFileFormat parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.AvroFileFormat parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.AvroFileFormat parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.AvroFileFormat parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.AvroFileFormat parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.AvroFileFormat parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.AvroFileFormat parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.AvroFileFormat 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.datastream.v1alpha1.AvroFileFormat parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.AvroFileFormat parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datastream.v1alpha1.AvroFileFormat prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * AVRO file format configuration.
    * 
* * Protobuf type {@code google.cloud.datastream.v1alpha1.AvroFileFormat} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1alpha1.AvroFileFormat) com.google.cloud.datastream.v1alpha1.AvroFileFormatOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_AvroFileFormat_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_AvroFileFormat_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_AvroFileFormat_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_AvroFileFormat_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.AvroFileFormat.class, - com.google.cloud.datastream.v1alpha1.AvroFileFormat.Builder.class); + com.google.cloud.datastream.v1alpha1.AvroFileFormat.class, com.google.cloud.datastream.v1alpha1.AvroFileFormat.Builder.class); } // Construct using com.google.cloud.datastream.v1alpha1.AvroFileFormat.newBuilder() @@ -287,15 +259,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -303,9 +276,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_AvroFileFormat_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_AvroFileFormat_descriptor; } @java.lang.Override @@ -324,8 +297,7 @@ public com.google.cloud.datastream.v1alpha1.AvroFileFormat build() { @java.lang.Override public com.google.cloud.datastream.v1alpha1.AvroFileFormat buildPartial() { - com.google.cloud.datastream.v1alpha1.AvroFileFormat result = - new com.google.cloud.datastream.v1alpha1.AvroFileFormat(this); + com.google.cloud.datastream.v1alpha1.AvroFileFormat result = new com.google.cloud.datastream.v1alpha1.AvroFileFormat(this); onBuilt(); return result; } @@ -334,39 +306,38 @@ public com.google.cloud.datastream.v1alpha1.AvroFileFormat buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1alpha1.AvroFileFormat) { - return mergeFrom((com.google.cloud.datastream.v1alpha1.AvroFileFormat) other); + return mergeFrom((com.google.cloud.datastream.v1alpha1.AvroFileFormat)other); } else { super.mergeFrom(other); return this; @@ -374,8 +345,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datastream.v1alpha1.AvroFileFormat other) { - if (other == com.google.cloud.datastream.v1alpha1.AvroFileFormat.getDefaultInstance()) - return this; + if (other == com.google.cloud.datastream.v1alpha1.AvroFileFormat.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -395,8 +365,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datastream.v1alpha1.AvroFileFormat) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datastream.v1alpha1.AvroFileFormat) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -405,9 +374,9 @@ public Builder mergeFrom( } return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -417,12 +386,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1alpha1.AvroFileFormat) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1alpha1.AvroFileFormat) private static final com.google.cloud.datastream.v1alpha1.AvroFileFormat DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1alpha1.AvroFileFormat(); } @@ -431,16 +400,16 @@ public static com.google.cloud.datastream.v1alpha1.AvroFileFormat getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AvroFileFormat parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AvroFileFormat(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AvroFileFormat parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AvroFileFormat(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -455,4 +424,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datastream.v1alpha1.AvroFileFormat getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/AvroFileFormatOrBuilder.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/AvroFileFormatOrBuilder.java new file mode 100644 index 00000000..ecd8ad00 --- /dev/null +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/AvroFileFormatOrBuilder.java @@ -0,0 +1,9 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datastream/v1alpha1/datastream_resources.proto + +package com.google.cloud.datastream.v1alpha1; + +public interface AvroFileFormatOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1alpha1.AvroFileFormat) + com.google.protobuf.MessageOrBuilder { +} diff --git a/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/CloudDatastreamResourcesProto.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/CloudDatastreamResourcesProto.java new file mode 100644 index 00000000..da2a5cbd --- /dev/null +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/CloudDatastreamResourcesProto.java @@ -0,0 +1,712 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datastream/v1alpha1/datastream_resources.proto + +package com.google.cloud.datastream.v1alpha1; + +public final class CloudDatastreamResourcesProto { + private CloudDatastreamResourcesProto() {} + 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_datastream_v1alpha1_OracleProfile_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datastream_v1alpha1_OracleProfile_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datastream_v1alpha1_OracleProfile_ConnectionAttributesEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datastream_v1alpha1_OracleProfile_ConnectionAttributesEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datastream_v1alpha1_MysqlProfile_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datastream_v1alpha1_MysqlProfile_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datastream_v1alpha1_GcsProfile_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datastream_v1alpha1_GcsProfile_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datastream_v1alpha1_NoConnectivitySettings_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datastream_v1alpha1_NoConnectivitySettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datastream_v1alpha1_StaticServiceIpConnectivity_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datastream_v1alpha1_StaticServiceIpConnectivity_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datastream_v1alpha1_ForwardSshTunnelConnectivity_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datastream_v1alpha1_ForwardSshTunnelConnectivity_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datastream_v1alpha1_VpcPeeringConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datastream_v1alpha1_VpcPeeringConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datastream_v1alpha1_PrivateConnection_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datastream_v1alpha1_PrivateConnection_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datastream_v1alpha1_PrivateConnection_LabelsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datastream_v1alpha1_PrivateConnection_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datastream_v1alpha1_PrivateConnectivity_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datastream_v1alpha1_PrivateConnectivity_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datastream_v1alpha1_Route_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datastream_v1alpha1_Route_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datastream_v1alpha1_Route_LabelsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datastream_v1alpha1_Route_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datastream_v1alpha1_MysqlSslConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datastream_v1alpha1_MysqlSslConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datastream_v1alpha1_ConnectionProfile_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datastream_v1alpha1_ConnectionProfile_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datastream_v1alpha1_ConnectionProfile_LabelsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datastream_v1alpha1_ConnectionProfile_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datastream_v1alpha1_OracleColumn_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datastream_v1alpha1_OracleColumn_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datastream_v1alpha1_OracleTable_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datastream_v1alpha1_OracleTable_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datastream_v1alpha1_OracleSchema_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datastream_v1alpha1_OracleSchema_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datastream_v1alpha1_OracleRdbms_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datastream_v1alpha1_OracleRdbms_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datastream_v1alpha1_OracleSourceConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datastream_v1alpha1_OracleSourceConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datastream_v1alpha1_MysqlColumn_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datastream_v1alpha1_MysqlColumn_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datastream_v1alpha1_MysqlTable_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datastream_v1alpha1_MysqlTable_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datastream_v1alpha1_MysqlDatabase_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datastream_v1alpha1_MysqlDatabase_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datastream_v1alpha1_MysqlRdbms_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datastream_v1alpha1_MysqlRdbms_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datastream_v1alpha1_MysqlSourceConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datastream_v1alpha1_MysqlSourceConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datastream_v1alpha1_SourceConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datastream_v1alpha1_SourceConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datastream_v1alpha1_AvroFileFormat_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datastream_v1alpha1_AvroFileFormat_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datastream_v1alpha1_JsonFileFormat_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datastream_v1alpha1_JsonFileFormat_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datastream_v1alpha1_GcsDestinationConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datastream_v1alpha1_GcsDestinationConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datastream_v1alpha1_DestinationConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datastream_v1alpha1_DestinationConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datastream_v1alpha1_Stream_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datastream_v1alpha1_Stream_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datastream_v1alpha1_Stream_BackfillAllStrategy_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datastream_v1alpha1_Stream_BackfillAllStrategy_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datastream_v1alpha1_Stream_BackfillNoneStrategy_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datastream_v1alpha1_Stream_BackfillNoneStrategy_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datastream_v1alpha1_Stream_LabelsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datastream_v1alpha1_Stream_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datastream_v1alpha1_Error_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datastream_v1alpha1_Error_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datastream_v1alpha1_Error_DetailsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datastream_v1alpha1_Error_DetailsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datastream_v1alpha1_ValidationResult_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datastream_v1alpha1_ValidationResult_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datastream_v1alpha1_Validation_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datastream_v1alpha1_Validation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datastream_v1alpha1_ValidationMessage_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datastream_v1alpha1_ValidationMessage_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datastream_v1alpha1_ValidationMessage_MetadataEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datastream_v1alpha1_ValidationMessage_MetadataEntry_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/datastream/v1alpha1/datas" + + "tream_resources.proto\022 google.cloud.data" + + "stream.v1alpha1\032\037google/api/field_behavi" + + "or.proto\032\031google/api/resource.proto\032\036goo" + + "gle/protobuf/duration.proto\032\037google/prot" + + "obuf/timestamp.proto\"\250\002\n\rOracleProfile\022\025" + + "\n\010hostname\030\001 \001(\tB\003\340A\002\022\014\n\004port\030\002 \001(\005\022\025\n\010u" + + "sername\030\003 \001(\tB\003\340A\002\022\025\n\010password\030\004 \001(\tB\003\340A" + + "\002\022\035\n\020database_service\030\005 \001(\tB\003\340A\002\022h\n\025conn" + + "ection_attributes\030\006 \003(\0132I.google.cloud.d" + + "atastream.v1alpha1.OracleProfile.Connect" + + "ionAttributesEntry\032;\n\031ConnectionAttribut" + + "esEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"" + + "\252\001\n\014MysqlProfile\022\025\n\010hostname\030\001 \001(\tB\003\340A\002\022" + + "\014\n\004port\030\002 \001(\005\022\025\n\010username\030\003 \001(\tB\003\340A\002\022\030\n\010" + + "password\030\004 \001(\tB\006\340A\002\340A\004\022D\n\nssl_config\030\005 \001" + + "(\01320.google.cloud.datastream.v1alpha1.My" + + "sqlSslConfig\"9\n\nGcsProfile\022\030\n\013bucket_nam" + + "e\030\001 \001(\tB\003\340A\002\022\021\n\troot_path\030\002 \001(\t\"\030\n\026NoCon" + + "nectivitySettings\"\035\n\033StaticServiceIpConn" + + "ectivity\"\250\001\n\034ForwardSshTunnelConnectivit" + + "y\022\025\n\010hostname\030\001 \001(\tB\003\340A\002\022\025\n\010username\030\002 \001" + + "(\tB\003\340A\002\022\014\n\004port\030\003 \001(\005\022\027\n\010password\030d \001(\tB" + + "\003\340A\004H\000\022\032\n\013private_key\030e \001(\tB\003\340A\004H\000B\027\n\025au" + + "thentication_method\">\n\020VpcPeeringConfig\022" + + "\025\n\010vpc_name\030\001 \001(\tB\003\340A\002\022\023\n\006subnet\030\002 \001(\tB\003" + + "\340A\002\"\324\005\n\021PrivateConnection\022\021\n\004name\030\001 \001(\tB" + + "\003\340A\003\0224\n\013create_time\030\002 \001(\0132\032.google.proto" + + "buf.TimestampB\003\340A\003\0224\n\013update_time\030\003 \001(\0132" + + "\032.google.protobuf.TimestampB\003\340A\003\022O\n\006labe" + + "ls\030\004 \003(\0132?.google.cloud.datastream.v1alp" + + "ha1.PrivateConnection.LabelsEntry\022\031\n\014dis" + + "play_name\030\005 \001(\tB\003\340A\002\022M\n\005state\030\006 \001(\01629.go" + + "ogle.cloud.datastream.v1alpha1.PrivateCo" + + "nnection.StateB\003\340A\003\022;\n\005error\030\007 \001(\0132\'.goo" + + "gle.cloud.datastream.v1alpha1.ErrorB\003\340A\003" + + "\022N\n\022vpc_peering_config\030d \001(\01322.google.cl" + + "oud.datastream.v1alpha1.VpcPeeringConfig" + + "\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 " + + "\001(\t:\0028\001\"E\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022" + + "\014\n\010CREATING\020\001\022\013\n\007CREATED\020\002\022\n\n\006FAILED\020\003:\201" + + "\001\352A~\n+datastream.googleapis.com/PrivateC" + + "onnection\022Oprojects/{project}/locations/" + + "{location}/privateConnections/{private_c" + + "onnection}\";\n\023PrivateConnectivity\022$\n\027pri" + + "vate_connection_name\030\001 \001(\tB\003\340A\002\"\331\003\n\005Rout" + + "e\022\021\n\004name\030\001 \001(\tB\003\340A\003\0224\n\013create_time\030\002 \001(" + + "\0132\032.google.protobuf.TimestampB\003\340A\003\0224\n\013up" + + "date_time\030\003 \001(\0132\032.google.protobuf.Timest" + + "ampB\003\340A\003\022C\n\006labels\030\004 \003(\01323.google.cloud." + + "datastream.v1alpha1.Route.LabelsEntry\022\031\n" + + "\014display_name\030\005 \001(\tB\003\340A\002\022 \n\023destination_" + + "address\030\006 \001(\tB\003\340A\002\022\030\n\020destination_port\030\007" + + " \001(\005\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005valu" + + "e\030\002 \001(\t:\0028\001:\205\001\352A\201\001\n\037datastream.googleapi" + + "s.com/Route\022^projects/{project}/location" + + "s/{location}/privateConnections/{private" + + "_connection}/routes/{route}\"\312\001\n\016MysqlSsl" + + "Config\022\027\n\nclient_key\030\013 \001(\tB\003\340A\004\022\033\n\016clien" + + "t_key_set\030\014 \001(\010B\003\340A\003\022\037\n\022client_certifica" + + "te\030\r \001(\tB\003\340A\004\022#\n\026client_certificate_set\030" + + "\016 \001(\010B\003\340A\003\022\033\n\016ca_certificate\030\017 \001(\tB\003\340A\004\022" + + "\037\n\022ca_certificate_set\030\020 \001(\010B\003\340A\003\"\242\010\n\021Con" + + "nectionProfile\022\021\n\004name\030\001 \001(\tB\003\340A\003\0224\n\013cre" + + "ate_time\030\002 \001(\0132\032.google.protobuf.Timesta" + + "mpB\003\340A\003\0224\n\013update_time\030\003 \001(\0132\032.google.pr" + + "otobuf.TimestampB\003\340A\003\022O\n\006labels\030\004 \003(\0132?." + + "google.cloud.datastream.v1alpha1.Connect" + + "ionProfile.LabelsEntry\022\031\n\014display_name\030\005" + + " \001(\tB\003\340A\002\022I\n\016oracle_profile\030d \001(\0132/.goog" + + "le.cloud.datastream.v1alpha1.OracleProfi" + + "leH\000\022C\n\013gcs_profile\030e \001(\0132,.google.cloud" + + ".datastream.v1alpha1.GcsProfileH\000\022G\n\rmys" + + "ql_profile\030f \001(\0132..google.cloud.datastre" + + "am.v1alpha1.MysqlProfileH\000\022T\n\017no_connect" + + "ivity\030\310\001 \001(\01328.google.cloud.datastream.v" + + "1alpha1.NoConnectivitySettingsH\001\022h\n\036stat" + + "ic_service_ip_connectivity\030\311\001 \001(\0132=.goog" + + "le.cloud.datastream.v1alpha1.StaticServi" + + "ceIpConnectivityH\001\022c\n\030forward_ssh_connec" + + "tivity\030\312\001 \001(\0132>.google.cloud.datastream." + + "v1alpha1.ForwardSshTunnelConnectivityH\001\022" + + "V\n\024private_connectivity\030\313\001 \001(\01325.google." + + "cloud.datastream.v1alpha1.PrivateConnect" + + "ivityH\001\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005v" + + "alue\030\002 \001(\t:\0028\001:\201\001\352A~\n+datastream.googlea" + + "pis.com/ConnectionProfile\022Oprojects/{pro" + + "ject}/locations/{location}/connectionPro" + + "files/{connection_profile}B\t\n\007profileB\016\n" + + "\014connectivity\"\273\001\n\014OracleColumn\022\023\n\013column" + + "_name\030\001 \001(\t\022\021\n\tdata_type\030\002 \001(\t\022\016\n\006length" + + "\030\003 \001(\005\022\021\n\tprecision\030\004 \001(\005\022\r\n\005scale\030\005 \001(\005" + + "\022\020\n\010encoding\030\006 \001(\t\022\023\n\013primary_key\030\007 \001(\010\022" + + "\020\n\010nullable\030\010 \001(\010\022\030\n\020ordinal_position\030\t " + + "\001(\005\"i\n\013OracleTable\022\022\n\ntable_name\030\001 \001(\t\022F" + + "\n\016oracle_columns\030\002 \003(\0132..google.cloud.da" + + "tastream.v1alpha1.OracleColumn\"i\n\014Oracle" + + "Schema\022\023\n\013schema_name\030\001 \001(\t\022D\n\roracle_ta" + + "bles\030\002 \003(\0132-.google.cloud.datastream.v1a" + + "lpha1.OracleTable\"U\n\013OracleRdbms\022F\n\016orac" + + "le_schemas\030\001 \003(\0132..google.cloud.datastre" + + "am.v1alpha1.OracleSchema\"\231\001\n\022OracleSourc" + + "eConfig\022@\n\tallowlist\030\001 \001(\0132-.google.clou" + + "d.datastream.v1alpha1.OracleRdbms\022A\n\nrej" + + "ectlist\030\002 \001(\0132-.google.cloud.datastream." + + "v1alpha1.OracleRdbms\"\231\001\n\013MysqlColumn\022\023\n\013" + + "column_name\030\001 \001(\t\022\021\n\tdata_type\030\002 \001(\t\022\016\n\006" + + "length\030\003 \001(\005\022\021\n\tcollation\030\004 \001(\t\022\023\n\013prima" + + "ry_key\030\005 \001(\010\022\020\n\010nullable\030\006 \001(\010\022\030\n\020ordina" + + "l_position\030\007 \001(\005\"f\n\nMysqlTable\022\022\n\ntable_" + + "name\030\001 \001(\t\022D\n\rmysql_columns\030\002 \003(\0132-.goog" + + "le.cloud.datastream.v1alpha1.MysqlColumn" + + "\"j\n\rMysqlDatabase\022\025\n\rdatabase_name\030\001 \001(\t" + + "\022B\n\014mysql_tables\030\002 \003(\0132,.google.cloud.da" + + "tastream.v1alpha1.MysqlTable\"V\n\nMysqlRdb" + + "ms\022H\n\017mysql_databases\030\001 \003(\0132/.google.clo" + + "ud.datastream.v1alpha1.MysqlDatabase\"\226\001\n" + + "\021MysqlSourceConfig\022?\n\tallowlist\030\001 \001(\0132,." + + "google.cloud.datastream.v1alpha1.MysqlRd" + + "bms\022@\n\nrejectlist\030\002 \001(\0132,.google.cloud.d" + + "atastream.v1alpha1.MysqlRdbms\"\375\001\n\014Source" + + "Config\022+\n\036source_connection_profile_name" + + "\030\001 \001(\tB\003\340A\002\022T\n\024oracle_source_config\030d \001(" + + "\01324.google.cloud.datastream.v1alpha1.Ora" + + "cleSourceConfigH\000\022R\n\023mysql_source_config" + + "\030e \001(\01323.google.cloud.datastream.v1alpha" + + "1.MysqlSourceConfigH\000B\026\n\024source_stream_c" + + "onfig\"\020\n\016AvroFileFormat\"\212\002\n\016JsonFileForm" + + "at\022N\n\022schema_file_format\030\001 \001(\01622.google." + + "cloud.datastream.v1alpha1.SchemaFileForm" + + "at\022U\n\013compression\030\002 \001(\0162@.google.cloud.d" + + "atastream.v1alpha1.JsonFileFormat.JsonCo" + + "mpression\"Q\n\017JsonCompression\022 \n\034JSON_COM" + + "PRESSION_UNSPECIFIED\020\000\022\022\n\016NO_COMPRESSION" + + "\020\001\022\010\n\004GZIP\020\002\"\362\002\n\024GcsDestinationConfig\022\014\n" + + "\004path\030\001 \001(\t\022L\n\017gcs_file_format\030\002 \001(\0162/.g" + + "oogle.cloud.datastream.v1alpha1.GcsFileF" + + "ormatB\002\030\001\022\030\n\020file_rotation_mb\030\003 \001(\005\0229\n\026f" + + "ile_rotation_interval\030\004 \001(\0132\031.google.pro" + + "tobuf.Duration\022L\n\020avro_file_format\030d \001(\013" + + "20.google.cloud.datastream.v1alpha1.Avro" + + "FileFormatH\000\022L\n\020json_file_format\030e \001(\01320" + + ".google.cloud.datastream.v1alpha1.JsonFi" + + "leFormatH\000B\r\n\013file_format\"\274\001\n\021Destinatio" + + "nConfig\0220\n#destination_connection_profil" + + "e_name\030\001 \001(\tB\003\340A\002\022X\n\026gcs_destination_con" + + "fig\030d \001(\01326.google.cloud.datastream.v1al" + + "pha1.GcsDestinationConfigH\000B\033\n\031destinati" + + "on_stream_config\"\330\t\n\006Stream\022\021\n\004name\030\001 \001(" + + "\tB\003\340A\003\0224\n\013create_time\030\002 \001(\0132\032.google.pro" + + "tobuf.TimestampB\003\340A\003\0224\n\013update_time\030\003 \001(" + + "\0132\032.google.protobuf.TimestampB\003\340A\003\022D\n\006la" + + "bels\030\004 \003(\01324.google.cloud.datastream.v1a" + + "lpha1.Stream.LabelsEntry\022\031\n\014display_name" + + "\030\005 \001(\tB\003\340A\002\022J\n\rsource_config\030\006 \001(\0132..goo" + + "gle.cloud.datastream.v1alpha1.SourceConf" + + "igB\003\340A\002\022T\n\022destination_config\030\007 \001(\01323.go" + + "ogle.cloud.datastream.v1alpha1.Destinati" + + "onConfigB\003\340A\002\022=\n\005state\030\010 \001(\0162..google.cl" + + "oud.datastream.v1alpha1.Stream.State\022T\n\014" + + "backfill_all\030e \001(\0132<.google.cloud.datast" + + "ream.v1alpha1.Stream.BackfillAllStrategy" + + "H\000\022V\n\rbackfill_none\030f \001(\0132=.google.cloud" + + ".datastream.v1alpha1.Stream.BackfillNone" + + "StrategyH\000\022<\n\006errors\030\t \003(\0132\'.google.clou" + + "d.datastream.v1alpha1.ErrorB\003\340A\003\032\313\001\n\023Bac" + + "kfillAllStrategy\022P\n\027oracle_excluded_obje" + + "cts\030\001 \001(\0132-.google.cloud.datastream.v1al" + + "pha1.OracleRdbmsH\000\022N\n\026mysql_excluded_obj" + + "ects\030\002 \001(\0132,.google.cloud.datastream.v1a" + + "lpha1.MysqlRdbmsH\000B\022\n\020excluded_objects\032\026" + + "\n\024BackfillNoneStrategy\032-\n\013LabelsEntry\022\013\n" + + "\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\225\001\n\005State\022" + + "\025\n\021STATE_UNSPECIFIED\020\000\022\013\n\007CREATED\020\001\022\013\n\007R" + + "UNNING\020\002\022\n\n\006PAUSED\020\003\022\017\n\013MAINTENANCE\020\004\022\n\n" + + "\006FAILED\020\005\022\026\n\022FAILED_PERMANENTLY\020\006\022\014\n\010STA" + + "RTING\020\007\022\014\n\010DRAINING\020\010:_\352A\\\n datastream.g" + + "oogleapis.com/Stream\0228projects/{project}" + + "/locations/{location}/streams/{stream}B\023" + + "\n\021backfill_strategy\"\343\001\n\005Error\022\016\n\006reason\030" + + "\001 \001(\t\022\022\n\nerror_uuid\030\002 \001(\t\022\017\n\007message\030\003 \001" + + "(\t\022.\n\nerror_time\030\004 \001(\0132\032.google.protobuf" + + ".Timestamp\022E\n\007details\030\005 \003(\01324.google.clo" + + "ud.datastream.v1alpha1.Error.DetailsEntr" + + "y\032.\n\014DetailsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030" + + "\002 \001(\t:\0028\001\"U\n\020ValidationResult\022A\n\013validat" + + "ions\030\001 \003(\0132,.google.cloud.datastream.v1a" + + "lpha1.Validation\"\206\002\n\nValidation\022\023\n\013descr" + + "iption\030\001 \001(\t\022C\n\006status\030\002 \001(\01623.google.cl" + + "oud.datastream.v1alpha1.Validation.Statu" + + "s\022D\n\007message\030\003 \003(\01323.google.cloud.datast" + + "ream.v1alpha1.ValidationMessage\022\014\n\004code\030" + + "\004 \001(\t\"J\n\006Status\022\026\n\022STATUS_UNSPECIFIED\020\000\022" + + "\020\n\014NOT_EXECUTED\020\001\022\n\n\006FAILED\020\002\022\n\n\006PASSED\020" + + "\003\"\272\002\n\021ValidationMessage\022\017\n\007message\030\001 \001(\t" + + "\022H\n\005level\030\002 \001(\01629.google.cloud.datastrea" + + "m.v1alpha1.ValidationMessage.Level\022S\n\010me" + + "tadata\030\003 \003(\0132A.google.cloud.datastream.v" + + "1alpha1.ValidationMessage.MetadataEntry\022" + + "\014\n\004code\030\004 \001(\t\032/\n\rMetadataEntry\022\013\n\003key\030\001 " + + "\001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"6\n\005Level\022\025\n\021LEVEL" + + "_UNSPECIFIED\020\000\022\013\n\007WARNING\020\001\022\t\n\005ERROR\020\002*>" + + "\n\rGcsFileFormat\022\037\n\033GCS_FILE_FORMAT_UNSPE" + + "CIFIED\020\000\022\010\n\004AVRO\020\001\032\002\030\001*`\n\020SchemaFileForm" + + "at\022\"\n\036SCHEMA_FILE_FORMAT_UNSPECIFIED\020\000\022\022" + + "\n\016NO_SCHEMA_FILE\020\001\022\024\n\020AVRO_SCHEMA_FILE\020\002" + + "B\377\001\n$com.google.cloud.datastream.v1alpha" + + "1B\035CloudDatastreamResourcesProtoP\001ZJgoog" + + "le.golang.org/genproto/googleapis/cloud/" + + "datastream/v1alpha1;datastream\252\002 Google." + + "Cloud.Datastream.V1Alpha1\312\002 Google\\Cloud" + + "\\Datastream\\V1alpha1\352\002#Google::Cloud::Da" + + "tastream::V1alpha1b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_cloud_datastream_v1alpha1_OracleProfile_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_datastream_v1alpha1_OracleProfile_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datastream_v1alpha1_OracleProfile_descriptor, + new java.lang.String[] { "Hostname", "Port", "Username", "Password", "DatabaseService", "ConnectionAttributes", }); + internal_static_google_cloud_datastream_v1alpha1_OracleProfile_ConnectionAttributesEntry_descriptor = + internal_static_google_cloud_datastream_v1alpha1_OracleProfile_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_datastream_v1alpha1_OracleProfile_ConnectionAttributesEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datastream_v1alpha1_OracleProfile_ConnectionAttributesEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_datastream_v1alpha1_MysqlProfile_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_datastream_v1alpha1_MysqlProfile_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datastream_v1alpha1_MysqlProfile_descriptor, + new java.lang.String[] { "Hostname", "Port", "Username", "Password", "SslConfig", }); + internal_static_google_cloud_datastream_v1alpha1_GcsProfile_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_datastream_v1alpha1_GcsProfile_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datastream_v1alpha1_GcsProfile_descriptor, + new java.lang.String[] { "BucketName", "RootPath", }); + internal_static_google_cloud_datastream_v1alpha1_NoConnectivitySettings_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_datastream_v1alpha1_NoConnectivitySettings_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datastream_v1alpha1_NoConnectivitySettings_descriptor, + new java.lang.String[] { }); + internal_static_google_cloud_datastream_v1alpha1_StaticServiceIpConnectivity_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_datastream_v1alpha1_StaticServiceIpConnectivity_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datastream_v1alpha1_StaticServiceIpConnectivity_descriptor, + new java.lang.String[] { }); + internal_static_google_cloud_datastream_v1alpha1_ForwardSshTunnelConnectivity_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_datastream_v1alpha1_ForwardSshTunnelConnectivity_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datastream_v1alpha1_ForwardSshTunnelConnectivity_descriptor, + new java.lang.String[] { "Hostname", "Username", "Port", "Password", "PrivateKey", "AuthenticationMethod", }); + internal_static_google_cloud_datastream_v1alpha1_VpcPeeringConfig_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_datastream_v1alpha1_VpcPeeringConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datastream_v1alpha1_VpcPeeringConfig_descriptor, + new java.lang.String[] { "VpcName", "Subnet", }); + internal_static_google_cloud_datastream_v1alpha1_PrivateConnection_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_datastream_v1alpha1_PrivateConnection_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datastream_v1alpha1_PrivateConnection_descriptor, + new java.lang.String[] { "Name", "CreateTime", "UpdateTime", "Labels", "DisplayName", "State", "Error", "VpcPeeringConfig", }); + internal_static_google_cloud_datastream_v1alpha1_PrivateConnection_LabelsEntry_descriptor = + internal_static_google_cloud_datastream_v1alpha1_PrivateConnection_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_datastream_v1alpha1_PrivateConnection_LabelsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datastream_v1alpha1_PrivateConnection_LabelsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_datastream_v1alpha1_PrivateConnectivity_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_datastream_v1alpha1_PrivateConnectivity_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datastream_v1alpha1_PrivateConnectivity_descriptor, + new java.lang.String[] { "PrivateConnectionName", }); + internal_static_google_cloud_datastream_v1alpha1_Route_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_datastream_v1alpha1_Route_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datastream_v1alpha1_Route_descriptor, + new java.lang.String[] { "Name", "CreateTime", "UpdateTime", "Labels", "DisplayName", "DestinationAddress", "DestinationPort", }); + internal_static_google_cloud_datastream_v1alpha1_Route_LabelsEntry_descriptor = + internal_static_google_cloud_datastream_v1alpha1_Route_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_datastream_v1alpha1_Route_LabelsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datastream_v1alpha1_Route_LabelsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_datastream_v1alpha1_MysqlSslConfig_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_cloud_datastream_v1alpha1_MysqlSslConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datastream_v1alpha1_MysqlSslConfig_descriptor, + new java.lang.String[] { "ClientKey", "ClientKeySet", "ClientCertificate", "ClientCertificateSet", "CaCertificate", "CaCertificateSet", }); + internal_static_google_cloud_datastream_v1alpha1_ConnectionProfile_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_cloud_datastream_v1alpha1_ConnectionProfile_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datastream_v1alpha1_ConnectionProfile_descriptor, + new java.lang.String[] { "Name", "CreateTime", "UpdateTime", "Labels", "DisplayName", "OracleProfile", "GcsProfile", "MysqlProfile", "NoConnectivity", "StaticServiceIpConnectivity", "ForwardSshConnectivity", "PrivateConnectivity", "Profile", "Connectivity", }); + internal_static_google_cloud_datastream_v1alpha1_ConnectionProfile_LabelsEntry_descriptor = + internal_static_google_cloud_datastream_v1alpha1_ConnectionProfile_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_datastream_v1alpha1_ConnectionProfile_LabelsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datastream_v1alpha1_ConnectionProfile_LabelsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_datastream_v1alpha1_OracleColumn_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_cloud_datastream_v1alpha1_OracleColumn_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datastream_v1alpha1_OracleColumn_descriptor, + new java.lang.String[] { "ColumnName", "DataType", "Length", "Precision", "Scale", "Encoding", "PrimaryKey", "Nullable", "OrdinalPosition", }); + internal_static_google_cloud_datastream_v1alpha1_OracleTable_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_cloud_datastream_v1alpha1_OracleTable_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datastream_v1alpha1_OracleTable_descriptor, + new java.lang.String[] { "TableName", "OracleColumns", }); + internal_static_google_cloud_datastream_v1alpha1_OracleSchema_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_cloud_datastream_v1alpha1_OracleSchema_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datastream_v1alpha1_OracleSchema_descriptor, + new java.lang.String[] { "SchemaName", "OracleTables", }); + internal_static_google_cloud_datastream_v1alpha1_OracleRdbms_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_cloud_datastream_v1alpha1_OracleRdbms_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datastream_v1alpha1_OracleRdbms_descriptor, + new java.lang.String[] { "OracleSchemas", }); + internal_static_google_cloud_datastream_v1alpha1_OracleSourceConfig_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_google_cloud_datastream_v1alpha1_OracleSourceConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datastream_v1alpha1_OracleSourceConfig_descriptor, + new java.lang.String[] { "Allowlist", "Rejectlist", }); + internal_static_google_cloud_datastream_v1alpha1_MysqlColumn_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_google_cloud_datastream_v1alpha1_MysqlColumn_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datastream_v1alpha1_MysqlColumn_descriptor, + new java.lang.String[] { "ColumnName", "DataType", "Length", "Collation", "PrimaryKey", "Nullable", "OrdinalPosition", }); + internal_static_google_cloud_datastream_v1alpha1_MysqlTable_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_google_cloud_datastream_v1alpha1_MysqlTable_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datastream_v1alpha1_MysqlTable_descriptor, + new java.lang.String[] { "TableName", "MysqlColumns", }); + internal_static_google_cloud_datastream_v1alpha1_MysqlDatabase_descriptor = + getDescriptor().getMessageTypes().get(19); + internal_static_google_cloud_datastream_v1alpha1_MysqlDatabase_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datastream_v1alpha1_MysqlDatabase_descriptor, + new java.lang.String[] { "DatabaseName", "MysqlTables", }); + internal_static_google_cloud_datastream_v1alpha1_MysqlRdbms_descriptor = + getDescriptor().getMessageTypes().get(20); + internal_static_google_cloud_datastream_v1alpha1_MysqlRdbms_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datastream_v1alpha1_MysqlRdbms_descriptor, + new java.lang.String[] { "MysqlDatabases", }); + internal_static_google_cloud_datastream_v1alpha1_MysqlSourceConfig_descriptor = + getDescriptor().getMessageTypes().get(21); + internal_static_google_cloud_datastream_v1alpha1_MysqlSourceConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datastream_v1alpha1_MysqlSourceConfig_descriptor, + new java.lang.String[] { "Allowlist", "Rejectlist", }); + internal_static_google_cloud_datastream_v1alpha1_SourceConfig_descriptor = + getDescriptor().getMessageTypes().get(22); + internal_static_google_cloud_datastream_v1alpha1_SourceConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datastream_v1alpha1_SourceConfig_descriptor, + new java.lang.String[] { "SourceConnectionProfileName", "OracleSourceConfig", "MysqlSourceConfig", "SourceStreamConfig", }); + internal_static_google_cloud_datastream_v1alpha1_AvroFileFormat_descriptor = + getDescriptor().getMessageTypes().get(23); + internal_static_google_cloud_datastream_v1alpha1_AvroFileFormat_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datastream_v1alpha1_AvroFileFormat_descriptor, + new java.lang.String[] { }); + internal_static_google_cloud_datastream_v1alpha1_JsonFileFormat_descriptor = + getDescriptor().getMessageTypes().get(24); + internal_static_google_cloud_datastream_v1alpha1_JsonFileFormat_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datastream_v1alpha1_JsonFileFormat_descriptor, + new java.lang.String[] { "SchemaFileFormat", "Compression", }); + internal_static_google_cloud_datastream_v1alpha1_GcsDestinationConfig_descriptor = + getDescriptor().getMessageTypes().get(25); + internal_static_google_cloud_datastream_v1alpha1_GcsDestinationConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datastream_v1alpha1_GcsDestinationConfig_descriptor, + new java.lang.String[] { "Path", "GcsFileFormat", "FileRotationMb", "FileRotationInterval", "AvroFileFormat", "JsonFileFormat", "FileFormat", }); + internal_static_google_cloud_datastream_v1alpha1_DestinationConfig_descriptor = + getDescriptor().getMessageTypes().get(26); + internal_static_google_cloud_datastream_v1alpha1_DestinationConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datastream_v1alpha1_DestinationConfig_descriptor, + new java.lang.String[] { "DestinationConnectionProfileName", "GcsDestinationConfig", "DestinationStreamConfig", }); + internal_static_google_cloud_datastream_v1alpha1_Stream_descriptor = + getDescriptor().getMessageTypes().get(27); + internal_static_google_cloud_datastream_v1alpha1_Stream_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datastream_v1alpha1_Stream_descriptor, + new java.lang.String[] { "Name", "CreateTime", "UpdateTime", "Labels", "DisplayName", "SourceConfig", "DestinationConfig", "State", "BackfillAll", "BackfillNone", "Errors", "BackfillStrategy", }); + internal_static_google_cloud_datastream_v1alpha1_Stream_BackfillAllStrategy_descriptor = + internal_static_google_cloud_datastream_v1alpha1_Stream_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_datastream_v1alpha1_Stream_BackfillAllStrategy_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datastream_v1alpha1_Stream_BackfillAllStrategy_descriptor, + new java.lang.String[] { "OracleExcludedObjects", "MysqlExcludedObjects", "ExcludedObjects", }); + internal_static_google_cloud_datastream_v1alpha1_Stream_BackfillNoneStrategy_descriptor = + internal_static_google_cloud_datastream_v1alpha1_Stream_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_datastream_v1alpha1_Stream_BackfillNoneStrategy_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datastream_v1alpha1_Stream_BackfillNoneStrategy_descriptor, + new java.lang.String[] { }); + internal_static_google_cloud_datastream_v1alpha1_Stream_LabelsEntry_descriptor = + internal_static_google_cloud_datastream_v1alpha1_Stream_descriptor.getNestedTypes().get(2); + internal_static_google_cloud_datastream_v1alpha1_Stream_LabelsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datastream_v1alpha1_Stream_LabelsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_datastream_v1alpha1_Error_descriptor = + getDescriptor().getMessageTypes().get(28); + internal_static_google_cloud_datastream_v1alpha1_Error_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datastream_v1alpha1_Error_descriptor, + new java.lang.String[] { "Reason", "ErrorUuid", "Message", "ErrorTime", "Details", }); + internal_static_google_cloud_datastream_v1alpha1_Error_DetailsEntry_descriptor = + internal_static_google_cloud_datastream_v1alpha1_Error_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_datastream_v1alpha1_Error_DetailsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datastream_v1alpha1_Error_DetailsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_datastream_v1alpha1_ValidationResult_descriptor = + getDescriptor().getMessageTypes().get(29); + internal_static_google_cloud_datastream_v1alpha1_ValidationResult_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datastream_v1alpha1_ValidationResult_descriptor, + new java.lang.String[] { "Validations", }); + internal_static_google_cloud_datastream_v1alpha1_Validation_descriptor = + getDescriptor().getMessageTypes().get(30); + internal_static_google_cloud_datastream_v1alpha1_Validation_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datastream_v1alpha1_Validation_descriptor, + new java.lang.String[] { "Description", "Status", "Message", "Code", }); + internal_static_google_cloud_datastream_v1alpha1_ValidationMessage_descriptor = + getDescriptor().getMessageTypes().get(31); + internal_static_google_cloud_datastream_v1alpha1_ValidationMessage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datastream_v1alpha1_ValidationMessage_descriptor, + new java.lang.String[] { "Message", "Level", "Metadata", "Code", }); + internal_static_google_cloud_datastream_v1alpha1_ValidationMessage_MetadataEntry_descriptor = + internal_static_google_cloud_datastream_v1alpha1_ValidationMessage_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_datastream_v1alpha1_ValidationMessage_MetadataEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datastream_v1alpha1_ValidationMessage_MetadataEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/CloudDatastreamServiceProto.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/CloudDatastreamServiceProto.java new file mode 100644 index 00000000..98422847 --- /dev/null +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/CloudDatastreamServiceProto.java @@ -0,0 +1,640 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datastream/v1alpha1/datastream.proto + +package com.google.cloud.datastream.v1alpha1; + +public final class CloudDatastreamServiceProto { + private CloudDatastreamServiceProto() {} + 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_datastream_v1alpha1_DiscoverConnectionProfileRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datastream_v1alpha1_DiscoverConnectionProfileRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datastream_v1alpha1_DiscoverConnectionProfileResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datastream_v1alpha1_DiscoverConnectionProfileResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datastream_v1alpha1_FetchStaticIpsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datastream_v1alpha1_FetchStaticIpsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datastream_v1alpha1_FetchStaticIpsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datastream_v1alpha1_FetchStaticIpsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datastream_v1alpha1_FetchErrorsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datastream_v1alpha1_FetchErrorsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datastream_v1alpha1_FetchErrorsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datastream_v1alpha1_FetchErrorsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datastream_v1alpha1_ListConnectionProfilesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datastream_v1alpha1_ListConnectionProfilesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datastream_v1alpha1_ListConnectionProfilesResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datastream_v1alpha1_ListConnectionProfilesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datastream_v1alpha1_GetConnectionProfileRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datastream_v1alpha1_GetConnectionProfileRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datastream_v1alpha1_CreateConnectionProfileRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datastream_v1alpha1_CreateConnectionProfileRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datastream_v1alpha1_UpdateConnectionProfileRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datastream_v1alpha1_UpdateConnectionProfileRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datastream_v1alpha1_DeleteConnectionProfileRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datastream_v1alpha1_DeleteConnectionProfileRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datastream_v1alpha1_ListStreamsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datastream_v1alpha1_ListStreamsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datastream_v1alpha1_ListStreamsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datastream_v1alpha1_ListStreamsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datastream_v1alpha1_GetStreamRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datastream_v1alpha1_GetStreamRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datastream_v1alpha1_CreateStreamRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datastream_v1alpha1_CreateStreamRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datastream_v1alpha1_UpdateStreamRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datastream_v1alpha1_UpdateStreamRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datastream_v1alpha1_DeleteStreamRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datastream_v1alpha1_DeleteStreamRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datastream_v1alpha1_OperationMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datastream_v1alpha1_OperationMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datastream_v1alpha1_CreatePrivateConnectionRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datastream_v1alpha1_CreatePrivateConnectionRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datastream_v1alpha1_ListPrivateConnectionsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datastream_v1alpha1_ListPrivateConnectionsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datastream_v1alpha1_ListPrivateConnectionsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datastream_v1alpha1_ListPrivateConnectionsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datastream_v1alpha1_DeletePrivateConnectionRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datastream_v1alpha1_DeletePrivateConnectionRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datastream_v1alpha1_GetPrivateConnectionRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datastream_v1alpha1_GetPrivateConnectionRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datastream_v1alpha1_CreateRouteRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datastream_v1alpha1_CreateRouteRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datastream_v1alpha1_ListRoutesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datastream_v1alpha1_ListRoutesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datastream_v1alpha1_ListRoutesResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datastream_v1alpha1_ListRoutesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datastream_v1alpha1_DeleteRouteRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datastream_v1alpha1_DeleteRouteRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datastream_v1alpha1_GetRouteRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datastream_v1alpha1_GetRouteRequest_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n1google/cloud/datastream/v1alpha1/datas" + + "tream.proto\022 google.cloud.datastream.v1a" + + "lpha1\032\034google/api/annotations.proto\032\027goo" + + "gle/api/client.proto\032\037google/api/field_b" + + "ehavior.proto\032\031google/api/resource.proto" + + "\032;google/cloud/datastream/v1alpha1/datas" + + "tream_resources.proto\032#google/longrunnin" + + "g/operations.proto\032 google/protobuf/fiel" + + "d_mask.proto\032\037google/protobuf/timestamp." + + "proto\"\275\003\n DiscoverConnectionProfileReque" + + "st\022C\n\006parent\030\001 \001(\tB3\340A\002\372A-\022+datastream.g" + + "oogleapis.com/ConnectionProfile\022R\n\022conne" + + "ction_profile\030\310\001 \001(\01323.google.cloud.data" + + "stream.v1alpha1.ConnectionProfileH\000\022\"\n\027c" + + "onnection_profile_name\030\311\001 \001(\tH\000\022\023\n\trecur" + + "sive\030\003 \001(\010H\001\022\031\n\017recursion_depth\030\004 \001(\005H\001\022" + + "E\n\014oracle_rdbms\030d \001(\0132-.google.cloud.dat" + + "astream.v1alpha1.OracleRdbmsH\002\022C\n\013mysql_" + + "rdbms\030e \001(\0132,.google.cloud.datastream.v1" + + "alpha1.MysqlRdbmsH\002B\010\n\006targetB\007\n\005depthB\r" + + "\n\013data_object\"\276\001\n!DiscoverConnectionProf" + + "ileResponse\022E\n\014oracle_rdbms\030d \001(\0132-.goog" + + "le.cloud.datastream.v1alpha1.OracleRdbms" + + "H\000\022C\n\013mysql_rdbms\030e \001(\0132,.google.cloud.d" + + "atastream.v1alpha1.MysqlRdbmsH\000B\r\n\013data_" + + "object\"w\n\025FetchStaticIpsRequest\0227\n\004name\030" + + "\001 \001(\tB)\340A\002\372A#\n!locations.googleapis.com/" + + "Location\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_toke" + + "n\030\003 \001(\t\"E\n\026FetchStaticIpsResponse\022\022\n\nsta" + + "tic_ips\030\001 \003(\t\022\027\n\017next_page_token\030\002 \001(\t\"K" + + "\n\022FetchErrorsRequest\0225\n\006stream\030\001 \001(\tB%\372A" + + "\"\n datastream.googleapis.com/Stream\"N\n\023F" + + "etchErrorsResponse\0227\n\006errors\030\001 \003(\0132\'.goo" + + "gle.cloud.datastream.v1alpha1.Error\"\255\001\n\035" + + "ListConnectionProfilesRequest\022C\n\006parent\030" + + "\001 \001(\tB3\340A\002\372A-\022+datastream.googleapis.com" + + "/ConnectionProfile\022\021\n\tpage_size\030\002 \001(\005\022\022\n" + + "\npage_token\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\022\020\n\010ord" + + "er_by\030\005 \001(\t\"\240\001\n\036ListConnectionProfilesRe" + + "sponse\022P\n\023connection_profiles\030\001 \003(\01323.go" + + "ogle.cloud.datastream.v1alpha1.Connectio" + + "nProfile\022\027\n\017next_page_token\030\002 \001(\t\022\023\n\013unr" + + "eachable\030\003 \003(\t\"`\n\033GetConnectionProfileRe" + + "quest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+datastream." + + "googleapis.com/ConnectionProfile\"\370\001\n\036Cre" + + "ateConnectionProfileRequest\022C\n\006parent\030\001 " + + "\001(\tB3\340A\002\372A-\022+datastream.googleapis.com/C" + + "onnectionProfile\022\"\n\025connection_profile_i" + + "d\030\002 \001(\tB\003\340A\002\022T\n\022connection_profile\030\003 \001(\013" + + "23.google.cloud.datastream.v1alpha1.Conn" + + "ectionProfileB\003\340A\002\022\027\n\nrequest_id\030\004 \001(\tB\003" + + "\340A\001\"\305\001\n\036UpdateConnectionProfileRequest\0224" + + "\n\013update_mask\030\001 \001(\0132\032.google.protobuf.Fi" + + "eldMaskB\003\340A\001\022T\n\022connection_profile\030\002 \001(\013" + + "23.google.cloud.datastream.v1alpha1.Conn" + + "ectionProfileB\003\340A\002\022\027\n\nrequest_id\030\003 \001(\tB\003" + + "\340A\001\"|\n\036DeleteConnectionProfileRequest\022A\n" + + "\004name\030\001 \001(\tB3\340A\002\372A-\n+datastream.googleap" + + "is.com/ConnectionProfile\022\027\n\nrequest_id\030\002" + + " \001(\tB\003\340A\001\"\227\001\n\022ListStreamsRequest\0228\n\006pare" + + "nt\030\001 \001(\tB(\340A\002\372A\"\022 datastream.googleapis." + + "com/Stream\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_to" + + "ken\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\022\020\n\010order_by\030\005 " + + "\001(\t\"~\n\023ListStreamsResponse\0229\n\007streams\030\001 " + + "\003(\0132(.google.cloud.datastream.v1alpha1.S" + + "tream\022\027\n\017next_page_token\030\002 \001(\t\022\023\n\013unreac" + + "hable\030\003 \003(\t\"J\n\020GetStreamRequest\0226\n\004name\030" + + "\001 \001(\tB(\340A\002\372A\"\n datastream.googleapis.com" + + "/Stream\"\357\001\n\023CreateStreamRequest\0228\n\006paren" + + "t\030\001 \001(\tB(\340A\002\372A\"\022 datastream.googleapis.c" + + "om/Stream\022\026\n\tstream_id\030\002 \001(\tB\003\340A\002\022=\n\006str" + + "eam\030\003 \001(\0132(.google.cloud.datastream.v1al" + + "pha1.StreamB\003\340A\002\022\027\n\nrequest_id\030\004 \001(\tB\003\340A" + + "\001\022\032\n\rvalidate_only\030\005 \001(\010B\003\340A\001\022\022\n\005force\030\006" + + " \001(\010B\003\340A\001\"\323\001\n\023UpdateStreamRequest\0224\n\013upd" + + "ate_mask\030\001 \001(\0132\032.google.protobuf.FieldMa" + + "skB\003\340A\001\022=\n\006stream\030\002 \001(\0132(.google.cloud.d" + + "atastream.v1alpha1.StreamB\003\340A\002\022\027\n\nreques" + + "t_id\030\003 \001(\tB\003\340A\001\022\032\n\rvalidate_only\030\004 \001(\010B\003" + + "\340A\001\022\022\n\005force\030\005 \001(\010B\003\340A\001\"f\n\023DeleteStreamR" + + "equest\0226\n\004name\030\001 \001(\tB(\340A\002\372A\"\n datastream" + + ".googleapis.com/Stream\022\027\n\nrequest_id\030\002 \001" + + "(\tB\003\340A\001\"\324\002\n\021OperationMetadata\0224\n\013create_" + + "time\030\001 \001(\0132\032.google.protobuf.TimestampB\003" + + "\340A\003\0221\n\010end_time\030\002 \001(\0132\032.google.protobuf." + + "TimestampB\003\340A\003\022\023\n\006target\030\003 \001(\tB\003\340A\003\022\021\n\004v" + + "erb\030\004 \001(\tB\003\340A\003\022\033\n\016status_message\030\005 \001(\tB\003" + + "\340A\003\022#\n\026requested_cancellation\030\006 \001(\010B\003\340A\003" + + "\022\030\n\013api_version\030\007 \001(\tB\003\340A\003\022R\n\021validation" + + "_result\030\010 \001(\01322.google.cloud.datastream." + + "v1alpha1.ValidationResultB\003\340A\003\"\370\001\n\036Creat" + + "ePrivateConnectionRequest\022C\n\006parent\030\001 \001(" + + "\tB3\340A\002\372A-\022+datastream.googleapis.com/Pri" + + "vateConnection\022\"\n\025private_connection_id\030" + + "\002 \001(\tB\003\340A\002\022T\n\022private_connection\030\003 \001(\01323" + + ".google.cloud.datastream.v1alpha1.Privat" + + "eConnectionB\003\340A\002\022\027\n\nrequest_id\030\004 \001(\tB\003\340A" + + "\001\"\255\001\n\035ListPrivateConnectionsRequest\022C\n\006p" + + "arent\030\001 \001(\tB3\340A\002\372A-\022+datastream.googleap" + + "is.com/PrivateConnection\022\021\n\tpage_size\030\002 " + + "\001(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\022" + + "\020\n\010order_by\030\005 \001(\t\"\240\001\n\036ListPrivateConnect" + + "ionsResponse\022P\n\023private_connections\030\001 \003(" + + "\01323.google.cloud.datastream.v1alpha1.Pri" + + "vateConnection\022\027\n\017next_page_token\030\002 \001(\t\022" + + "\023\n\013unreachable\030\003 \003(\t\"\220\001\n\036DeletePrivateCo" + + "nnectionRequest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+d" + + "atastream.googleapis.com/PrivateConnecti" + + "on\022\027\n\nrequest_id\030\002 \001(\tB\003\340A\001\022\022\n\005force\030\003 \001" + + "(\010B\003\340A\001\"`\n\033GetPrivateConnectionRequest\022A" + + "\n\004name\030\001 \001(\tB3\340A\002\372A-\n+datastream.googlea" + + "pis.com/PrivateConnection\"\272\001\n\022CreateRout" + + "eRequest\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\022\037datast" + + "ream.googleapis.com/Route\022\025\n\010route_id\030\002 " + + "\001(\tB\003\340A\002\022;\n\005route\030\003 \001(\0132\'.google.cloud.d" + + "atastream.v1alpha1.RouteB\003\340A\002\022\027\n\nrequest" + + "_id\030\004 \001(\tB\003\340A\001\"\225\001\n\021ListRoutesRequest\0227\n\006" + + "parent\030\001 \001(\tB\'\340A\002\372A!\022\037datastream.googlea" + + "pis.com/Route\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage" + + "_token\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\022\020\n\010order_by" + + "\030\005 \001(\t\"{\n\022ListRoutesResponse\0227\n\006routes\030\001" + + " \003(\0132\'.google.cloud.datastream.v1alpha1." + + "Route\022\027\n\017next_page_token\030\002 \001(\t\022\023\n\013unreac" + + "hable\030\003 \003(\t\"d\n\022DeleteRouteRequest\0225\n\004nam" + + "e\030\001 \001(\tB\'\340A\002\372A!\n\037datastream.googleapis.c" + + "om/Route\022\027\n\nrequest_id\030\002 \001(\tB\003\340A\001\"H\n\017Get" + + "RouteRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037data" + + "stream.googleapis.com/Route2\212\'\n\nDatastre" + + "am\022\352\001\n\026ListConnectionProfiles\022?.google.c" + + "loud.datastream.v1alpha1.ListConnectionP" + + "rofilesRequest\032@.google.cloud.datastream" + + ".v1alpha1.ListConnectionProfilesResponse" + + "\"M\202\323\344\223\002>\022\022*\022" + + "\022* builder) { super(builder); } - private ConnectionProfile() { name_ = ""; displayName_ = ""; @@ -36,15 +22,16 @@ private ConnectionProfile() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ConnectionProfile(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ConnectionProfile( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -64,209 +51,162 @@ private ConnectionProfile( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; + name_ = s; + break; + } + case 18: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); } - case 18: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } - - break; + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 26: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); - } - updateTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); - } - break; + break; + } + case 26: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); } - case 34: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - labels_ = - com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; - } - com.google.protobuf.MapEntry labels__ = - input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - labels_.getMutableMap().put(labels__.getKey(), labels__.getValue()); - break; + updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); - displayName_ = s; - break; + break; + } + case 34: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; } - case 802: - { - com.google.cloud.datastream.v1alpha1.OracleProfile.Builder subBuilder = null; - if (profileCase_ == 100) { - subBuilder = - ((com.google.cloud.datastream.v1alpha1.OracleProfile) profile_).toBuilder(); - } - profile_ = - input.readMessage( - com.google.cloud.datastream.v1alpha1.OracleProfile.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.datastream.v1alpha1.OracleProfile) profile_); - profile_ = subBuilder.buildPartial(); - } - profileCase_ = 100; - break; + com.google.protobuf.MapEntry + labels__ = input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + labels_.getMutableMap().put( + labels__.getKey(), labels__.getValue()); + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + displayName_ = s; + break; + } + case 802: { + com.google.cloud.datastream.v1alpha1.OracleProfile.Builder subBuilder = null; + if (profileCase_ == 100) { + subBuilder = ((com.google.cloud.datastream.v1alpha1.OracleProfile) profile_).toBuilder(); } - case 810: - { - com.google.cloud.datastream.v1alpha1.GcsProfile.Builder subBuilder = null; - if (profileCase_ == 101) { - subBuilder = - ((com.google.cloud.datastream.v1alpha1.GcsProfile) profile_).toBuilder(); - } - profile_ = - input.readMessage( - com.google.cloud.datastream.v1alpha1.GcsProfile.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.datastream.v1alpha1.GcsProfile) profile_); - profile_ = subBuilder.buildPartial(); - } - profileCase_ = 101; - break; + profile_ = + input.readMessage(com.google.cloud.datastream.v1alpha1.OracleProfile.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.datastream.v1alpha1.OracleProfile) profile_); + profile_ = subBuilder.buildPartial(); } - case 818: - { - com.google.cloud.datastream.v1alpha1.MysqlProfile.Builder subBuilder = null; - if (profileCase_ == 102) { - subBuilder = - ((com.google.cloud.datastream.v1alpha1.MysqlProfile) profile_).toBuilder(); - } - profile_ = - input.readMessage( - com.google.cloud.datastream.v1alpha1.MysqlProfile.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.datastream.v1alpha1.MysqlProfile) profile_); - profile_ = subBuilder.buildPartial(); - } - profileCase_ = 102; - break; + profileCase_ = 100; + break; + } + case 810: { + com.google.cloud.datastream.v1alpha1.GcsProfile.Builder subBuilder = null; + if (profileCase_ == 101) { + subBuilder = ((com.google.cloud.datastream.v1alpha1.GcsProfile) profile_).toBuilder(); + } + profile_ = + input.readMessage(com.google.cloud.datastream.v1alpha1.GcsProfile.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.datastream.v1alpha1.GcsProfile) profile_); + profile_ = subBuilder.buildPartial(); + } + profileCase_ = 101; + break; + } + case 818: { + com.google.cloud.datastream.v1alpha1.MysqlProfile.Builder subBuilder = null; + if (profileCase_ == 102) { + subBuilder = ((com.google.cloud.datastream.v1alpha1.MysqlProfile) profile_).toBuilder(); + } + profile_ = + input.readMessage(com.google.cloud.datastream.v1alpha1.MysqlProfile.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.datastream.v1alpha1.MysqlProfile) profile_); + profile_ = subBuilder.buildPartial(); + } + profileCase_ = 102; + break; + } + case 1602: { + com.google.cloud.datastream.v1alpha1.NoConnectivitySettings.Builder subBuilder = null; + if (connectivityCase_ == 200) { + subBuilder = ((com.google.cloud.datastream.v1alpha1.NoConnectivitySettings) connectivity_).toBuilder(); + } + connectivity_ = + input.readMessage(com.google.cloud.datastream.v1alpha1.NoConnectivitySettings.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.datastream.v1alpha1.NoConnectivitySettings) connectivity_); + connectivity_ = subBuilder.buildPartial(); } - case 1602: - { - com.google.cloud.datastream.v1alpha1.NoConnectivitySettings.Builder subBuilder = null; - if (connectivityCase_ == 200) { - subBuilder = - ((com.google.cloud.datastream.v1alpha1.NoConnectivitySettings) connectivity_) - .toBuilder(); - } - connectivity_ = - input.readMessage( - com.google.cloud.datastream.v1alpha1.NoConnectivitySettings.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.datastream.v1alpha1.NoConnectivitySettings) connectivity_); - connectivity_ = subBuilder.buildPartial(); - } - connectivityCase_ = 200; - break; + connectivityCase_ = 200; + break; + } + case 1610: { + com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity.Builder subBuilder = null; + if (connectivityCase_ == 201) { + subBuilder = ((com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity) connectivity_).toBuilder(); } - case 1610: - { - com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity.Builder subBuilder = - null; - if (connectivityCase_ == 201) { - subBuilder = - ((com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity) - connectivity_) - .toBuilder(); - } - connectivity_ = - input.readMessage( - com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity) - connectivity_); - connectivity_ = subBuilder.buildPartial(); - } - connectivityCase_ = 201; - break; + connectivity_ = + input.readMessage(com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity) connectivity_); + connectivity_ = subBuilder.buildPartial(); } - case 1618: - { - com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity.Builder subBuilder = - null; - if (connectivityCase_ == 202) { - subBuilder = - ((com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity) - connectivity_) - .toBuilder(); - } - connectivity_ = - input.readMessage( - com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity) - connectivity_); - connectivity_ = subBuilder.buildPartial(); - } - connectivityCase_ = 202; - break; + connectivityCase_ = 201; + break; + } + case 1618: { + com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity.Builder subBuilder = null; + if (connectivityCase_ == 202) { + subBuilder = ((com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity) connectivity_).toBuilder(); } - case 1626: - { - com.google.cloud.datastream.v1alpha1.PrivateConnectivity.Builder subBuilder = null; - if (connectivityCase_ == 203) { - subBuilder = - ((com.google.cloud.datastream.v1alpha1.PrivateConnectivity) connectivity_) - .toBuilder(); - } - connectivity_ = - input.readMessage( - com.google.cloud.datastream.v1alpha1.PrivateConnectivity.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.datastream.v1alpha1.PrivateConnectivity) connectivity_); - connectivity_ = subBuilder.buildPartial(); - } - connectivityCase_ = 203; - break; + connectivity_ = + input.readMessage(com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity) connectivity_); + connectivity_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + connectivityCase_ = 202; + break; + } + case 1626: { + com.google.cloud.datastream.v1alpha1.PrivateConnectivity.Builder subBuilder = null; + if (connectivityCase_ == 203) { + subBuilder = ((com.google.cloud.datastream.v1alpha1.PrivateConnectivity) connectivity_).toBuilder(); } + connectivity_ = + input.readMessage(com.google.cloud.datastream.v1alpha1.PrivateConnectivity.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.datastream.v1alpha1.PrivateConnectivity) connectivity_); + connectivity_ = subBuilder.buildPartial(); + } + connectivityCase_ = 203; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -274,52 +214,48 @@ private ConnectionProfile( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_ConnectionProfile_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_ConnectionProfile_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 4: return internalGetLabels(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_ConnectionProfile_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_ConnectionProfile_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.ConnectionProfile.class, - com.google.cloud.datastream.v1alpha1.ConnectionProfile.Builder.class); + com.google.cloud.datastream.v1alpha1.ConnectionProfile.class, com.google.cloud.datastream.v1alpha1.ConnectionProfile.Builder.class); } private int profileCase_ = 0; private java.lang.Object profile_; - public enum ProfileCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { ORACLE_PROFILE(100), GCS_PROFILE(101), MYSQL_PROFILE(102), PROFILE_NOT_SET(0); private final int value; - private ProfileCase(int value) { this.value = value; } @@ -335,34 +271,28 @@ public static ProfileCase valueOf(int value) { public static ProfileCase forNumber(int value) { switch (value) { - case 100: - return ORACLE_PROFILE; - case 101: - return GCS_PROFILE; - case 102: - return MYSQL_PROFILE; - case 0: - return PROFILE_NOT_SET; - default: - return null; + case 100: return ORACLE_PROFILE; + case 101: return GCS_PROFILE; + case 102: return MYSQL_PROFILE; + case 0: return PROFILE_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public ProfileCase getProfileCase() { - return ProfileCase.forNumber(profileCase_); + public ProfileCase + getProfileCase() { + return ProfileCase.forNumber( + profileCase_); } private int connectivityCase_ = 0; private java.lang.Object connectivity_; - public enum ConnectivityCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { NO_CONNECTIVITY(200), STATIC_SERVICE_IP_CONNECTIVITY(201), @@ -370,7 +300,6 @@ public enum ConnectivityCase PRIVATE_CONNECTIVITY(203), CONNECTIVITY_NOT_SET(0); private final int value; - private ConnectivityCase(int value) { this.value = value; } @@ -386,41 +315,33 @@ public static ConnectivityCase valueOf(int value) { public static ConnectivityCase forNumber(int value) { switch (value) { - case 200: - return NO_CONNECTIVITY; - case 201: - return STATIC_SERVICE_IP_CONNECTIVITY; - case 202: - return FORWARD_SSH_CONNECTIVITY; - case 203: - return PRIVATE_CONNECTIVITY; - case 0: - return CONNECTIVITY_NOT_SET; - default: - return null; + case 200: return NO_CONNECTIVITY; + case 201: return STATIC_SERVICE_IP_CONNECTIVITY; + case 202: return FORWARD_SSH_CONNECTIVITY; + case 203: return PRIVATE_CONNECTIVITY; + case 0: return CONNECTIVITY_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public ConnectivityCase getConnectivityCase() { - return ConnectivityCase.forNumber(connectivityCase_); + public ConnectivityCase + getConnectivityCase() { + return ConnectivityCase.forNumber( + connectivityCase_); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Output only. The resource's name.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -429,29 +350,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Output only. The resource's name.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -462,15 +383,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Output only. The create time of the resource.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -478,15 +395,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. The create time of the resource.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -494,14 +407,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. The create time of the resource.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -511,15 +421,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * Output only. The update time of the resource.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ @java.lang.Override @@ -527,15 +433,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * Output only. The update time of the resource.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ @java.lang.Override @@ -543,14 +445,11 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * Output only. The update time of the resource.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -558,23 +457,24 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } public static final int LABELS_FIELD_NUMBER = 4; - private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_ConnectionProfile_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_ConnectionProfile_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } @@ -583,30 +483,28 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
    * Labels.
    * 
* * map<string, string> labels = 4; */ + @java.lang.Override - public boolean containsLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } - /** Use {@link #getLabelsMap()} instead. */ + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** - * - * *
    * Labels.
    * 
@@ -614,12 +512,11 @@ public java.util.Map getLabels() { * map<string, string> labels = 4; */ @java.lang.Override + public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
    * Labels.
    * 
@@ -627,16 +524,16 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 4; */ @java.lang.Override - public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + + public java.lang.String getLabelsOrDefault( + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * Labels.
    * 
@@ -644,11 +541,12 @@ public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.Strin * map<string, string> labels = 4; */ @java.lang.Override - public java.lang.String getLabelsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + + public java.lang.String getLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -658,14 +556,11 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { public static final int DISPLAY_NAME_FIELD_NUMBER = 5; private volatile java.lang.Object displayName_; /** - * - * *
    * Required. Display name.
    * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The displayName. */ @java.lang.Override @@ -674,29 +569,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; } } /** - * - * *
    * Required. Display name.
    * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -706,14 +601,11 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int ORACLE_PROFILE_FIELD_NUMBER = 100; /** - * - * *
    * Oracle ConnectionProfile configuration.
    * 
* * .google.cloud.datastream.v1alpha1.OracleProfile oracle_profile = 100; - * * @return Whether the oracleProfile field is set. */ @java.lang.Override @@ -721,26 +613,21 @@ public boolean hasOracleProfile() { return profileCase_ == 100; } /** - * - * *
    * Oracle ConnectionProfile configuration.
    * 
* * .google.cloud.datastream.v1alpha1.OracleProfile oracle_profile = 100; - * * @return The oracleProfile. */ @java.lang.Override public com.google.cloud.datastream.v1alpha1.OracleProfile getOracleProfile() { if (profileCase_ == 100) { - return (com.google.cloud.datastream.v1alpha1.OracleProfile) profile_; + return (com.google.cloud.datastream.v1alpha1.OracleProfile) profile_; } return com.google.cloud.datastream.v1alpha1.OracleProfile.getDefaultInstance(); } /** - * - * *
    * Oracle ConnectionProfile configuration.
    * 
@@ -750,21 +637,18 @@ public com.google.cloud.datastream.v1alpha1.OracleProfile getOracleProfile() { @java.lang.Override public com.google.cloud.datastream.v1alpha1.OracleProfileOrBuilder getOracleProfileOrBuilder() { if (profileCase_ == 100) { - return (com.google.cloud.datastream.v1alpha1.OracleProfile) profile_; + return (com.google.cloud.datastream.v1alpha1.OracleProfile) profile_; } return com.google.cloud.datastream.v1alpha1.OracleProfile.getDefaultInstance(); } public static final int GCS_PROFILE_FIELD_NUMBER = 101; /** - * - * *
    * Cloud Storage ConnectionProfile configuration.
    * 
* * .google.cloud.datastream.v1alpha1.GcsProfile gcs_profile = 101; - * * @return Whether the gcsProfile field is set. */ @java.lang.Override @@ -772,26 +656,21 @@ public boolean hasGcsProfile() { return profileCase_ == 101; } /** - * - * *
    * Cloud Storage ConnectionProfile configuration.
    * 
* * .google.cloud.datastream.v1alpha1.GcsProfile gcs_profile = 101; - * * @return The gcsProfile. */ @java.lang.Override public com.google.cloud.datastream.v1alpha1.GcsProfile getGcsProfile() { if (profileCase_ == 101) { - return (com.google.cloud.datastream.v1alpha1.GcsProfile) profile_; + return (com.google.cloud.datastream.v1alpha1.GcsProfile) profile_; } return com.google.cloud.datastream.v1alpha1.GcsProfile.getDefaultInstance(); } /** - * - * *
    * Cloud Storage ConnectionProfile configuration.
    * 
@@ -801,21 +680,18 @@ public com.google.cloud.datastream.v1alpha1.GcsProfile getGcsProfile() { @java.lang.Override public com.google.cloud.datastream.v1alpha1.GcsProfileOrBuilder getGcsProfileOrBuilder() { if (profileCase_ == 101) { - return (com.google.cloud.datastream.v1alpha1.GcsProfile) profile_; + return (com.google.cloud.datastream.v1alpha1.GcsProfile) profile_; } return com.google.cloud.datastream.v1alpha1.GcsProfile.getDefaultInstance(); } public static final int MYSQL_PROFILE_FIELD_NUMBER = 102; /** - * - * *
    * MySQL ConnectionProfile configuration.
    * 
* * .google.cloud.datastream.v1alpha1.MysqlProfile mysql_profile = 102; - * * @return Whether the mysqlProfile field is set. */ @java.lang.Override @@ -823,26 +699,21 @@ public boolean hasMysqlProfile() { return profileCase_ == 102; } /** - * - * *
    * MySQL ConnectionProfile configuration.
    * 
* * .google.cloud.datastream.v1alpha1.MysqlProfile mysql_profile = 102; - * * @return The mysqlProfile. */ @java.lang.Override public com.google.cloud.datastream.v1alpha1.MysqlProfile getMysqlProfile() { if (profileCase_ == 102) { - return (com.google.cloud.datastream.v1alpha1.MysqlProfile) profile_; + return (com.google.cloud.datastream.v1alpha1.MysqlProfile) profile_; } return com.google.cloud.datastream.v1alpha1.MysqlProfile.getDefaultInstance(); } /** - * - * *
    * MySQL ConnectionProfile configuration.
    * 
@@ -852,21 +723,18 @@ public com.google.cloud.datastream.v1alpha1.MysqlProfile getMysqlProfile() { @java.lang.Override public com.google.cloud.datastream.v1alpha1.MysqlProfileOrBuilder getMysqlProfileOrBuilder() { if (profileCase_ == 102) { - return (com.google.cloud.datastream.v1alpha1.MysqlProfile) profile_; + return (com.google.cloud.datastream.v1alpha1.MysqlProfile) profile_; } return com.google.cloud.datastream.v1alpha1.MysqlProfile.getDefaultInstance(); } public static final int NO_CONNECTIVITY_FIELD_NUMBER = 200; /** - * - * *
    * No connectivity option chosen.
    * 
* * .google.cloud.datastream.v1alpha1.NoConnectivitySettings no_connectivity = 200; - * * @return Whether the noConnectivity field is set. */ @java.lang.Override @@ -874,26 +742,21 @@ public boolean hasNoConnectivity() { return connectivityCase_ == 200; } /** - * - * *
    * No connectivity option chosen.
    * 
* * .google.cloud.datastream.v1alpha1.NoConnectivitySettings no_connectivity = 200; - * * @return The noConnectivity. */ @java.lang.Override public com.google.cloud.datastream.v1alpha1.NoConnectivitySettings getNoConnectivity() { if (connectivityCase_ == 200) { - return (com.google.cloud.datastream.v1alpha1.NoConnectivitySettings) connectivity_; + return (com.google.cloud.datastream.v1alpha1.NoConnectivitySettings) connectivity_; } return com.google.cloud.datastream.v1alpha1.NoConnectivitySettings.getDefaultInstance(); } /** - * - * *
    * No connectivity option chosen.
    * 
@@ -901,26 +764,20 @@ public com.google.cloud.datastream.v1alpha1.NoConnectivitySettings getNoConnecti * .google.cloud.datastream.v1alpha1.NoConnectivitySettings no_connectivity = 200; */ @java.lang.Override - public com.google.cloud.datastream.v1alpha1.NoConnectivitySettingsOrBuilder - getNoConnectivityOrBuilder() { + public com.google.cloud.datastream.v1alpha1.NoConnectivitySettingsOrBuilder getNoConnectivityOrBuilder() { if (connectivityCase_ == 200) { - return (com.google.cloud.datastream.v1alpha1.NoConnectivitySettings) connectivity_; + return (com.google.cloud.datastream.v1alpha1.NoConnectivitySettings) connectivity_; } return com.google.cloud.datastream.v1alpha1.NoConnectivitySettings.getDefaultInstance(); } public static final int STATIC_SERVICE_IP_CONNECTIVITY_FIELD_NUMBER = 201; /** - * - * *
    * Static Service IP connectivity.
    * 
* - * - * .google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity static_service_ip_connectivity = 201; - * - * + * .google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity static_service_ip_connectivity = 201; * @return Whether the staticServiceIpConnectivity field is set. */ @java.lang.Override @@ -928,58 +785,42 @@ public boolean hasStaticServiceIpConnectivity() { return connectivityCase_ == 201; } /** - * - * *
    * Static Service IP connectivity.
    * 
* - * - * .google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity static_service_ip_connectivity = 201; - * - * + * .google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity static_service_ip_connectivity = 201; * @return The staticServiceIpConnectivity. */ @java.lang.Override - public com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity - getStaticServiceIpConnectivity() { + public com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity getStaticServiceIpConnectivity() { if (connectivityCase_ == 201) { - return (com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity) connectivity_; + return (com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity) connectivity_; } return com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity.getDefaultInstance(); } /** - * - * *
    * Static Service IP connectivity.
    * 
* - * - * .google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity static_service_ip_connectivity = 201; - * + * .google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity static_service_ip_connectivity = 201; */ @java.lang.Override - public com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivityOrBuilder - getStaticServiceIpConnectivityOrBuilder() { + public com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivityOrBuilder getStaticServiceIpConnectivityOrBuilder() { if (connectivityCase_ == 201) { - return (com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity) connectivity_; + return (com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity) connectivity_; } return com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity.getDefaultInstance(); } public static final int FORWARD_SSH_CONNECTIVITY_FIELD_NUMBER = 202; /** - * - * *
    * Forward SSH tunnel connectivity.
    * 
* - * - * .google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity forward_ssh_connectivity = 202; - * - * + * .google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity forward_ssh_connectivity = 202; * @return Whether the forwardSshConnectivity field is set. */ @java.lang.Override @@ -987,56 +828,42 @@ public boolean hasForwardSshConnectivity() { return connectivityCase_ == 202; } /** - * - * *
    * Forward SSH tunnel connectivity.
    * 
* - * - * .google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity forward_ssh_connectivity = 202; - * - * + * .google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity forward_ssh_connectivity = 202; * @return The forwardSshConnectivity. */ @java.lang.Override - public com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity - getForwardSshConnectivity() { + public com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity getForwardSshConnectivity() { if (connectivityCase_ == 202) { - return (com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity) connectivity_; + return (com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity) connectivity_; } return com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity.getDefaultInstance(); } /** - * - * *
    * Forward SSH tunnel connectivity.
    * 
* - * - * .google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity forward_ssh_connectivity = 202; - * + * .google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity forward_ssh_connectivity = 202; */ @java.lang.Override - public com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivityOrBuilder - getForwardSshConnectivityOrBuilder() { + public com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivityOrBuilder getForwardSshConnectivityOrBuilder() { if (connectivityCase_ == 202) { - return (com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity) connectivity_; + return (com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity) connectivity_; } return com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity.getDefaultInstance(); } public static final int PRIVATE_CONNECTIVITY_FIELD_NUMBER = 203; /** - * - * *
    * Private connectivity.
    * 
* * .google.cloud.datastream.v1alpha1.PrivateConnectivity private_connectivity = 203; - * * @return Whether the privateConnectivity field is set. */ @java.lang.Override @@ -1044,26 +871,21 @@ public boolean hasPrivateConnectivity() { return connectivityCase_ == 203; } /** - * - * *
    * Private connectivity.
    * 
* * .google.cloud.datastream.v1alpha1.PrivateConnectivity private_connectivity = 203; - * * @return The privateConnectivity. */ @java.lang.Override public com.google.cloud.datastream.v1alpha1.PrivateConnectivity getPrivateConnectivity() { if (connectivityCase_ == 203) { - return (com.google.cloud.datastream.v1alpha1.PrivateConnectivity) connectivity_; + return (com.google.cloud.datastream.v1alpha1.PrivateConnectivity) connectivity_; } return com.google.cloud.datastream.v1alpha1.PrivateConnectivity.getDefaultInstance(); } /** - * - * *
    * Private connectivity.
    * 
@@ -1071,16 +893,14 @@ public com.google.cloud.datastream.v1alpha1.PrivateConnectivity getPrivateConnec * .google.cloud.datastream.v1alpha1.PrivateConnectivity private_connectivity = 203; */ @java.lang.Override - public com.google.cloud.datastream.v1alpha1.PrivateConnectivityOrBuilder - getPrivateConnectivityOrBuilder() { + public com.google.cloud.datastream.v1alpha1.PrivateConnectivityOrBuilder getPrivateConnectivityOrBuilder() { if (connectivityCase_ == 203) { - return (com.google.cloud.datastream.v1alpha1.PrivateConnectivity) connectivity_; + return (com.google.cloud.datastream.v1alpha1.PrivateConnectivity) connectivity_; } return com.google.cloud.datastream.v1alpha1.PrivateConnectivity.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1092,7 +912,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_); } @@ -1102,8 +923,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (updateTime_ != null) { output.writeMessage(3, getUpdateTime()); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 4); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetLabels(), + LabelsDefaultEntryHolder.defaultEntry, + 4); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, displayName_); } @@ -1117,20 +942,16 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output.writeMessage(102, (com.google.cloud.datastream.v1alpha1.MysqlProfile) profile_); } if (connectivityCase_ == 200) { - output.writeMessage( - 200, (com.google.cloud.datastream.v1alpha1.NoConnectivitySettings) connectivity_); + output.writeMessage(200, (com.google.cloud.datastream.v1alpha1.NoConnectivitySettings) connectivity_); } if (connectivityCase_ == 201) { - output.writeMessage( - 201, (com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity) connectivity_); + output.writeMessage(201, (com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity) connectivity_); } if (connectivityCase_ == 202) { - output.writeMessage( - 202, (com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity) connectivity_); + output.writeMessage(202, (com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity) connectivity_); } if (connectivityCase_ == 203) { - output.writeMessage( - 203, (com.google.cloud.datastream.v1alpha1.PrivateConnectivity) connectivity_); + output.writeMessage(203, (com.google.cloud.datastream.v1alpha1.PrivateConnectivity) connectivity_); } unknownFields.writeTo(output); } @@ -1145,60 +966,53 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateTime()); - } - for (java.util.Map.Entry entry : - internalGetLabels().getMap().entrySet()) { - com.google.protobuf.MapEntry labels__ = - LabelsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, labels__); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getUpdateTime()); + } + for (java.util.Map.Entry entry + : internalGetLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry + labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, labels__); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, displayName_); } if (profileCase_ == 100) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 100, (com.google.cloud.datastream.v1alpha1.OracleProfile) profile_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(100, (com.google.cloud.datastream.v1alpha1.OracleProfile) profile_); } if (profileCase_ == 101) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 101, (com.google.cloud.datastream.v1alpha1.GcsProfile) profile_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(101, (com.google.cloud.datastream.v1alpha1.GcsProfile) profile_); } if (profileCase_ == 102) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 102, (com.google.cloud.datastream.v1alpha1.MysqlProfile) profile_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(102, (com.google.cloud.datastream.v1alpha1.MysqlProfile) profile_); } if (connectivityCase_ == 200) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 200, (com.google.cloud.datastream.v1alpha1.NoConnectivitySettings) connectivity_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(200, (com.google.cloud.datastream.v1alpha1.NoConnectivitySettings) connectivity_); } if (connectivityCase_ == 201) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 201, - (com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity) connectivity_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(201, (com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity) connectivity_); } if (connectivityCase_ == 202) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 202, - (com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity) connectivity_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(202, (com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity) connectivity_); } if (connectivityCase_ == 203) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 203, (com.google.cloud.datastream.v1alpha1.PrivateConnectivity) connectivity_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(203, (com.google.cloud.datastream.v1alpha1.PrivateConnectivity) connectivity_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1208,35 +1022,42 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datastream.v1alpha1.ConnectionProfile)) { return super.equals(obj); } - com.google.cloud.datastream.v1alpha1.ConnectionProfile other = - (com.google.cloud.datastream.v1alpha1.ConnectionProfile) obj; + com.google.cloud.datastream.v1alpha1.ConnectionProfile other = (com.google.cloud.datastream.v1alpha1.ConnectionProfile) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime().equals(other.getUpdateTime())) return false; + if (!getUpdateTime() + .equals(other.getUpdateTime())) return false; } - if (!internalGetLabels().equals(other.internalGetLabels())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!internalGetLabels().equals( + other.internalGetLabels())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; if (!getProfileCase().equals(other.getProfileCase())) return false; switch (profileCase_) { case 100: - if (!getOracleProfile().equals(other.getOracleProfile())) return false; + if (!getOracleProfile() + .equals(other.getOracleProfile())) return false; break; case 101: - if (!getGcsProfile().equals(other.getGcsProfile())) return false; + if (!getGcsProfile() + .equals(other.getGcsProfile())) return false; break; case 102: - if (!getMysqlProfile().equals(other.getMysqlProfile())) return false; + if (!getMysqlProfile() + .equals(other.getMysqlProfile())) return false; break; case 0: default: @@ -1244,17 +1065,20 @@ public boolean equals(final java.lang.Object obj) { if (!getConnectivityCase().equals(other.getConnectivityCase())) return false; switch (connectivityCase_) { case 200: - if (!getNoConnectivity().equals(other.getNoConnectivity())) return false; + if (!getNoConnectivity() + .equals(other.getNoConnectivity())) return false; break; case 201: - if (!getStaticServiceIpConnectivity().equals(other.getStaticServiceIpConnectivity())) - return false; + if (!getStaticServiceIpConnectivity() + .equals(other.getStaticServiceIpConnectivity())) return false; break; case 202: - if (!getForwardSshConnectivity().equals(other.getForwardSshConnectivity())) return false; + if (!getForwardSshConnectivity() + .equals(other.getForwardSshConnectivity())) return false; break; case 203: - if (!getPrivateConnectivity().equals(other.getPrivateConnectivity())) return false; + if (!getPrivateConnectivity() + .equals(other.getPrivateConnectivity())) return false; break; case 0: default: @@ -1328,139 +1152,135 @@ public int hashCode() { } public static com.google.cloud.datastream.v1alpha1.ConnectionProfile parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.ConnectionProfile parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.ConnectionProfile parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.ConnectionProfile parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.ConnectionProfile parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.ConnectionProfile parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.ConnectionProfile parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.ConnectionProfile parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.ConnectionProfile parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.ConnectionProfile parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.ConnectionProfile parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.ConnectionProfile 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.datastream.v1alpha1.ConnectionProfile parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.ConnectionProfile parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datastream.v1alpha1.ConnectionProfile prototype) { + public static Builder newBuilder(com.google.cloud.datastream.v1alpha1.ConnectionProfile prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } - /** Protobuf type {@code google.cloud.datastream.v1alpha1.ConnectionProfile} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + /** + * Protobuf type {@code google.cloud.datastream.v1alpha1.ConnectionProfile} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1alpha1.ConnectionProfile) com.google.cloud.datastream.v1alpha1.ConnectionProfileOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_ConnectionProfile_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_ConnectionProfile_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 4: return internalGetLabels(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField(int number) { + protected com.google.protobuf.MapField internalGetMutableMapField( + int number) { switch (number) { case 4: return internalGetMutableLabels(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_ConnectionProfile_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_ConnectionProfile_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.ConnectionProfile.class, - com.google.cloud.datastream.v1alpha1.ConnectionProfile.Builder.class); + com.google.cloud.datastream.v1alpha1.ConnectionProfile.class, com.google.cloud.datastream.v1alpha1.ConnectionProfile.Builder.class); } // Construct using com.google.cloud.datastream.v1alpha1.ConnectionProfile.newBuilder() @@ -1468,15 +1288,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1505,9 +1326,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_ConnectionProfile_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_ConnectionProfile_descriptor; } @java.lang.Override @@ -1526,8 +1347,7 @@ public com.google.cloud.datastream.v1alpha1.ConnectionProfile build() { @java.lang.Override public com.google.cloud.datastream.v1alpha1.ConnectionProfile buildPartial() { - com.google.cloud.datastream.v1alpha1.ConnectionProfile result = - new com.google.cloud.datastream.v1alpha1.ConnectionProfile(this); + com.google.cloud.datastream.v1alpha1.ConnectionProfile result = new com.google.cloud.datastream.v1alpha1.ConnectionProfile(this); int from_bitField0_ = bitField0_; result.name_ = name_; if (createTimeBuilder_ == null) { @@ -1602,39 +1422,38 @@ public com.google.cloud.datastream.v1alpha1.ConnectionProfile buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1alpha1.ConnectionProfile) { - return mergeFrom((com.google.cloud.datastream.v1alpha1.ConnectionProfile) other); + return mergeFrom((com.google.cloud.datastream.v1alpha1.ConnectionProfile)other); } else { super.mergeFrom(other); return this; @@ -1642,8 +1461,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datastream.v1alpha1.ConnectionProfile other) { - if (other == com.google.cloud.datastream.v1alpha1.ConnectionProfile.getDefaultInstance()) - return this; + if (other == com.google.cloud.datastream.v1alpha1.ConnectionProfile.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -1654,57 +1472,49 @@ public Builder mergeFrom(com.google.cloud.datastream.v1alpha1.ConnectionProfile if (other.hasUpdateTime()) { mergeUpdateTime(other.getUpdateTime()); } - internalGetMutableLabels().mergeFrom(other.internalGetLabels()); + internalGetMutableLabels().mergeFrom( + other.internalGetLabels()); if (!other.getDisplayName().isEmpty()) { displayName_ = other.displayName_; onChanged(); } switch (other.getProfileCase()) { - case ORACLE_PROFILE: - { - mergeOracleProfile(other.getOracleProfile()); - break; - } - case GCS_PROFILE: - { - mergeGcsProfile(other.getGcsProfile()); - break; - } - case MYSQL_PROFILE: - { - mergeMysqlProfile(other.getMysqlProfile()); - break; - } - case PROFILE_NOT_SET: - { - break; - } + case ORACLE_PROFILE: { + mergeOracleProfile(other.getOracleProfile()); + break; + } + case GCS_PROFILE: { + mergeGcsProfile(other.getGcsProfile()); + break; + } + case MYSQL_PROFILE: { + mergeMysqlProfile(other.getMysqlProfile()); + break; + } + case PROFILE_NOT_SET: { + break; + } } switch (other.getConnectivityCase()) { - case NO_CONNECTIVITY: - { - mergeNoConnectivity(other.getNoConnectivity()); - break; - } - case STATIC_SERVICE_IP_CONNECTIVITY: - { - mergeStaticServiceIpConnectivity(other.getStaticServiceIpConnectivity()); - break; - } - case FORWARD_SSH_CONNECTIVITY: - { - mergeForwardSshConnectivity(other.getForwardSshConnectivity()); - break; - } - case PRIVATE_CONNECTIVITY: - { - mergePrivateConnectivity(other.getPrivateConnectivity()); - break; - } - case CONNECTIVITY_NOT_SET: - { - break; - } + case NO_CONNECTIVITY: { + mergeNoConnectivity(other.getNoConnectivity()); + break; + } + case STATIC_SERVICE_IP_CONNECTIVITY: { + mergeStaticServiceIpConnectivity(other.getStaticServiceIpConnectivity()); + break; + } + case FORWARD_SSH_CONNECTIVITY: { + mergeForwardSshConnectivity(other.getForwardSshConnectivity()); + break; + } + case PRIVATE_CONNECTIVITY: { + mergePrivateConnectivity(other.getPrivateConnectivity()); + break; + } + case CONNECTIVITY_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -1725,8 +1535,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datastream.v1alpha1.ConnectionProfile) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datastream.v1alpha1.ConnectionProfile) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1735,12 +1544,12 @@ public Builder mergeFrom( } return this; } - private int profileCase_ = 0; private java.lang.Object profile_; - - public ProfileCase getProfileCase() { - return ProfileCase.forNumber(profileCase_); + public ProfileCase + getProfileCase() { + return ProfileCase.forNumber( + profileCase_); } public Builder clearProfile() { @@ -1752,9 +1561,10 @@ public Builder clearProfile() { private int connectivityCase_ = 0; private java.lang.Object connectivity_; - - public ConnectivityCase getConnectivityCase() { - return ConnectivityCase.forNumber(connectivityCase_); + public ConnectivityCase + getConnectivityCase() { + return ConnectivityCase.forNumber( + connectivityCase_); } public Builder clearConnectivity() { @@ -1768,20 +1578,18 @@ public Builder clearConnectivity() { private java.lang.Object name_ = ""; /** - * - * *
      * Output only. The resource's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1790,21 +1598,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. The resource's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1812,61 +1619,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. The resource's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The resource's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Output only. The resource's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1874,58 +1674,39 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
      * Output only. The create time of the resource.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * Output only. The create time of the resource.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The create time of the resource.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -1941,17 +1722,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The create time of the resource.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -1962,21 +1740,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The create time of the resource.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1988,15 +1762,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The create time of the resource.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -2010,64 +1780,48 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. The create time of the resource.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The create time of the resource.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * Output only. The create time of the resource.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; @@ -2075,58 +1829,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 update time of the resource.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
      * Output only. The update time of the resource.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The update time of the resource.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -2142,17 +1877,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The update time of the resource.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -2163,21 +1895,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The update time of the resource.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -2189,15 +1917,11 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The update time of the resource.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearUpdateTime() { if (updateTimeBuilder_ == null) { @@ -2211,84 +1935,69 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * Output only. The update time of the resource.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The update time of the resource.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } } /** - * - * *
      * Output only. The update time of the resource.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), getParentForChildren(), isClean()); + updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), + getParentForChildren(), + isClean()); updateTime_ = null; } return updateTimeBuilder_; } - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - private com.google.protobuf.MapField - internalGetMutableLabels() { - onChanged(); - ; + internalGetMutableLabels() { + onChanged();; if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -2300,30 +2009,28 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
      * Labels.
      * 
* * map<string, string> labels = 4; */ + @java.lang.Override - public boolean containsLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } - /** Use {@link #getLabelsMap()} instead. */ + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** - * - * *
      * Labels.
      * 
@@ -2331,12 +2038,11 @@ public java.util.Map getLabels() { * map<string, string> labels = 4; */ @java.lang.Override + public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
      * Labels.
      * 
@@ -2344,17 +2050,16 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 4; */ @java.lang.Override + public java.lang.String getLabelsOrDefault( - java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * Labels.
      * 
@@ -2362,11 +2067,12 @@ public java.lang.String getLabelsOrDefault( * map<string, string> labels = 4; */ @java.lang.Override - public java.lang.String getLabelsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + + public java.lang.String getLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -2374,80 +2080,81 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { } public Builder clearLabels() { - internalGetMutableLabels().getMutableMap().clear(); + internalGetMutableLabels().getMutableMap() + .clear(); return this; } /** - * - * *
      * Labels.
      * 
* * map<string, string> labels = 4; */ - public Builder removeLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableLabels().getMutableMap().remove(key); + + public Builder removeLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableLabels().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map getMutableLabels() { + public java.util.Map + getMutableLabels() { return internalGetMutableLabels().getMutableMap(); } /** - * - * *
      * Labels.
      * 
* * map<string, string> labels = 4; */ - public Builder putLabels(java.lang.String key, java.lang.String value) { - if (key == null) { - throw new NullPointerException("map key"); - } + public Builder putLabels( + java.lang.String key, + java.lang.String value) { + if (key == null) { throw new NullPointerException("map key"); } if (value == null) { - throw new NullPointerException("map value"); - } + throw new NullPointerException("map value"); +} - internalGetMutableLabels().getMutableMap().put(key, value); + internalGetMutableLabels().getMutableMap() + .put(key, value); return this; } /** - * - * *
      * Labels.
      * 
* * map<string, string> labels = 4; */ - public Builder putAllLabels(java.util.Map values) { - internalGetMutableLabels().getMutableMap().putAll(values); + + public Builder putAllLabels( + java.util.Map values) { + internalGetMutableLabels().getMutableMap() + .putAll(values); return this; } private java.lang.Object displayName_ = ""; /** - * - * *
      * Required. Display name.
      * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @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; @@ -2456,21 +2163,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * Required. Display name.
      * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -2478,80 +2184,67 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * Required. Display name.
      * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** - * - * *
      * Required. Display name.
      * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** - * - * *
      * Required. Display name.
      * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.OracleProfile, - com.google.cloud.datastream.v1alpha1.OracleProfile.Builder, - com.google.cloud.datastream.v1alpha1.OracleProfileOrBuilder> - oracleProfileBuilder_; + com.google.cloud.datastream.v1alpha1.OracleProfile, com.google.cloud.datastream.v1alpha1.OracleProfile.Builder, com.google.cloud.datastream.v1alpha1.OracleProfileOrBuilder> oracleProfileBuilder_; /** - * - * *
      * Oracle ConnectionProfile configuration.
      * 
* * .google.cloud.datastream.v1alpha1.OracleProfile oracle_profile = 100; - * * @return Whether the oracleProfile field is set. */ @java.lang.Override @@ -2559,14 +2252,11 @@ public boolean hasOracleProfile() { return profileCase_ == 100; } /** - * - * *
      * Oracle ConnectionProfile configuration.
      * 
* * .google.cloud.datastream.v1alpha1.OracleProfile oracle_profile = 100; - * * @return The oracleProfile. */ @java.lang.Override @@ -2584,8 +2274,6 @@ public com.google.cloud.datastream.v1alpha1.OracleProfile getOracleProfile() { } } /** - * - * *
      * Oracle ConnectionProfile configuration.
      * 
@@ -2606,8 +2294,6 @@ public Builder setOracleProfile(com.google.cloud.datastream.v1alpha1.OracleProfi return this; } /** - * - * *
      * Oracle ConnectionProfile configuration.
      * 
@@ -2626,8 +2312,6 @@ public Builder setOracleProfile( return this; } /** - * - * *
      * Oracle ConnectionProfile configuration.
      * 
@@ -2636,14 +2320,10 @@ public Builder setOracleProfile( */ public Builder mergeOracleProfile(com.google.cloud.datastream.v1alpha1.OracleProfile value) { if (oracleProfileBuilder_ == null) { - if (profileCase_ == 100 - && profile_ - != com.google.cloud.datastream.v1alpha1.OracleProfile.getDefaultInstance()) { - profile_ = - com.google.cloud.datastream.v1alpha1.OracleProfile.newBuilder( - (com.google.cloud.datastream.v1alpha1.OracleProfile) profile_) - .mergeFrom(value) - .buildPartial(); + if (profileCase_ == 100 && + profile_ != com.google.cloud.datastream.v1alpha1.OracleProfile.getDefaultInstance()) { + profile_ = com.google.cloud.datastream.v1alpha1.OracleProfile.newBuilder((com.google.cloud.datastream.v1alpha1.OracleProfile) profile_) + .mergeFrom(value).buildPartial(); } else { profile_ = value; } @@ -2659,8 +2339,6 @@ public Builder mergeOracleProfile(com.google.cloud.datastream.v1alpha1.OraclePro return this; } /** - * - * *
      * Oracle ConnectionProfile configuration.
      * 
@@ -2684,8 +2362,6 @@ public Builder clearOracleProfile() { return this; } /** - * - * *
      * Oracle ConnectionProfile configuration.
      * 
@@ -2696,8 +2372,6 @@ public com.google.cloud.datastream.v1alpha1.OracleProfile.Builder getOracleProfi return getOracleProfileFieldBuilder().getBuilder(); } /** - * - * *
      * Oracle ConnectionProfile configuration.
      * 
@@ -2716,8 +2390,6 @@ public com.google.cloud.datastream.v1alpha1.OracleProfileOrBuilder getOracleProf } } /** - * - * *
      * Oracle ConnectionProfile configuration.
      * 
@@ -2725,44 +2397,32 @@ public com.google.cloud.datastream.v1alpha1.OracleProfileOrBuilder getOracleProf * .google.cloud.datastream.v1alpha1.OracleProfile oracle_profile = 100; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.OracleProfile, - com.google.cloud.datastream.v1alpha1.OracleProfile.Builder, - com.google.cloud.datastream.v1alpha1.OracleProfileOrBuilder> + com.google.cloud.datastream.v1alpha1.OracleProfile, com.google.cloud.datastream.v1alpha1.OracleProfile.Builder, com.google.cloud.datastream.v1alpha1.OracleProfileOrBuilder> getOracleProfileFieldBuilder() { if (oracleProfileBuilder_ == null) { if (!(profileCase_ == 100)) { profile_ = com.google.cloud.datastream.v1alpha1.OracleProfile.getDefaultInstance(); } - oracleProfileBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.OracleProfile, - com.google.cloud.datastream.v1alpha1.OracleProfile.Builder, - com.google.cloud.datastream.v1alpha1.OracleProfileOrBuilder>( + oracleProfileBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1alpha1.OracleProfile, com.google.cloud.datastream.v1alpha1.OracleProfile.Builder, com.google.cloud.datastream.v1alpha1.OracleProfileOrBuilder>( (com.google.cloud.datastream.v1alpha1.OracleProfile) profile_, getParentForChildren(), isClean()); profile_ = null; } profileCase_ = 100; - onChanged(); - ; + onChanged();; return oracleProfileBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.GcsProfile, - com.google.cloud.datastream.v1alpha1.GcsProfile.Builder, - com.google.cloud.datastream.v1alpha1.GcsProfileOrBuilder> - gcsProfileBuilder_; + com.google.cloud.datastream.v1alpha1.GcsProfile, com.google.cloud.datastream.v1alpha1.GcsProfile.Builder, com.google.cloud.datastream.v1alpha1.GcsProfileOrBuilder> gcsProfileBuilder_; /** - * - * *
      * Cloud Storage ConnectionProfile configuration.
      * 
* * .google.cloud.datastream.v1alpha1.GcsProfile gcs_profile = 101; - * * @return Whether the gcsProfile field is set. */ @java.lang.Override @@ -2770,14 +2430,11 @@ public boolean hasGcsProfile() { return profileCase_ == 101; } /** - * - * *
      * Cloud Storage ConnectionProfile configuration.
      * 
* * .google.cloud.datastream.v1alpha1.GcsProfile gcs_profile = 101; - * * @return The gcsProfile. */ @java.lang.Override @@ -2795,8 +2452,6 @@ public com.google.cloud.datastream.v1alpha1.GcsProfile getGcsProfile() { } } /** - * - * *
      * Cloud Storage ConnectionProfile configuration.
      * 
@@ -2817,8 +2472,6 @@ public Builder setGcsProfile(com.google.cloud.datastream.v1alpha1.GcsProfile val return this; } /** - * - * *
      * Cloud Storage ConnectionProfile configuration.
      * 
@@ -2837,8 +2490,6 @@ public Builder setGcsProfile( return this; } /** - * - * *
      * Cloud Storage ConnectionProfile configuration.
      * 
@@ -2847,13 +2498,10 @@ public Builder setGcsProfile( */ public Builder mergeGcsProfile(com.google.cloud.datastream.v1alpha1.GcsProfile value) { if (gcsProfileBuilder_ == null) { - if (profileCase_ == 101 - && profile_ != com.google.cloud.datastream.v1alpha1.GcsProfile.getDefaultInstance()) { - profile_ = - com.google.cloud.datastream.v1alpha1.GcsProfile.newBuilder( - (com.google.cloud.datastream.v1alpha1.GcsProfile) profile_) - .mergeFrom(value) - .buildPartial(); + if (profileCase_ == 101 && + profile_ != com.google.cloud.datastream.v1alpha1.GcsProfile.getDefaultInstance()) { + profile_ = com.google.cloud.datastream.v1alpha1.GcsProfile.newBuilder((com.google.cloud.datastream.v1alpha1.GcsProfile) profile_) + .mergeFrom(value).buildPartial(); } else { profile_ = value; } @@ -2869,8 +2517,6 @@ public Builder mergeGcsProfile(com.google.cloud.datastream.v1alpha1.GcsProfile v return this; } /** - * - * *
      * Cloud Storage ConnectionProfile configuration.
      * 
@@ -2894,8 +2540,6 @@ public Builder clearGcsProfile() { return this; } /** - * - * *
      * Cloud Storage ConnectionProfile configuration.
      * 
@@ -2906,8 +2550,6 @@ public com.google.cloud.datastream.v1alpha1.GcsProfile.Builder getGcsProfileBuil return getGcsProfileFieldBuilder().getBuilder(); } /** - * - * *
      * Cloud Storage ConnectionProfile configuration.
      * 
@@ -2926,8 +2568,6 @@ public com.google.cloud.datastream.v1alpha1.GcsProfileOrBuilder getGcsProfileOrB } } /** - * - * *
      * Cloud Storage ConnectionProfile configuration.
      * 
@@ -2935,44 +2575,32 @@ public com.google.cloud.datastream.v1alpha1.GcsProfileOrBuilder getGcsProfileOrB * .google.cloud.datastream.v1alpha1.GcsProfile gcs_profile = 101; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.GcsProfile, - com.google.cloud.datastream.v1alpha1.GcsProfile.Builder, - com.google.cloud.datastream.v1alpha1.GcsProfileOrBuilder> + com.google.cloud.datastream.v1alpha1.GcsProfile, com.google.cloud.datastream.v1alpha1.GcsProfile.Builder, com.google.cloud.datastream.v1alpha1.GcsProfileOrBuilder> getGcsProfileFieldBuilder() { if (gcsProfileBuilder_ == null) { if (!(profileCase_ == 101)) { profile_ = com.google.cloud.datastream.v1alpha1.GcsProfile.getDefaultInstance(); } - gcsProfileBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.GcsProfile, - com.google.cloud.datastream.v1alpha1.GcsProfile.Builder, - com.google.cloud.datastream.v1alpha1.GcsProfileOrBuilder>( + gcsProfileBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1alpha1.GcsProfile, com.google.cloud.datastream.v1alpha1.GcsProfile.Builder, com.google.cloud.datastream.v1alpha1.GcsProfileOrBuilder>( (com.google.cloud.datastream.v1alpha1.GcsProfile) profile_, getParentForChildren(), isClean()); profile_ = null; } profileCase_ = 101; - onChanged(); - ; + onChanged();; return gcsProfileBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.MysqlProfile, - com.google.cloud.datastream.v1alpha1.MysqlProfile.Builder, - com.google.cloud.datastream.v1alpha1.MysqlProfileOrBuilder> - mysqlProfileBuilder_; + com.google.cloud.datastream.v1alpha1.MysqlProfile, com.google.cloud.datastream.v1alpha1.MysqlProfile.Builder, com.google.cloud.datastream.v1alpha1.MysqlProfileOrBuilder> mysqlProfileBuilder_; /** - * - * *
      * MySQL ConnectionProfile configuration.
      * 
* * .google.cloud.datastream.v1alpha1.MysqlProfile mysql_profile = 102; - * * @return Whether the mysqlProfile field is set. */ @java.lang.Override @@ -2980,14 +2608,11 @@ public boolean hasMysqlProfile() { return profileCase_ == 102; } /** - * - * *
      * MySQL ConnectionProfile configuration.
      * 
* * .google.cloud.datastream.v1alpha1.MysqlProfile mysql_profile = 102; - * * @return The mysqlProfile. */ @java.lang.Override @@ -3005,8 +2630,6 @@ public com.google.cloud.datastream.v1alpha1.MysqlProfile getMysqlProfile() { } } /** - * - * *
      * MySQL ConnectionProfile configuration.
      * 
@@ -3027,8 +2650,6 @@ public Builder setMysqlProfile(com.google.cloud.datastream.v1alpha1.MysqlProfile return this; } /** - * - * *
      * MySQL ConnectionProfile configuration.
      * 
@@ -3047,8 +2668,6 @@ public Builder setMysqlProfile( return this; } /** - * - * *
      * MySQL ConnectionProfile configuration.
      * 
@@ -3057,13 +2676,10 @@ public Builder setMysqlProfile( */ public Builder mergeMysqlProfile(com.google.cloud.datastream.v1alpha1.MysqlProfile value) { if (mysqlProfileBuilder_ == null) { - if (profileCase_ == 102 - && profile_ != com.google.cloud.datastream.v1alpha1.MysqlProfile.getDefaultInstance()) { - profile_ = - com.google.cloud.datastream.v1alpha1.MysqlProfile.newBuilder( - (com.google.cloud.datastream.v1alpha1.MysqlProfile) profile_) - .mergeFrom(value) - .buildPartial(); + if (profileCase_ == 102 && + profile_ != com.google.cloud.datastream.v1alpha1.MysqlProfile.getDefaultInstance()) { + profile_ = com.google.cloud.datastream.v1alpha1.MysqlProfile.newBuilder((com.google.cloud.datastream.v1alpha1.MysqlProfile) profile_) + .mergeFrom(value).buildPartial(); } else { profile_ = value; } @@ -3079,8 +2695,6 @@ public Builder mergeMysqlProfile(com.google.cloud.datastream.v1alpha1.MysqlProfi return this; } /** - * - * *
      * MySQL ConnectionProfile configuration.
      * 
@@ -3104,8 +2718,6 @@ public Builder clearMysqlProfile() { return this; } /** - * - * *
      * MySQL ConnectionProfile configuration.
      * 
@@ -3116,8 +2728,6 @@ public com.google.cloud.datastream.v1alpha1.MysqlProfile.Builder getMysqlProfile return getMysqlProfileFieldBuilder().getBuilder(); } /** - * - * *
      * MySQL ConnectionProfile configuration.
      * 
@@ -3136,8 +2746,6 @@ public com.google.cloud.datastream.v1alpha1.MysqlProfileOrBuilder getMysqlProfil } } /** - * - * *
      * MySQL ConnectionProfile configuration.
      * 
@@ -3145,44 +2753,32 @@ public com.google.cloud.datastream.v1alpha1.MysqlProfileOrBuilder getMysqlProfil * .google.cloud.datastream.v1alpha1.MysqlProfile mysql_profile = 102; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.MysqlProfile, - com.google.cloud.datastream.v1alpha1.MysqlProfile.Builder, - com.google.cloud.datastream.v1alpha1.MysqlProfileOrBuilder> + com.google.cloud.datastream.v1alpha1.MysqlProfile, com.google.cloud.datastream.v1alpha1.MysqlProfile.Builder, com.google.cloud.datastream.v1alpha1.MysqlProfileOrBuilder> getMysqlProfileFieldBuilder() { if (mysqlProfileBuilder_ == null) { if (!(profileCase_ == 102)) { profile_ = com.google.cloud.datastream.v1alpha1.MysqlProfile.getDefaultInstance(); } - mysqlProfileBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.MysqlProfile, - com.google.cloud.datastream.v1alpha1.MysqlProfile.Builder, - com.google.cloud.datastream.v1alpha1.MysqlProfileOrBuilder>( + mysqlProfileBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1alpha1.MysqlProfile, com.google.cloud.datastream.v1alpha1.MysqlProfile.Builder, com.google.cloud.datastream.v1alpha1.MysqlProfileOrBuilder>( (com.google.cloud.datastream.v1alpha1.MysqlProfile) profile_, getParentForChildren(), isClean()); profile_ = null; } profileCase_ = 102; - onChanged(); - ; + onChanged();; return mysqlProfileBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.NoConnectivitySettings, - com.google.cloud.datastream.v1alpha1.NoConnectivitySettings.Builder, - com.google.cloud.datastream.v1alpha1.NoConnectivitySettingsOrBuilder> - noConnectivityBuilder_; + com.google.cloud.datastream.v1alpha1.NoConnectivitySettings, com.google.cloud.datastream.v1alpha1.NoConnectivitySettings.Builder, com.google.cloud.datastream.v1alpha1.NoConnectivitySettingsOrBuilder> noConnectivityBuilder_; /** - * - * *
      * No connectivity option chosen.
      * 
* * .google.cloud.datastream.v1alpha1.NoConnectivitySettings no_connectivity = 200; - * * @return Whether the noConnectivity field is set. */ @java.lang.Override @@ -3190,14 +2786,11 @@ public boolean hasNoConnectivity() { return connectivityCase_ == 200; } /** - * - * *
      * No connectivity option chosen.
      * 
* * .google.cloud.datastream.v1alpha1.NoConnectivitySettings no_connectivity = 200; - * * @return The noConnectivity. */ @java.lang.Override @@ -3215,16 +2808,13 @@ public com.google.cloud.datastream.v1alpha1.NoConnectivitySettings getNoConnecti } } /** - * - * *
      * No connectivity option chosen.
      * 
* * .google.cloud.datastream.v1alpha1.NoConnectivitySettings no_connectivity = 200; */ - public Builder setNoConnectivity( - com.google.cloud.datastream.v1alpha1.NoConnectivitySettings value) { + public Builder setNoConnectivity(com.google.cloud.datastream.v1alpha1.NoConnectivitySettings value) { if (noConnectivityBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3238,8 +2828,6 @@ public Builder setNoConnectivity( return this; } /** - * - * *
      * No connectivity option chosen.
      * 
@@ -3258,26 +2846,18 @@ public Builder setNoConnectivity( return this; } /** - * - * *
      * No connectivity option chosen.
      * 
* * .google.cloud.datastream.v1alpha1.NoConnectivitySettings no_connectivity = 200; */ - public Builder mergeNoConnectivity( - com.google.cloud.datastream.v1alpha1.NoConnectivitySettings value) { + public Builder mergeNoConnectivity(com.google.cloud.datastream.v1alpha1.NoConnectivitySettings value) { if (noConnectivityBuilder_ == null) { - if (connectivityCase_ == 200 - && connectivity_ - != com.google.cloud.datastream.v1alpha1.NoConnectivitySettings - .getDefaultInstance()) { - connectivity_ = - com.google.cloud.datastream.v1alpha1.NoConnectivitySettings.newBuilder( - (com.google.cloud.datastream.v1alpha1.NoConnectivitySettings) connectivity_) - .mergeFrom(value) - .buildPartial(); + if (connectivityCase_ == 200 && + connectivity_ != com.google.cloud.datastream.v1alpha1.NoConnectivitySettings.getDefaultInstance()) { + connectivity_ = com.google.cloud.datastream.v1alpha1.NoConnectivitySettings.newBuilder((com.google.cloud.datastream.v1alpha1.NoConnectivitySettings) connectivity_) + .mergeFrom(value).buildPartial(); } else { connectivity_ = value; } @@ -3293,8 +2873,6 @@ public Builder mergeNoConnectivity( return this; } /** - * - * *
      * No connectivity option chosen.
      * 
@@ -3318,21 +2896,16 @@ public Builder clearNoConnectivity() { return this; } /** - * - * *
      * No connectivity option chosen.
      * 
* * .google.cloud.datastream.v1alpha1.NoConnectivitySettings no_connectivity = 200; */ - public com.google.cloud.datastream.v1alpha1.NoConnectivitySettings.Builder - getNoConnectivityBuilder() { + public com.google.cloud.datastream.v1alpha1.NoConnectivitySettings.Builder getNoConnectivityBuilder() { return getNoConnectivityFieldBuilder().getBuilder(); } /** - * - * *
      * No connectivity option chosen.
      * 
@@ -3340,8 +2913,7 @@ public Builder clearNoConnectivity() { * .google.cloud.datastream.v1alpha1.NoConnectivitySettings no_connectivity = 200; */ @java.lang.Override - public com.google.cloud.datastream.v1alpha1.NoConnectivitySettingsOrBuilder - getNoConnectivityOrBuilder() { + public com.google.cloud.datastream.v1alpha1.NoConnectivitySettingsOrBuilder getNoConnectivityOrBuilder() { if ((connectivityCase_ == 200) && (noConnectivityBuilder_ != null)) { return noConnectivityBuilder_.getMessageOrBuilder(); } else { @@ -3352,8 +2924,6 @@ public Builder clearNoConnectivity() { } } /** - * - * *
      * No connectivity option chosen.
      * 
@@ -3361,47 +2931,32 @@ public Builder clearNoConnectivity() { * .google.cloud.datastream.v1alpha1.NoConnectivitySettings no_connectivity = 200; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.NoConnectivitySettings, - com.google.cloud.datastream.v1alpha1.NoConnectivitySettings.Builder, - com.google.cloud.datastream.v1alpha1.NoConnectivitySettingsOrBuilder> + com.google.cloud.datastream.v1alpha1.NoConnectivitySettings, com.google.cloud.datastream.v1alpha1.NoConnectivitySettings.Builder, com.google.cloud.datastream.v1alpha1.NoConnectivitySettingsOrBuilder> getNoConnectivityFieldBuilder() { if (noConnectivityBuilder_ == null) { if (!(connectivityCase_ == 200)) { - connectivity_ = - com.google.cloud.datastream.v1alpha1.NoConnectivitySettings.getDefaultInstance(); + connectivity_ = com.google.cloud.datastream.v1alpha1.NoConnectivitySettings.getDefaultInstance(); } - noConnectivityBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.NoConnectivitySettings, - com.google.cloud.datastream.v1alpha1.NoConnectivitySettings.Builder, - com.google.cloud.datastream.v1alpha1.NoConnectivitySettingsOrBuilder>( + noConnectivityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1alpha1.NoConnectivitySettings, com.google.cloud.datastream.v1alpha1.NoConnectivitySettings.Builder, com.google.cloud.datastream.v1alpha1.NoConnectivitySettingsOrBuilder>( (com.google.cloud.datastream.v1alpha1.NoConnectivitySettings) connectivity_, getParentForChildren(), isClean()); connectivity_ = null; } connectivityCase_ = 200; - onChanged(); - ; + onChanged();; return noConnectivityBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity, - com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity.Builder, - com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivityOrBuilder> - staticServiceIpConnectivityBuilder_; + com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity, com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity.Builder, com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivityOrBuilder> staticServiceIpConnectivityBuilder_; /** - * - * *
      * Static Service IP connectivity.
      * 
* - * - * .google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity static_service_ip_connectivity = 201; - * - * + * .google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity static_service_ip_connectivity = 201; * @return Whether the staticServiceIpConnectivity field is set. */ @java.lang.Override @@ -3409,48 +2964,35 @@ public boolean hasStaticServiceIpConnectivity() { return connectivityCase_ == 201; } /** - * - * *
      * Static Service IP connectivity.
      * 
* - * - * .google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity static_service_ip_connectivity = 201; - * - * + * .google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity static_service_ip_connectivity = 201; * @return The staticServiceIpConnectivity. */ @java.lang.Override - public com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity - getStaticServiceIpConnectivity() { + public com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity getStaticServiceIpConnectivity() { if (staticServiceIpConnectivityBuilder_ == null) { if (connectivityCase_ == 201) { return (com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity) connectivity_; } - return com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity - .getDefaultInstance(); + return com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity.getDefaultInstance(); } else { if (connectivityCase_ == 201) { return staticServiceIpConnectivityBuilder_.getMessage(); } - return com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity - .getDefaultInstance(); + return com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity.getDefaultInstance(); } } /** - * - * *
      * Static Service IP connectivity.
      * 
* - * - * .google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity static_service_ip_connectivity = 201; - * + * .google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity static_service_ip_connectivity = 201; */ - public Builder setStaticServiceIpConnectivity( - com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity value) { + public Builder setStaticServiceIpConnectivity(com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity value) { if (staticServiceIpConnectivityBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3464,15 +3006,11 @@ public Builder setStaticServiceIpConnectivity( return this; } /** - * - * *
      * Static Service IP connectivity.
      * 
* - * - * .google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity static_service_ip_connectivity = 201; - * + * .google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity static_service_ip_connectivity = 201; */ public Builder setStaticServiceIpConnectivity( com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity.Builder builderForValue) { @@ -3486,29 +3024,18 @@ public Builder setStaticServiceIpConnectivity( return this; } /** - * - * *
      * Static Service IP connectivity.
      * 
* - * - * .google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity static_service_ip_connectivity = 201; - * + * .google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity static_service_ip_connectivity = 201; */ - public Builder mergeStaticServiceIpConnectivity( - com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity value) { + public Builder mergeStaticServiceIpConnectivity(com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity value) { if (staticServiceIpConnectivityBuilder_ == null) { - if (connectivityCase_ == 201 - && connectivity_ - != com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity - .getDefaultInstance()) { - connectivity_ = - com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity.newBuilder( - (com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity) - connectivity_) - .mergeFrom(value) - .buildPartial(); + if (connectivityCase_ == 201 && + connectivity_ != com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity.getDefaultInstance()) { + connectivity_ = com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity.newBuilder((com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity) connectivity_) + .mergeFrom(value).buildPartial(); } else { connectivity_ = value; } @@ -3524,15 +3051,11 @@ public Builder mergeStaticServiceIpConnectivity( return this; } /** - * - * *
      * Static Service IP connectivity.
      * 
* - * - * .google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity static_service_ip_connectivity = 201; - * + * .google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity static_service_ip_connectivity = 201; */ public Builder clearStaticServiceIpConnectivity() { if (staticServiceIpConnectivityBuilder_ == null) { @@ -3551,97 +3074,67 @@ public Builder clearStaticServiceIpConnectivity() { return this; } /** - * - * *
      * Static Service IP connectivity.
      * 
* - * - * .google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity static_service_ip_connectivity = 201; - * + * .google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity static_service_ip_connectivity = 201; */ - public com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity.Builder - getStaticServiceIpConnectivityBuilder() { + public com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity.Builder getStaticServiceIpConnectivityBuilder() { return getStaticServiceIpConnectivityFieldBuilder().getBuilder(); } /** - * - * *
      * Static Service IP connectivity.
      * 
* - * - * .google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity static_service_ip_connectivity = 201; - * + * .google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity static_service_ip_connectivity = 201; */ @java.lang.Override - public com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivityOrBuilder - getStaticServiceIpConnectivityOrBuilder() { + public com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivityOrBuilder getStaticServiceIpConnectivityOrBuilder() { if ((connectivityCase_ == 201) && (staticServiceIpConnectivityBuilder_ != null)) { return staticServiceIpConnectivityBuilder_.getMessageOrBuilder(); } else { if (connectivityCase_ == 201) { return (com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity) connectivity_; } - return com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity - .getDefaultInstance(); + return com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity.getDefaultInstance(); } } /** - * - * *
      * Static Service IP connectivity.
      * 
* - * - * .google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity static_service_ip_connectivity = 201; - * + * .google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity static_service_ip_connectivity = 201; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity, - com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity.Builder, - com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivityOrBuilder> + com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity, com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity.Builder, com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivityOrBuilder> getStaticServiceIpConnectivityFieldBuilder() { if (staticServiceIpConnectivityBuilder_ == null) { if (!(connectivityCase_ == 201)) { - connectivity_ = - com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity.getDefaultInstance(); + connectivity_ = com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity.getDefaultInstance(); } - staticServiceIpConnectivityBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity, - com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity.Builder, - com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivityOrBuilder>( + staticServiceIpConnectivityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity, com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity.Builder, com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivityOrBuilder>( (com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity) connectivity_, getParentForChildren(), isClean()); connectivity_ = null; } connectivityCase_ = 201; - onChanged(); - ; + onChanged();; return staticServiceIpConnectivityBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity, - com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity.Builder, - com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivityOrBuilder> - forwardSshConnectivityBuilder_; + com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity, com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity.Builder, com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivityOrBuilder> forwardSshConnectivityBuilder_; /** - * - * *
      * Forward SSH tunnel connectivity.
      * 
* - * - * .google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity forward_ssh_connectivity = 202; - * - * + * .google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity forward_ssh_connectivity = 202; * @return Whether the forwardSshConnectivity field is set. */ @java.lang.Override @@ -3649,48 +3142,35 @@ public boolean hasForwardSshConnectivity() { return connectivityCase_ == 202; } /** - * - * *
      * Forward SSH tunnel connectivity.
      * 
* - * - * .google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity forward_ssh_connectivity = 202; - * - * + * .google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity forward_ssh_connectivity = 202; * @return The forwardSshConnectivity. */ @java.lang.Override - public com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity - getForwardSshConnectivity() { + public com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity getForwardSshConnectivity() { if (forwardSshConnectivityBuilder_ == null) { if (connectivityCase_ == 202) { return (com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity) connectivity_; } - return com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity - .getDefaultInstance(); + return com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity.getDefaultInstance(); } else { if (connectivityCase_ == 202) { return forwardSshConnectivityBuilder_.getMessage(); } - return com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity - .getDefaultInstance(); + return com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity.getDefaultInstance(); } } /** - * - * *
      * Forward SSH tunnel connectivity.
      * 
* - * - * .google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity forward_ssh_connectivity = 202; - * + * .google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity forward_ssh_connectivity = 202; */ - public Builder setForwardSshConnectivity( - com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity value) { + public Builder setForwardSshConnectivity(com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity value) { if (forwardSshConnectivityBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3704,15 +3184,11 @@ public Builder setForwardSshConnectivity( return this; } /** - * - * *
      * Forward SSH tunnel connectivity.
      * 
* - * - * .google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity forward_ssh_connectivity = 202; - * + * .google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity forward_ssh_connectivity = 202; */ public Builder setForwardSshConnectivity( com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity.Builder builderForValue) { @@ -3726,29 +3202,18 @@ public Builder setForwardSshConnectivity( return this; } /** - * - * *
      * Forward SSH tunnel connectivity.
      * 
* - * - * .google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity forward_ssh_connectivity = 202; - * + * .google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity forward_ssh_connectivity = 202; */ - public Builder mergeForwardSshConnectivity( - com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity value) { + public Builder mergeForwardSshConnectivity(com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity value) { if (forwardSshConnectivityBuilder_ == null) { - if (connectivityCase_ == 202 - && connectivity_ - != com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity - .getDefaultInstance()) { - connectivity_ = - com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity.newBuilder( - (com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity) - connectivity_) - .mergeFrom(value) - .buildPartial(); + if (connectivityCase_ == 202 && + connectivity_ != com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity.getDefaultInstance()) { + connectivity_ = com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity.newBuilder((com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity) connectivity_) + .mergeFrom(value).buildPartial(); } else { connectivity_ = value; } @@ -3764,15 +3229,11 @@ public Builder mergeForwardSshConnectivity( return this; } /** - * - * *
      * Forward SSH tunnel connectivity.
      * 
* - * - * .google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity forward_ssh_connectivity = 202; - * + * .google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity forward_ssh_connectivity = 202; */ public Builder clearForwardSshConnectivity() { if (forwardSshConnectivityBuilder_ == null) { @@ -3791,97 +3252,67 @@ public Builder clearForwardSshConnectivity() { return this; } /** - * - * *
      * Forward SSH tunnel connectivity.
      * 
* - * - * .google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity forward_ssh_connectivity = 202; - * + * .google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity forward_ssh_connectivity = 202; */ - public com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity.Builder - getForwardSshConnectivityBuilder() { + public com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity.Builder getForwardSshConnectivityBuilder() { return getForwardSshConnectivityFieldBuilder().getBuilder(); } /** - * - * *
      * Forward SSH tunnel connectivity.
      * 
* - * - * .google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity forward_ssh_connectivity = 202; - * + * .google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity forward_ssh_connectivity = 202; */ @java.lang.Override - public com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivityOrBuilder - getForwardSshConnectivityOrBuilder() { + public com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivityOrBuilder getForwardSshConnectivityOrBuilder() { if ((connectivityCase_ == 202) && (forwardSshConnectivityBuilder_ != null)) { return forwardSshConnectivityBuilder_.getMessageOrBuilder(); } else { if (connectivityCase_ == 202) { return (com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity) connectivity_; } - return com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity - .getDefaultInstance(); + return com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity.getDefaultInstance(); } } /** - * - * *
      * Forward SSH tunnel connectivity.
      * 
* - * - * .google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity forward_ssh_connectivity = 202; - * + * .google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity forward_ssh_connectivity = 202; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity, - com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity.Builder, - com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivityOrBuilder> + com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity, com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity.Builder, com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivityOrBuilder> getForwardSshConnectivityFieldBuilder() { if (forwardSshConnectivityBuilder_ == null) { if (!(connectivityCase_ == 202)) { - connectivity_ = - com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity - .getDefaultInstance(); + connectivity_ = com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity.getDefaultInstance(); } - forwardSshConnectivityBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity, - com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity.Builder, - com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivityOrBuilder>( + forwardSshConnectivityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity, com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity.Builder, com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivityOrBuilder>( (com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity) connectivity_, getParentForChildren(), isClean()); connectivity_ = null; } connectivityCase_ = 202; - onChanged(); - ; + onChanged();; return forwardSshConnectivityBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.PrivateConnectivity, - com.google.cloud.datastream.v1alpha1.PrivateConnectivity.Builder, - com.google.cloud.datastream.v1alpha1.PrivateConnectivityOrBuilder> - privateConnectivityBuilder_; + com.google.cloud.datastream.v1alpha1.PrivateConnectivity, com.google.cloud.datastream.v1alpha1.PrivateConnectivity.Builder, com.google.cloud.datastream.v1alpha1.PrivateConnectivityOrBuilder> privateConnectivityBuilder_; /** - * - * *
      * Private connectivity.
      * 
* - * .google.cloud.datastream.v1alpha1.PrivateConnectivity private_connectivity = 203; - * - * + * .google.cloud.datastream.v1alpha1.PrivateConnectivity private_connectivity = 203; * @return Whether the privateConnectivity field is set. */ @java.lang.Override @@ -3889,15 +3320,11 @@ public boolean hasPrivateConnectivity() { return connectivityCase_ == 203; } /** - * - * *
      * Private connectivity.
      * 
* - * .google.cloud.datastream.v1alpha1.PrivateConnectivity private_connectivity = 203; - * - * + * .google.cloud.datastream.v1alpha1.PrivateConnectivity private_connectivity = 203; * @return The privateConnectivity. */ @java.lang.Override @@ -3915,17 +3342,13 @@ public com.google.cloud.datastream.v1alpha1.PrivateConnectivity getPrivateConnec } } /** - * - * *
      * Private connectivity.
      * 
* - * .google.cloud.datastream.v1alpha1.PrivateConnectivity private_connectivity = 203; - * + * .google.cloud.datastream.v1alpha1.PrivateConnectivity private_connectivity = 203; */ - public Builder setPrivateConnectivity( - com.google.cloud.datastream.v1alpha1.PrivateConnectivity value) { + public Builder setPrivateConnectivity(com.google.cloud.datastream.v1alpha1.PrivateConnectivity value) { if (privateConnectivityBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3939,14 +3362,11 @@ public Builder setPrivateConnectivity( return this; } /** - * - * *
      * Private connectivity.
      * 
* - * .google.cloud.datastream.v1alpha1.PrivateConnectivity private_connectivity = 203; - * + * .google.cloud.datastream.v1alpha1.PrivateConnectivity private_connectivity = 203; */ public Builder setPrivateConnectivity( com.google.cloud.datastream.v1alpha1.PrivateConnectivity.Builder builderForValue) { @@ -3960,26 +3380,18 @@ public Builder setPrivateConnectivity( return this; } /** - * - * *
      * Private connectivity.
      * 
* - * .google.cloud.datastream.v1alpha1.PrivateConnectivity private_connectivity = 203; - * + * .google.cloud.datastream.v1alpha1.PrivateConnectivity private_connectivity = 203; */ - public Builder mergePrivateConnectivity( - com.google.cloud.datastream.v1alpha1.PrivateConnectivity value) { + public Builder mergePrivateConnectivity(com.google.cloud.datastream.v1alpha1.PrivateConnectivity value) { if (privateConnectivityBuilder_ == null) { - if (connectivityCase_ == 203 - && connectivity_ - != com.google.cloud.datastream.v1alpha1.PrivateConnectivity.getDefaultInstance()) { - connectivity_ = - com.google.cloud.datastream.v1alpha1.PrivateConnectivity.newBuilder( - (com.google.cloud.datastream.v1alpha1.PrivateConnectivity) connectivity_) - .mergeFrom(value) - .buildPartial(); + if (connectivityCase_ == 203 && + connectivity_ != com.google.cloud.datastream.v1alpha1.PrivateConnectivity.getDefaultInstance()) { + connectivity_ = com.google.cloud.datastream.v1alpha1.PrivateConnectivity.newBuilder((com.google.cloud.datastream.v1alpha1.PrivateConnectivity) connectivity_) + .mergeFrom(value).buildPartial(); } else { connectivity_ = value; } @@ -3995,14 +3407,11 @@ public Builder mergePrivateConnectivity( return this; } /** - * - * *
      * Private connectivity.
      * 
* - * .google.cloud.datastream.v1alpha1.PrivateConnectivity private_connectivity = 203; - * + * .google.cloud.datastream.v1alpha1.PrivateConnectivity private_connectivity = 203; */ public Builder clearPrivateConnectivity() { if (privateConnectivityBuilder_ == null) { @@ -4021,32 +3430,24 @@ public Builder clearPrivateConnectivity() { return this; } /** - * - * *
      * Private connectivity.
      * 
* - * .google.cloud.datastream.v1alpha1.PrivateConnectivity private_connectivity = 203; - * + * .google.cloud.datastream.v1alpha1.PrivateConnectivity private_connectivity = 203; */ - public com.google.cloud.datastream.v1alpha1.PrivateConnectivity.Builder - getPrivateConnectivityBuilder() { + public com.google.cloud.datastream.v1alpha1.PrivateConnectivity.Builder getPrivateConnectivityBuilder() { return getPrivateConnectivityFieldBuilder().getBuilder(); } /** - * - * *
      * Private connectivity.
      * 
* - * .google.cloud.datastream.v1alpha1.PrivateConnectivity private_connectivity = 203; - * + * .google.cloud.datastream.v1alpha1.PrivateConnectivity private_connectivity = 203; */ @java.lang.Override - public com.google.cloud.datastream.v1alpha1.PrivateConnectivityOrBuilder - getPrivateConnectivityOrBuilder() { + public com.google.cloud.datastream.v1alpha1.PrivateConnectivityOrBuilder getPrivateConnectivityOrBuilder() { if ((connectivityCase_ == 203) && (privateConnectivityBuilder_ != null)) { return privateConnectivityBuilder_.getMessageOrBuilder(); } else { @@ -4057,43 +3458,33 @@ public Builder clearPrivateConnectivity() { } } /** - * - * *
      * Private connectivity.
      * 
* - * .google.cloud.datastream.v1alpha1.PrivateConnectivity private_connectivity = 203; - * + * .google.cloud.datastream.v1alpha1.PrivateConnectivity private_connectivity = 203; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.PrivateConnectivity, - com.google.cloud.datastream.v1alpha1.PrivateConnectivity.Builder, - com.google.cloud.datastream.v1alpha1.PrivateConnectivityOrBuilder> + com.google.cloud.datastream.v1alpha1.PrivateConnectivity, com.google.cloud.datastream.v1alpha1.PrivateConnectivity.Builder, com.google.cloud.datastream.v1alpha1.PrivateConnectivityOrBuilder> getPrivateConnectivityFieldBuilder() { if (privateConnectivityBuilder_ == null) { if (!(connectivityCase_ == 203)) { - connectivity_ = - com.google.cloud.datastream.v1alpha1.PrivateConnectivity.getDefaultInstance(); + connectivity_ = com.google.cloud.datastream.v1alpha1.PrivateConnectivity.getDefaultInstance(); } - privateConnectivityBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.PrivateConnectivity, - com.google.cloud.datastream.v1alpha1.PrivateConnectivity.Builder, - com.google.cloud.datastream.v1alpha1.PrivateConnectivityOrBuilder>( + privateConnectivityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1alpha1.PrivateConnectivity, com.google.cloud.datastream.v1alpha1.PrivateConnectivity.Builder, com.google.cloud.datastream.v1alpha1.PrivateConnectivityOrBuilder>( (com.google.cloud.datastream.v1alpha1.PrivateConnectivity) connectivity_, getParentForChildren(), isClean()); connectivity_ = null; } connectivityCase_ = 203; - onChanged(); - ; + onChanged();; return privateConnectivityBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -4103,12 +3494,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1alpha1.ConnectionProfile) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1alpha1.ConnectionProfile) private static final com.google.cloud.datastream.v1alpha1.ConnectionProfile DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1alpha1.ConnectionProfile(); } @@ -4117,16 +3508,16 @@ public static com.google.cloud.datastream.v1alpha1.ConnectionProfile getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ConnectionProfile parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ConnectionProfile(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ConnectionProfile parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ConnectionProfile(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4141,4 +3532,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datastream.v1alpha1.ConnectionProfile getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ConnectionProfileName.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ConnectionProfileName.java similarity index 100% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ConnectionProfileName.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ConnectionProfileName.java diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ConnectionProfileOrBuilder.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ConnectionProfileOrBuilder.java similarity index 74% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ConnectionProfileOrBuilder.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ConnectionProfileOrBuilder.java index 2813c95c..0f4ac0bd 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ConnectionProfileOrBuilder.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ConnectionProfileOrBuilder.java @@ -1,132 +1,87 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1alpha1/datastream_resources.proto package com.google.cloud.datastream.v1alpha1; -public interface ConnectionProfileOrBuilder - extends +public interface ConnectionProfileOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1alpha1.ConnectionProfile) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The resource's name.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. The resource's name.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Output only. The create time of the resource.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Output only. The create time of the resource.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Output only. The create time of the resource.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * Output only. The update time of the resource.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * Output only. The update time of the resource.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * Output only. The update time of the resource.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
    * Labels.
    * 
@@ -135,31 +90,30 @@ public interface ConnectionProfileOrBuilder */ int getLabelsCount(); /** - * - * *
    * Labels.
    * 
* * map<string, string> labels = 4; */ - boolean containsLabels(java.lang.String key); - /** Use {@link #getLabelsMap()} instead. */ + boolean containsLabels( + java.lang.String key); + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Deprecated - java.util.Map getLabels(); + java.util.Map + getLabels(); /** - * - * *
    * Labels.
    * 
* * map<string, string> labels = 4; */ - java.util.Map getLabelsMap(); + java.util.Map + getLabelsMap(); /** - * - * *
    * Labels.
    * 
@@ -168,73 +122,60 @@ public interface ConnectionProfileOrBuilder */ /* nullable */ - java.lang.String getLabelsOrDefault( +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue); +java.lang.String defaultValue); /** - * - * *
    * Labels.
    * 
* * map<string, string> labels = 4; */ - java.lang.String getLabelsOrThrow(java.lang.String key); + + java.lang.String getLabelsOrThrow( + java.lang.String key); /** - * - * *
    * Required. Display name.
    * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * Required. Display name.
    * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * Oracle ConnectionProfile configuration.
    * 
* * .google.cloud.datastream.v1alpha1.OracleProfile oracle_profile = 100; - * * @return Whether the oracleProfile field is set. */ boolean hasOracleProfile(); /** - * - * *
    * Oracle ConnectionProfile configuration.
    * 
* * .google.cloud.datastream.v1alpha1.OracleProfile oracle_profile = 100; - * * @return The oracleProfile. */ com.google.cloud.datastream.v1alpha1.OracleProfile getOracleProfile(); /** - * - * *
    * Oracle ConnectionProfile configuration.
    * 
@@ -244,32 +185,24 @@ java.lang.String getLabelsOrDefault( com.google.cloud.datastream.v1alpha1.OracleProfileOrBuilder getOracleProfileOrBuilder(); /** - * - * *
    * Cloud Storage ConnectionProfile configuration.
    * 
* * .google.cloud.datastream.v1alpha1.GcsProfile gcs_profile = 101; - * * @return Whether the gcsProfile field is set. */ boolean hasGcsProfile(); /** - * - * *
    * Cloud Storage ConnectionProfile configuration.
    * 
* * .google.cloud.datastream.v1alpha1.GcsProfile gcs_profile = 101; - * * @return The gcsProfile. */ com.google.cloud.datastream.v1alpha1.GcsProfile getGcsProfile(); /** - * - * *
    * Cloud Storage ConnectionProfile configuration.
    * 
@@ -279,32 +212,24 @@ java.lang.String getLabelsOrDefault( com.google.cloud.datastream.v1alpha1.GcsProfileOrBuilder getGcsProfileOrBuilder(); /** - * - * *
    * MySQL ConnectionProfile configuration.
    * 
* * .google.cloud.datastream.v1alpha1.MysqlProfile mysql_profile = 102; - * * @return Whether the mysqlProfile field is set. */ boolean hasMysqlProfile(); /** - * - * *
    * MySQL ConnectionProfile configuration.
    * 
* * .google.cloud.datastream.v1alpha1.MysqlProfile mysql_profile = 102; - * * @return The mysqlProfile. */ com.google.cloud.datastream.v1alpha1.MysqlProfile getMysqlProfile(); /** - * - * *
    * MySQL ConnectionProfile configuration.
    * 
@@ -314,32 +239,24 @@ java.lang.String getLabelsOrDefault( com.google.cloud.datastream.v1alpha1.MysqlProfileOrBuilder getMysqlProfileOrBuilder(); /** - * - * *
    * No connectivity option chosen.
    * 
* * .google.cloud.datastream.v1alpha1.NoConnectivitySettings no_connectivity = 200; - * * @return Whether the noConnectivity field is set. */ boolean hasNoConnectivity(); /** - * - * *
    * No connectivity option chosen.
    * 
* * .google.cloud.datastream.v1alpha1.NoConnectivitySettings no_connectivity = 200; - * * @return The noConnectivity. */ com.google.cloud.datastream.v1alpha1.NoConnectivitySettings getNoConnectivity(); /** - * - * *
    * No connectivity option chosen.
    * 
@@ -349,127 +266,87 @@ java.lang.String getLabelsOrDefault( com.google.cloud.datastream.v1alpha1.NoConnectivitySettingsOrBuilder getNoConnectivityOrBuilder(); /** - * - * *
    * Static Service IP connectivity.
    * 
* - * - * .google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity static_service_ip_connectivity = 201; - * - * + * .google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity static_service_ip_connectivity = 201; * @return Whether the staticServiceIpConnectivity field is set. */ boolean hasStaticServiceIpConnectivity(); /** - * - * *
    * Static Service IP connectivity.
    * 
* - * - * .google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity static_service_ip_connectivity = 201; - * - * + * .google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity static_service_ip_connectivity = 201; * @return The staticServiceIpConnectivity. */ com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity getStaticServiceIpConnectivity(); /** - * - * *
    * Static Service IP connectivity.
    * 
* - * - * .google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity static_service_ip_connectivity = 201; - * + * .google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity static_service_ip_connectivity = 201; */ - com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivityOrBuilder - getStaticServiceIpConnectivityOrBuilder(); + com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivityOrBuilder getStaticServiceIpConnectivityOrBuilder(); /** - * - * *
    * Forward SSH tunnel connectivity.
    * 
* - * - * .google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity forward_ssh_connectivity = 202; - * - * + * .google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity forward_ssh_connectivity = 202; * @return Whether the forwardSshConnectivity field is set. */ boolean hasForwardSshConnectivity(); /** - * - * *
    * Forward SSH tunnel connectivity.
    * 
* - * - * .google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity forward_ssh_connectivity = 202; - * - * + * .google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity forward_ssh_connectivity = 202; * @return The forwardSshConnectivity. */ com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity getForwardSshConnectivity(); /** - * - * *
    * Forward SSH tunnel connectivity.
    * 
* - * - * .google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity forward_ssh_connectivity = 202; - * + * .google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity forward_ssh_connectivity = 202; */ - com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivityOrBuilder - getForwardSshConnectivityOrBuilder(); + com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivityOrBuilder getForwardSshConnectivityOrBuilder(); /** - * - * *
    * Private connectivity.
    * 
* * .google.cloud.datastream.v1alpha1.PrivateConnectivity private_connectivity = 203; - * * @return Whether the privateConnectivity field is set. */ boolean hasPrivateConnectivity(); /** - * - * *
    * Private connectivity.
    * 
* * .google.cloud.datastream.v1alpha1.PrivateConnectivity private_connectivity = 203; - * * @return The privateConnectivity. */ com.google.cloud.datastream.v1alpha1.PrivateConnectivity getPrivateConnectivity(); /** - * - * *
    * Private connectivity.
    * 
* * .google.cloud.datastream.v1alpha1.PrivateConnectivity private_connectivity = 203; */ - com.google.cloud.datastream.v1alpha1.PrivateConnectivityOrBuilder - getPrivateConnectivityOrBuilder(); + com.google.cloud.datastream.v1alpha1.PrivateConnectivityOrBuilder getPrivateConnectivityOrBuilder(); public com.google.cloud.datastream.v1alpha1.ConnectionProfile.ProfileCase getProfileCase(); - public com.google.cloud.datastream.v1alpha1.ConnectionProfile.ConnectivityCase - getConnectivityCase(); + public com.google.cloud.datastream.v1alpha1.ConnectionProfile.ConnectivityCase getConnectivityCase(); } diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/CreateConnectionProfileRequest.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/CreateConnectionProfileRequest.java similarity index 67% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/CreateConnectionProfileRequest.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/CreateConnectionProfileRequest.java index bb43bd97..f7be18ab 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/CreateConnectionProfileRequest.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/CreateConnectionProfileRequest.java @@ -1,35 +1,20 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1alpha1/datastream.proto package com.google.cloud.datastream.v1alpha1; -/** Protobuf type {@code google.cloud.datastream.v1alpha1.CreateConnectionProfileRequest} */ -public final class CreateConnectionProfileRequest extends com.google.protobuf.GeneratedMessageV3 - implements +/** + * Protobuf type {@code google.cloud.datastream.v1alpha1.CreateConnectionProfileRequest} + */ +public final class CreateConnectionProfileRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1alpha1.CreateConnectionProfileRequest) CreateConnectionProfileRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateConnectionProfileRequest.newBuilder() to construct. - private CreateConnectionProfileRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private CreateConnectionProfileRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateConnectionProfileRequest() { parent_ = ""; connectionProfileId_ = ""; @@ -38,15 +23,16 @@ private CreateConnectionProfileRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateConnectionProfileRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateConnectionProfileRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -65,51 +51,44 @@ private CreateConnectionProfileRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - connectionProfileId_ = s; - break; + connectionProfileId_ = s; + break; + } + case 26: { + com.google.cloud.datastream.v1alpha1.ConnectionProfile.Builder subBuilder = null; + if (connectionProfile_ != null) { + subBuilder = connectionProfile_.toBuilder(); } - case 26: - { - com.google.cloud.datastream.v1alpha1.ConnectionProfile.Builder subBuilder = null; - if (connectionProfile_ != null) { - subBuilder = connectionProfile_.toBuilder(); - } - connectionProfile_ = - input.readMessage( - com.google.cloud.datastream.v1alpha1.ConnectionProfile.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(connectionProfile_); - connectionProfile_ = subBuilder.buildPartial(); - } - - break; + connectionProfile_ = input.readMessage(com.google.cloud.datastream.v1alpha1.ConnectionProfile.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(connectionProfile_); + connectionProfile_ = subBuilder.buildPartial(); } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - requestId_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + requestId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -117,41 +96,34 @@ private CreateConnectionProfileRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_CreateConnectionProfileRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_CreateConnectionProfileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_CreateConnectionProfileRequest_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_CreateConnectionProfileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.CreateConnectionProfileRequest.class, - com.google.cloud.datastream.v1alpha1.CreateConnectionProfileRequest.Builder.class); + com.google.cloud.datastream.v1alpha1.CreateConnectionProfileRequest.class, com.google.cloud.datastream.v1alpha1.CreateConnectionProfileRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The parent that owns the collection of ConnectionProfiles.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -160,31 +132,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The parent that owns the collection of ConnectionProfiles.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -195,14 +165,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int CONNECTION_PROFILE_ID_FIELD_NUMBER = 2; private volatile java.lang.Object connectionProfileId_; /** - * - * *
    * Required. The connection profile identifier.
    * 
* * string connection_profile_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The connectionProfileId. */ @java.lang.Override @@ -211,29 +178,29 @@ public java.lang.String getConnectionProfileId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); connectionProfileId_ = s; return s; } } /** - * - * *
    * Required. The connection profile identifier.
    * 
* * string connection_profile_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for connectionProfileId. */ @java.lang.Override - public com.google.protobuf.ByteString getConnectionProfileIdBytes() { + public com.google.protobuf.ByteString + getConnectionProfileIdBytes() { java.lang.Object ref = connectionProfileId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); connectionProfileId_ = b; return b; } else { @@ -244,16 +211,11 @@ public com.google.protobuf.ByteString getConnectionProfileIdBytes() { public static final int CONNECTION_PROFILE_FIELD_NUMBER = 3; private com.google.cloud.datastream.v1alpha1.ConnectionProfile connectionProfile_; /** - * - * *
    * Required. The connection profile resource to create.
    * 
* - * - * .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profile = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profile = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the connectionProfile field is set. */ @java.lang.Override @@ -261,46 +223,32 @@ public boolean hasConnectionProfile() { return connectionProfile_ != null; } /** - * - * *
    * Required. The connection profile resource to create.
    * 
* - * - * .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profile = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profile = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The connectionProfile. */ @java.lang.Override public com.google.cloud.datastream.v1alpha1.ConnectionProfile getConnectionProfile() { - return connectionProfile_ == null - ? com.google.cloud.datastream.v1alpha1.ConnectionProfile.getDefaultInstance() - : connectionProfile_; + return connectionProfile_ == null ? com.google.cloud.datastream.v1alpha1.ConnectionProfile.getDefaultInstance() : connectionProfile_; } /** - * - * *
    * Required. The connection profile resource to create.
    * 
* - * - * .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profile = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profile = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.datastream.v1alpha1.ConnectionProfileOrBuilder - getConnectionProfileOrBuilder() { + public com.google.cloud.datastream.v1alpha1.ConnectionProfileOrBuilder getConnectionProfileOrBuilder() { return getConnectionProfile(); } public static final int REQUEST_ID_FIELD_NUMBER = 4; private volatile java.lang.Object requestId_; /** - * - * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -316,7 +264,6 @@ public com.google.cloud.datastream.v1alpha1.ConnectionProfile getConnectionProfi
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -325,15 +272,14 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** - * - * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -349,15 +295,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -366,7 +313,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -378,7 +324,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_); } @@ -407,7 +354,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, connectionProfileId_); } if (connectionProfile_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getConnectionProfile()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getConnectionProfile()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, requestId_); @@ -420,21 +368,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.datastream.v1alpha1.CreateConnectionProfileRequest)) { return super.equals(obj); } - com.google.cloud.datastream.v1alpha1.CreateConnectionProfileRequest other = - (com.google.cloud.datastream.v1alpha1.CreateConnectionProfileRequest) obj; + com.google.cloud.datastream.v1alpha1.CreateConnectionProfileRequest other = (com.google.cloud.datastream.v1alpha1.CreateConnectionProfileRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getConnectionProfileId().equals(other.getConnectionProfileId())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getConnectionProfileId() + .equals(other.getConnectionProfileId())) return false; if (hasConnectionProfile() != other.hasConnectionProfile()) return false; if (hasConnectionProfile()) { - if (!getConnectionProfile().equals(other.getConnectionProfile())) return false; + if (!getConnectionProfile() + .equals(other.getConnectionProfile())) return false; } - if (!getRequestId().equals(other.getRequestId())) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -462,137 +413,130 @@ public int hashCode() { } public static com.google.cloud.datastream.v1alpha1.CreateConnectionProfileRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.CreateConnectionProfileRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.CreateConnectionProfileRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.CreateConnectionProfileRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.CreateConnectionProfileRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.datastream.v1alpha1.CreateConnectionProfileRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.CreateConnectionProfileRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.CreateConnectionProfileRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.CreateConnectionProfileRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.CreateConnectionProfileRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.CreateConnectionProfileRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.CreateConnectionProfileRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.datastream.v1alpha1.CreateConnectionProfileRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.datastream.v1alpha1.CreateConnectionProfileRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.CreateConnectionProfileRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.CreateConnectionProfileRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datastream.v1alpha1.CreateConnectionProfileRequest prototype) { + public static Builder newBuilder(com.google.cloud.datastream.v1alpha1.CreateConnectionProfileRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } - /** Protobuf type {@code google.cloud.datastream.v1alpha1.CreateConnectionProfileRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + /** + * Protobuf type {@code google.cloud.datastream.v1alpha1.CreateConnectionProfileRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1alpha1.CreateConnectionProfileRequest) com.google.cloud.datastream.v1alpha1.CreateConnectionProfileRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_CreateConnectionProfileRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_CreateConnectionProfileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_CreateConnectionProfileRequest_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_CreateConnectionProfileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.CreateConnectionProfileRequest.class, - com.google.cloud.datastream.v1alpha1.CreateConnectionProfileRequest.Builder.class); + com.google.cloud.datastream.v1alpha1.CreateConnectionProfileRequest.class, com.google.cloud.datastream.v1alpha1.CreateConnectionProfileRequest.Builder.class); } - // Construct using - // com.google.cloud.datastream.v1alpha1.CreateConnectionProfileRequest.newBuilder() + // Construct using com.google.cloud.datastream.v1alpha1.CreateConnectionProfileRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -612,16 +556,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_CreateConnectionProfileRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_CreateConnectionProfileRequest_descriptor; } @java.lang.Override - public com.google.cloud.datastream.v1alpha1.CreateConnectionProfileRequest - getDefaultInstanceForType() { - return com.google.cloud.datastream.v1alpha1.CreateConnectionProfileRequest - .getDefaultInstance(); + public com.google.cloud.datastream.v1alpha1.CreateConnectionProfileRequest getDefaultInstanceForType() { + return com.google.cloud.datastream.v1alpha1.CreateConnectionProfileRequest.getDefaultInstance(); } @java.lang.Override @@ -635,8 +577,7 @@ public com.google.cloud.datastream.v1alpha1.CreateConnectionProfileRequest build @java.lang.Override public com.google.cloud.datastream.v1alpha1.CreateConnectionProfileRequest buildPartial() { - com.google.cloud.datastream.v1alpha1.CreateConnectionProfileRequest result = - new com.google.cloud.datastream.v1alpha1.CreateConnectionProfileRequest(this); + com.google.cloud.datastream.v1alpha1.CreateConnectionProfileRequest result = new com.google.cloud.datastream.v1alpha1.CreateConnectionProfileRequest(this); result.parent_ = parent_; result.connectionProfileId_ = connectionProfileId_; if (connectionProfileBuilder_ == null) { @@ -653,51 +594,46 @@ public com.google.cloud.datastream.v1alpha1.CreateConnectionProfileRequest build public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1alpha1.CreateConnectionProfileRequest) { - return mergeFrom( - (com.google.cloud.datastream.v1alpha1.CreateConnectionProfileRequest) other); + return mergeFrom((com.google.cloud.datastream.v1alpha1.CreateConnectionProfileRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.datastream.v1alpha1.CreateConnectionProfileRequest other) { - if (other - == com.google.cloud.datastream.v1alpha1.CreateConnectionProfileRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.datastream.v1alpha1.CreateConnectionProfileRequest other) { + if (other == com.google.cloud.datastream.v1alpha1.CreateConnectionProfileRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -732,9 +668,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datastream.v1alpha1.CreateConnectionProfileRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datastream.v1alpha1.CreateConnectionProfileRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -746,22 +680,18 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent that owns the collection of ConnectionProfiles.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -770,23 +700,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent that owns the collection of ConnectionProfiles.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -794,67 +721,54 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent that owns the collection of ConnectionProfiles.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The parent that owns the collection of ConnectionProfiles.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The parent that owns the collection of ConnectionProfiles.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -862,20 +776,18 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object connectionProfileId_ = ""; /** - * - * *
      * Required. The connection profile identifier.
      * 
* * string connection_profile_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The connectionProfileId. */ public java.lang.String getConnectionProfileId() { java.lang.Object ref = connectionProfileId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); connectionProfileId_ = s; return s; @@ -884,21 +796,20 @@ public java.lang.String getConnectionProfileId() { } } /** - * - * *
      * Required. The connection profile identifier.
      * 
* * string connection_profile_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for connectionProfileId. */ - public com.google.protobuf.ByteString getConnectionProfileIdBytes() { + public com.google.protobuf.ByteString + getConnectionProfileIdBytes() { java.lang.Object ref = connectionProfileId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); connectionProfileId_ = b; return b; } else { @@ -906,61 +817,54 @@ public com.google.protobuf.ByteString getConnectionProfileIdBytes() { } } /** - * - * *
      * Required. The connection profile identifier.
      * 
* * string connection_profile_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The connectionProfileId to set. * @return This builder for chaining. */ - public Builder setConnectionProfileId(java.lang.String value) { + public Builder setConnectionProfileId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + connectionProfileId_ = value; onChanged(); return this; } /** - * - * *
      * Required. The connection profile identifier.
      * 
* * string connection_profile_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearConnectionProfileId() { - + connectionProfileId_ = getDefaultInstance().getConnectionProfileId(); onChanged(); return this; } /** - * - * *
      * Required. The connection profile identifier.
      * 
* * string connection_profile_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for connectionProfileId to set. * @return This builder for chaining. */ - public Builder setConnectionProfileIdBytes(com.google.protobuf.ByteString value) { + public Builder setConnectionProfileIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + connectionProfileId_ = value; onChanged(); return this; @@ -968,61 +872,41 @@ public Builder setConnectionProfileIdBytes(com.google.protobuf.ByteString value) private com.google.cloud.datastream.v1alpha1.ConnectionProfile connectionProfile_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.ConnectionProfile, - com.google.cloud.datastream.v1alpha1.ConnectionProfile.Builder, - com.google.cloud.datastream.v1alpha1.ConnectionProfileOrBuilder> - connectionProfileBuilder_; + com.google.cloud.datastream.v1alpha1.ConnectionProfile, com.google.cloud.datastream.v1alpha1.ConnectionProfile.Builder, com.google.cloud.datastream.v1alpha1.ConnectionProfileOrBuilder> connectionProfileBuilder_; /** - * - * *
      * Required. The connection profile resource to create.
      * 
* - * - * .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profile = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profile = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the connectionProfile field is set. */ public boolean hasConnectionProfile() { return connectionProfileBuilder_ != null || connectionProfile_ != null; } /** - * - * *
      * Required. The connection profile resource to create.
      * 
* - * - * .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profile = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profile = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The connectionProfile. */ public com.google.cloud.datastream.v1alpha1.ConnectionProfile getConnectionProfile() { if (connectionProfileBuilder_ == null) { - return connectionProfile_ == null - ? com.google.cloud.datastream.v1alpha1.ConnectionProfile.getDefaultInstance() - : connectionProfile_; + return connectionProfile_ == null ? com.google.cloud.datastream.v1alpha1.ConnectionProfile.getDefaultInstance() : connectionProfile_; } else { return connectionProfileBuilder_.getMessage(); } } /** - * - * *
      * Required. The connection profile resource to create.
      * 
* - * - * .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profile = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profile = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setConnectionProfile( - com.google.cloud.datastream.v1alpha1.ConnectionProfile value) { + public Builder setConnectionProfile(com.google.cloud.datastream.v1alpha1.ConnectionProfile value) { if (connectionProfileBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1036,15 +920,11 @@ public Builder setConnectionProfile( return this; } /** - * - * *
      * Required. The connection profile resource to create.
      * 
* - * - * .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profile = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profile = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setConnectionProfile( com.google.cloud.datastream.v1alpha1.ConnectionProfile.Builder builderForValue) { @@ -1058,24 +938,17 @@ public Builder setConnectionProfile( return this; } /** - * - * *
      * Required. The connection profile resource to create.
      * 
* - * - * .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profile = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profile = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeConnectionProfile( - com.google.cloud.datastream.v1alpha1.ConnectionProfile value) { + public Builder mergeConnectionProfile(com.google.cloud.datastream.v1alpha1.ConnectionProfile value) { if (connectionProfileBuilder_ == null) { if (connectionProfile_ != null) { connectionProfile_ = - com.google.cloud.datastream.v1alpha1.ConnectionProfile.newBuilder(connectionProfile_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.datastream.v1alpha1.ConnectionProfile.newBuilder(connectionProfile_).mergeFrom(value).buildPartial(); } else { connectionProfile_ = value; } @@ -1087,15 +960,11 @@ public Builder mergeConnectionProfile( return this; } /** - * - * *
      * Required. The connection profile resource to create.
      * 
* - * - * .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profile = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profile = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearConnectionProfile() { if (connectionProfileBuilder_ == null) { @@ -1109,66 +978,48 @@ public Builder clearConnectionProfile() { return this; } /** - * - * *
      * Required. The connection profile resource to create.
      * 
* - * - * .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profile = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profile = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.datastream.v1alpha1.ConnectionProfile.Builder - getConnectionProfileBuilder() { - + public com.google.cloud.datastream.v1alpha1.ConnectionProfile.Builder getConnectionProfileBuilder() { + onChanged(); return getConnectionProfileFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The connection profile resource to create.
      * 
* - * - * .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profile = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profile = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.datastream.v1alpha1.ConnectionProfileOrBuilder - getConnectionProfileOrBuilder() { + public com.google.cloud.datastream.v1alpha1.ConnectionProfileOrBuilder getConnectionProfileOrBuilder() { if (connectionProfileBuilder_ != null) { return connectionProfileBuilder_.getMessageOrBuilder(); } else { - return connectionProfile_ == null - ? com.google.cloud.datastream.v1alpha1.ConnectionProfile.getDefaultInstance() - : connectionProfile_; + return connectionProfile_ == null ? + com.google.cloud.datastream.v1alpha1.ConnectionProfile.getDefaultInstance() : connectionProfile_; } } /** - * - * *
      * Required. The connection profile resource to create.
      * 
* - * - * .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profile = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profile = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.ConnectionProfile, - com.google.cloud.datastream.v1alpha1.ConnectionProfile.Builder, - com.google.cloud.datastream.v1alpha1.ConnectionProfileOrBuilder> + com.google.cloud.datastream.v1alpha1.ConnectionProfile, com.google.cloud.datastream.v1alpha1.ConnectionProfile.Builder, com.google.cloud.datastream.v1alpha1.ConnectionProfileOrBuilder> getConnectionProfileFieldBuilder() { if (connectionProfileBuilder_ == null) { - connectionProfileBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.ConnectionProfile, - com.google.cloud.datastream.v1alpha1.ConnectionProfile.Builder, - com.google.cloud.datastream.v1alpha1.ConnectionProfileOrBuilder>( - getConnectionProfile(), getParentForChildren(), isClean()); + connectionProfileBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1alpha1.ConnectionProfile, com.google.cloud.datastream.v1alpha1.ConnectionProfile.Builder, com.google.cloud.datastream.v1alpha1.ConnectionProfileOrBuilder>( + getConnectionProfile(), + getParentForChildren(), + isClean()); connectionProfile_ = null; } return connectionProfileBuilder_; @@ -1176,8 +1027,6 @@ public Builder clearConnectionProfile() { private java.lang.Object requestId_ = ""; /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1193,13 +1042,13 @@ public Builder clearConnectionProfile() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -1208,8 +1057,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1225,14 +1072,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -1240,8 +1088,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1257,22 +1103,20 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { + public Builder setRequestId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1288,18 +1132,15 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1315,23 +1156,23 @@ public Builder clearRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = 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); } @@ -1341,32 +1182,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1alpha1.CreateConnectionProfileRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1alpha1.CreateConnectionProfileRequest) - private static final com.google.cloud.datastream.v1alpha1.CreateConnectionProfileRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.datastream.v1alpha1.CreateConnectionProfileRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1alpha1.CreateConnectionProfileRequest(); } - public static com.google.cloud.datastream.v1alpha1.CreateConnectionProfileRequest - getDefaultInstance() { + public static com.google.cloud.datastream.v1alpha1.CreateConnectionProfileRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateConnectionProfileRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateConnectionProfileRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateConnectionProfileRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateConnectionProfileRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1378,8 +1217,9 @@ public com.google.protobuf.Parser getParserForTy } @java.lang.Override - public com.google.cloud.datastream.v1alpha1.CreateConnectionProfileRequest - getDefaultInstanceForType() { + public com.google.cloud.datastream.v1alpha1.CreateConnectionProfileRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/CreateConnectionProfileRequestOrBuilder.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/CreateConnectionProfileRequestOrBuilder.java similarity index 68% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/CreateConnectionProfileRequestOrBuilder.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/CreateConnectionProfileRequestOrBuilder.java index 44f0c313..3e8e678d 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/CreateConnectionProfileRequestOrBuilder.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/CreateConnectionProfileRequestOrBuilder.java @@ -1,126 +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/datastream/v1alpha1/datastream.proto package com.google.cloud.datastream.v1alpha1; -public interface CreateConnectionProfileRequestOrBuilder - extends +public interface CreateConnectionProfileRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1alpha1.CreateConnectionProfileRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The parent that owns the collection of ConnectionProfiles.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The parent that owns the collection of ConnectionProfiles.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The connection profile identifier.
    * 
* * string connection_profile_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The connectionProfileId. */ java.lang.String getConnectionProfileId(); /** - * - * *
    * Required. The connection profile identifier.
    * 
* * string connection_profile_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for connectionProfileId. */ - com.google.protobuf.ByteString getConnectionProfileIdBytes(); + com.google.protobuf.ByteString + getConnectionProfileIdBytes(); /** - * - * *
    * Required. The connection profile resource to create.
    * 
* - * - * .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profile = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profile = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the connectionProfile field is set. */ boolean hasConnectionProfile(); /** - * - * *
    * Required. The connection profile resource to create.
    * 
* - * - * .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profile = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profile = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The connectionProfile. */ com.google.cloud.datastream.v1alpha1.ConnectionProfile getConnectionProfile(); /** - * - * *
    * Required. The connection profile resource to create.
    * 
* - * - * .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profile = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profile = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.datastream.v1alpha1.ConnectionProfileOrBuilder getConnectionProfileOrBuilder(); /** - * - * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -136,13 +90,10 @@ public interface CreateConnectionProfileRequestOrBuilder
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -158,8 +109,8 @@ public interface CreateConnectionProfileRequestOrBuilder
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); } diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/CreatePrivateConnectionRequest.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/CreatePrivateConnectionRequest.java similarity index 67% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/CreatePrivateConnectionRequest.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/CreatePrivateConnectionRequest.java index 2b47cb9c..90098ffa 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/CreatePrivateConnectionRequest.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/CreatePrivateConnectionRequest.java @@ -1,35 +1,20 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1alpha1/datastream.proto package com.google.cloud.datastream.v1alpha1; -/** Protobuf type {@code google.cloud.datastream.v1alpha1.CreatePrivateConnectionRequest} */ -public final class CreatePrivateConnectionRequest extends com.google.protobuf.GeneratedMessageV3 - implements +/** + * Protobuf type {@code google.cloud.datastream.v1alpha1.CreatePrivateConnectionRequest} + */ +public final class CreatePrivateConnectionRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1alpha1.CreatePrivateConnectionRequest) CreatePrivateConnectionRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreatePrivateConnectionRequest.newBuilder() to construct. - private CreatePrivateConnectionRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private CreatePrivateConnectionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreatePrivateConnectionRequest() { parent_ = ""; privateConnectionId_ = ""; @@ -38,15 +23,16 @@ private CreatePrivateConnectionRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreatePrivateConnectionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreatePrivateConnectionRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -65,51 +51,44 @@ private CreatePrivateConnectionRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - privateConnectionId_ = s; - break; + privateConnectionId_ = s; + break; + } + case 26: { + com.google.cloud.datastream.v1alpha1.PrivateConnection.Builder subBuilder = null; + if (privateConnection_ != null) { + subBuilder = privateConnection_.toBuilder(); } - case 26: - { - com.google.cloud.datastream.v1alpha1.PrivateConnection.Builder subBuilder = null; - if (privateConnection_ != null) { - subBuilder = privateConnection_.toBuilder(); - } - privateConnection_ = - input.readMessage( - com.google.cloud.datastream.v1alpha1.PrivateConnection.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(privateConnection_); - privateConnection_ = subBuilder.buildPartial(); - } - - break; + privateConnection_ = input.readMessage(com.google.cloud.datastream.v1alpha1.PrivateConnection.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(privateConnection_); + privateConnection_ = subBuilder.buildPartial(); } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - requestId_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + requestId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -117,41 +96,34 @@ private CreatePrivateConnectionRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_CreatePrivateConnectionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_CreatePrivateConnectionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_CreatePrivateConnectionRequest_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_CreatePrivateConnectionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.CreatePrivateConnectionRequest.class, - com.google.cloud.datastream.v1alpha1.CreatePrivateConnectionRequest.Builder.class); + com.google.cloud.datastream.v1alpha1.CreatePrivateConnectionRequest.class, com.google.cloud.datastream.v1alpha1.CreatePrivateConnectionRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The parent that owns the collection of PrivateConnections.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -160,31 +132,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The parent that owns the collection of PrivateConnections.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -195,14 +165,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PRIVATE_CONNECTION_ID_FIELD_NUMBER = 2; private volatile java.lang.Object privateConnectionId_; /** - * - * *
    * Required. The private connectivity identifier.
    * 
* * string private_connection_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The privateConnectionId. */ @java.lang.Override @@ -211,29 +178,29 @@ public java.lang.String getPrivateConnectionId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); privateConnectionId_ = s; return s; } } /** - * - * *
    * Required. The private connectivity identifier.
    * 
* * string private_connection_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for privateConnectionId. */ @java.lang.Override - public com.google.protobuf.ByteString getPrivateConnectionIdBytes() { + public com.google.protobuf.ByteString + getPrivateConnectionIdBytes() { java.lang.Object ref = privateConnectionId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); privateConnectionId_ = b; return b; } else { @@ -244,16 +211,11 @@ public com.google.protobuf.ByteString getPrivateConnectionIdBytes() { public static final int PRIVATE_CONNECTION_FIELD_NUMBER = 3; private com.google.cloud.datastream.v1alpha1.PrivateConnection privateConnection_; /** - * - * *
    * Required. The Private Connectivity resource to create.
    * 
* - * - * .google.cloud.datastream.v1alpha1.PrivateConnection private_connection = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datastream.v1alpha1.PrivateConnection private_connection = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the privateConnection field is set. */ @java.lang.Override @@ -261,46 +223,32 @@ public boolean hasPrivateConnection() { return privateConnection_ != null; } /** - * - * *
    * Required. The Private Connectivity resource to create.
    * 
* - * - * .google.cloud.datastream.v1alpha1.PrivateConnection private_connection = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datastream.v1alpha1.PrivateConnection private_connection = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The privateConnection. */ @java.lang.Override public com.google.cloud.datastream.v1alpha1.PrivateConnection getPrivateConnection() { - return privateConnection_ == null - ? com.google.cloud.datastream.v1alpha1.PrivateConnection.getDefaultInstance() - : privateConnection_; + return privateConnection_ == null ? com.google.cloud.datastream.v1alpha1.PrivateConnection.getDefaultInstance() : privateConnection_; } /** - * - * *
    * Required. The Private Connectivity resource to create.
    * 
* - * - * .google.cloud.datastream.v1alpha1.PrivateConnection private_connection = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1alpha1.PrivateConnection private_connection = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.datastream.v1alpha1.PrivateConnectionOrBuilder - getPrivateConnectionOrBuilder() { + public com.google.cloud.datastream.v1alpha1.PrivateConnectionOrBuilder getPrivateConnectionOrBuilder() { return getPrivateConnection(); } public static final int REQUEST_ID_FIELD_NUMBER = 4; private volatile java.lang.Object requestId_; /** - * - * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -316,7 +264,6 @@ public com.google.cloud.datastream.v1alpha1.PrivateConnection getPrivateConnecti
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -325,15 +272,14 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** - * - * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -349,15 +295,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -366,7 +313,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -378,7 +324,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_); } @@ -407,7 +354,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, privateConnectionId_); } if (privateConnection_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getPrivateConnection()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getPrivateConnection()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, requestId_); @@ -420,21 +368,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.datastream.v1alpha1.CreatePrivateConnectionRequest)) { return super.equals(obj); } - com.google.cloud.datastream.v1alpha1.CreatePrivateConnectionRequest other = - (com.google.cloud.datastream.v1alpha1.CreatePrivateConnectionRequest) obj; + com.google.cloud.datastream.v1alpha1.CreatePrivateConnectionRequest other = (com.google.cloud.datastream.v1alpha1.CreatePrivateConnectionRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getPrivateConnectionId().equals(other.getPrivateConnectionId())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getPrivateConnectionId() + .equals(other.getPrivateConnectionId())) return false; if (hasPrivateConnection() != other.hasPrivateConnection()) return false; if (hasPrivateConnection()) { - if (!getPrivateConnection().equals(other.getPrivateConnection())) return false; + if (!getPrivateConnection() + .equals(other.getPrivateConnection())) return false; } - if (!getRequestId().equals(other.getRequestId())) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -462,137 +413,130 @@ public int hashCode() { } public static com.google.cloud.datastream.v1alpha1.CreatePrivateConnectionRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.CreatePrivateConnectionRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.CreatePrivateConnectionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.CreatePrivateConnectionRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.CreatePrivateConnectionRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.datastream.v1alpha1.CreatePrivateConnectionRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.CreatePrivateConnectionRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.CreatePrivateConnectionRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.CreatePrivateConnectionRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.CreatePrivateConnectionRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.CreatePrivateConnectionRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.CreatePrivateConnectionRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.datastream.v1alpha1.CreatePrivateConnectionRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.datastream.v1alpha1.CreatePrivateConnectionRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.CreatePrivateConnectionRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.CreatePrivateConnectionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datastream.v1alpha1.CreatePrivateConnectionRequest prototype) { + public static Builder newBuilder(com.google.cloud.datastream.v1alpha1.CreatePrivateConnectionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } - /** Protobuf type {@code google.cloud.datastream.v1alpha1.CreatePrivateConnectionRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + /** + * Protobuf type {@code google.cloud.datastream.v1alpha1.CreatePrivateConnectionRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1alpha1.CreatePrivateConnectionRequest) com.google.cloud.datastream.v1alpha1.CreatePrivateConnectionRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_CreatePrivateConnectionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_CreatePrivateConnectionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_CreatePrivateConnectionRequest_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_CreatePrivateConnectionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.CreatePrivateConnectionRequest.class, - com.google.cloud.datastream.v1alpha1.CreatePrivateConnectionRequest.Builder.class); + com.google.cloud.datastream.v1alpha1.CreatePrivateConnectionRequest.class, com.google.cloud.datastream.v1alpha1.CreatePrivateConnectionRequest.Builder.class); } - // Construct using - // com.google.cloud.datastream.v1alpha1.CreatePrivateConnectionRequest.newBuilder() + // Construct using com.google.cloud.datastream.v1alpha1.CreatePrivateConnectionRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -612,16 +556,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_CreatePrivateConnectionRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_CreatePrivateConnectionRequest_descriptor; } @java.lang.Override - public com.google.cloud.datastream.v1alpha1.CreatePrivateConnectionRequest - getDefaultInstanceForType() { - return com.google.cloud.datastream.v1alpha1.CreatePrivateConnectionRequest - .getDefaultInstance(); + public com.google.cloud.datastream.v1alpha1.CreatePrivateConnectionRequest getDefaultInstanceForType() { + return com.google.cloud.datastream.v1alpha1.CreatePrivateConnectionRequest.getDefaultInstance(); } @java.lang.Override @@ -635,8 +577,7 @@ public com.google.cloud.datastream.v1alpha1.CreatePrivateConnectionRequest build @java.lang.Override public com.google.cloud.datastream.v1alpha1.CreatePrivateConnectionRequest buildPartial() { - com.google.cloud.datastream.v1alpha1.CreatePrivateConnectionRequest result = - new com.google.cloud.datastream.v1alpha1.CreatePrivateConnectionRequest(this); + com.google.cloud.datastream.v1alpha1.CreatePrivateConnectionRequest result = new com.google.cloud.datastream.v1alpha1.CreatePrivateConnectionRequest(this); result.parent_ = parent_; result.privateConnectionId_ = privateConnectionId_; if (privateConnectionBuilder_ == null) { @@ -653,51 +594,46 @@ public com.google.cloud.datastream.v1alpha1.CreatePrivateConnectionRequest build public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1alpha1.CreatePrivateConnectionRequest) { - return mergeFrom( - (com.google.cloud.datastream.v1alpha1.CreatePrivateConnectionRequest) other); + return mergeFrom((com.google.cloud.datastream.v1alpha1.CreatePrivateConnectionRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.datastream.v1alpha1.CreatePrivateConnectionRequest other) { - if (other - == com.google.cloud.datastream.v1alpha1.CreatePrivateConnectionRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.datastream.v1alpha1.CreatePrivateConnectionRequest other) { + if (other == com.google.cloud.datastream.v1alpha1.CreatePrivateConnectionRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -732,9 +668,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datastream.v1alpha1.CreatePrivateConnectionRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datastream.v1alpha1.CreatePrivateConnectionRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -746,22 +680,18 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent that owns the collection of PrivateConnections.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -770,23 +700,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent that owns the collection of PrivateConnections.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -794,67 +721,54 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent that owns the collection of PrivateConnections.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The parent that owns the collection of PrivateConnections.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The parent that owns the collection of PrivateConnections.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -862,20 +776,18 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object privateConnectionId_ = ""; /** - * - * *
      * Required. The private connectivity identifier.
      * 
* * string private_connection_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The privateConnectionId. */ public java.lang.String getPrivateConnectionId() { java.lang.Object ref = privateConnectionId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); privateConnectionId_ = s; return s; @@ -884,21 +796,20 @@ public java.lang.String getPrivateConnectionId() { } } /** - * - * *
      * Required. The private connectivity identifier.
      * 
* * string private_connection_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for privateConnectionId. */ - public com.google.protobuf.ByteString getPrivateConnectionIdBytes() { + public com.google.protobuf.ByteString + getPrivateConnectionIdBytes() { java.lang.Object ref = privateConnectionId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); privateConnectionId_ = b; return b; } else { @@ -906,61 +817,54 @@ public com.google.protobuf.ByteString getPrivateConnectionIdBytes() { } } /** - * - * *
      * Required. The private connectivity identifier.
      * 
* * string private_connection_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The privateConnectionId to set. * @return This builder for chaining. */ - public Builder setPrivateConnectionId(java.lang.String value) { + public Builder setPrivateConnectionId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + privateConnectionId_ = value; onChanged(); return this; } /** - * - * *
      * Required. The private connectivity identifier.
      * 
* * string private_connection_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearPrivateConnectionId() { - + privateConnectionId_ = getDefaultInstance().getPrivateConnectionId(); onChanged(); return this; } /** - * - * *
      * Required. The private connectivity identifier.
      * 
* * string private_connection_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for privateConnectionId to set. * @return This builder for chaining. */ - public Builder setPrivateConnectionIdBytes(com.google.protobuf.ByteString value) { + public Builder setPrivateConnectionIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + privateConnectionId_ = value; onChanged(); return this; @@ -968,61 +872,41 @@ public Builder setPrivateConnectionIdBytes(com.google.protobuf.ByteString value) private com.google.cloud.datastream.v1alpha1.PrivateConnection privateConnection_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.PrivateConnection, - com.google.cloud.datastream.v1alpha1.PrivateConnection.Builder, - com.google.cloud.datastream.v1alpha1.PrivateConnectionOrBuilder> - privateConnectionBuilder_; + com.google.cloud.datastream.v1alpha1.PrivateConnection, com.google.cloud.datastream.v1alpha1.PrivateConnection.Builder, com.google.cloud.datastream.v1alpha1.PrivateConnectionOrBuilder> privateConnectionBuilder_; /** - * - * *
      * Required. The Private Connectivity resource to create.
      * 
* - * - * .google.cloud.datastream.v1alpha1.PrivateConnection private_connection = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datastream.v1alpha1.PrivateConnection private_connection = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the privateConnection field is set. */ public boolean hasPrivateConnection() { return privateConnectionBuilder_ != null || privateConnection_ != null; } /** - * - * *
      * Required. The Private Connectivity resource to create.
      * 
* - * - * .google.cloud.datastream.v1alpha1.PrivateConnection private_connection = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datastream.v1alpha1.PrivateConnection private_connection = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The privateConnection. */ public com.google.cloud.datastream.v1alpha1.PrivateConnection getPrivateConnection() { if (privateConnectionBuilder_ == null) { - return privateConnection_ == null - ? com.google.cloud.datastream.v1alpha1.PrivateConnection.getDefaultInstance() - : privateConnection_; + return privateConnection_ == null ? com.google.cloud.datastream.v1alpha1.PrivateConnection.getDefaultInstance() : privateConnection_; } else { return privateConnectionBuilder_.getMessage(); } } /** - * - * *
      * Required. The Private Connectivity resource to create.
      * 
* - * - * .google.cloud.datastream.v1alpha1.PrivateConnection private_connection = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1alpha1.PrivateConnection private_connection = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setPrivateConnection( - com.google.cloud.datastream.v1alpha1.PrivateConnection value) { + public Builder setPrivateConnection(com.google.cloud.datastream.v1alpha1.PrivateConnection value) { if (privateConnectionBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1036,15 +920,11 @@ public Builder setPrivateConnection( return this; } /** - * - * *
      * Required. The Private Connectivity resource to create.
      * 
* - * - * .google.cloud.datastream.v1alpha1.PrivateConnection private_connection = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1alpha1.PrivateConnection private_connection = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setPrivateConnection( com.google.cloud.datastream.v1alpha1.PrivateConnection.Builder builderForValue) { @@ -1058,24 +938,17 @@ public Builder setPrivateConnection( return this; } /** - * - * *
      * Required. The Private Connectivity resource to create.
      * 
* - * - * .google.cloud.datastream.v1alpha1.PrivateConnection private_connection = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1alpha1.PrivateConnection private_connection = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergePrivateConnection( - com.google.cloud.datastream.v1alpha1.PrivateConnection value) { + public Builder mergePrivateConnection(com.google.cloud.datastream.v1alpha1.PrivateConnection value) { if (privateConnectionBuilder_ == null) { if (privateConnection_ != null) { privateConnection_ = - com.google.cloud.datastream.v1alpha1.PrivateConnection.newBuilder(privateConnection_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.datastream.v1alpha1.PrivateConnection.newBuilder(privateConnection_).mergeFrom(value).buildPartial(); } else { privateConnection_ = value; } @@ -1087,15 +960,11 @@ public Builder mergePrivateConnection( return this; } /** - * - * *
      * Required. The Private Connectivity resource to create.
      * 
* - * - * .google.cloud.datastream.v1alpha1.PrivateConnection private_connection = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1alpha1.PrivateConnection private_connection = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearPrivateConnection() { if (privateConnectionBuilder_ == null) { @@ -1109,66 +978,48 @@ public Builder clearPrivateConnection() { return this; } /** - * - * *
      * Required. The Private Connectivity resource to create.
      * 
* - * - * .google.cloud.datastream.v1alpha1.PrivateConnection private_connection = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1alpha1.PrivateConnection private_connection = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.datastream.v1alpha1.PrivateConnection.Builder - getPrivateConnectionBuilder() { - + public com.google.cloud.datastream.v1alpha1.PrivateConnection.Builder getPrivateConnectionBuilder() { + onChanged(); return getPrivateConnectionFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The Private Connectivity resource to create.
      * 
* - * - * .google.cloud.datastream.v1alpha1.PrivateConnection private_connection = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1alpha1.PrivateConnection private_connection = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.datastream.v1alpha1.PrivateConnectionOrBuilder - getPrivateConnectionOrBuilder() { + public com.google.cloud.datastream.v1alpha1.PrivateConnectionOrBuilder getPrivateConnectionOrBuilder() { if (privateConnectionBuilder_ != null) { return privateConnectionBuilder_.getMessageOrBuilder(); } else { - return privateConnection_ == null - ? com.google.cloud.datastream.v1alpha1.PrivateConnection.getDefaultInstance() - : privateConnection_; + return privateConnection_ == null ? + com.google.cloud.datastream.v1alpha1.PrivateConnection.getDefaultInstance() : privateConnection_; } } /** - * - * *
      * Required. The Private Connectivity resource to create.
      * 
* - * - * .google.cloud.datastream.v1alpha1.PrivateConnection private_connection = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1alpha1.PrivateConnection private_connection = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.PrivateConnection, - com.google.cloud.datastream.v1alpha1.PrivateConnection.Builder, - com.google.cloud.datastream.v1alpha1.PrivateConnectionOrBuilder> + com.google.cloud.datastream.v1alpha1.PrivateConnection, com.google.cloud.datastream.v1alpha1.PrivateConnection.Builder, com.google.cloud.datastream.v1alpha1.PrivateConnectionOrBuilder> getPrivateConnectionFieldBuilder() { if (privateConnectionBuilder_ == null) { - privateConnectionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.PrivateConnection, - com.google.cloud.datastream.v1alpha1.PrivateConnection.Builder, - com.google.cloud.datastream.v1alpha1.PrivateConnectionOrBuilder>( - getPrivateConnection(), getParentForChildren(), isClean()); + privateConnectionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1alpha1.PrivateConnection, com.google.cloud.datastream.v1alpha1.PrivateConnection.Builder, com.google.cloud.datastream.v1alpha1.PrivateConnectionOrBuilder>( + getPrivateConnection(), + getParentForChildren(), + isClean()); privateConnection_ = null; } return privateConnectionBuilder_; @@ -1176,8 +1027,6 @@ public Builder clearPrivateConnection() { private java.lang.Object requestId_ = ""; /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1193,13 +1042,13 @@ public Builder clearPrivateConnection() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -1208,8 +1057,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1225,14 +1072,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -1240,8 +1088,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1257,22 +1103,20 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { + public Builder setRequestId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1288,18 +1132,15 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1315,23 +1156,23 @@ public Builder clearRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = 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); } @@ -1341,32 +1182,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1alpha1.CreatePrivateConnectionRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1alpha1.CreatePrivateConnectionRequest) - private static final com.google.cloud.datastream.v1alpha1.CreatePrivateConnectionRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.datastream.v1alpha1.CreatePrivateConnectionRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1alpha1.CreatePrivateConnectionRequest(); } - public static com.google.cloud.datastream.v1alpha1.CreatePrivateConnectionRequest - getDefaultInstance() { + public static com.google.cloud.datastream.v1alpha1.CreatePrivateConnectionRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreatePrivateConnectionRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreatePrivateConnectionRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreatePrivateConnectionRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreatePrivateConnectionRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1378,8 +1217,9 @@ public com.google.protobuf.Parser getParserForTy } @java.lang.Override - public com.google.cloud.datastream.v1alpha1.CreatePrivateConnectionRequest - getDefaultInstanceForType() { + public com.google.cloud.datastream.v1alpha1.CreatePrivateConnectionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/CreatePrivateConnectionRequestOrBuilder.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/CreatePrivateConnectionRequestOrBuilder.java similarity index 68% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/CreatePrivateConnectionRequestOrBuilder.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/CreatePrivateConnectionRequestOrBuilder.java index 50b7ee52..672386df 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/CreatePrivateConnectionRequestOrBuilder.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/CreatePrivateConnectionRequestOrBuilder.java @@ -1,126 +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/datastream/v1alpha1/datastream.proto package com.google.cloud.datastream.v1alpha1; -public interface CreatePrivateConnectionRequestOrBuilder - extends +public interface CreatePrivateConnectionRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1alpha1.CreatePrivateConnectionRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The parent that owns the collection of PrivateConnections.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The parent that owns the collection of PrivateConnections.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The private connectivity identifier.
    * 
* * string private_connection_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The privateConnectionId. */ java.lang.String getPrivateConnectionId(); /** - * - * *
    * Required. The private connectivity identifier.
    * 
* * string private_connection_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for privateConnectionId. */ - com.google.protobuf.ByteString getPrivateConnectionIdBytes(); + com.google.protobuf.ByteString + getPrivateConnectionIdBytes(); /** - * - * *
    * Required. The Private Connectivity resource to create.
    * 
* - * - * .google.cloud.datastream.v1alpha1.PrivateConnection private_connection = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datastream.v1alpha1.PrivateConnection private_connection = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the privateConnection field is set. */ boolean hasPrivateConnection(); /** - * - * *
    * Required. The Private Connectivity resource to create.
    * 
* - * - * .google.cloud.datastream.v1alpha1.PrivateConnection private_connection = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datastream.v1alpha1.PrivateConnection private_connection = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The privateConnection. */ com.google.cloud.datastream.v1alpha1.PrivateConnection getPrivateConnection(); /** - * - * *
    * Required. The Private Connectivity resource to create.
    * 
* - * - * .google.cloud.datastream.v1alpha1.PrivateConnection private_connection = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1alpha1.PrivateConnection private_connection = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.datastream.v1alpha1.PrivateConnectionOrBuilder getPrivateConnectionOrBuilder(); /** - * - * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -136,13 +90,10 @@ public interface CreatePrivateConnectionRequestOrBuilder
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -158,8 +109,8 @@ public interface CreatePrivateConnectionRequestOrBuilder
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); } diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/CreateRouteRequest.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/CreateRouteRequest.java similarity index 69% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/CreateRouteRequest.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/CreateRouteRequest.java index 4d58b6ec..239d8825 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/CreateRouteRequest.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/CreateRouteRequest.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/datastream/v1alpha1/datastream.proto package com.google.cloud.datastream.v1alpha1; /** - * - * *
  * route creation request
  * 
* * Protobuf type {@code google.cloud.datastream.v1alpha1.CreateRouteRequest} */ -public final class CreateRouteRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateRouteRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1alpha1.CreateRouteRequest) CreateRouteRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateRouteRequest.newBuilder() to construct. private CreateRouteRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateRouteRequest() { parent_ = ""; routeId_ = ""; @@ -45,15 +27,16 @@ private CreateRouteRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateRouteRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateRouteRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,50 +55,44 @@ private CreateRouteRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - routeId_ = s; - break; + routeId_ = s; + break; + } + case 26: { + com.google.cloud.datastream.v1alpha1.Route.Builder subBuilder = null; + if (route_ != null) { + subBuilder = route_.toBuilder(); } - case 26: - { - com.google.cloud.datastream.v1alpha1.Route.Builder subBuilder = null; - if (route_ != null) { - subBuilder = route_.toBuilder(); - } - route_ = - input.readMessage( - com.google.cloud.datastream.v1alpha1.Route.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(route_); - route_ = subBuilder.buildPartial(); - } - - break; + route_ = input.readMessage(com.google.cloud.datastream.v1alpha1.Route.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(route_); + route_ = subBuilder.buildPartial(); } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - requestId_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + requestId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -123,41 +100,34 @@ private CreateRouteRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_CreateRouteRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_CreateRouteRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_CreateRouteRequest_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_CreateRouteRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.CreateRouteRequest.class, - com.google.cloud.datastream.v1alpha1.CreateRouteRequest.Builder.class); + com.google.cloud.datastream.v1alpha1.CreateRouteRequest.class, com.google.cloud.datastream.v1alpha1.CreateRouteRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The parent that owns the collection of Routes.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -166,31 +136,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The parent that owns the collection of Routes.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -201,14 +169,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int ROUTE_ID_FIELD_NUMBER = 2; private volatile java.lang.Object routeId_; /** - * - * *
    * Required. The Route identifier.
    * 
* * string route_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The routeId. */ @java.lang.Override @@ -217,29 +182,29 @@ public java.lang.String getRouteId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); routeId_ = s; return s; } } /** - * - * *
    * Required. The Route identifier.
    * 
* * string route_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for routeId. */ @java.lang.Override - public com.google.protobuf.ByteString getRouteIdBytes() { + public com.google.protobuf.ByteString + getRouteIdBytes() { java.lang.Object ref = routeId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); routeId_ = b; return b; } else { @@ -250,16 +215,11 @@ public com.google.protobuf.ByteString getRouteIdBytes() { public static final int ROUTE_FIELD_NUMBER = 3; private com.google.cloud.datastream.v1alpha1.Route route_; /** - * - * *
    * Required. The Route resource to create.
    * 
* - * - * .google.cloud.datastream.v1alpha1.Route route = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datastream.v1alpha1.Route route = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the route field is set. */ @java.lang.Override @@ -267,34 +227,23 @@ public boolean hasRoute() { return route_ != null; } /** - * - * *
    * Required. The Route resource to create.
    * 
* - * - * .google.cloud.datastream.v1alpha1.Route route = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datastream.v1alpha1.Route route = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The route. */ @java.lang.Override public com.google.cloud.datastream.v1alpha1.Route getRoute() { - return route_ == null - ? com.google.cloud.datastream.v1alpha1.Route.getDefaultInstance() - : route_; + return route_ == null ? com.google.cloud.datastream.v1alpha1.Route.getDefaultInstance() : route_; } /** - * - * *
    * Required. The Route resource to create.
    * 
* - * - * .google.cloud.datastream.v1alpha1.Route route = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1alpha1.Route route = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.datastream.v1alpha1.RouteOrBuilder getRouteOrBuilder() { @@ -304,8 +253,6 @@ public com.google.cloud.datastream.v1alpha1.RouteOrBuilder getRouteOrBuilder() { public static final int REQUEST_ID_FIELD_NUMBER = 4; private volatile java.lang.Object requestId_; /** - * - * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -321,7 +268,6 @@ public com.google.cloud.datastream.v1alpha1.RouteOrBuilder getRouteOrBuilder() {
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -330,15 +276,14 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** - * - * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -354,15 +299,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -371,7 +317,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -383,7 +328,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_); } @@ -412,7 +358,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, routeId_); } if (route_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getRoute()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getRoute()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, requestId_); @@ -425,21 +372,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.datastream.v1alpha1.CreateRouteRequest)) { return super.equals(obj); } - com.google.cloud.datastream.v1alpha1.CreateRouteRequest other = - (com.google.cloud.datastream.v1alpha1.CreateRouteRequest) obj; + com.google.cloud.datastream.v1alpha1.CreateRouteRequest other = (com.google.cloud.datastream.v1alpha1.CreateRouteRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getRouteId().equals(other.getRouteId())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getRouteId() + .equals(other.getRouteId())) return false; if (hasRoute() != other.hasRoute()) return false; if (hasRoute()) { - if (!getRoute().equals(other.getRoute())) return false; + if (!getRoute() + .equals(other.getRoute())) return false; } - if (!getRequestId().equals(other.getRequestId())) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -467,127 +417,117 @@ public int hashCode() { } public static com.google.cloud.datastream.v1alpha1.CreateRouteRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.CreateRouteRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.CreateRouteRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.CreateRouteRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.CreateRouteRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.CreateRouteRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.CreateRouteRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.CreateRouteRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.CreateRouteRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.CreateRouteRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.CreateRouteRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.CreateRouteRequest 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.datastream.v1alpha1.CreateRouteRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.CreateRouteRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datastream.v1alpha1.CreateRouteRequest prototype) { + public static Builder newBuilder(com.google.cloud.datastream.v1alpha1.CreateRouteRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * route creation request
    * 
* * Protobuf type {@code google.cloud.datastream.v1alpha1.CreateRouteRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1alpha1.CreateRouteRequest) com.google.cloud.datastream.v1alpha1.CreateRouteRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_CreateRouteRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_CreateRouteRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_CreateRouteRequest_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_CreateRouteRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.CreateRouteRequest.class, - com.google.cloud.datastream.v1alpha1.CreateRouteRequest.Builder.class); + com.google.cloud.datastream.v1alpha1.CreateRouteRequest.class, com.google.cloud.datastream.v1alpha1.CreateRouteRequest.Builder.class); } // Construct using com.google.cloud.datastream.v1alpha1.CreateRouteRequest.newBuilder() @@ -595,15 +535,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -623,9 +564,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_CreateRouteRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_CreateRouteRequest_descriptor; } @java.lang.Override @@ -644,8 +585,7 @@ public com.google.cloud.datastream.v1alpha1.CreateRouteRequest build() { @java.lang.Override public com.google.cloud.datastream.v1alpha1.CreateRouteRequest buildPartial() { - com.google.cloud.datastream.v1alpha1.CreateRouteRequest result = - new com.google.cloud.datastream.v1alpha1.CreateRouteRequest(this); + com.google.cloud.datastream.v1alpha1.CreateRouteRequest result = new com.google.cloud.datastream.v1alpha1.CreateRouteRequest(this); result.parent_ = parent_; result.routeId_ = routeId_; if (routeBuilder_ == null) { @@ -662,39 +602,38 @@ public com.google.cloud.datastream.v1alpha1.CreateRouteRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1alpha1.CreateRouteRequest) { - return mergeFrom((com.google.cloud.datastream.v1alpha1.CreateRouteRequest) other); + return mergeFrom((com.google.cloud.datastream.v1alpha1.CreateRouteRequest)other); } else { super.mergeFrom(other); return this; @@ -702,8 +641,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datastream.v1alpha1.CreateRouteRequest other) { - if (other == com.google.cloud.datastream.v1alpha1.CreateRouteRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.datastream.v1alpha1.CreateRouteRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -738,8 +676,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datastream.v1alpha1.CreateRouteRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datastream.v1alpha1.CreateRouteRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -751,22 +688,18 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent that owns the collection of Routes.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -775,23 +708,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent that owns the collection of Routes.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -799,67 +729,54 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent that owns the collection of Routes.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The parent that owns the collection of Routes.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The parent that owns the collection of Routes.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -867,20 +784,18 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object routeId_ = ""; /** - * - * *
      * Required. The Route identifier.
      * 
* * string route_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The routeId. */ public java.lang.String getRouteId() { java.lang.Object ref = routeId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); routeId_ = s; return s; @@ -889,21 +804,20 @@ public java.lang.String getRouteId() { } } /** - * - * *
      * Required. The Route identifier.
      * 
* * string route_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for routeId. */ - public com.google.protobuf.ByteString getRouteIdBytes() { + public com.google.protobuf.ByteString + getRouteIdBytes() { java.lang.Object ref = routeId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); routeId_ = b; return b; } else { @@ -911,61 +825,54 @@ public com.google.protobuf.ByteString getRouteIdBytes() { } } /** - * - * *
      * Required. The Route identifier.
      * 
* * string route_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The routeId to set. * @return This builder for chaining. */ - public Builder setRouteId(java.lang.String value) { + public Builder setRouteId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + routeId_ = value; onChanged(); return this; } /** - * - * *
      * Required. The Route identifier.
      * 
* * string route_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearRouteId() { - + routeId_ = getDefaultInstance().getRouteId(); onChanged(); return this; } /** - * - * *
      * Required. The Route identifier.
      * 
* * string route_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for routeId to set. * @return This builder for chaining. */ - public Builder setRouteIdBytes(com.google.protobuf.ByteString value) { + public Builder setRouteIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + routeId_ = value; onChanged(); return this; @@ -973,58 +880,39 @@ public Builder setRouteIdBytes(com.google.protobuf.ByteString value) { private com.google.cloud.datastream.v1alpha1.Route route_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.Route, - com.google.cloud.datastream.v1alpha1.Route.Builder, - com.google.cloud.datastream.v1alpha1.RouteOrBuilder> - routeBuilder_; + com.google.cloud.datastream.v1alpha1.Route, com.google.cloud.datastream.v1alpha1.Route.Builder, com.google.cloud.datastream.v1alpha1.RouteOrBuilder> routeBuilder_; /** - * - * *
      * Required. The Route resource to create.
      * 
* - * - * .google.cloud.datastream.v1alpha1.Route route = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datastream.v1alpha1.Route route = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the route field is set. */ public boolean hasRoute() { return routeBuilder_ != null || route_ != null; } /** - * - * *
      * Required. The Route resource to create.
      * 
* - * - * .google.cloud.datastream.v1alpha1.Route route = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datastream.v1alpha1.Route route = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The route. */ public com.google.cloud.datastream.v1alpha1.Route getRoute() { if (routeBuilder_ == null) { - return route_ == null - ? com.google.cloud.datastream.v1alpha1.Route.getDefaultInstance() - : route_; + return route_ == null ? com.google.cloud.datastream.v1alpha1.Route.getDefaultInstance() : route_; } else { return routeBuilder_.getMessage(); } } /** - * - * *
      * Required. The Route resource to create.
      * 
* - * - * .google.cloud.datastream.v1alpha1.Route route = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1alpha1.Route route = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setRoute(com.google.cloud.datastream.v1alpha1.Route value) { if (routeBuilder_ == null) { @@ -1040,17 +928,14 @@ public Builder setRoute(com.google.cloud.datastream.v1alpha1.Route value) { return this; } /** - * - * *
      * Required. The Route resource to create.
      * 
* - * - * .google.cloud.datastream.v1alpha1.Route route = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1alpha1.Route route = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setRoute(com.google.cloud.datastream.v1alpha1.Route.Builder builderForValue) { + public Builder setRoute( + com.google.cloud.datastream.v1alpha1.Route.Builder builderForValue) { if (routeBuilder_ == null) { route_ = builderForValue.build(); onChanged(); @@ -1061,23 +946,17 @@ public Builder setRoute(com.google.cloud.datastream.v1alpha1.Route.Builder build return this; } /** - * - * *
      * Required. The Route resource to create.
      * 
* - * - * .google.cloud.datastream.v1alpha1.Route route = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1alpha1.Route route = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeRoute(com.google.cloud.datastream.v1alpha1.Route value) { if (routeBuilder_ == null) { if (route_ != null) { route_ = - com.google.cloud.datastream.v1alpha1.Route.newBuilder(route_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.datastream.v1alpha1.Route.newBuilder(route_).mergeFrom(value).buildPartial(); } else { route_ = value; } @@ -1089,15 +968,11 @@ public Builder mergeRoute(com.google.cloud.datastream.v1alpha1.Route value) { return this; } /** - * - * *
      * Required. The Route resource to create.
      * 
* - * - * .google.cloud.datastream.v1alpha1.Route route = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1alpha1.Route route = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearRoute() { if (routeBuilder_ == null) { @@ -1111,64 +986,48 @@ public Builder clearRoute() { return this; } /** - * - * *
      * Required. The Route resource to create.
      * 
* - * - * .google.cloud.datastream.v1alpha1.Route route = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1alpha1.Route route = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.datastream.v1alpha1.Route.Builder getRouteBuilder() { - + onChanged(); return getRouteFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The Route resource to create.
      * 
* - * - * .google.cloud.datastream.v1alpha1.Route route = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1alpha1.Route route = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.datastream.v1alpha1.RouteOrBuilder getRouteOrBuilder() { if (routeBuilder_ != null) { return routeBuilder_.getMessageOrBuilder(); } else { - return route_ == null - ? com.google.cloud.datastream.v1alpha1.Route.getDefaultInstance() - : route_; + return route_ == null ? + com.google.cloud.datastream.v1alpha1.Route.getDefaultInstance() : route_; } } /** - * - * *
      * Required. The Route resource to create.
      * 
* - * - * .google.cloud.datastream.v1alpha1.Route route = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1alpha1.Route route = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.Route, - com.google.cloud.datastream.v1alpha1.Route.Builder, - com.google.cloud.datastream.v1alpha1.RouteOrBuilder> + com.google.cloud.datastream.v1alpha1.Route, com.google.cloud.datastream.v1alpha1.Route.Builder, com.google.cloud.datastream.v1alpha1.RouteOrBuilder> getRouteFieldBuilder() { if (routeBuilder_ == null) { - routeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.Route, - com.google.cloud.datastream.v1alpha1.Route.Builder, - com.google.cloud.datastream.v1alpha1.RouteOrBuilder>( - getRoute(), getParentForChildren(), isClean()); + routeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1alpha1.Route, com.google.cloud.datastream.v1alpha1.Route.Builder, com.google.cloud.datastream.v1alpha1.RouteOrBuilder>( + getRoute(), + getParentForChildren(), + isClean()); route_ = null; } return routeBuilder_; @@ -1176,8 +1035,6 @@ public com.google.cloud.datastream.v1alpha1.RouteOrBuilder getRouteOrBuilder() { private java.lang.Object requestId_ = ""; /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1193,13 +1050,13 @@ public com.google.cloud.datastream.v1alpha1.RouteOrBuilder getRouteOrBuilder() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -1208,8 +1065,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1225,14 +1080,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -1240,8 +1096,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1257,22 +1111,20 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { + public Builder setRequestId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1288,18 +1140,15 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1315,23 +1164,23 @@ public Builder clearRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = 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); } @@ -1341,12 +1190,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1alpha1.CreateRouteRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1alpha1.CreateRouteRequest) private static final com.google.cloud.datastream.v1alpha1.CreateRouteRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1alpha1.CreateRouteRequest(); } @@ -1355,16 +1204,16 @@ public static com.google.cloud.datastream.v1alpha1.CreateRouteRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateRouteRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateRouteRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateRouteRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateRouteRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1379,4 +1228,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datastream.v1alpha1.CreateRouteRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/CreateRouteRequestOrBuilder.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/CreateRouteRequestOrBuilder.java similarity index 68% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/CreateRouteRequestOrBuilder.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/CreateRouteRequestOrBuilder.java index 26aa1064..d7fef1c2 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/CreateRouteRequestOrBuilder.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/CreateRouteRequestOrBuilder.java @@ -1,126 +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/datastream/v1alpha1/datastream.proto package com.google.cloud.datastream.v1alpha1; -public interface CreateRouteRequestOrBuilder - extends +public interface CreateRouteRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1alpha1.CreateRouteRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The parent that owns the collection of Routes.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The parent that owns the collection of Routes.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The Route identifier.
    * 
* * string route_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The routeId. */ java.lang.String getRouteId(); /** - * - * *
    * Required. The Route identifier.
    * 
* * string route_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for routeId. */ - com.google.protobuf.ByteString getRouteIdBytes(); + com.google.protobuf.ByteString + getRouteIdBytes(); /** - * - * *
    * Required. The Route resource to create.
    * 
* - * - * .google.cloud.datastream.v1alpha1.Route route = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datastream.v1alpha1.Route route = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the route field is set. */ boolean hasRoute(); /** - * - * *
    * Required. The Route resource to create.
    * 
* - * - * .google.cloud.datastream.v1alpha1.Route route = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datastream.v1alpha1.Route route = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The route. */ com.google.cloud.datastream.v1alpha1.Route getRoute(); /** - * - * *
    * Required. The Route resource to create.
    * 
* - * - * .google.cloud.datastream.v1alpha1.Route route = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1alpha1.Route route = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.datastream.v1alpha1.RouteOrBuilder getRouteOrBuilder(); /** - * - * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -136,13 +90,10 @@ public interface CreateRouteRequestOrBuilder
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -158,8 +109,8 @@ public interface CreateRouteRequestOrBuilder
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); } diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/CreateStreamRequest.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/CreateStreamRequest.java similarity index 70% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/CreateStreamRequest.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/CreateStreamRequest.java index 6978cfc9..9b9ba824 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/CreateStreamRequest.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/CreateStreamRequest.java @@ -1,34 +1,20 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1alpha1/datastream.proto package com.google.cloud.datastream.v1alpha1; -/** Protobuf type {@code google.cloud.datastream.v1alpha1.CreateStreamRequest} */ -public final class CreateStreamRequest extends com.google.protobuf.GeneratedMessageV3 - implements +/** + * Protobuf type {@code google.cloud.datastream.v1alpha1.CreateStreamRequest} + */ +public final class CreateStreamRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1alpha1.CreateStreamRequest) CreateStreamRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateStreamRequest.newBuilder() to construct. private CreateStreamRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateStreamRequest() { parent_ = ""; streamId_ = ""; @@ -37,15 +23,16 @@ private CreateStreamRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateStreamRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateStreamRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -64,60 +51,54 @@ private CreateStreamRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - streamId_ = s; - break; + streamId_ = s; + break; + } + case 26: { + com.google.cloud.datastream.v1alpha1.Stream.Builder subBuilder = null; + if (stream_ != null) { + subBuilder = stream_.toBuilder(); } - case 26: - { - com.google.cloud.datastream.v1alpha1.Stream.Builder subBuilder = null; - if (stream_ != null) { - subBuilder = stream_.toBuilder(); - } - stream_ = - input.readMessage( - com.google.cloud.datastream.v1alpha1.Stream.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(stream_); - stream_ = subBuilder.buildPartial(); - } - - break; + stream_ = input.readMessage(com.google.cloud.datastream.v1alpha1.Stream.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(stream_); + stream_ = subBuilder.buildPartial(); } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - requestId_ = s; - break; - } - case 40: - { - validateOnly_ = input.readBool(); - break; - } - case 48: - { - force_ = input.readBool(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + requestId_ = s; + break; + } + case 40: { + + validateOnly_ = input.readBool(); + break; + } + case 48: { + + force_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -125,41 +106,34 @@ private CreateStreamRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_CreateStreamRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_CreateStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_CreateStreamRequest_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_CreateStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.CreateStreamRequest.class, - com.google.cloud.datastream.v1alpha1.CreateStreamRequest.Builder.class); + com.google.cloud.datastream.v1alpha1.CreateStreamRequest.class, com.google.cloud.datastream.v1alpha1.CreateStreamRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The parent that owns the collection of streams.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -168,31 +142,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The parent that owns the collection of streams.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -203,14 +175,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int STREAM_ID_FIELD_NUMBER = 2; private volatile java.lang.Object streamId_; /** - * - * *
    * Required. The stream identifier.
    * 
* * string stream_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The streamId. */ @java.lang.Override @@ -219,29 +188,29 @@ public java.lang.String getStreamId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); streamId_ = s; return s; } } /** - * - * *
    * Required. The stream identifier.
    * 
* * string stream_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for streamId. */ @java.lang.Override - public com.google.protobuf.ByteString getStreamIdBytes() { + public com.google.protobuf.ByteString + getStreamIdBytes() { java.lang.Object ref = streamId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); streamId_ = b; return b; } else { @@ -252,16 +221,11 @@ public com.google.protobuf.ByteString getStreamIdBytes() { public static final int STREAM_FIELD_NUMBER = 3; private com.google.cloud.datastream.v1alpha1.Stream stream_; /** - * - * *
    * Required. The stream resource to create.
    * 
* - * - * .google.cloud.datastream.v1alpha1.Stream stream = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datastream.v1alpha1.Stream stream = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the stream field is set. */ @java.lang.Override @@ -269,34 +233,23 @@ public boolean hasStream() { return stream_ != null; } /** - * - * *
    * Required. The stream resource to create.
    * 
* - * - * .google.cloud.datastream.v1alpha1.Stream stream = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datastream.v1alpha1.Stream stream = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The stream. */ @java.lang.Override public com.google.cloud.datastream.v1alpha1.Stream getStream() { - return stream_ == null - ? com.google.cloud.datastream.v1alpha1.Stream.getDefaultInstance() - : stream_; + return stream_ == null ? com.google.cloud.datastream.v1alpha1.Stream.getDefaultInstance() : stream_; } /** - * - * *
    * Required. The stream resource to create.
    * 
* - * - * .google.cloud.datastream.v1alpha1.Stream stream = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1alpha1.Stream stream = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.datastream.v1alpha1.StreamOrBuilder getStreamOrBuilder() { @@ -306,8 +259,6 @@ public com.google.cloud.datastream.v1alpha1.StreamOrBuilder getStreamOrBuilder() public static final int REQUEST_ID_FIELD_NUMBER = 4; private volatile java.lang.Object requestId_; /** - * - * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -323,7 +274,6 @@ public com.google.cloud.datastream.v1alpha1.StreamOrBuilder getStreamOrBuilder()
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -332,15 +282,14 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** - * - * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -356,15 +305,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -375,15 +325,12 @@ public com.google.protobuf.ByteString getRequestIdBytes() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 5; private boolean validateOnly_; /** - * - * *
    * Optional. Only validate the stream, but do not create any resources.
    * The default is false.
    * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -394,14 +341,11 @@ public boolean getValidateOnly() { public static final int FORCE_FIELD_NUMBER = 6; private boolean force_; /** - * - * *
    * Optional. Create the stream without validating it.
    * 
* * bool force = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The force. */ @java.lang.Override @@ -410,7 +354,6 @@ public boolean getForce() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -422,7 +365,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -457,16 +401,19 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, streamId_); } if (stream_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getStream()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getStream()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, requestId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, validateOnly_); } if (force_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, force_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(6, force_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -476,23 +423,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.datastream.v1alpha1.CreateStreamRequest)) { return super.equals(obj); } - com.google.cloud.datastream.v1alpha1.CreateStreamRequest other = - (com.google.cloud.datastream.v1alpha1.CreateStreamRequest) obj; + com.google.cloud.datastream.v1alpha1.CreateStreamRequest other = (com.google.cloud.datastream.v1alpha1.CreateStreamRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getStreamId().equals(other.getStreamId())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getStreamId() + .equals(other.getStreamId())) return false; if (hasStream() != other.hasStream()) return false; if (hasStream()) { - if (!getStream().equals(other.getStream())) return false; - } - if (!getRequestId().equals(other.getRequestId())) return false; - if (getValidateOnly() != other.getValidateOnly()) return false; - if (getForce() != other.getForce()) return false; + if (!getStream() + .equals(other.getStream())) return false; + } + if (!getRequestId() + .equals(other.getRequestId())) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; + if (getForce() + != other.getForce()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -515,128 +467,124 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().hashCode(); hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getValidateOnly()); hash = (37 * hash) + FORCE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getForce()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getForce()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.datastream.v1alpha1.CreateStreamRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.CreateStreamRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.CreateStreamRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.CreateStreamRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.CreateStreamRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.CreateStreamRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.CreateStreamRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.CreateStreamRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.CreateStreamRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.CreateStreamRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.CreateStreamRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.CreateStreamRequest 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.datastream.v1alpha1.CreateStreamRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.CreateStreamRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datastream.v1alpha1.CreateStreamRequest prototype) { + public static Builder newBuilder(com.google.cloud.datastream.v1alpha1.CreateStreamRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } - /** Protobuf type {@code google.cloud.datastream.v1alpha1.CreateStreamRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + /** + * Protobuf type {@code google.cloud.datastream.v1alpha1.CreateStreamRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1alpha1.CreateStreamRequest) com.google.cloud.datastream.v1alpha1.CreateStreamRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_CreateStreamRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_CreateStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_CreateStreamRequest_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_CreateStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.CreateStreamRequest.class, - com.google.cloud.datastream.v1alpha1.CreateStreamRequest.Builder.class); + com.google.cloud.datastream.v1alpha1.CreateStreamRequest.class, com.google.cloud.datastream.v1alpha1.CreateStreamRequest.Builder.class); } // Construct using com.google.cloud.datastream.v1alpha1.CreateStreamRequest.newBuilder() @@ -644,15 +592,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -676,9 +625,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_CreateStreamRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_CreateStreamRequest_descriptor; } @java.lang.Override @@ -697,8 +646,7 @@ public com.google.cloud.datastream.v1alpha1.CreateStreamRequest build() { @java.lang.Override public com.google.cloud.datastream.v1alpha1.CreateStreamRequest buildPartial() { - com.google.cloud.datastream.v1alpha1.CreateStreamRequest result = - new com.google.cloud.datastream.v1alpha1.CreateStreamRequest(this); + com.google.cloud.datastream.v1alpha1.CreateStreamRequest result = new com.google.cloud.datastream.v1alpha1.CreateStreamRequest(this); result.parent_ = parent_; result.streamId_ = streamId_; if (streamBuilder_ == null) { @@ -717,39 +665,38 @@ public com.google.cloud.datastream.v1alpha1.CreateStreamRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1alpha1.CreateStreamRequest) { - return mergeFrom((com.google.cloud.datastream.v1alpha1.CreateStreamRequest) other); + return mergeFrom((com.google.cloud.datastream.v1alpha1.CreateStreamRequest)other); } else { super.mergeFrom(other); return this; @@ -757,8 +704,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datastream.v1alpha1.CreateStreamRequest other) { - if (other == com.google.cloud.datastream.v1alpha1.CreateStreamRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.datastream.v1alpha1.CreateStreamRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -799,8 +745,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datastream.v1alpha1.CreateStreamRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datastream.v1alpha1.CreateStreamRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -812,22 +757,18 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent that owns the collection of streams.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -836,23 +777,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent that owns the collection of streams.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -860,67 +798,54 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent that owns the collection of streams.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The parent that owns the collection of streams.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The parent that owns the collection of streams.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -928,20 +853,18 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object streamId_ = ""; /** - * - * *
      * Required. The stream identifier.
      * 
* * string stream_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The streamId. */ public java.lang.String getStreamId() { java.lang.Object ref = streamId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); streamId_ = s; return s; @@ -950,21 +873,20 @@ public java.lang.String getStreamId() { } } /** - * - * *
      * Required. The stream identifier.
      * 
* * string stream_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for streamId. */ - public com.google.protobuf.ByteString getStreamIdBytes() { + public com.google.protobuf.ByteString + getStreamIdBytes() { java.lang.Object ref = streamId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); streamId_ = b; return b; } else { @@ -972,61 +894,54 @@ public com.google.protobuf.ByteString getStreamIdBytes() { } } /** - * - * *
      * Required. The stream identifier.
      * 
* * string stream_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The streamId to set. * @return This builder for chaining. */ - public Builder setStreamId(java.lang.String value) { + public Builder setStreamId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + streamId_ = value; onChanged(); return this; } /** - * - * *
      * Required. The stream identifier.
      * 
* * string stream_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearStreamId() { - + streamId_ = getDefaultInstance().getStreamId(); onChanged(); return this; } /** - * - * *
      * Required. The stream identifier.
      * 
* * string stream_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for streamId to set. * @return This builder for chaining. */ - public Builder setStreamIdBytes(com.google.protobuf.ByteString value) { + public Builder setStreamIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + streamId_ = value; onChanged(); return this; @@ -1034,58 +949,39 @@ public Builder setStreamIdBytes(com.google.protobuf.ByteString value) { private com.google.cloud.datastream.v1alpha1.Stream stream_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.Stream, - com.google.cloud.datastream.v1alpha1.Stream.Builder, - com.google.cloud.datastream.v1alpha1.StreamOrBuilder> - streamBuilder_; + com.google.cloud.datastream.v1alpha1.Stream, com.google.cloud.datastream.v1alpha1.Stream.Builder, com.google.cloud.datastream.v1alpha1.StreamOrBuilder> streamBuilder_; /** - * - * *
      * Required. The stream resource to create.
      * 
* - * - * .google.cloud.datastream.v1alpha1.Stream stream = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datastream.v1alpha1.Stream stream = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the stream field is set. */ public boolean hasStream() { return streamBuilder_ != null || stream_ != null; } /** - * - * *
      * Required. The stream resource to create.
      * 
* - * - * .google.cloud.datastream.v1alpha1.Stream stream = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datastream.v1alpha1.Stream stream = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The stream. */ public com.google.cloud.datastream.v1alpha1.Stream getStream() { if (streamBuilder_ == null) { - return stream_ == null - ? com.google.cloud.datastream.v1alpha1.Stream.getDefaultInstance() - : stream_; + return stream_ == null ? com.google.cloud.datastream.v1alpha1.Stream.getDefaultInstance() : stream_; } else { return streamBuilder_.getMessage(); } } /** - * - * *
      * Required. The stream resource to create.
      * 
* - * - * .google.cloud.datastream.v1alpha1.Stream stream = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1alpha1.Stream stream = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setStream(com.google.cloud.datastream.v1alpha1.Stream value) { if (streamBuilder_ == null) { @@ -1101,17 +997,14 @@ public Builder setStream(com.google.cloud.datastream.v1alpha1.Stream value) { return this; } /** - * - * *
      * Required. The stream resource to create.
      * 
* - * - * .google.cloud.datastream.v1alpha1.Stream stream = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1alpha1.Stream stream = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setStream(com.google.cloud.datastream.v1alpha1.Stream.Builder builderForValue) { + public Builder setStream( + com.google.cloud.datastream.v1alpha1.Stream.Builder builderForValue) { if (streamBuilder_ == null) { stream_ = builderForValue.build(); onChanged(); @@ -1122,23 +1015,17 @@ public Builder setStream(com.google.cloud.datastream.v1alpha1.Stream.Builder bui return this; } /** - * - * *
      * Required. The stream resource to create.
      * 
* - * - * .google.cloud.datastream.v1alpha1.Stream stream = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1alpha1.Stream stream = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeStream(com.google.cloud.datastream.v1alpha1.Stream value) { if (streamBuilder_ == null) { if (stream_ != null) { stream_ = - com.google.cloud.datastream.v1alpha1.Stream.newBuilder(stream_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.datastream.v1alpha1.Stream.newBuilder(stream_).mergeFrom(value).buildPartial(); } else { stream_ = value; } @@ -1150,15 +1037,11 @@ public Builder mergeStream(com.google.cloud.datastream.v1alpha1.Stream value) { return this; } /** - * - * *
      * Required. The stream resource to create.
      * 
* - * - * .google.cloud.datastream.v1alpha1.Stream stream = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1alpha1.Stream stream = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearStream() { if (streamBuilder_ == null) { @@ -1172,64 +1055,48 @@ public Builder clearStream() { return this; } /** - * - * *
      * Required. The stream resource to create.
      * 
* - * - * .google.cloud.datastream.v1alpha1.Stream stream = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1alpha1.Stream stream = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.datastream.v1alpha1.Stream.Builder getStreamBuilder() { - + onChanged(); return getStreamFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The stream resource to create.
      * 
* - * - * .google.cloud.datastream.v1alpha1.Stream stream = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1alpha1.Stream stream = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.datastream.v1alpha1.StreamOrBuilder getStreamOrBuilder() { if (streamBuilder_ != null) { return streamBuilder_.getMessageOrBuilder(); } else { - return stream_ == null - ? com.google.cloud.datastream.v1alpha1.Stream.getDefaultInstance() - : stream_; + return stream_ == null ? + com.google.cloud.datastream.v1alpha1.Stream.getDefaultInstance() : stream_; } } /** - * - * *
      * Required. The stream resource to create.
      * 
* - * - * .google.cloud.datastream.v1alpha1.Stream stream = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1alpha1.Stream stream = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.Stream, - com.google.cloud.datastream.v1alpha1.Stream.Builder, - com.google.cloud.datastream.v1alpha1.StreamOrBuilder> + com.google.cloud.datastream.v1alpha1.Stream, com.google.cloud.datastream.v1alpha1.Stream.Builder, com.google.cloud.datastream.v1alpha1.StreamOrBuilder> getStreamFieldBuilder() { if (streamBuilder_ == null) { - streamBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.Stream, - com.google.cloud.datastream.v1alpha1.Stream.Builder, - com.google.cloud.datastream.v1alpha1.StreamOrBuilder>( - getStream(), getParentForChildren(), isClean()); + streamBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1alpha1.Stream, com.google.cloud.datastream.v1alpha1.Stream.Builder, com.google.cloud.datastream.v1alpha1.StreamOrBuilder>( + getStream(), + getParentForChildren(), + isClean()); stream_ = null; } return streamBuilder_; @@ -1237,8 +1104,6 @@ public com.google.cloud.datastream.v1alpha1.StreamOrBuilder getStreamOrBuilder() private java.lang.Object requestId_ = ""; /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1254,13 +1119,13 @@ public com.google.cloud.datastream.v1alpha1.StreamOrBuilder getStreamOrBuilder()
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -1269,8 +1134,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1286,14 +1149,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -1301,8 +1165,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1318,22 +1180,20 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { + public Builder setRequestId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1349,18 +1209,15 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1376,32 +1233,29 @@ public Builder clearRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = value; onChanged(); return this; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * Optional. Only validate the stream, but do not create any resources.
      * The default is false.
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -1409,53 +1263,44 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * Optional. Only validate the stream, but do not create any resources.
      * The default is false.
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The validateOnly to set. * @return This builder for chaining. */ public Builder setValidateOnly(boolean value) { - + validateOnly_ = value; onChanged(); return this; } /** - * - * *
      * Optional. Only validate the stream, but do not create any resources.
      * The default is false.
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { - + validateOnly_ = false; onChanged(); return this; } - private boolean force_; + private boolean force_ ; /** - * - * *
      * Optional. Create the stream without validating it.
      * 
* * bool force = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The force. */ @java.lang.Override @@ -1463,43 +1308,37 @@ public boolean getForce() { return force_; } /** - * - * *
      * Optional. Create the stream without validating it.
      * 
* * bool force = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The force to set. * @return This builder for chaining. */ public Builder setForce(boolean value) { - + force_ = value; onChanged(); return this; } /** - * - * *
      * Optional. Create the stream without validating it.
      * 
* * bool force = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearForce() { - + force_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1509,12 +1348,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1alpha1.CreateStreamRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1alpha1.CreateStreamRequest) private static final com.google.cloud.datastream.v1alpha1.CreateStreamRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1alpha1.CreateStreamRequest(); } @@ -1523,16 +1362,16 @@ public static com.google.cloud.datastream.v1alpha1.CreateStreamRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateStreamRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateStreamRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateStreamRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateStreamRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1547,4 +1386,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datastream.v1alpha1.CreateStreamRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/CreateStreamRequestOrBuilder.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/CreateStreamRequestOrBuilder.java similarity index 71% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/CreateStreamRequestOrBuilder.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/CreateStreamRequestOrBuilder.java index 0f53c4bb..6aba7522 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/CreateStreamRequestOrBuilder.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/CreateStreamRequestOrBuilder.java @@ -1,126 +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/datastream/v1alpha1/datastream.proto package com.google.cloud.datastream.v1alpha1; -public interface CreateStreamRequestOrBuilder - extends +public interface CreateStreamRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1alpha1.CreateStreamRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The parent that owns the collection of streams.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The parent that owns the collection of streams.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The stream identifier.
    * 
* * string stream_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The streamId. */ java.lang.String getStreamId(); /** - * - * *
    * Required. The stream identifier.
    * 
* * string stream_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for streamId. */ - com.google.protobuf.ByteString getStreamIdBytes(); + com.google.protobuf.ByteString + getStreamIdBytes(); /** - * - * *
    * Required. The stream resource to create.
    * 
* - * - * .google.cloud.datastream.v1alpha1.Stream stream = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datastream.v1alpha1.Stream stream = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the stream field is set. */ boolean hasStream(); /** - * - * *
    * Required. The stream resource to create.
    * 
* - * - * .google.cloud.datastream.v1alpha1.Stream stream = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datastream.v1alpha1.Stream stream = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The stream. */ com.google.cloud.datastream.v1alpha1.Stream getStream(); /** - * - * *
    * Required. The stream resource to create.
    * 
* - * - * .google.cloud.datastream.v1alpha1.Stream stream = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1alpha1.Stream stream = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.datastream.v1alpha1.StreamOrBuilder getStreamOrBuilder(); /** - * - * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -136,13 +90,10 @@ public interface CreateStreamRequestOrBuilder
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -158,34 +109,28 @@ public interface CreateStreamRequestOrBuilder
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); /** - * - * *
    * Optional. Only validate the stream, but do not create any resources.
    * The default is false.
    * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ boolean getValidateOnly(); /** - * - * *
    * Optional. Create the stream without validating it.
    * 
* * bool force = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The force. */ boolean getForce(); diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DeleteConnectionProfileRequest.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DeleteConnectionProfileRequest.java similarity index 69% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DeleteConnectionProfileRequest.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DeleteConnectionProfileRequest.java index d56f52c3..75a9599b 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DeleteConnectionProfileRequest.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DeleteConnectionProfileRequest.java @@ -1,35 +1,20 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1alpha1/datastream.proto package com.google.cloud.datastream.v1alpha1; -/** Protobuf type {@code google.cloud.datastream.v1alpha1.DeleteConnectionProfileRequest} */ -public final class DeleteConnectionProfileRequest extends com.google.protobuf.GeneratedMessageV3 - implements +/** + * Protobuf type {@code google.cloud.datastream.v1alpha1.DeleteConnectionProfileRequest} + */ +public final class DeleteConnectionProfileRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1alpha1.DeleteConnectionProfileRequest) DeleteConnectionProfileRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteConnectionProfileRequest.newBuilder() to construct. - private DeleteConnectionProfileRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private DeleteConnectionProfileRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteConnectionProfileRequest() { name_ = ""; requestId_ = ""; @@ -37,15 +22,16 @@ private DeleteConnectionProfileRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteConnectionProfileRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeleteConnectionProfileRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -64,27 +50,25 @@ private DeleteConnectionProfileRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - requestId_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + requestId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,41 +76,34 @@ private DeleteConnectionProfileRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_DeleteConnectionProfileRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_DeleteConnectionProfileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_DeleteConnectionProfileRequest_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_DeleteConnectionProfileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.DeleteConnectionProfileRequest.class, - com.google.cloud.datastream.v1alpha1.DeleteConnectionProfileRequest.Builder.class); + com.google.cloud.datastream.v1alpha1.DeleteConnectionProfileRequest.class, com.google.cloud.datastream.v1alpha1.DeleteConnectionProfileRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the connection profile resource to delete.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -135,31 +112,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the connection profile resource to delete.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -170,8 +145,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int REQUEST_ID_FIELD_NUMBER = 2; private volatile java.lang.Object requestId_; /** - * - * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -187,7 +160,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -196,15 +168,14 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** - * - * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -220,15 +191,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -237,7 +209,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -249,7 +220,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_); } @@ -279,16 +251,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.datastream.v1alpha1.DeleteConnectionProfileRequest)) { return super.equals(obj); } - com.google.cloud.datastream.v1alpha1.DeleteConnectionProfileRequest other = - (com.google.cloud.datastream.v1alpha1.DeleteConnectionProfileRequest) obj; + com.google.cloud.datastream.v1alpha1.DeleteConnectionProfileRequest other = (com.google.cloud.datastream.v1alpha1.DeleteConnectionProfileRequest) obj; - if (!getName().equals(other.getName())) return false; - if (!getRequestId().equals(other.getRequestId())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -310,137 +283,130 @@ public int hashCode() { } public static com.google.cloud.datastream.v1alpha1.DeleteConnectionProfileRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.DeleteConnectionProfileRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.DeleteConnectionProfileRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.DeleteConnectionProfileRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.DeleteConnectionProfileRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.datastream.v1alpha1.DeleteConnectionProfileRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.DeleteConnectionProfileRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.DeleteConnectionProfileRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.DeleteConnectionProfileRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.DeleteConnectionProfileRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.DeleteConnectionProfileRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.DeleteConnectionProfileRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.datastream.v1alpha1.DeleteConnectionProfileRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.datastream.v1alpha1.DeleteConnectionProfileRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.DeleteConnectionProfileRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.DeleteConnectionProfileRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datastream.v1alpha1.DeleteConnectionProfileRequest prototype) { + public static Builder newBuilder(com.google.cloud.datastream.v1alpha1.DeleteConnectionProfileRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } - /** Protobuf type {@code google.cloud.datastream.v1alpha1.DeleteConnectionProfileRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + /** + * Protobuf type {@code google.cloud.datastream.v1alpha1.DeleteConnectionProfileRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1alpha1.DeleteConnectionProfileRequest) com.google.cloud.datastream.v1alpha1.DeleteConnectionProfileRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_DeleteConnectionProfileRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_DeleteConnectionProfileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_DeleteConnectionProfileRequest_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_DeleteConnectionProfileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.DeleteConnectionProfileRequest.class, - com.google.cloud.datastream.v1alpha1.DeleteConnectionProfileRequest.Builder.class); + com.google.cloud.datastream.v1alpha1.DeleteConnectionProfileRequest.class, com.google.cloud.datastream.v1alpha1.DeleteConnectionProfileRequest.Builder.class); } - // Construct using - // com.google.cloud.datastream.v1alpha1.DeleteConnectionProfileRequest.newBuilder() + // Construct using com.google.cloud.datastream.v1alpha1.DeleteConnectionProfileRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -452,16 +418,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_DeleteConnectionProfileRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_DeleteConnectionProfileRequest_descriptor; } @java.lang.Override - public com.google.cloud.datastream.v1alpha1.DeleteConnectionProfileRequest - getDefaultInstanceForType() { - return com.google.cloud.datastream.v1alpha1.DeleteConnectionProfileRequest - .getDefaultInstance(); + public com.google.cloud.datastream.v1alpha1.DeleteConnectionProfileRequest getDefaultInstanceForType() { + return com.google.cloud.datastream.v1alpha1.DeleteConnectionProfileRequest.getDefaultInstance(); } @java.lang.Override @@ -475,8 +439,7 @@ public com.google.cloud.datastream.v1alpha1.DeleteConnectionProfileRequest build @java.lang.Override public com.google.cloud.datastream.v1alpha1.DeleteConnectionProfileRequest buildPartial() { - com.google.cloud.datastream.v1alpha1.DeleteConnectionProfileRequest result = - new com.google.cloud.datastream.v1alpha1.DeleteConnectionProfileRequest(this); + com.google.cloud.datastream.v1alpha1.DeleteConnectionProfileRequest result = new com.google.cloud.datastream.v1alpha1.DeleteConnectionProfileRequest(this); result.name_ = name_; result.requestId_ = requestId_; onBuilt(); @@ -487,51 +450,46 @@ public com.google.cloud.datastream.v1alpha1.DeleteConnectionProfileRequest build public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1alpha1.DeleteConnectionProfileRequest) { - return mergeFrom( - (com.google.cloud.datastream.v1alpha1.DeleteConnectionProfileRequest) other); + return mergeFrom((com.google.cloud.datastream.v1alpha1.DeleteConnectionProfileRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.datastream.v1alpha1.DeleteConnectionProfileRequest other) { - if (other - == com.google.cloud.datastream.v1alpha1.DeleteConnectionProfileRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.datastream.v1alpha1.DeleteConnectionProfileRequest other) { + if (other == com.google.cloud.datastream.v1alpha1.DeleteConnectionProfileRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -559,9 +517,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datastream.v1alpha1.DeleteConnectionProfileRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datastream.v1alpha1.DeleteConnectionProfileRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -573,22 +529,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the connection profile resource to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -597,23 +549,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the connection profile resource to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -621,67 +570,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the connection profile resource to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the connection profile resource to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the connection profile resource to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -689,8 +625,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object requestId_ = ""; /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -706,13 +640,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -721,8 +655,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -738,14 +670,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -753,8 +686,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -770,22 +701,20 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { + public Builder setRequestId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -801,18 +730,15 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -828,23 +754,23 @@ public Builder clearRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = 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); } @@ -854,32 +780,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1alpha1.DeleteConnectionProfileRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1alpha1.DeleteConnectionProfileRequest) - private static final com.google.cloud.datastream.v1alpha1.DeleteConnectionProfileRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.datastream.v1alpha1.DeleteConnectionProfileRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1alpha1.DeleteConnectionProfileRequest(); } - public static com.google.cloud.datastream.v1alpha1.DeleteConnectionProfileRequest - getDefaultInstance() { + public static com.google.cloud.datastream.v1alpha1.DeleteConnectionProfileRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteConnectionProfileRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteConnectionProfileRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteConnectionProfileRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteConnectionProfileRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -891,8 +815,9 @@ public com.google.protobuf.Parser getParserForTy } @java.lang.Override - public com.google.cloud.datastream.v1alpha1.DeleteConnectionProfileRequest - getDefaultInstanceForType() { + public com.google.cloud.datastream.v1alpha1.DeleteConnectionProfileRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DeleteConnectionProfileRequestOrBuilder.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DeleteConnectionProfileRequestOrBuilder.java similarity index 70% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DeleteConnectionProfileRequestOrBuilder.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DeleteConnectionProfileRequestOrBuilder.java index c9765a1b..7a9b1e2d 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DeleteConnectionProfileRequestOrBuilder.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DeleteConnectionProfileRequestOrBuilder.java @@ -1,60 +1,33 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1alpha1/datastream.proto package com.google.cloud.datastream.v1alpha1; -public interface DeleteConnectionProfileRequestOrBuilder - extends +public interface DeleteConnectionProfileRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1alpha1.DeleteConnectionProfileRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the connection profile resource to delete.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The name of the connection profile resource to delete.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -70,13 +43,10 @@ public interface DeleteConnectionProfileRequestOrBuilder
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -92,8 +62,8 @@ public interface DeleteConnectionProfileRequestOrBuilder
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); } diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DeletePrivateConnectionRequest.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DeletePrivateConnectionRequest.java similarity index 70% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DeletePrivateConnectionRequest.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DeletePrivateConnectionRequest.java index 6b1c3e81..e6cc8c90 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DeletePrivateConnectionRequest.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DeletePrivateConnectionRequest.java @@ -1,35 +1,20 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1alpha1/datastream.proto package com.google.cloud.datastream.v1alpha1; -/** Protobuf type {@code google.cloud.datastream.v1alpha1.DeletePrivateConnectionRequest} */ -public final class DeletePrivateConnectionRequest extends com.google.protobuf.GeneratedMessageV3 - implements +/** + * Protobuf type {@code google.cloud.datastream.v1alpha1.DeletePrivateConnectionRequest} + */ +public final class DeletePrivateConnectionRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1alpha1.DeletePrivateConnectionRequest) DeletePrivateConnectionRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeletePrivateConnectionRequest.newBuilder() to construct. - private DeletePrivateConnectionRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private DeletePrivateConnectionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeletePrivateConnectionRequest() { name_ = ""; requestId_ = ""; @@ -37,15 +22,16 @@ private DeletePrivateConnectionRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeletePrivateConnectionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeletePrivateConnectionRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -64,32 +50,30 @@ private DeletePrivateConnectionRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - requestId_ = s; - break; - } - case 24: - { - force_ = input.readBool(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + requestId_ = s; + break; + } + case 24: { + + force_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -97,41 +81,34 @@ private DeletePrivateConnectionRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_DeletePrivateConnectionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_DeletePrivateConnectionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_DeletePrivateConnectionRequest_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_DeletePrivateConnectionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.DeletePrivateConnectionRequest.class, - com.google.cloud.datastream.v1alpha1.DeletePrivateConnectionRequest.Builder.class); + com.google.cloud.datastream.v1alpha1.DeletePrivateConnectionRequest.class, com.google.cloud.datastream.v1alpha1.DeletePrivateConnectionRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the private connectivity configuration to delete.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -140,31 +117,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the private connectivity configuration to delete.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -175,8 +150,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int REQUEST_ID_FIELD_NUMBER = 2; private volatile java.lang.Object requestId_; /** - * - * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -192,7 +165,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -201,15 +173,14 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** - * - * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -225,15 +196,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -244,15 +216,12 @@ public com.google.protobuf.ByteString getRequestIdBytes() { public static final int FORCE_FIELD_NUMBER = 3; private boolean force_; /** - * - * *
    * Optional. If set to true, any child routes that belong to this PrivateConnection will
    * also be deleted.
    * 
* * bool force = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The force. */ @java.lang.Override @@ -261,7 +230,6 @@ public boolean getForce() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -273,7 +241,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_); } @@ -299,7 +268,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, requestId_); } if (force_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, force_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, force_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -309,17 +279,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.datastream.v1alpha1.DeletePrivateConnectionRequest)) { return super.equals(obj); } - com.google.cloud.datastream.v1alpha1.DeletePrivateConnectionRequest other = - (com.google.cloud.datastream.v1alpha1.DeletePrivateConnectionRequest) obj; + com.google.cloud.datastream.v1alpha1.DeletePrivateConnectionRequest other = (com.google.cloud.datastream.v1alpha1.DeletePrivateConnectionRequest) obj; - if (!getName().equals(other.getName())) return false; - if (!getRequestId().equals(other.getRequestId())) return false; - if (getForce() != other.getForce()) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; + if (getForce() + != other.getForce()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -336,144 +308,138 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().hashCode(); hash = (37 * hash) + FORCE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getForce()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getForce()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.datastream.v1alpha1.DeletePrivateConnectionRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.DeletePrivateConnectionRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.DeletePrivateConnectionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.DeletePrivateConnectionRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.DeletePrivateConnectionRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.datastream.v1alpha1.DeletePrivateConnectionRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.DeletePrivateConnectionRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.DeletePrivateConnectionRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.DeletePrivateConnectionRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.DeletePrivateConnectionRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.DeletePrivateConnectionRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.DeletePrivateConnectionRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.datastream.v1alpha1.DeletePrivateConnectionRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.datastream.v1alpha1.DeletePrivateConnectionRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.DeletePrivateConnectionRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.DeletePrivateConnectionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datastream.v1alpha1.DeletePrivateConnectionRequest prototype) { + public static Builder newBuilder(com.google.cloud.datastream.v1alpha1.DeletePrivateConnectionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } - /** Protobuf type {@code google.cloud.datastream.v1alpha1.DeletePrivateConnectionRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + /** + * Protobuf type {@code google.cloud.datastream.v1alpha1.DeletePrivateConnectionRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1alpha1.DeletePrivateConnectionRequest) com.google.cloud.datastream.v1alpha1.DeletePrivateConnectionRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_DeletePrivateConnectionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_DeletePrivateConnectionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_DeletePrivateConnectionRequest_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_DeletePrivateConnectionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.DeletePrivateConnectionRequest.class, - com.google.cloud.datastream.v1alpha1.DeletePrivateConnectionRequest.Builder.class); + com.google.cloud.datastream.v1alpha1.DeletePrivateConnectionRequest.class, com.google.cloud.datastream.v1alpha1.DeletePrivateConnectionRequest.Builder.class); } - // Construct using - // com.google.cloud.datastream.v1alpha1.DeletePrivateConnectionRequest.newBuilder() + // Construct using com.google.cloud.datastream.v1alpha1.DeletePrivateConnectionRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -487,16 +453,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_DeletePrivateConnectionRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_DeletePrivateConnectionRequest_descriptor; } @java.lang.Override - public com.google.cloud.datastream.v1alpha1.DeletePrivateConnectionRequest - getDefaultInstanceForType() { - return com.google.cloud.datastream.v1alpha1.DeletePrivateConnectionRequest - .getDefaultInstance(); + public com.google.cloud.datastream.v1alpha1.DeletePrivateConnectionRequest getDefaultInstanceForType() { + return com.google.cloud.datastream.v1alpha1.DeletePrivateConnectionRequest.getDefaultInstance(); } @java.lang.Override @@ -510,8 +474,7 @@ public com.google.cloud.datastream.v1alpha1.DeletePrivateConnectionRequest build @java.lang.Override public com.google.cloud.datastream.v1alpha1.DeletePrivateConnectionRequest buildPartial() { - com.google.cloud.datastream.v1alpha1.DeletePrivateConnectionRequest result = - new com.google.cloud.datastream.v1alpha1.DeletePrivateConnectionRequest(this); + com.google.cloud.datastream.v1alpha1.DeletePrivateConnectionRequest result = new com.google.cloud.datastream.v1alpha1.DeletePrivateConnectionRequest(this); result.name_ = name_; result.requestId_ = requestId_; result.force_ = force_; @@ -523,51 +486,46 @@ public com.google.cloud.datastream.v1alpha1.DeletePrivateConnectionRequest build public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1alpha1.DeletePrivateConnectionRequest) { - return mergeFrom( - (com.google.cloud.datastream.v1alpha1.DeletePrivateConnectionRequest) other); + return mergeFrom((com.google.cloud.datastream.v1alpha1.DeletePrivateConnectionRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.datastream.v1alpha1.DeletePrivateConnectionRequest other) { - if (other - == com.google.cloud.datastream.v1alpha1.DeletePrivateConnectionRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.datastream.v1alpha1.DeletePrivateConnectionRequest other) { + if (other == com.google.cloud.datastream.v1alpha1.DeletePrivateConnectionRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -598,9 +556,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datastream.v1alpha1.DeletePrivateConnectionRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datastream.v1alpha1.DeletePrivateConnectionRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -612,22 +568,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the private connectivity configuration to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -636,23 +588,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the private connectivity configuration to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -660,67 +609,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the private connectivity configuration to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the private connectivity configuration to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the private connectivity configuration to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -728,8 +664,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object requestId_ = ""; /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -745,13 +679,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -760,8 +694,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -777,14 +709,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -792,8 +725,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -809,22 +740,20 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { + public Builder setRequestId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -840,18 +769,15 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -867,32 +793,29 @@ public Builder clearRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = value; onChanged(); return this; } - private boolean force_; + private boolean force_ ; /** - * - * *
      * Optional. If set to true, any child routes that belong to this PrivateConnection will
      * also be deleted.
      * 
* * bool force = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The force. */ @java.lang.Override @@ -900,45 +823,39 @@ public boolean getForce() { return force_; } /** - * - * *
      * Optional. If set to true, any child routes that belong to this PrivateConnection will
      * also be deleted.
      * 
* * bool force = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The force to set. * @return This builder for chaining. */ public Builder setForce(boolean value) { - + force_ = value; onChanged(); return this; } /** - * - * *
      * Optional. If set to true, any child routes that belong to this PrivateConnection will
      * also be deleted.
      * 
* * bool force = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearForce() { - + force_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -948,32 +865,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1alpha1.DeletePrivateConnectionRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1alpha1.DeletePrivateConnectionRequest) - private static final com.google.cloud.datastream.v1alpha1.DeletePrivateConnectionRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.datastream.v1alpha1.DeletePrivateConnectionRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1alpha1.DeletePrivateConnectionRequest(); } - public static com.google.cloud.datastream.v1alpha1.DeletePrivateConnectionRequest - getDefaultInstance() { + public static com.google.cloud.datastream.v1alpha1.DeletePrivateConnectionRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeletePrivateConnectionRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeletePrivateConnectionRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeletePrivateConnectionRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeletePrivateConnectionRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -985,8 +900,9 @@ public com.google.protobuf.Parser getParserForTy } @java.lang.Override - public com.google.cloud.datastream.v1alpha1.DeletePrivateConnectionRequest - getDefaultInstanceForType() { + public com.google.cloud.datastream.v1alpha1.DeletePrivateConnectionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DeletePrivateConnectionRequestOrBuilder.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DeletePrivateConnectionRequestOrBuilder.java similarity index 72% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DeletePrivateConnectionRequestOrBuilder.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DeletePrivateConnectionRequestOrBuilder.java index 0a01c327..825736c9 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DeletePrivateConnectionRequestOrBuilder.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DeletePrivateConnectionRequestOrBuilder.java @@ -1,60 +1,33 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1alpha1/datastream.proto package com.google.cloud.datastream.v1alpha1; -public interface DeletePrivateConnectionRequestOrBuilder - extends +public interface DeletePrivateConnectionRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1alpha1.DeletePrivateConnectionRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the private connectivity configuration to delete.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The name of the private connectivity configuration to delete.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -70,13 +43,10 @@ public interface DeletePrivateConnectionRequestOrBuilder
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -92,21 +62,18 @@ public interface DeletePrivateConnectionRequestOrBuilder
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); /** - * - * *
    * Optional. If set to true, any child routes that belong to this PrivateConnection will
    * also be deleted.
    * 
* * bool force = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The force. */ boolean getForce(); diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DeleteRouteRequest.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DeleteRouteRequest.java similarity index 72% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DeleteRouteRequest.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DeleteRouteRequest.java index 7f3f7222..40375f89 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DeleteRouteRequest.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DeleteRouteRequest.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/datastream/v1alpha1/datastream.proto package com.google.cloud.datastream.v1alpha1; /** - * - * *
  * route deletion request
  * 
* * Protobuf type {@code google.cloud.datastream.v1alpha1.DeleteRouteRequest} */ -public final class DeleteRouteRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteRouteRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1alpha1.DeleteRouteRequest) DeleteRouteRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteRouteRequest.newBuilder() to construct. private DeleteRouteRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteRouteRequest() { name_ = ""; requestId_ = ""; @@ -44,15 +26,16 @@ private DeleteRouteRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteRouteRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeleteRouteRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,27 +54,25 @@ private DeleteRouteRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - requestId_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + requestId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,41 +80,34 @@ private DeleteRouteRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_DeleteRouteRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_DeleteRouteRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_DeleteRouteRequest_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_DeleteRouteRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.DeleteRouteRequest.class, - com.google.cloud.datastream.v1alpha1.DeleteRouteRequest.Builder.class); + com.google.cloud.datastream.v1alpha1.DeleteRouteRequest.class, com.google.cloud.datastream.v1alpha1.DeleteRouteRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the Route resource to delete.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -142,31 +116,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the Route resource to delete.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -177,8 +149,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int REQUEST_ID_FIELD_NUMBER = 2; private volatile java.lang.Object requestId_; /** - * - * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -194,7 +164,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -203,15 +172,14 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** - * - * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -227,15 +195,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -244,7 +213,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -256,7 +224,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -286,16 +255,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datastream.v1alpha1.DeleteRouteRequest)) { return super.equals(obj); } - com.google.cloud.datastream.v1alpha1.DeleteRouteRequest other = - (com.google.cloud.datastream.v1alpha1.DeleteRouteRequest) obj; + com.google.cloud.datastream.v1alpha1.DeleteRouteRequest other = (com.google.cloud.datastream.v1alpha1.DeleteRouteRequest) obj; - if (!getName().equals(other.getName())) return false; - if (!getRequestId().equals(other.getRequestId())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -317,127 +287,117 @@ public int hashCode() { } public static com.google.cloud.datastream.v1alpha1.DeleteRouteRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.DeleteRouteRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.DeleteRouteRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.DeleteRouteRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.DeleteRouteRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.DeleteRouteRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.DeleteRouteRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.DeleteRouteRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.DeleteRouteRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.DeleteRouteRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.DeleteRouteRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.DeleteRouteRequest 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.datastream.v1alpha1.DeleteRouteRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.DeleteRouteRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datastream.v1alpha1.DeleteRouteRequest prototype) { + public static Builder newBuilder(com.google.cloud.datastream.v1alpha1.DeleteRouteRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * route deletion request
    * 
* * Protobuf type {@code google.cloud.datastream.v1alpha1.DeleteRouteRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1alpha1.DeleteRouteRequest) com.google.cloud.datastream.v1alpha1.DeleteRouteRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_DeleteRouteRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_DeleteRouteRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_DeleteRouteRequest_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_DeleteRouteRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.DeleteRouteRequest.class, - com.google.cloud.datastream.v1alpha1.DeleteRouteRequest.Builder.class); + com.google.cloud.datastream.v1alpha1.DeleteRouteRequest.class, com.google.cloud.datastream.v1alpha1.DeleteRouteRequest.Builder.class); } // Construct using com.google.cloud.datastream.v1alpha1.DeleteRouteRequest.newBuilder() @@ -445,15 +405,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -465,9 +426,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_DeleteRouteRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_DeleteRouteRequest_descriptor; } @java.lang.Override @@ -486,8 +447,7 @@ public com.google.cloud.datastream.v1alpha1.DeleteRouteRequest build() { @java.lang.Override public com.google.cloud.datastream.v1alpha1.DeleteRouteRequest buildPartial() { - com.google.cloud.datastream.v1alpha1.DeleteRouteRequest result = - new com.google.cloud.datastream.v1alpha1.DeleteRouteRequest(this); + com.google.cloud.datastream.v1alpha1.DeleteRouteRequest result = new com.google.cloud.datastream.v1alpha1.DeleteRouteRequest(this); result.name_ = name_; result.requestId_ = requestId_; onBuilt(); @@ -498,39 +458,38 @@ public com.google.cloud.datastream.v1alpha1.DeleteRouteRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1alpha1.DeleteRouteRequest) { - return mergeFrom((com.google.cloud.datastream.v1alpha1.DeleteRouteRequest) other); + return mergeFrom((com.google.cloud.datastream.v1alpha1.DeleteRouteRequest)other); } else { super.mergeFrom(other); return this; @@ -538,8 +497,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datastream.v1alpha1.DeleteRouteRequest other) { - if (other == com.google.cloud.datastream.v1alpha1.DeleteRouteRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.datastream.v1alpha1.DeleteRouteRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -567,8 +525,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datastream.v1alpha1.DeleteRouteRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datastream.v1alpha1.DeleteRouteRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -580,22 +537,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the Route resource to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -604,23 +557,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the Route resource to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -628,67 +578,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the Route resource to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the Route resource to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the Route resource to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -696,8 +633,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object requestId_ = ""; /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -713,13 +648,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -728,8 +663,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -745,14 +678,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -760,8 +694,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -777,22 +709,20 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { + public Builder setRequestId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -808,18 +738,15 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -835,23 +762,23 @@ public Builder clearRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = 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); } @@ -861,12 +788,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1alpha1.DeleteRouteRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1alpha1.DeleteRouteRequest) private static final com.google.cloud.datastream.v1alpha1.DeleteRouteRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1alpha1.DeleteRouteRequest(); } @@ -875,16 +802,16 @@ public static com.google.cloud.datastream.v1alpha1.DeleteRouteRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteRouteRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteRouteRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteRouteRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteRouteRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -899,4 +826,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datastream.v1alpha1.DeleteRouteRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DeleteRouteRequestOrBuilder.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DeleteRouteRequestOrBuilder.java similarity index 70% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DeleteRouteRequestOrBuilder.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DeleteRouteRequestOrBuilder.java index 82e76db8..88c05759 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DeleteRouteRequestOrBuilder.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DeleteRouteRequestOrBuilder.java @@ -1,60 +1,33 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1alpha1/datastream.proto package com.google.cloud.datastream.v1alpha1; -public interface DeleteRouteRequestOrBuilder - extends +public interface DeleteRouteRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1alpha1.DeleteRouteRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the Route resource to delete.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The name of the Route resource to delete.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -70,13 +43,10 @@ public interface DeleteRouteRequestOrBuilder
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -92,8 +62,8 @@ public interface DeleteRouteRequestOrBuilder
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); } diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DeleteStreamRequest.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DeleteStreamRequest.java similarity index 72% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DeleteStreamRequest.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DeleteStreamRequest.java index 5f08cfa9..e95d98b6 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DeleteStreamRequest.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DeleteStreamRequest.java @@ -1,34 +1,20 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1alpha1/datastream.proto package com.google.cloud.datastream.v1alpha1; -/** Protobuf type {@code google.cloud.datastream.v1alpha1.DeleteStreamRequest} */ -public final class DeleteStreamRequest extends com.google.protobuf.GeneratedMessageV3 - implements +/** + * Protobuf type {@code google.cloud.datastream.v1alpha1.DeleteStreamRequest} + */ +public final class DeleteStreamRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1alpha1.DeleteStreamRequest) DeleteStreamRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteStreamRequest.newBuilder() to construct. private DeleteStreamRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteStreamRequest() { name_ = ""; requestId_ = ""; @@ -36,15 +22,16 @@ private DeleteStreamRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteStreamRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeleteStreamRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -63,27 +50,25 @@ private DeleteStreamRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - requestId_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + requestId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,41 +76,34 @@ private DeleteStreamRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_DeleteStreamRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_DeleteStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_DeleteStreamRequest_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_DeleteStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.DeleteStreamRequest.class, - com.google.cloud.datastream.v1alpha1.DeleteStreamRequest.Builder.class); + com.google.cloud.datastream.v1alpha1.DeleteStreamRequest.class, com.google.cloud.datastream.v1alpha1.DeleteStreamRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the stream resource to delete.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -134,31 +112,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the stream resource to delete.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -169,8 +145,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int REQUEST_ID_FIELD_NUMBER = 2; private volatile java.lang.Object requestId_; /** - * - * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -186,7 +160,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -195,15 +168,14 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** - * - * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -219,15 +191,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -236,7 +209,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -248,7 +220,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_); } @@ -278,16 +251,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.datastream.v1alpha1.DeleteStreamRequest)) { return super.equals(obj); } - com.google.cloud.datastream.v1alpha1.DeleteStreamRequest other = - (com.google.cloud.datastream.v1alpha1.DeleteStreamRequest) obj; + com.google.cloud.datastream.v1alpha1.DeleteStreamRequest other = (com.google.cloud.datastream.v1alpha1.DeleteStreamRequest) obj; - if (!getName().equals(other.getName())) return false; - if (!getRequestId().equals(other.getRequestId())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -309,119 +283,113 @@ public int hashCode() { } public static com.google.cloud.datastream.v1alpha1.DeleteStreamRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.DeleteStreamRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.DeleteStreamRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.DeleteStreamRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.DeleteStreamRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.DeleteStreamRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.DeleteStreamRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.DeleteStreamRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.DeleteStreamRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.DeleteStreamRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.DeleteStreamRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.DeleteStreamRequest 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.datastream.v1alpha1.DeleteStreamRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.DeleteStreamRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datastream.v1alpha1.DeleteStreamRequest prototype) { + public static Builder newBuilder(com.google.cloud.datastream.v1alpha1.DeleteStreamRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } - /** Protobuf type {@code google.cloud.datastream.v1alpha1.DeleteStreamRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + /** + * Protobuf type {@code google.cloud.datastream.v1alpha1.DeleteStreamRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1alpha1.DeleteStreamRequest) com.google.cloud.datastream.v1alpha1.DeleteStreamRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_DeleteStreamRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_DeleteStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_DeleteStreamRequest_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_DeleteStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.DeleteStreamRequest.class, - com.google.cloud.datastream.v1alpha1.DeleteStreamRequest.Builder.class); + com.google.cloud.datastream.v1alpha1.DeleteStreamRequest.class, com.google.cloud.datastream.v1alpha1.DeleteStreamRequest.Builder.class); } // Construct using com.google.cloud.datastream.v1alpha1.DeleteStreamRequest.newBuilder() @@ -429,15 +397,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -449,9 +418,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_DeleteStreamRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_DeleteStreamRequest_descriptor; } @java.lang.Override @@ -470,8 +439,7 @@ public com.google.cloud.datastream.v1alpha1.DeleteStreamRequest build() { @java.lang.Override public com.google.cloud.datastream.v1alpha1.DeleteStreamRequest buildPartial() { - com.google.cloud.datastream.v1alpha1.DeleteStreamRequest result = - new com.google.cloud.datastream.v1alpha1.DeleteStreamRequest(this); + com.google.cloud.datastream.v1alpha1.DeleteStreamRequest result = new com.google.cloud.datastream.v1alpha1.DeleteStreamRequest(this); result.name_ = name_; result.requestId_ = requestId_; onBuilt(); @@ -482,39 +450,38 @@ public com.google.cloud.datastream.v1alpha1.DeleteStreamRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1alpha1.DeleteStreamRequest) { - return mergeFrom((com.google.cloud.datastream.v1alpha1.DeleteStreamRequest) other); + return mergeFrom((com.google.cloud.datastream.v1alpha1.DeleteStreamRequest)other); } else { super.mergeFrom(other); return this; @@ -522,8 +489,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datastream.v1alpha1.DeleteStreamRequest other) { - if (other == com.google.cloud.datastream.v1alpha1.DeleteStreamRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.datastream.v1alpha1.DeleteStreamRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -551,8 +517,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datastream.v1alpha1.DeleteStreamRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datastream.v1alpha1.DeleteStreamRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -564,22 +529,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the stream resource to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -588,23 +549,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the stream resource to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -612,67 +570,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the stream resource to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the stream resource to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the stream resource to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -680,8 +625,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object requestId_ = ""; /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -697,13 +640,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -712,8 +655,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -729,14 +670,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -744,8 +686,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -761,22 +701,20 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { + public Builder setRequestId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -792,18 +730,15 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -819,23 +754,23 @@ public Builder clearRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = 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); } @@ -845,12 +780,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1alpha1.DeleteStreamRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1alpha1.DeleteStreamRequest) private static final com.google.cloud.datastream.v1alpha1.DeleteStreamRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1alpha1.DeleteStreamRequest(); } @@ -859,16 +794,16 @@ public static com.google.cloud.datastream.v1alpha1.DeleteStreamRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteStreamRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteStreamRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteStreamRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteStreamRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -883,4 +818,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datastream.v1alpha1.DeleteStreamRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DeleteStreamRequestOrBuilder.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DeleteStreamRequestOrBuilder.java similarity index 70% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DeleteStreamRequestOrBuilder.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DeleteStreamRequestOrBuilder.java index b266e7a4..a13c99b2 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DeleteStreamRequestOrBuilder.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DeleteStreamRequestOrBuilder.java @@ -1,60 +1,33 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1alpha1/datastream.proto package com.google.cloud.datastream.v1alpha1; -public interface DeleteStreamRequestOrBuilder - extends +public interface DeleteStreamRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1alpha1.DeleteStreamRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the stream resource to delete.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The name of the stream resource to delete.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -70,13 +43,10 @@ public interface DeleteStreamRequestOrBuilder
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -92,8 +62,8 @@ public interface DeleteStreamRequestOrBuilder
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); } diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DestinationConfig.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DestinationConfig.java similarity index 64% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DestinationConfig.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DestinationConfig.java index 88e92db6..0799fd66 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DestinationConfig.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DestinationConfig.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1alpha1/datastream_resources.proto package com.google.cloud.datastream.v1alpha1; /** - * - * *
  * The configuration of the stream destination.
  * 
* * Protobuf type {@code google.cloud.datastream.v1alpha1.DestinationConfig} */ -public final class DestinationConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DestinationConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1alpha1.DestinationConfig) DestinationConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DestinationConfig.newBuilder() to construct. private DestinationConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DestinationConfig() { destinationConnectionProfileName_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DestinationConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DestinationConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,42 +53,33 @@ private DestinationConfig( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - destinationConnectionProfileName_ = s; - break; + destinationConnectionProfileName_ = s; + break; + } + case 802: { + com.google.cloud.datastream.v1alpha1.GcsDestinationConfig.Builder subBuilder = null; + if (destinationStreamConfigCase_ == 100) { + subBuilder = ((com.google.cloud.datastream.v1alpha1.GcsDestinationConfig) destinationStreamConfig_).toBuilder(); } - case 802: - { - com.google.cloud.datastream.v1alpha1.GcsDestinationConfig.Builder subBuilder = null; - if (destinationStreamConfigCase_ == 100) { - subBuilder = - ((com.google.cloud.datastream.v1alpha1.GcsDestinationConfig) - destinationStreamConfig_) - .toBuilder(); - } - destinationStreamConfig_ = - input.readMessage( - com.google.cloud.datastream.v1alpha1.GcsDestinationConfig.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.datastream.v1alpha1.GcsDestinationConfig) - destinationStreamConfig_); - destinationStreamConfig_ = subBuilder.buildPartial(); - } - destinationStreamConfigCase_ = 100; - break; + destinationStreamConfig_ = + input.readMessage(com.google.cloud.datastream.v1alpha1.GcsDestinationConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.datastream.v1alpha1.GcsDestinationConfig) destinationStreamConfig_); + destinationStreamConfig_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + destinationStreamConfigCase_ = 100; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -113,39 +87,34 @@ private DestinationConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_DestinationConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_DestinationConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_DestinationConfig_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_DestinationConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.DestinationConfig.class, - com.google.cloud.datastream.v1alpha1.DestinationConfig.Builder.class); + com.google.cloud.datastream.v1alpha1.DestinationConfig.class, com.google.cloud.datastream.v1alpha1.DestinationConfig.Builder.class); } private int destinationStreamConfigCase_ = 0; private java.lang.Object destinationStreamConfig_; - public enum DestinationStreamConfigCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { GCS_DESTINATION_CONFIG(100), DESTINATIONSTREAMCONFIG_NOT_SET(0); private final int value; - private DestinationStreamConfigCase(int value) { this.value = value; } @@ -161,36 +130,30 @@ public static DestinationStreamConfigCase valueOf(int value) { public static DestinationStreamConfigCase forNumber(int value) { switch (value) { - case 100: - return GCS_DESTINATION_CONFIG; - case 0: - return DESTINATIONSTREAMCONFIG_NOT_SET; - default: - return null; + case 100: return GCS_DESTINATION_CONFIG; + case 0: return DESTINATIONSTREAMCONFIG_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public DestinationStreamConfigCase getDestinationStreamConfigCase() { - return DestinationStreamConfigCase.forNumber(destinationStreamConfigCase_); + public DestinationStreamConfigCase + getDestinationStreamConfigCase() { + return DestinationStreamConfigCase.forNumber( + destinationStreamConfigCase_); } public static final int DESTINATION_CONNECTION_PROFILE_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object destinationConnectionProfileName_; /** - * - * *
    * Required. Destination connection profile identifier.
    * 
* - * string destination_connection_profile_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * string destination_connection_profile_name = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The destinationConnectionProfileName. */ @java.lang.Override @@ -199,30 +162,29 @@ public java.lang.String getDestinationConnectionProfileName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); destinationConnectionProfileName_ = s; return s; } } /** - * - * *
    * Required. Destination connection profile identifier.
    * 
* - * string destination_connection_profile_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * string destination_connection_profile_name = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The bytes for destinationConnectionProfileName. */ @java.lang.Override - public com.google.protobuf.ByteString getDestinationConnectionProfileNameBytes() { + public com.google.protobuf.ByteString + getDestinationConnectionProfileNameBytes() { java.lang.Object ref = destinationConnectionProfileName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); destinationConnectionProfileName_ = b; return b; } else { @@ -232,9 +194,7 @@ public com.google.protobuf.ByteString getDestinationConnectionProfileNameBytes() public static final int GCS_DESTINATION_CONFIG_FIELD_NUMBER = 100; /** - * .google.cloud.datastream.v1alpha1.GcsDestinationConfig gcs_destination_config = 100; - * - * + * .google.cloud.datastream.v1alpha1.GcsDestinationConfig gcs_destination_config = 100; * @return Whether the gcsDestinationConfig field is set. */ @java.lang.Override @@ -242,33 +202,28 @@ public boolean hasGcsDestinationConfig() { return destinationStreamConfigCase_ == 100; } /** - * .google.cloud.datastream.v1alpha1.GcsDestinationConfig gcs_destination_config = 100; - * - * + * .google.cloud.datastream.v1alpha1.GcsDestinationConfig gcs_destination_config = 100; * @return The gcsDestinationConfig. */ @java.lang.Override public com.google.cloud.datastream.v1alpha1.GcsDestinationConfig getGcsDestinationConfig() { if (destinationStreamConfigCase_ == 100) { - return (com.google.cloud.datastream.v1alpha1.GcsDestinationConfig) destinationStreamConfig_; + return (com.google.cloud.datastream.v1alpha1.GcsDestinationConfig) destinationStreamConfig_; } return com.google.cloud.datastream.v1alpha1.GcsDestinationConfig.getDefaultInstance(); } /** - * .google.cloud.datastream.v1alpha1.GcsDestinationConfig gcs_destination_config = 100; - * + * .google.cloud.datastream.v1alpha1.GcsDestinationConfig gcs_destination_config = 100; */ @java.lang.Override - public com.google.cloud.datastream.v1alpha1.GcsDestinationConfigOrBuilder - getGcsDestinationConfigOrBuilder() { + public com.google.cloud.datastream.v1alpha1.GcsDestinationConfigOrBuilder getGcsDestinationConfigOrBuilder() { if (destinationStreamConfigCase_ == 100) { - return (com.google.cloud.datastream.v1alpha1.GcsDestinationConfig) destinationStreamConfig_; + return (com.google.cloud.datastream.v1alpha1.GcsDestinationConfig) destinationStreamConfig_; } return com.google.cloud.datastream.v1alpha1.GcsDestinationConfig.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -280,15 +235,13 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(destinationConnectionProfileName_)) { - com.google.protobuf.GeneratedMessageV3.writeString( - output, 1, destinationConnectionProfileName_); + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, destinationConnectionProfileName_); } if (destinationStreamConfigCase_ == 100) { - output.writeMessage( - 100, - (com.google.cloud.datastream.v1alpha1.GcsDestinationConfig) destinationStreamConfig_); + output.writeMessage(100, (com.google.cloud.datastream.v1alpha1.GcsDestinationConfig) destinationStreamConfig_); } unknownFields.writeTo(output); } @@ -300,15 +253,11 @@ public int getSerializedSize() { size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(destinationConnectionProfileName_)) { - size += - com.google.protobuf.GeneratedMessageV3.computeStringSize( - 1, destinationConnectionProfileName_); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, destinationConnectionProfileName_); } if (destinationStreamConfigCase_ == 100) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 100, - (com.google.cloud.datastream.v1alpha1.GcsDestinationConfig) destinationStreamConfig_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(100, (com.google.cloud.datastream.v1alpha1.GcsDestinationConfig) destinationStreamConfig_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -318,21 +267,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.datastream.v1alpha1.DestinationConfig)) { return super.equals(obj); } - com.google.cloud.datastream.v1alpha1.DestinationConfig other = - (com.google.cloud.datastream.v1alpha1.DestinationConfig) obj; + com.google.cloud.datastream.v1alpha1.DestinationConfig other = (com.google.cloud.datastream.v1alpha1.DestinationConfig) obj; - if (!getDestinationConnectionProfileName().equals(other.getDestinationConnectionProfileName())) - return false; - if (!getDestinationStreamConfigCase().equals(other.getDestinationStreamConfigCase())) - return false; + if (!getDestinationConnectionProfileName() + .equals(other.getDestinationConnectionProfileName())) return false; + if (!getDestinationStreamConfigCase().equals(other.getDestinationStreamConfigCase())) return false; switch (destinationStreamConfigCase_) { case 100: - if (!getGcsDestinationConfig().equals(other.getGcsDestinationConfig())) return false; + if (!getGcsDestinationConfig() + .equals(other.getGcsDestinationConfig())) return false; break; case 0: default: @@ -364,127 +312,117 @@ public int hashCode() { } public static com.google.cloud.datastream.v1alpha1.DestinationConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.DestinationConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.DestinationConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.DestinationConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.DestinationConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.DestinationConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.DestinationConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.DestinationConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.DestinationConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.DestinationConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.DestinationConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.DestinationConfig 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.datastream.v1alpha1.DestinationConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.DestinationConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datastream.v1alpha1.DestinationConfig prototype) { + public static Builder newBuilder(com.google.cloud.datastream.v1alpha1.DestinationConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The configuration of the stream destination.
    * 
* * Protobuf type {@code google.cloud.datastream.v1alpha1.DestinationConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1alpha1.DestinationConfig) com.google.cloud.datastream.v1alpha1.DestinationConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_DestinationConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_DestinationConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_DestinationConfig_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_DestinationConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.DestinationConfig.class, - com.google.cloud.datastream.v1alpha1.DestinationConfig.Builder.class); + com.google.cloud.datastream.v1alpha1.DestinationConfig.class, com.google.cloud.datastream.v1alpha1.DestinationConfig.Builder.class); } // Construct using com.google.cloud.datastream.v1alpha1.DestinationConfig.newBuilder() @@ -492,15 +430,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -512,9 +451,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_DestinationConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_DestinationConfig_descriptor; } @java.lang.Override @@ -533,8 +472,7 @@ public com.google.cloud.datastream.v1alpha1.DestinationConfig build() { @java.lang.Override public com.google.cloud.datastream.v1alpha1.DestinationConfig buildPartial() { - com.google.cloud.datastream.v1alpha1.DestinationConfig result = - new com.google.cloud.datastream.v1alpha1.DestinationConfig(this); + com.google.cloud.datastream.v1alpha1.DestinationConfig result = new com.google.cloud.datastream.v1alpha1.DestinationConfig(this); result.destinationConnectionProfileName_ = destinationConnectionProfileName_; if (destinationStreamConfigCase_ == 100) { if (gcsDestinationConfigBuilder_ == null) { @@ -552,39 +490,38 @@ public com.google.cloud.datastream.v1alpha1.DestinationConfig buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1alpha1.DestinationConfig) { - return mergeFrom((com.google.cloud.datastream.v1alpha1.DestinationConfig) other); + return mergeFrom((com.google.cloud.datastream.v1alpha1.DestinationConfig)other); } else { super.mergeFrom(other); return this; @@ -592,22 +529,19 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datastream.v1alpha1.DestinationConfig other) { - if (other == com.google.cloud.datastream.v1alpha1.DestinationConfig.getDefaultInstance()) - return this; + if (other == com.google.cloud.datastream.v1alpha1.DestinationConfig.getDefaultInstance()) return this; if (!other.getDestinationConnectionProfileName().isEmpty()) { destinationConnectionProfileName_ = other.destinationConnectionProfileName_; onChanged(); } switch (other.getDestinationStreamConfigCase()) { - case GCS_DESTINATION_CONFIG: - { - mergeGcsDestinationConfig(other.getGcsDestinationConfig()); - break; - } - case DESTINATIONSTREAMCONFIG_NOT_SET: - { - break; - } + case GCS_DESTINATION_CONFIG: { + mergeGcsDestinationConfig(other.getGcsDestinationConfig()); + break; + } + case DESTINATIONSTREAMCONFIG_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -628,8 +562,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datastream.v1alpha1.DestinationConfig) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datastream.v1alpha1.DestinationConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -638,12 +571,12 @@ public Builder mergeFrom( } return this; } - private int destinationStreamConfigCase_ = 0; private java.lang.Object destinationStreamConfig_; - - public DestinationStreamConfigCase getDestinationStreamConfigCase() { - return DestinationStreamConfigCase.forNumber(destinationStreamConfigCase_); + public DestinationStreamConfigCase + getDestinationStreamConfigCase() { + return DestinationStreamConfigCase.forNumber( + destinationStreamConfigCase_); } public Builder clearDestinationStreamConfig() { @@ -653,24 +586,21 @@ public Builder clearDestinationStreamConfig() { return this; } + private java.lang.Object destinationConnectionProfileName_ = ""; /** - * - * *
      * Required. Destination connection profile identifier.
      * 
* - * - * string destination_connection_profile_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * string destination_connection_profile_name = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The destinationConnectionProfileName. */ public java.lang.String getDestinationConnectionProfileName() { java.lang.Object ref = destinationConnectionProfileName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); destinationConnectionProfileName_ = s; return s; @@ -679,23 +609,20 @@ public java.lang.String getDestinationConnectionProfileName() { } } /** - * - * *
      * Required. Destination connection profile identifier.
      * 
* - * - * string destination_connection_profile_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * string destination_connection_profile_name = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The bytes for destinationConnectionProfileName. */ - public com.google.protobuf.ByteString getDestinationConnectionProfileNameBytes() { + public com.google.protobuf.ByteString + getDestinationConnectionProfileNameBytes() { java.lang.Object ref = destinationConnectionProfileName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); destinationConnectionProfileName_ = b; return b; } else { @@ -703,82 +630,63 @@ public com.google.protobuf.ByteString getDestinationConnectionProfileNameBytes() } } /** - * - * *
      * Required. Destination connection profile identifier.
      * 
* - * - * string destination_connection_profile_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * string destination_connection_profile_name = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The destinationConnectionProfileName to set. * @return This builder for chaining. */ - public Builder setDestinationConnectionProfileName(java.lang.String value) { + public Builder setDestinationConnectionProfileName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + destinationConnectionProfileName_ = value; onChanged(); return this; } /** - * - * *
      * Required. Destination connection profile identifier.
      * 
* - * - * string destination_connection_profile_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * string destination_connection_profile_name = 1 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearDestinationConnectionProfileName() { - - destinationConnectionProfileName_ = - getDefaultInstance().getDestinationConnectionProfileName(); + + destinationConnectionProfileName_ = getDefaultInstance().getDestinationConnectionProfileName(); onChanged(); return this; } /** - * - * *
      * Required. Destination connection profile identifier.
      * 
* - * - * string destination_connection_profile_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * string destination_connection_profile_name = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The bytes for destinationConnectionProfileName to set. * @return This builder for chaining. */ - public Builder setDestinationConnectionProfileNameBytes(com.google.protobuf.ByteString value) { + public Builder setDestinationConnectionProfileNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + destinationConnectionProfileName_ = value; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.GcsDestinationConfig, - com.google.cloud.datastream.v1alpha1.GcsDestinationConfig.Builder, - com.google.cloud.datastream.v1alpha1.GcsDestinationConfigOrBuilder> - gcsDestinationConfigBuilder_; + com.google.cloud.datastream.v1alpha1.GcsDestinationConfig, com.google.cloud.datastream.v1alpha1.GcsDestinationConfig.Builder, com.google.cloud.datastream.v1alpha1.GcsDestinationConfigOrBuilder> gcsDestinationConfigBuilder_; /** - * .google.cloud.datastream.v1alpha1.GcsDestinationConfig gcs_destination_config = 100; - * - * + * .google.cloud.datastream.v1alpha1.GcsDestinationConfig gcs_destination_config = 100; * @return Whether the gcsDestinationConfig field is set. */ @java.lang.Override @@ -786,17 +694,14 @@ public boolean hasGcsDestinationConfig() { return destinationStreamConfigCase_ == 100; } /** - * .google.cloud.datastream.v1alpha1.GcsDestinationConfig gcs_destination_config = 100; - * - * + * .google.cloud.datastream.v1alpha1.GcsDestinationConfig gcs_destination_config = 100; * @return The gcsDestinationConfig. */ @java.lang.Override public com.google.cloud.datastream.v1alpha1.GcsDestinationConfig getGcsDestinationConfig() { if (gcsDestinationConfigBuilder_ == null) { if (destinationStreamConfigCase_ == 100) { - return (com.google.cloud.datastream.v1alpha1.GcsDestinationConfig) - destinationStreamConfig_; + return (com.google.cloud.datastream.v1alpha1.GcsDestinationConfig) destinationStreamConfig_; } return com.google.cloud.datastream.v1alpha1.GcsDestinationConfig.getDefaultInstance(); } else { @@ -807,11 +712,9 @@ public com.google.cloud.datastream.v1alpha1.GcsDestinationConfig getGcsDestinati } } /** - * .google.cloud.datastream.v1alpha1.GcsDestinationConfig gcs_destination_config = 100; - * + * .google.cloud.datastream.v1alpha1.GcsDestinationConfig gcs_destination_config = 100; */ - public Builder setGcsDestinationConfig( - com.google.cloud.datastream.v1alpha1.GcsDestinationConfig value) { + public Builder setGcsDestinationConfig(com.google.cloud.datastream.v1alpha1.GcsDestinationConfig value) { if (gcsDestinationConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -825,8 +728,7 @@ public Builder setGcsDestinationConfig( return this; } /** - * .google.cloud.datastream.v1alpha1.GcsDestinationConfig gcs_destination_config = 100; - * + * .google.cloud.datastream.v1alpha1.GcsDestinationConfig gcs_destination_config = 100; */ public Builder setGcsDestinationConfig( com.google.cloud.datastream.v1alpha1.GcsDestinationConfig.Builder builderForValue) { @@ -840,21 +742,14 @@ public Builder setGcsDestinationConfig( return this; } /** - * .google.cloud.datastream.v1alpha1.GcsDestinationConfig gcs_destination_config = 100; - * + * .google.cloud.datastream.v1alpha1.GcsDestinationConfig gcs_destination_config = 100; */ - public Builder mergeGcsDestinationConfig( - com.google.cloud.datastream.v1alpha1.GcsDestinationConfig value) { + public Builder mergeGcsDestinationConfig(com.google.cloud.datastream.v1alpha1.GcsDestinationConfig value) { if (gcsDestinationConfigBuilder_ == null) { - if (destinationStreamConfigCase_ == 100 - && destinationStreamConfig_ - != com.google.cloud.datastream.v1alpha1.GcsDestinationConfig.getDefaultInstance()) { - destinationStreamConfig_ = - com.google.cloud.datastream.v1alpha1.GcsDestinationConfig.newBuilder( - (com.google.cloud.datastream.v1alpha1.GcsDestinationConfig) - destinationStreamConfig_) - .mergeFrom(value) - .buildPartial(); + if (destinationStreamConfigCase_ == 100 && + destinationStreamConfig_ != com.google.cloud.datastream.v1alpha1.GcsDestinationConfig.getDefaultInstance()) { + destinationStreamConfig_ = com.google.cloud.datastream.v1alpha1.GcsDestinationConfig.newBuilder((com.google.cloud.datastream.v1alpha1.GcsDestinationConfig) destinationStreamConfig_) + .mergeFrom(value).buildPartial(); } else { destinationStreamConfig_ = value; } @@ -870,8 +765,7 @@ public Builder mergeGcsDestinationConfig( return this; } /** - * .google.cloud.datastream.v1alpha1.GcsDestinationConfig gcs_destination_config = 100; - * + * .google.cloud.datastream.v1alpha1.GcsDestinationConfig gcs_destination_config = 100; */ public Builder clearGcsDestinationConfig() { if (gcsDestinationConfigBuilder_ == null) { @@ -890,63 +784,49 @@ public Builder clearGcsDestinationConfig() { return this; } /** - * .google.cloud.datastream.v1alpha1.GcsDestinationConfig gcs_destination_config = 100; - * + * .google.cloud.datastream.v1alpha1.GcsDestinationConfig gcs_destination_config = 100; */ - public com.google.cloud.datastream.v1alpha1.GcsDestinationConfig.Builder - getGcsDestinationConfigBuilder() { + public com.google.cloud.datastream.v1alpha1.GcsDestinationConfig.Builder getGcsDestinationConfigBuilder() { return getGcsDestinationConfigFieldBuilder().getBuilder(); } /** - * .google.cloud.datastream.v1alpha1.GcsDestinationConfig gcs_destination_config = 100; - * + * .google.cloud.datastream.v1alpha1.GcsDestinationConfig gcs_destination_config = 100; */ @java.lang.Override - public com.google.cloud.datastream.v1alpha1.GcsDestinationConfigOrBuilder - getGcsDestinationConfigOrBuilder() { + public com.google.cloud.datastream.v1alpha1.GcsDestinationConfigOrBuilder getGcsDestinationConfigOrBuilder() { if ((destinationStreamConfigCase_ == 100) && (gcsDestinationConfigBuilder_ != null)) { return gcsDestinationConfigBuilder_.getMessageOrBuilder(); } else { if (destinationStreamConfigCase_ == 100) { - return (com.google.cloud.datastream.v1alpha1.GcsDestinationConfig) - destinationStreamConfig_; + return (com.google.cloud.datastream.v1alpha1.GcsDestinationConfig) destinationStreamConfig_; } return com.google.cloud.datastream.v1alpha1.GcsDestinationConfig.getDefaultInstance(); } } /** - * .google.cloud.datastream.v1alpha1.GcsDestinationConfig gcs_destination_config = 100; - * + * .google.cloud.datastream.v1alpha1.GcsDestinationConfig gcs_destination_config = 100; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.GcsDestinationConfig, - com.google.cloud.datastream.v1alpha1.GcsDestinationConfig.Builder, - com.google.cloud.datastream.v1alpha1.GcsDestinationConfigOrBuilder> + com.google.cloud.datastream.v1alpha1.GcsDestinationConfig, com.google.cloud.datastream.v1alpha1.GcsDestinationConfig.Builder, com.google.cloud.datastream.v1alpha1.GcsDestinationConfigOrBuilder> getGcsDestinationConfigFieldBuilder() { if (gcsDestinationConfigBuilder_ == null) { if (!(destinationStreamConfigCase_ == 100)) { - destinationStreamConfig_ = - com.google.cloud.datastream.v1alpha1.GcsDestinationConfig.getDefaultInstance(); + destinationStreamConfig_ = com.google.cloud.datastream.v1alpha1.GcsDestinationConfig.getDefaultInstance(); } - gcsDestinationConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.GcsDestinationConfig, - com.google.cloud.datastream.v1alpha1.GcsDestinationConfig.Builder, - com.google.cloud.datastream.v1alpha1.GcsDestinationConfigOrBuilder>( - (com.google.cloud.datastream.v1alpha1.GcsDestinationConfig) - destinationStreamConfig_, + gcsDestinationConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1alpha1.GcsDestinationConfig, com.google.cloud.datastream.v1alpha1.GcsDestinationConfig.Builder, com.google.cloud.datastream.v1alpha1.GcsDestinationConfigOrBuilder>( + (com.google.cloud.datastream.v1alpha1.GcsDestinationConfig) destinationStreamConfig_, getParentForChildren(), isClean()); destinationStreamConfig_ = null; } destinationStreamConfigCase_ = 100; - onChanged(); - ; + onChanged();; return gcsDestinationConfigBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -956,12 +836,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1alpha1.DestinationConfig) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1alpha1.DestinationConfig) private static final com.google.cloud.datastream.v1alpha1.DestinationConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1alpha1.DestinationConfig(); } @@ -970,16 +850,16 @@ public static com.google.cloud.datastream.v1alpha1.DestinationConfig getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DestinationConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DestinationConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DestinationConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DestinationConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -994,4 +874,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datastream.v1alpha1.DestinationConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DestinationConfigOrBuilder.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DestinationConfigOrBuilder.java similarity index 55% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DestinationConfigOrBuilder.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DestinationConfigOrBuilder.java index 82556d05..7442f546 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DestinationConfigOrBuilder.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DestinationConfigOrBuilder.java @@ -1,76 +1,46 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1alpha1/datastream_resources.proto package com.google.cloud.datastream.v1alpha1; -public interface DestinationConfigOrBuilder - extends +public interface DestinationConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1alpha1.DestinationConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Destination connection profile identifier.
    * 
* - * string destination_connection_profile_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * string destination_connection_profile_name = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The destinationConnectionProfileName. */ java.lang.String getDestinationConnectionProfileName(); /** - * - * *
    * Required. Destination connection profile identifier.
    * 
* - * string destination_connection_profile_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * string destination_connection_profile_name = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The bytes for destinationConnectionProfileName. */ - com.google.protobuf.ByteString getDestinationConnectionProfileNameBytes(); + com.google.protobuf.ByteString + getDestinationConnectionProfileNameBytes(); /** - * .google.cloud.datastream.v1alpha1.GcsDestinationConfig gcs_destination_config = 100; - * - * + * .google.cloud.datastream.v1alpha1.GcsDestinationConfig gcs_destination_config = 100; * @return Whether the gcsDestinationConfig field is set. */ boolean hasGcsDestinationConfig(); /** - * .google.cloud.datastream.v1alpha1.GcsDestinationConfig gcs_destination_config = 100; - * - * + * .google.cloud.datastream.v1alpha1.GcsDestinationConfig gcs_destination_config = 100; * @return The gcsDestinationConfig. */ com.google.cloud.datastream.v1alpha1.GcsDestinationConfig getGcsDestinationConfig(); /** - * .google.cloud.datastream.v1alpha1.GcsDestinationConfig gcs_destination_config = 100; - * + * .google.cloud.datastream.v1alpha1.GcsDestinationConfig gcs_destination_config = 100; */ - com.google.cloud.datastream.v1alpha1.GcsDestinationConfigOrBuilder - getGcsDestinationConfigOrBuilder(); + com.google.cloud.datastream.v1alpha1.GcsDestinationConfigOrBuilder getGcsDestinationConfigOrBuilder(); - public com.google.cloud.datastream.v1alpha1.DestinationConfig.DestinationStreamConfigCase - getDestinationStreamConfigCase(); + public com.google.cloud.datastream.v1alpha1.DestinationConfig.DestinationStreamConfigCase getDestinationStreamConfigCase(); } diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DiscoverConnectionProfileRequest.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DiscoverConnectionProfileRequest.java similarity index 70% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DiscoverConnectionProfileRequest.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DiscoverConnectionProfileRequest.java index 4df29478..de3d375a 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DiscoverConnectionProfileRequest.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DiscoverConnectionProfileRequest.java @@ -1,58 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1alpha1/datastream.proto package com.google.cloud.datastream.v1alpha1; /** - * - * *
  * Request message for 'discover' ConnectionProfile request.
  * 
* * Protobuf type {@code google.cloud.datastream.v1alpha1.DiscoverConnectionProfileRequest} */ -public final class DiscoverConnectionProfileRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DiscoverConnectionProfileRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1alpha1.DiscoverConnectionProfileRequest) DiscoverConnectionProfileRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DiscoverConnectionProfileRequest.newBuilder() to construct. - private DiscoverConnectionProfileRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private DiscoverConnectionProfileRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DiscoverConnectionProfileRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DiscoverConnectionProfileRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DiscoverConnectionProfileRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,93 +53,77 @@ private DiscoverConnectionProfileRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 24: - { - depth_ = input.readBool(); - depthCase_ = 3; - break; + parent_ = s; + break; + } + case 24: { + depth_ = input.readBool(); + depthCase_ = 3; + break; + } + case 32: { + depth_ = input.readInt32(); + depthCase_ = 4; + break; + } + case 802: { + com.google.cloud.datastream.v1alpha1.OracleRdbms.Builder subBuilder = null; + if (dataObjectCase_ == 100) { + subBuilder = ((com.google.cloud.datastream.v1alpha1.OracleRdbms) dataObject_).toBuilder(); } - case 32: - { - depth_ = input.readInt32(); - depthCase_ = 4; - break; + dataObject_ = + input.readMessage(com.google.cloud.datastream.v1alpha1.OracleRdbms.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.datastream.v1alpha1.OracleRdbms) dataObject_); + dataObject_ = subBuilder.buildPartial(); } - case 802: - { - com.google.cloud.datastream.v1alpha1.OracleRdbms.Builder subBuilder = null; - if (dataObjectCase_ == 100) { - subBuilder = - ((com.google.cloud.datastream.v1alpha1.OracleRdbms) dataObject_).toBuilder(); - } - dataObject_ = - input.readMessage( - com.google.cloud.datastream.v1alpha1.OracleRdbms.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.datastream.v1alpha1.OracleRdbms) dataObject_); - dataObject_ = subBuilder.buildPartial(); - } - dataObjectCase_ = 100; - break; + dataObjectCase_ = 100; + break; + } + case 810: { + com.google.cloud.datastream.v1alpha1.MysqlRdbms.Builder subBuilder = null; + if (dataObjectCase_ == 101) { + subBuilder = ((com.google.cloud.datastream.v1alpha1.MysqlRdbms) dataObject_).toBuilder(); } - case 810: - { - com.google.cloud.datastream.v1alpha1.MysqlRdbms.Builder subBuilder = null; - if (dataObjectCase_ == 101) { - subBuilder = - ((com.google.cloud.datastream.v1alpha1.MysqlRdbms) dataObject_).toBuilder(); - } - dataObject_ = - input.readMessage( - com.google.cloud.datastream.v1alpha1.MysqlRdbms.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.datastream.v1alpha1.MysqlRdbms) dataObject_); - dataObject_ = subBuilder.buildPartial(); - } - dataObjectCase_ = 101; - break; + dataObject_ = + input.readMessage(com.google.cloud.datastream.v1alpha1.MysqlRdbms.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.datastream.v1alpha1.MysqlRdbms) dataObject_); + dataObject_ = subBuilder.buildPartial(); } - case 1602: - { - com.google.cloud.datastream.v1alpha1.ConnectionProfile.Builder subBuilder = null; - if (targetCase_ == 200) { - subBuilder = - ((com.google.cloud.datastream.v1alpha1.ConnectionProfile) target_).toBuilder(); - } - target_ = - input.readMessage( - com.google.cloud.datastream.v1alpha1.ConnectionProfile.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.datastream.v1alpha1.ConnectionProfile) target_); - target_ = subBuilder.buildPartial(); - } - targetCase_ = 200; - break; + dataObjectCase_ = 101; + break; + } + case 1602: { + com.google.cloud.datastream.v1alpha1.ConnectionProfile.Builder subBuilder = null; + if (targetCase_ == 200) { + subBuilder = ((com.google.cloud.datastream.v1alpha1.ConnectionProfile) target_).toBuilder(); } - case 1610: - { - java.lang.String s = input.readStringRequireUtf8(); - targetCase_ = 201; - target_ = s; - break; + target_ = + input.readMessage(com.google.cloud.datastream.v1alpha1.ConnectionProfile.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.datastream.v1alpha1.ConnectionProfile) target_); + target_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + targetCase_ = 200; + break; + } + case 1610: { + java.lang.String s = input.readStringRequireUtf8(); + targetCase_ = 201; + target_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -165,40 +131,35 @@ private DiscoverConnectionProfileRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_DiscoverConnectionProfileRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_DiscoverConnectionProfileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_DiscoverConnectionProfileRequest_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_DiscoverConnectionProfileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileRequest.class, - com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileRequest.Builder.class); + com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileRequest.class, com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileRequest.Builder.class); } private int targetCase_ = 0; private java.lang.Object target_; - public enum TargetCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { CONNECTION_PROFILE(200), CONNECTION_PROFILE_NAME(201), TARGET_NOT_SET(0); private final int value; - private TargetCase(int value) { this.value = value; } @@ -214,38 +175,32 @@ public static TargetCase valueOf(int value) { public static TargetCase forNumber(int value) { switch (value) { - case 200: - return CONNECTION_PROFILE; - case 201: - return CONNECTION_PROFILE_NAME; - case 0: - return TARGET_NOT_SET; - default: - return null; + case 200: return CONNECTION_PROFILE; + case 201: return CONNECTION_PROFILE_NAME; + case 0: return TARGET_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public TargetCase getTargetCase() { - return TargetCase.forNumber(targetCase_); + public TargetCase + getTargetCase() { + return TargetCase.forNumber( + targetCase_); } private int depthCase_ = 0; private java.lang.Object depth_; - public enum DepthCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { RECURSIVE(3), RECURSION_DEPTH(4), DEPTH_NOT_SET(0); private final int value; - private DepthCase(int value) { this.value = value; } @@ -261,38 +216,32 @@ public static DepthCase valueOf(int value) { public static DepthCase forNumber(int value) { switch (value) { - case 3: - return RECURSIVE; - case 4: - return RECURSION_DEPTH; - case 0: - return DEPTH_NOT_SET; - default: - return null; + case 3: return RECURSIVE; + case 4: return RECURSION_DEPTH; + case 0: return DEPTH_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public DepthCase getDepthCase() { - return DepthCase.forNumber(depthCase_); + public DepthCase + getDepthCase() { + return DepthCase.forNumber( + depthCase_); } private int dataObjectCase_ = 0; private java.lang.Object dataObject_; - public enum DataObjectCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { ORACLE_RDBMS(100), MYSQL_RDBMS(101), DATAOBJECT_NOT_SET(0); private final int value; - private DataObjectCase(int value) { this.value = value; } @@ -308,40 +257,32 @@ public static DataObjectCase valueOf(int value) { public static DataObjectCase forNumber(int value) { switch (value) { - case 100: - return ORACLE_RDBMS; - case 101: - return MYSQL_RDBMS; - case 0: - return DATAOBJECT_NOT_SET; - default: - return null; + case 100: return ORACLE_RDBMS; + case 101: return MYSQL_RDBMS; + case 0: return DATAOBJECT_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public DataObjectCase getDataObjectCase() { - return DataObjectCase.forNumber(dataObjectCase_); + public DataObjectCase + getDataObjectCase() { + return DataObjectCase.forNumber( + dataObjectCase_); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The parent resource of the ConnectionProfile type. Must be in the
    * format `projects/*/locations/*`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -350,32 +291,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 ConnectionProfile type. Must be in the
    * format `projects/*/locations/*`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -385,14 +324,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int CONNECTION_PROFILE_FIELD_NUMBER = 200; /** - * - * *
    * An ad-hoc ConnectionProfile configuration.
    * 
* * .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profile = 200; - * * @return Whether the connectionProfile field is set. */ @java.lang.Override @@ -400,26 +336,21 @@ public boolean hasConnectionProfile() { return targetCase_ == 200; } /** - * - * *
    * An ad-hoc ConnectionProfile configuration.
    * 
* * .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profile = 200; - * * @return The connectionProfile. */ @java.lang.Override public com.google.cloud.datastream.v1alpha1.ConnectionProfile getConnectionProfile() { if (targetCase_ == 200) { - return (com.google.cloud.datastream.v1alpha1.ConnectionProfile) target_; + return (com.google.cloud.datastream.v1alpha1.ConnectionProfile) target_; } return com.google.cloud.datastream.v1alpha1.ConnectionProfile.getDefaultInstance(); } /** - * - * *
    * An ad-hoc ConnectionProfile configuration.
    * 
@@ -427,38 +358,31 @@ public com.google.cloud.datastream.v1alpha1.ConnectionProfile getConnectionProfi * .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profile = 200; */ @java.lang.Override - public com.google.cloud.datastream.v1alpha1.ConnectionProfileOrBuilder - getConnectionProfileOrBuilder() { + public com.google.cloud.datastream.v1alpha1.ConnectionProfileOrBuilder getConnectionProfileOrBuilder() { if (targetCase_ == 200) { - return (com.google.cloud.datastream.v1alpha1.ConnectionProfile) target_; + return (com.google.cloud.datastream.v1alpha1.ConnectionProfile) target_; } return com.google.cloud.datastream.v1alpha1.ConnectionProfile.getDefaultInstance(); } public static final int CONNECTION_PROFILE_NAME_FIELD_NUMBER = 201; /** - * - * *
    * A reference to an existing ConnectionProfile.
    * 
* * string connection_profile_name = 201; - * * @return Whether the connectionProfileName field is set. */ public boolean hasConnectionProfileName() { return targetCase_ == 201; } /** - * - * *
    * A reference to an existing ConnectionProfile.
    * 
* * string connection_profile_name = 201; - * * @return The connectionProfileName. */ public java.lang.String getConnectionProfileName() { @@ -469,7 +393,8 @@ public java.lang.String getConnectionProfileName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (targetCase_ == 201) { target_ = s; @@ -478,24 +403,23 @@ public java.lang.String getConnectionProfileName() { } } /** - * - * *
    * A reference to an existing ConnectionProfile.
    * 
* * string connection_profile_name = 201; - * * @return The bytes for connectionProfileName. */ - public com.google.protobuf.ByteString getConnectionProfileNameBytes() { + public com.google.protobuf.ByteString + getConnectionProfileNameBytes() { java.lang.Object ref = ""; if (targetCase_ == 201) { 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); if (targetCase_ == 201) { target_ = b; } @@ -507,15 +431,12 @@ public com.google.protobuf.ByteString getConnectionProfileNameBytes() { public static final int RECURSIVE_FIELD_NUMBER = 3; /** - * - * *
    * Whether to retrieve the full hierarchy of data objects (TRUE) or only the
    * current level (FALSE).
    * 
* * bool recursive = 3; - * * @return Whether the recursive field is set. */ @java.lang.Override @@ -523,15 +444,12 @@ public boolean hasRecursive() { return depthCase_ == 3; } /** - * - * *
    * Whether to retrieve the full hierarchy of data objects (TRUE) or only the
    * current level (FALSE).
    * 
* * bool recursive = 3; - * * @return The recursive. */ @java.lang.Override @@ -544,14 +462,11 @@ public boolean getRecursive() { public static final int RECURSION_DEPTH_FIELD_NUMBER = 4; /** - * - * *
    * The number of hierarchy levels below the current level to be retrieved.
    * 
* * int32 recursion_depth = 4; - * * @return Whether the recursionDepth field is set. */ @java.lang.Override @@ -559,14 +474,11 @@ public boolean hasRecursionDepth() { return depthCase_ == 4; } /** - * - * *
    * The number of hierarchy levels below the current level to be retrieved.
    * 
* * int32 recursion_depth = 4; - * * @return The recursionDepth. */ @java.lang.Override @@ -579,14 +491,11 @@ public int getRecursionDepth() { public static final int ORACLE_RDBMS_FIELD_NUMBER = 100; /** - * - * *
    * Oracle RDBMS to enrich with child data objects and metadata.
    * 
* * .google.cloud.datastream.v1alpha1.OracleRdbms oracle_rdbms = 100; - * * @return Whether the oracleRdbms field is set. */ @java.lang.Override @@ -594,26 +503,21 @@ public boolean hasOracleRdbms() { return dataObjectCase_ == 100; } /** - * - * *
    * Oracle RDBMS to enrich with child data objects and metadata.
    * 
* * .google.cloud.datastream.v1alpha1.OracleRdbms oracle_rdbms = 100; - * * @return The oracleRdbms. */ @java.lang.Override public com.google.cloud.datastream.v1alpha1.OracleRdbms getOracleRdbms() { if (dataObjectCase_ == 100) { - return (com.google.cloud.datastream.v1alpha1.OracleRdbms) dataObject_; + return (com.google.cloud.datastream.v1alpha1.OracleRdbms) dataObject_; } return com.google.cloud.datastream.v1alpha1.OracleRdbms.getDefaultInstance(); } /** - * - * *
    * Oracle RDBMS to enrich with child data objects and metadata.
    * 
@@ -623,21 +527,18 @@ public com.google.cloud.datastream.v1alpha1.OracleRdbms getOracleRdbms() { @java.lang.Override public com.google.cloud.datastream.v1alpha1.OracleRdbmsOrBuilder getOracleRdbmsOrBuilder() { if (dataObjectCase_ == 100) { - return (com.google.cloud.datastream.v1alpha1.OracleRdbms) dataObject_; + return (com.google.cloud.datastream.v1alpha1.OracleRdbms) dataObject_; } return com.google.cloud.datastream.v1alpha1.OracleRdbms.getDefaultInstance(); } public static final int MYSQL_RDBMS_FIELD_NUMBER = 101; /** - * - * *
    * MySQL RDBMS to enrich with child data objects and metadata.
    * 
* * .google.cloud.datastream.v1alpha1.MysqlRdbms mysql_rdbms = 101; - * * @return Whether the mysqlRdbms field is set. */ @java.lang.Override @@ -645,26 +546,21 @@ public boolean hasMysqlRdbms() { return dataObjectCase_ == 101; } /** - * - * *
    * MySQL RDBMS to enrich with child data objects and metadata.
    * 
* * .google.cloud.datastream.v1alpha1.MysqlRdbms mysql_rdbms = 101; - * * @return The mysqlRdbms. */ @java.lang.Override public com.google.cloud.datastream.v1alpha1.MysqlRdbms getMysqlRdbms() { if (dataObjectCase_ == 101) { - return (com.google.cloud.datastream.v1alpha1.MysqlRdbms) dataObject_; + return (com.google.cloud.datastream.v1alpha1.MysqlRdbms) dataObject_; } return com.google.cloud.datastream.v1alpha1.MysqlRdbms.getDefaultInstance(); } /** - * - * *
    * MySQL RDBMS to enrich with child data objects and metadata.
    * 
@@ -674,13 +570,12 @@ public com.google.cloud.datastream.v1alpha1.MysqlRdbms getMysqlRdbms() { @java.lang.Override public com.google.cloud.datastream.v1alpha1.MysqlRdbmsOrBuilder getMysqlRdbmsOrBuilder() { if (dataObjectCase_ == 101) { - return (com.google.cloud.datastream.v1alpha1.MysqlRdbms) dataObject_; + return (com.google.cloud.datastream.v1alpha1.MysqlRdbms) dataObject_; } return com.google.cloud.datastream.v1alpha1.MysqlRdbms.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -692,15 +587,18 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } if (depthCase_ == 3) { - output.writeBool(3, (boolean) ((java.lang.Boolean) depth_)); + output.writeBool( + 3, (boolean)((java.lang.Boolean) depth_)); } if (depthCase_ == 4) { - output.writeInt32(4, (int) ((java.lang.Integer) depth_)); + output.writeInt32( + 4, (int)((java.lang.Integer) depth_)); } if (dataObjectCase_ == 100) { output.writeMessage(100, (com.google.cloud.datastream.v1alpha1.OracleRdbms) dataObject_); @@ -727,29 +625,26 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (depthCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeBoolSize( - 3, (boolean) ((java.lang.Boolean) depth_)); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize( + 3, (boolean)((java.lang.Boolean) depth_)); } if (depthCase_ == 4) { - size += - com.google.protobuf.CodedOutputStream.computeInt32Size( - 4, (int) ((java.lang.Integer) depth_)); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size( + 4, (int)((java.lang.Integer) depth_)); } if (dataObjectCase_ == 100) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 100, (com.google.cloud.datastream.v1alpha1.OracleRdbms) dataObject_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(100, (com.google.cloud.datastream.v1alpha1.OracleRdbms) dataObject_); } if (dataObjectCase_ == 101) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 101, (com.google.cloud.datastream.v1alpha1.MysqlRdbms) dataObject_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(101, (com.google.cloud.datastream.v1alpha1.MysqlRdbms) dataObject_); } if (targetCase_ == 200) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 200, (com.google.cloud.datastream.v1alpha1.ConnectionProfile) target_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(200, (com.google.cloud.datastream.v1alpha1.ConnectionProfile) target_); } if (targetCase_ == 201) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(201, target_); @@ -762,22 +657,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.datastream.v1alpha1.DiscoverConnectionProfileRequest)) { return super.equals(obj); } - com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileRequest other = - (com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileRequest) obj; + com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileRequest other = (com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (!getTargetCase().equals(other.getTargetCase())) return false; switch (targetCase_) { case 200: - if (!getConnectionProfile().equals(other.getConnectionProfile())) return false; + if (!getConnectionProfile() + .equals(other.getConnectionProfile())) return false; break; case 201: - if (!getConnectionProfileName().equals(other.getConnectionProfileName())) return false; + if (!getConnectionProfileName() + .equals(other.getConnectionProfileName())) return false; break; case 0: default: @@ -785,10 +682,12 @@ public boolean equals(final java.lang.Object obj) { if (!getDepthCase().equals(other.getDepthCase())) return false; switch (depthCase_) { case 3: - if (getRecursive() != other.getRecursive()) return false; + if (getRecursive() + != other.getRecursive()) return false; break; case 4: - if (getRecursionDepth() != other.getRecursionDepth()) return false; + if (getRecursionDepth() + != other.getRecursionDepth()) return false; break; case 0: default: @@ -796,10 +695,12 @@ public boolean equals(final java.lang.Object obj) { if (!getDataObjectCase().equals(other.getDataObjectCase())) return false; switch (dataObjectCase_) { case 100: - if (!getOracleRdbms().equals(other.getOracleRdbms())) return false; + if (!getOracleRdbms() + .equals(other.getOracleRdbms())) return false; break; case 101: - if (!getMysqlRdbms().equals(other.getMysqlRdbms())) return false; + if (!getMysqlRdbms() + .equals(other.getMysqlRdbms())) return false; break; case 0: default: @@ -832,7 +733,8 @@ public int hashCode() { switch (depthCase_) { case 3: hash = (37 * hash) + RECURSIVE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRecursive()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getRecursive()); break; case 4: hash = (37 * hash) + RECURSION_DEPTH_FIELD_NUMBER; @@ -859,145 +761,134 @@ public int hashCode() { } public static com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileRequest prototype) { + public static Builder newBuilder(com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for 'discover' ConnectionProfile request.
    * 
* * Protobuf type {@code google.cloud.datastream.v1alpha1.DiscoverConnectionProfileRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1alpha1.DiscoverConnectionProfileRequest) com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_DiscoverConnectionProfileRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_DiscoverConnectionProfileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_DiscoverConnectionProfileRequest_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_DiscoverConnectionProfileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileRequest.class, - com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileRequest.Builder.class); + com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileRequest.class, com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileRequest.Builder.class); } - // Construct using - // com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileRequest.newBuilder() + // Construct using com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1013,16 +904,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_DiscoverConnectionProfileRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_DiscoverConnectionProfileRequest_descriptor; } @java.lang.Override - public com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileRequest - getDefaultInstanceForType() { - return com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileRequest - .getDefaultInstance(); + public com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileRequest getDefaultInstanceForType() { + return com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileRequest.getDefaultInstance(); } @java.lang.Override @@ -1036,8 +925,7 @@ public com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileRequest bui @java.lang.Override public com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileRequest buildPartial() { - com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileRequest result = - new com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileRequest(this); + com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileRequest result = new com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileRequest(this); result.parent_ = parent_; if (targetCase_ == 200) { if (connectionProfileBuilder_ == null) { @@ -1080,104 +968,90 @@ public com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileRequest bui public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileRequest) { - return mergeFrom( - (com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileRequest) other); + return mergeFrom((com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileRequest other) { - if (other - == com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileRequest other) { + if (other == com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); } switch (other.getTargetCase()) { - case CONNECTION_PROFILE: - { - mergeConnectionProfile(other.getConnectionProfile()); - break; - } - case CONNECTION_PROFILE_NAME: - { - targetCase_ = 201; - target_ = other.target_; - onChanged(); - break; - } - case TARGET_NOT_SET: - { - break; - } + case CONNECTION_PROFILE: { + mergeConnectionProfile(other.getConnectionProfile()); + break; + } + case CONNECTION_PROFILE_NAME: { + targetCase_ = 201; + target_ = other.target_; + onChanged(); + break; + } + case TARGET_NOT_SET: { + break; + } } switch (other.getDepthCase()) { - case RECURSIVE: - { - setRecursive(other.getRecursive()); - break; - } - case RECURSION_DEPTH: - { - setRecursionDepth(other.getRecursionDepth()); - break; - } - case DEPTH_NOT_SET: - { - break; - } + case RECURSIVE: { + setRecursive(other.getRecursive()); + break; + } + case RECURSION_DEPTH: { + setRecursionDepth(other.getRecursionDepth()); + break; + } + case DEPTH_NOT_SET: { + break; + } } switch (other.getDataObjectCase()) { - case ORACLE_RDBMS: - { - mergeOracleRdbms(other.getOracleRdbms()); - break; - } - case MYSQL_RDBMS: - { - mergeMysqlRdbms(other.getMysqlRdbms()); - break; - } - case DATAOBJECT_NOT_SET: - { - break; - } + case ORACLE_RDBMS: { + mergeOracleRdbms(other.getOracleRdbms()); + break; + } + case MYSQL_RDBMS: { + mergeMysqlRdbms(other.getMysqlRdbms()); + break; + } + case DATAOBJECT_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -1198,9 +1072,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1209,12 +1081,12 @@ public Builder mergeFrom( } return this; } - private int targetCase_ = 0; private java.lang.Object target_; - - public TargetCase getTargetCase() { - return TargetCase.forNumber(targetCase_); + public TargetCase + getTargetCase() { + return TargetCase.forNumber( + targetCase_); } public Builder clearTarget() { @@ -1226,9 +1098,10 @@ public Builder clearTarget() { private int depthCase_ = 0; private java.lang.Object depth_; - - public DepthCase getDepthCase() { - return DepthCase.forNumber(depthCase_); + public DepthCase + getDepthCase() { + return DepthCase.forNumber( + depthCase_); } public Builder clearDepth() { @@ -1240,9 +1113,10 @@ public Builder clearDepth() { private int dataObjectCase_ = 0; private java.lang.Object dataObject_; - - public DataObjectCase getDataObjectCase() { - return DataObjectCase.forNumber(dataObjectCase_); + public DataObjectCase + getDataObjectCase() { + return DataObjectCase.forNumber( + dataObjectCase_); } public Builder clearDataObject() { @@ -1252,25 +1126,22 @@ public Builder clearDataObject() { return this; } + private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent resource of the ConnectionProfile type. Must be in the
      * format `projects/*/locations/*`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -1279,24 +1150,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent resource of the ConnectionProfile type. Must be in the
      * format `projects/*/locations/*`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -1304,89 +1172,70 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent resource of the ConnectionProfile type. Must be in the
      * format `projects/*/locations/*`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The parent resource of the ConnectionProfile type. Must be in the
      * format `projects/*/locations/*`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The parent resource of the ConnectionProfile type. Must be in the
      * format `projects/*/locations/*`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.ConnectionProfile, - com.google.cloud.datastream.v1alpha1.ConnectionProfile.Builder, - com.google.cloud.datastream.v1alpha1.ConnectionProfileOrBuilder> - connectionProfileBuilder_; + com.google.cloud.datastream.v1alpha1.ConnectionProfile, com.google.cloud.datastream.v1alpha1.ConnectionProfile.Builder, com.google.cloud.datastream.v1alpha1.ConnectionProfileOrBuilder> connectionProfileBuilder_; /** - * - * *
      * An ad-hoc ConnectionProfile configuration.
      * 
* * .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profile = 200; - * * @return Whether the connectionProfile field is set. */ @java.lang.Override @@ -1394,14 +1243,11 @@ public boolean hasConnectionProfile() { return targetCase_ == 200; } /** - * - * *
      * An ad-hoc ConnectionProfile configuration.
      * 
* * .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profile = 200; - * * @return The connectionProfile. */ @java.lang.Override @@ -1419,16 +1265,13 @@ public com.google.cloud.datastream.v1alpha1.ConnectionProfile getConnectionProfi } } /** - * - * *
      * An ad-hoc ConnectionProfile configuration.
      * 
* * .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profile = 200; */ - public Builder setConnectionProfile( - com.google.cloud.datastream.v1alpha1.ConnectionProfile value) { + public Builder setConnectionProfile(com.google.cloud.datastream.v1alpha1.ConnectionProfile value) { if (connectionProfileBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1442,8 +1285,6 @@ public Builder setConnectionProfile( return this; } /** - * - * *
      * An ad-hoc ConnectionProfile configuration.
      * 
@@ -1462,25 +1303,18 @@ public Builder setConnectionProfile( return this; } /** - * - * *
      * An ad-hoc ConnectionProfile configuration.
      * 
* * .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profile = 200; */ - public Builder mergeConnectionProfile( - com.google.cloud.datastream.v1alpha1.ConnectionProfile value) { + public Builder mergeConnectionProfile(com.google.cloud.datastream.v1alpha1.ConnectionProfile value) { if (connectionProfileBuilder_ == null) { - if (targetCase_ == 200 - && target_ - != com.google.cloud.datastream.v1alpha1.ConnectionProfile.getDefaultInstance()) { - target_ = - com.google.cloud.datastream.v1alpha1.ConnectionProfile.newBuilder( - (com.google.cloud.datastream.v1alpha1.ConnectionProfile) target_) - .mergeFrom(value) - .buildPartial(); + if (targetCase_ == 200 && + target_ != com.google.cloud.datastream.v1alpha1.ConnectionProfile.getDefaultInstance()) { + target_ = com.google.cloud.datastream.v1alpha1.ConnectionProfile.newBuilder((com.google.cloud.datastream.v1alpha1.ConnectionProfile) target_) + .mergeFrom(value).buildPartial(); } else { target_ = value; } @@ -1496,8 +1330,6 @@ public Builder mergeConnectionProfile( return this; } /** - * - * *
      * An ad-hoc ConnectionProfile configuration.
      * 
@@ -1521,21 +1353,16 @@ public Builder clearConnectionProfile() { return this; } /** - * - * *
      * An ad-hoc ConnectionProfile configuration.
      * 
* * .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profile = 200; */ - public com.google.cloud.datastream.v1alpha1.ConnectionProfile.Builder - getConnectionProfileBuilder() { + public com.google.cloud.datastream.v1alpha1.ConnectionProfile.Builder getConnectionProfileBuilder() { return getConnectionProfileFieldBuilder().getBuilder(); } /** - * - * *
      * An ad-hoc ConnectionProfile configuration.
      * 
@@ -1543,8 +1370,7 @@ public Builder clearConnectionProfile() { * .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profile = 200; */ @java.lang.Override - public com.google.cloud.datastream.v1alpha1.ConnectionProfileOrBuilder - getConnectionProfileOrBuilder() { + public com.google.cloud.datastream.v1alpha1.ConnectionProfileOrBuilder getConnectionProfileOrBuilder() { if ((targetCase_ == 200) && (connectionProfileBuilder_ != null)) { return connectionProfileBuilder_.getMessageOrBuilder(); } else { @@ -1555,8 +1381,6 @@ public Builder clearConnectionProfile() { } } /** - * - * *
      * An ad-hoc ConnectionProfile configuration.
      * 
@@ -1564,39 +1388,30 @@ public Builder clearConnectionProfile() { * .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profile = 200; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.ConnectionProfile, - com.google.cloud.datastream.v1alpha1.ConnectionProfile.Builder, - com.google.cloud.datastream.v1alpha1.ConnectionProfileOrBuilder> + com.google.cloud.datastream.v1alpha1.ConnectionProfile, com.google.cloud.datastream.v1alpha1.ConnectionProfile.Builder, com.google.cloud.datastream.v1alpha1.ConnectionProfileOrBuilder> getConnectionProfileFieldBuilder() { if (connectionProfileBuilder_ == null) { if (!(targetCase_ == 200)) { target_ = com.google.cloud.datastream.v1alpha1.ConnectionProfile.getDefaultInstance(); } - connectionProfileBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.ConnectionProfile, - com.google.cloud.datastream.v1alpha1.ConnectionProfile.Builder, - com.google.cloud.datastream.v1alpha1.ConnectionProfileOrBuilder>( + connectionProfileBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1alpha1.ConnectionProfile, com.google.cloud.datastream.v1alpha1.ConnectionProfile.Builder, com.google.cloud.datastream.v1alpha1.ConnectionProfileOrBuilder>( (com.google.cloud.datastream.v1alpha1.ConnectionProfile) target_, getParentForChildren(), isClean()); target_ = null; } targetCase_ = 200; - onChanged(); - ; + onChanged();; return connectionProfileBuilder_; } /** - * - * *
      * A reference to an existing ConnectionProfile.
      * 
* * string connection_profile_name = 201; - * * @return Whether the connectionProfileName field is set. */ @java.lang.Override @@ -1604,14 +1419,11 @@ public boolean hasConnectionProfileName() { return targetCase_ == 201; } /** - * - * *
      * A reference to an existing ConnectionProfile.
      * 
* * string connection_profile_name = 201; - * * @return The connectionProfileName. */ @java.lang.Override @@ -1621,7 +1433,8 @@ public java.lang.String getConnectionProfileName() { 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(); if (targetCase_ == 201) { target_ = s; @@ -1632,25 +1445,24 @@ public java.lang.String getConnectionProfileName() { } } /** - * - * *
      * A reference to an existing ConnectionProfile.
      * 
* * string connection_profile_name = 201; - * * @return The bytes for connectionProfileName. */ @java.lang.Override - public com.google.protobuf.ByteString getConnectionProfileNameBytes() { + public com.google.protobuf.ByteString + getConnectionProfileNameBytes() { java.lang.Object ref = ""; if (targetCase_ == 201) { 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); if (targetCase_ == 201) { target_ = b; } @@ -1660,35 +1472,30 @@ public com.google.protobuf.ByteString getConnectionProfileNameBytes() { } } /** - * - * *
      * A reference to an existing ConnectionProfile.
      * 
* * string connection_profile_name = 201; - * * @param value The connectionProfileName to set. * @return This builder for chaining. */ - public Builder setConnectionProfileName(java.lang.String value) { + public Builder setConnectionProfileName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - targetCase_ = 201; + throw new NullPointerException(); + } + targetCase_ = 201; target_ = value; onChanged(); return this; } /** - * - * *
      * A reference to an existing ConnectionProfile.
      * 
* * string connection_profile_name = 201; - * * @return This builder for chaining. */ public Builder clearConnectionProfileName() { @@ -1700,22 +1507,20 @@ public Builder clearConnectionProfileName() { return this; } /** - * - * *
      * A reference to an existing ConnectionProfile.
      * 
* * string connection_profile_name = 201; - * * @param value The bytes for connectionProfileName to set. * @return This builder for chaining. */ - public Builder setConnectionProfileNameBytes(com.google.protobuf.ByteString value) { + public Builder setConnectionProfileNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); targetCase_ = 201; target_ = value; onChanged(); @@ -1723,30 +1528,24 @@ public Builder setConnectionProfileNameBytes(com.google.protobuf.ByteString valu } /** - * - * *
      * Whether to retrieve the full hierarchy of data objects (TRUE) or only the
      * current level (FALSE).
      * 
* * bool recursive = 3; - * * @return Whether the recursive field is set. */ public boolean hasRecursive() { return depthCase_ == 3; } /** - * - * *
      * Whether to retrieve the full hierarchy of data objects (TRUE) or only the
      * current level (FALSE).
      * 
* * bool recursive = 3; - * * @return The recursive. */ public boolean getRecursive() { @@ -1756,15 +1555,12 @@ public boolean getRecursive() { return false; } /** - * - * *
      * Whether to retrieve the full hierarchy of data objects (TRUE) or only the
      * current level (FALSE).
      * 
* * bool recursive = 3; - * * @param value The recursive to set. * @return This builder for chaining. */ @@ -1775,15 +1571,12 @@ public Builder setRecursive(boolean value) { return this; } /** - * - * *
      * Whether to retrieve the full hierarchy of data objects (TRUE) or only the
      * current level (FALSE).
      * 
* * bool recursive = 3; - * * @return This builder for chaining. */ public Builder clearRecursive() { @@ -1796,28 +1589,22 @@ public Builder clearRecursive() { } /** - * - * *
      * The number of hierarchy levels below the current level to be retrieved.
      * 
* * int32 recursion_depth = 4; - * * @return Whether the recursionDepth field is set. */ public boolean hasRecursionDepth() { return depthCase_ == 4; } /** - * - * *
      * The number of hierarchy levels below the current level to be retrieved.
      * 
* * int32 recursion_depth = 4; - * * @return The recursionDepth. */ public int getRecursionDepth() { @@ -1827,14 +1614,11 @@ public int getRecursionDepth() { return 0; } /** - * - * *
      * The number of hierarchy levels below the current level to be retrieved.
      * 
* * int32 recursion_depth = 4; - * * @param value The recursionDepth to set. * @return This builder for chaining. */ @@ -1845,14 +1629,11 @@ public Builder setRecursionDepth(int value) { return this; } /** - * - * *
      * The number of hierarchy levels below the current level to be retrieved.
      * 
* * int32 recursion_depth = 4; - * * @return This builder for chaining. */ public Builder clearRecursionDepth() { @@ -1865,19 +1646,13 @@ public Builder clearRecursionDepth() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.OracleRdbms, - com.google.cloud.datastream.v1alpha1.OracleRdbms.Builder, - com.google.cloud.datastream.v1alpha1.OracleRdbmsOrBuilder> - oracleRdbmsBuilder_; + com.google.cloud.datastream.v1alpha1.OracleRdbms, com.google.cloud.datastream.v1alpha1.OracleRdbms.Builder, com.google.cloud.datastream.v1alpha1.OracleRdbmsOrBuilder> oracleRdbmsBuilder_; /** - * - * *
      * Oracle RDBMS to enrich with child data objects and metadata.
      * 
* * .google.cloud.datastream.v1alpha1.OracleRdbms oracle_rdbms = 100; - * * @return Whether the oracleRdbms field is set. */ @java.lang.Override @@ -1885,14 +1660,11 @@ public boolean hasOracleRdbms() { return dataObjectCase_ == 100; } /** - * - * *
      * Oracle RDBMS to enrich with child data objects and metadata.
      * 
* * .google.cloud.datastream.v1alpha1.OracleRdbms oracle_rdbms = 100; - * * @return The oracleRdbms. */ @java.lang.Override @@ -1910,8 +1682,6 @@ public com.google.cloud.datastream.v1alpha1.OracleRdbms getOracleRdbms() { } } /** - * - * *
      * Oracle RDBMS to enrich with child data objects and metadata.
      * 
@@ -1932,8 +1702,6 @@ public Builder setOracleRdbms(com.google.cloud.datastream.v1alpha1.OracleRdbms v return this; } /** - * - * *
      * Oracle RDBMS to enrich with child data objects and metadata.
      * 
@@ -1952,8 +1720,6 @@ public Builder setOracleRdbms( return this; } /** - * - * *
      * Oracle RDBMS to enrich with child data objects and metadata.
      * 
@@ -1962,14 +1728,10 @@ public Builder setOracleRdbms( */ public Builder mergeOracleRdbms(com.google.cloud.datastream.v1alpha1.OracleRdbms value) { if (oracleRdbmsBuilder_ == null) { - if (dataObjectCase_ == 100 - && dataObject_ - != com.google.cloud.datastream.v1alpha1.OracleRdbms.getDefaultInstance()) { - dataObject_ = - com.google.cloud.datastream.v1alpha1.OracleRdbms.newBuilder( - (com.google.cloud.datastream.v1alpha1.OracleRdbms) dataObject_) - .mergeFrom(value) - .buildPartial(); + if (dataObjectCase_ == 100 && + dataObject_ != com.google.cloud.datastream.v1alpha1.OracleRdbms.getDefaultInstance()) { + dataObject_ = com.google.cloud.datastream.v1alpha1.OracleRdbms.newBuilder((com.google.cloud.datastream.v1alpha1.OracleRdbms) dataObject_) + .mergeFrom(value).buildPartial(); } else { dataObject_ = value; } @@ -1985,8 +1747,6 @@ public Builder mergeOracleRdbms(com.google.cloud.datastream.v1alpha1.OracleRdbms return this; } /** - * - * *
      * Oracle RDBMS to enrich with child data objects and metadata.
      * 
@@ -2010,8 +1770,6 @@ public Builder clearOracleRdbms() { return this; } /** - * - * *
      * Oracle RDBMS to enrich with child data objects and metadata.
      * 
@@ -2022,8 +1780,6 @@ public com.google.cloud.datastream.v1alpha1.OracleRdbms.Builder getOracleRdbmsBu return getOracleRdbmsFieldBuilder().getBuilder(); } /** - * - * *
      * Oracle RDBMS to enrich with child data objects and metadata.
      * 
@@ -2042,8 +1798,6 @@ public com.google.cloud.datastream.v1alpha1.OracleRdbmsOrBuilder getOracleRdbmsO } } /** - * - * *
      * Oracle RDBMS to enrich with child data objects and metadata.
      * 
@@ -2051,44 +1805,32 @@ public com.google.cloud.datastream.v1alpha1.OracleRdbmsOrBuilder getOracleRdbmsO * .google.cloud.datastream.v1alpha1.OracleRdbms oracle_rdbms = 100; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.OracleRdbms, - com.google.cloud.datastream.v1alpha1.OracleRdbms.Builder, - com.google.cloud.datastream.v1alpha1.OracleRdbmsOrBuilder> + com.google.cloud.datastream.v1alpha1.OracleRdbms, com.google.cloud.datastream.v1alpha1.OracleRdbms.Builder, com.google.cloud.datastream.v1alpha1.OracleRdbmsOrBuilder> getOracleRdbmsFieldBuilder() { if (oracleRdbmsBuilder_ == null) { if (!(dataObjectCase_ == 100)) { dataObject_ = com.google.cloud.datastream.v1alpha1.OracleRdbms.getDefaultInstance(); } - oracleRdbmsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.OracleRdbms, - com.google.cloud.datastream.v1alpha1.OracleRdbms.Builder, - com.google.cloud.datastream.v1alpha1.OracleRdbmsOrBuilder>( + oracleRdbmsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1alpha1.OracleRdbms, com.google.cloud.datastream.v1alpha1.OracleRdbms.Builder, com.google.cloud.datastream.v1alpha1.OracleRdbmsOrBuilder>( (com.google.cloud.datastream.v1alpha1.OracleRdbms) dataObject_, getParentForChildren(), isClean()); dataObject_ = null; } dataObjectCase_ = 100; - onChanged(); - ; + onChanged();; return oracleRdbmsBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.MysqlRdbms, - com.google.cloud.datastream.v1alpha1.MysqlRdbms.Builder, - com.google.cloud.datastream.v1alpha1.MysqlRdbmsOrBuilder> - mysqlRdbmsBuilder_; + com.google.cloud.datastream.v1alpha1.MysqlRdbms, com.google.cloud.datastream.v1alpha1.MysqlRdbms.Builder, com.google.cloud.datastream.v1alpha1.MysqlRdbmsOrBuilder> mysqlRdbmsBuilder_; /** - * - * *
      * MySQL RDBMS to enrich with child data objects and metadata.
      * 
* * .google.cloud.datastream.v1alpha1.MysqlRdbms mysql_rdbms = 101; - * * @return Whether the mysqlRdbms field is set. */ @java.lang.Override @@ -2096,14 +1838,11 @@ public boolean hasMysqlRdbms() { return dataObjectCase_ == 101; } /** - * - * *
      * MySQL RDBMS to enrich with child data objects and metadata.
      * 
* * .google.cloud.datastream.v1alpha1.MysqlRdbms mysql_rdbms = 101; - * * @return The mysqlRdbms. */ @java.lang.Override @@ -2121,8 +1860,6 @@ public com.google.cloud.datastream.v1alpha1.MysqlRdbms getMysqlRdbms() { } } /** - * - * *
      * MySQL RDBMS to enrich with child data objects and metadata.
      * 
@@ -2143,8 +1880,6 @@ public Builder setMysqlRdbms(com.google.cloud.datastream.v1alpha1.MysqlRdbms val return this; } /** - * - * *
      * MySQL RDBMS to enrich with child data objects and metadata.
      * 
@@ -2163,8 +1898,6 @@ public Builder setMysqlRdbms( return this; } /** - * - * *
      * MySQL RDBMS to enrich with child data objects and metadata.
      * 
@@ -2173,14 +1906,10 @@ public Builder setMysqlRdbms( */ public Builder mergeMysqlRdbms(com.google.cloud.datastream.v1alpha1.MysqlRdbms value) { if (mysqlRdbmsBuilder_ == null) { - if (dataObjectCase_ == 101 - && dataObject_ - != com.google.cloud.datastream.v1alpha1.MysqlRdbms.getDefaultInstance()) { - dataObject_ = - com.google.cloud.datastream.v1alpha1.MysqlRdbms.newBuilder( - (com.google.cloud.datastream.v1alpha1.MysqlRdbms) dataObject_) - .mergeFrom(value) - .buildPartial(); + if (dataObjectCase_ == 101 && + dataObject_ != com.google.cloud.datastream.v1alpha1.MysqlRdbms.getDefaultInstance()) { + dataObject_ = com.google.cloud.datastream.v1alpha1.MysqlRdbms.newBuilder((com.google.cloud.datastream.v1alpha1.MysqlRdbms) dataObject_) + .mergeFrom(value).buildPartial(); } else { dataObject_ = value; } @@ -2196,8 +1925,6 @@ public Builder mergeMysqlRdbms(com.google.cloud.datastream.v1alpha1.MysqlRdbms v return this; } /** - * - * *
      * MySQL RDBMS to enrich with child data objects and metadata.
      * 
@@ -2221,8 +1948,6 @@ public Builder clearMysqlRdbms() { return this; } /** - * - * *
      * MySQL RDBMS to enrich with child data objects and metadata.
      * 
@@ -2233,8 +1958,6 @@ public com.google.cloud.datastream.v1alpha1.MysqlRdbms.Builder getMysqlRdbmsBuil return getMysqlRdbmsFieldBuilder().getBuilder(); } /** - * - * *
      * MySQL RDBMS to enrich with child data objects and metadata.
      * 
@@ -2253,8 +1976,6 @@ public com.google.cloud.datastream.v1alpha1.MysqlRdbmsOrBuilder getMysqlRdbmsOrB } } /** - * - * *
      * MySQL RDBMS to enrich with child data objects and metadata.
      * 
@@ -2262,32 +1983,26 @@ public com.google.cloud.datastream.v1alpha1.MysqlRdbmsOrBuilder getMysqlRdbmsOrB * .google.cloud.datastream.v1alpha1.MysqlRdbms mysql_rdbms = 101; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.MysqlRdbms, - com.google.cloud.datastream.v1alpha1.MysqlRdbms.Builder, - com.google.cloud.datastream.v1alpha1.MysqlRdbmsOrBuilder> + com.google.cloud.datastream.v1alpha1.MysqlRdbms, com.google.cloud.datastream.v1alpha1.MysqlRdbms.Builder, com.google.cloud.datastream.v1alpha1.MysqlRdbmsOrBuilder> getMysqlRdbmsFieldBuilder() { if (mysqlRdbmsBuilder_ == null) { if (!(dataObjectCase_ == 101)) { dataObject_ = com.google.cloud.datastream.v1alpha1.MysqlRdbms.getDefaultInstance(); } - mysqlRdbmsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.MysqlRdbms, - com.google.cloud.datastream.v1alpha1.MysqlRdbms.Builder, - com.google.cloud.datastream.v1alpha1.MysqlRdbmsOrBuilder>( + mysqlRdbmsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1alpha1.MysqlRdbms, com.google.cloud.datastream.v1alpha1.MysqlRdbms.Builder, com.google.cloud.datastream.v1alpha1.MysqlRdbmsOrBuilder>( (com.google.cloud.datastream.v1alpha1.MysqlRdbms) dataObject_, getParentForChildren(), isClean()); dataObject_ = null; } dataObjectCase_ = 101; - onChanged(); - ; + onChanged();; return mysqlRdbmsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2297,32 +2012,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1alpha1.DiscoverConnectionProfileRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1alpha1.DiscoverConnectionProfileRequest) - private static final com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileRequest(); } - public static com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileRequest - getDefaultInstance() { + public static com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DiscoverConnectionProfileRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DiscoverConnectionProfileRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DiscoverConnectionProfileRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DiscoverConnectionProfileRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2334,8 +2047,9 @@ public com.google.protobuf.Parser getParserFor } @java.lang.Override - public com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileRequest - getDefaultInstanceForType() { + public com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DiscoverConnectionProfileRequestOrBuilder.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DiscoverConnectionProfileRequestOrBuilder.java similarity index 77% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DiscoverConnectionProfileRequestOrBuilder.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DiscoverConnectionProfileRequestOrBuilder.java index c01fc3eb..6299da66 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DiscoverConnectionProfileRequestOrBuilder.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DiscoverConnectionProfileRequestOrBuilder.java @@ -1,86 +1,53 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1alpha1/datastream.proto package com.google.cloud.datastream.v1alpha1; -public interface DiscoverConnectionProfileRequestOrBuilder - extends +public interface DiscoverConnectionProfileRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1alpha1.DiscoverConnectionProfileRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The parent resource of the ConnectionProfile type. Must be in the
    * format `projects/*/locations/*`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The parent resource of the ConnectionProfile type. Must be in the
    * format `projects/*/locations/*`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * An ad-hoc ConnectionProfile configuration.
    * 
* * .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profile = 200; - * * @return Whether the connectionProfile field is set. */ boolean hasConnectionProfile(); /** - * - * *
    * An ad-hoc ConnectionProfile configuration.
    * 
* * .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profile = 200; - * * @return The connectionProfile. */ com.google.cloud.datastream.v1alpha1.ConnectionProfile getConnectionProfile(); /** - * - * *
    * An ad-hoc ConnectionProfile configuration.
    * 
@@ -90,121 +57,93 @@ public interface DiscoverConnectionProfileRequestOrBuilder com.google.cloud.datastream.v1alpha1.ConnectionProfileOrBuilder getConnectionProfileOrBuilder(); /** - * - * *
    * A reference to an existing ConnectionProfile.
    * 
* * string connection_profile_name = 201; - * * @return Whether the connectionProfileName field is set. */ boolean hasConnectionProfileName(); /** - * - * *
    * A reference to an existing ConnectionProfile.
    * 
* * string connection_profile_name = 201; - * * @return The connectionProfileName. */ java.lang.String getConnectionProfileName(); /** - * - * *
    * A reference to an existing ConnectionProfile.
    * 
* * string connection_profile_name = 201; - * * @return The bytes for connectionProfileName. */ - com.google.protobuf.ByteString getConnectionProfileNameBytes(); + com.google.protobuf.ByteString + getConnectionProfileNameBytes(); /** - * - * *
    * Whether to retrieve the full hierarchy of data objects (TRUE) or only the
    * current level (FALSE).
    * 
* * bool recursive = 3; - * * @return Whether the recursive field is set. */ boolean hasRecursive(); /** - * - * *
    * Whether to retrieve the full hierarchy of data objects (TRUE) or only the
    * current level (FALSE).
    * 
* * bool recursive = 3; - * * @return The recursive. */ boolean getRecursive(); /** - * - * *
    * The number of hierarchy levels below the current level to be retrieved.
    * 
* * int32 recursion_depth = 4; - * * @return Whether the recursionDepth field is set. */ boolean hasRecursionDepth(); /** - * - * *
    * The number of hierarchy levels below the current level to be retrieved.
    * 
* * int32 recursion_depth = 4; - * * @return The recursionDepth. */ int getRecursionDepth(); /** - * - * *
    * Oracle RDBMS to enrich with child data objects and metadata.
    * 
* * .google.cloud.datastream.v1alpha1.OracleRdbms oracle_rdbms = 100; - * * @return Whether the oracleRdbms field is set. */ boolean hasOracleRdbms(); /** - * - * *
    * Oracle RDBMS to enrich with child data objects and metadata.
    * 
* * .google.cloud.datastream.v1alpha1.OracleRdbms oracle_rdbms = 100; - * * @return The oracleRdbms. */ com.google.cloud.datastream.v1alpha1.OracleRdbms getOracleRdbms(); /** - * - * *
    * Oracle RDBMS to enrich with child data objects and metadata.
    * 
@@ -214,32 +153,24 @@ public interface DiscoverConnectionProfileRequestOrBuilder com.google.cloud.datastream.v1alpha1.OracleRdbmsOrBuilder getOracleRdbmsOrBuilder(); /** - * - * *
    * MySQL RDBMS to enrich with child data objects and metadata.
    * 
* * .google.cloud.datastream.v1alpha1.MysqlRdbms mysql_rdbms = 101; - * * @return Whether the mysqlRdbms field is set. */ boolean hasMysqlRdbms(); /** - * - * *
    * MySQL RDBMS to enrich with child data objects and metadata.
    * 
* * .google.cloud.datastream.v1alpha1.MysqlRdbms mysql_rdbms = 101; - * * @return The mysqlRdbms. */ com.google.cloud.datastream.v1alpha1.MysqlRdbms getMysqlRdbms(); /** - * - * *
    * MySQL RDBMS to enrich with child data objects and metadata.
    * 
@@ -248,12 +179,9 @@ public interface DiscoverConnectionProfileRequestOrBuilder */ com.google.cloud.datastream.v1alpha1.MysqlRdbmsOrBuilder getMysqlRdbmsOrBuilder(); - public com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileRequest.TargetCase - getTargetCase(); + public com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileRequest.TargetCase getTargetCase(); - public com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileRequest.DepthCase - getDepthCase(); + public com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileRequest.DepthCase getDepthCase(); - public com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileRequest.DataObjectCase - getDataObjectCase(); + public com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileRequest.DataObjectCase getDataObjectCase(); } diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DiscoverConnectionProfileResponse.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DiscoverConnectionProfileResponse.java similarity index 67% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DiscoverConnectionProfileResponse.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DiscoverConnectionProfileResponse.java index e6ad2acc..dd5f7e16 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DiscoverConnectionProfileResponse.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DiscoverConnectionProfileResponse.java @@ -1,48 +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/datastream/v1alpha1/datastream.proto package com.google.cloud.datastream.v1alpha1; -/** Protobuf type {@code google.cloud.datastream.v1alpha1.DiscoverConnectionProfileResponse} */ -public final class DiscoverConnectionProfileResponse extends com.google.protobuf.GeneratedMessageV3 - implements +/** + * Protobuf type {@code google.cloud.datastream.v1alpha1.DiscoverConnectionProfileResponse} + */ +public final class DiscoverConnectionProfileResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1alpha1.DiscoverConnectionProfileResponse) DiscoverConnectionProfileResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DiscoverConnectionProfileResponse.newBuilder() to construct. - private DiscoverConnectionProfileResponse( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private DiscoverConnectionProfileResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private DiscoverConnectionProfileResponse() {} + private DiscoverConnectionProfileResponse() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DiscoverConnectionProfileResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DiscoverConnectionProfileResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -61,48 +48,41 @@ private DiscoverConnectionProfileResponse( case 0: done = true; break; - case 802: - { - com.google.cloud.datastream.v1alpha1.OracleRdbms.Builder subBuilder = null; - if (dataObjectCase_ == 100) { - subBuilder = - ((com.google.cloud.datastream.v1alpha1.OracleRdbms) dataObject_).toBuilder(); - } - dataObject_ = - input.readMessage( - com.google.cloud.datastream.v1alpha1.OracleRdbms.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.datastream.v1alpha1.OracleRdbms) dataObject_); - dataObject_ = subBuilder.buildPartial(); - } - dataObjectCase_ = 100; - break; + case 802: { + com.google.cloud.datastream.v1alpha1.OracleRdbms.Builder subBuilder = null; + if (dataObjectCase_ == 100) { + subBuilder = ((com.google.cloud.datastream.v1alpha1.OracleRdbms) dataObject_).toBuilder(); + } + dataObject_ = + input.readMessage(com.google.cloud.datastream.v1alpha1.OracleRdbms.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.datastream.v1alpha1.OracleRdbms) dataObject_); + dataObject_ = subBuilder.buildPartial(); + } + dataObjectCase_ = 100; + break; + } + case 810: { + com.google.cloud.datastream.v1alpha1.MysqlRdbms.Builder subBuilder = null; + if (dataObjectCase_ == 101) { + subBuilder = ((com.google.cloud.datastream.v1alpha1.MysqlRdbms) dataObject_).toBuilder(); } - case 810: - { - com.google.cloud.datastream.v1alpha1.MysqlRdbms.Builder subBuilder = null; - if (dataObjectCase_ == 101) { - subBuilder = - ((com.google.cloud.datastream.v1alpha1.MysqlRdbms) dataObject_).toBuilder(); - } - dataObject_ = - input.readMessage( - com.google.cloud.datastream.v1alpha1.MysqlRdbms.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.datastream.v1alpha1.MysqlRdbms) dataObject_); - dataObject_ = subBuilder.buildPartial(); - } - dataObjectCase_ = 101; - break; + dataObject_ = + input.readMessage(com.google.cloud.datastream.v1alpha1.MysqlRdbms.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.datastream.v1alpha1.MysqlRdbms) dataObject_); + dataObject_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + dataObjectCase_ = 101; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -110,40 +90,35 @@ private DiscoverConnectionProfileResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_DiscoverConnectionProfileResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_DiscoverConnectionProfileResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_DiscoverConnectionProfileResponse_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_DiscoverConnectionProfileResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileResponse.class, - com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileResponse.Builder.class); + com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileResponse.class, com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileResponse.Builder.class); } private int dataObjectCase_ = 0; private java.lang.Object dataObject_; - public enum DataObjectCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { ORACLE_RDBMS(100), MYSQL_RDBMS(101), DATAOBJECT_NOT_SET(0); private final int value; - private DataObjectCase(int value) { this.value = value; } @@ -159,36 +134,30 @@ public static DataObjectCase valueOf(int value) { public static DataObjectCase forNumber(int value) { switch (value) { - case 100: - return ORACLE_RDBMS; - case 101: - return MYSQL_RDBMS; - case 0: - return DATAOBJECT_NOT_SET; - default: - return null; + case 100: return ORACLE_RDBMS; + case 101: return MYSQL_RDBMS; + case 0: return DATAOBJECT_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public DataObjectCase getDataObjectCase() { - return DataObjectCase.forNumber(dataObjectCase_); + public DataObjectCase + getDataObjectCase() { + return DataObjectCase.forNumber( + dataObjectCase_); } public static final int ORACLE_RDBMS_FIELD_NUMBER = 100; /** - * - * *
    * Enriched Oracle RDBMS object.
    * 
* * .google.cloud.datastream.v1alpha1.OracleRdbms oracle_rdbms = 100; - * * @return Whether the oracleRdbms field is set. */ @java.lang.Override @@ -196,26 +165,21 @@ public boolean hasOracleRdbms() { return dataObjectCase_ == 100; } /** - * - * *
    * Enriched Oracle RDBMS object.
    * 
* * .google.cloud.datastream.v1alpha1.OracleRdbms oracle_rdbms = 100; - * * @return The oracleRdbms. */ @java.lang.Override public com.google.cloud.datastream.v1alpha1.OracleRdbms getOracleRdbms() { if (dataObjectCase_ == 100) { - return (com.google.cloud.datastream.v1alpha1.OracleRdbms) dataObject_; + return (com.google.cloud.datastream.v1alpha1.OracleRdbms) dataObject_; } return com.google.cloud.datastream.v1alpha1.OracleRdbms.getDefaultInstance(); } /** - * - * *
    * Enriched Oracle RDBMS object.
    * 
@@ -225,21 +189,18 @@ public com.google.cloud.datastream.v1alpha1.OracleRdbms getOracleRdbms() { @java.lang.Override public com.google.cloud.datastream.v1alpha1.OracleRdbmsOrBuilder getOracleRdbmsOrBuilder() { if (dataObjectCase_ == 100) { - return (com.google.cloud.datastream.v1alpha1.OracleRdbms) dataObject_; + return (com.google.cloud.datastream.v1alpha1.OracleRdbms) dataObject_; } return com.google.cloud.datastream.v1alpha1.OracleRdbms.getDefaultInstance(); } public static final int MYSQL_RDBMS_FIELD_NUMBER = 101; /** - * - * *
    * Enriched MySQL RDBMS object.
    * 
* * .google.cloud.datastream.v1alpha1.MysqlRdbms mysql_rdbms = 101; - * * @return Whether the mysqlRdbms field is set. */ @java.lang.Override @@ -247,26 +208,21 @@ public boolean hasMysqlRdbms() { return dataObjectCase_ == 101; } /** - * - * *
    * Enriched MySQL RDBMS object.
    * 
* * .google.cloud.datastream.v1alpha1.MysqlRdbms mysql_rdbms = 101; - * * @return The mysqlRdbms. */ @java.lang.Override public com.google.cloud.datastream.v1alpha1.MysqlRdbms getMysqlRdbms() { if (dataObjectCase_ == 101) { - return (com.google.cloud.datastream.v1alpha1.MysqlRdbms) dataObject_; + return (com.google.cloud.datastream.v1alpha1.MysqlRdbms) dataObject_; } return com.google.cloud.datastream.v1alpha1.MysqlRdbms.getDefaultInstance(); } /** - * - * *
    * Enriched MySQL RDBMS object.
    * 
@@ -276,13 +232,12 @@ public com.google.cloud.datastream.v1alpha1.MysqlRdbms getMysqlRdbms() { @java.lang.Override public com.google.cloud.datastream.v1alpha1.MysqlRdbmsOrBuilder getMysqlRdbmsOrBuilder() { if (dataObjectCase_ == 101) { - return (com.google.cloud.datastream.v1alpha1.MysqlRdbms) dataObject_; + return (com.google.cloud.datastream.v1alpha1.MysqlRdbms) dataObject_; } return com.google.cloud.datastream.v1alpha1.MysqlRdbms.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -294,7 +249,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 (dataObjectCase_ == 100) { output.writeMessage(100, (com.google.cloud.datastream.v1alpha1.OracleRdbms) dataObject_); } @@ -311,14 +267,12 @@ public int getSerializedSize() { size = 0; if (dataObjectCase_ == 100) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 100, (com.google.cloud.datastream.v1alpha1.OracleRdbms) dataObject_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(100, (com.google.cloud.datastream.v1alpha1.OracleRdbms) dataObject_); } if (dataObjectCase_ == 101) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 101, (com.google.cloud.datastream.v1alpha1.MysqlRdbms) dataObject_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(101, (com.google.cloud.datastream.v1alpha1.MysqlRdbms) dataObject_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -328,21 +282,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.datastream.v1alpha1.DiscoverConnectionProfileResponse)) { return super.equals(obj); } - com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileResponse other = - (com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileResponse) obj; + com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileResponse other = (com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileResponse) obj; if (!getDataObjectCase().equals(other.getDataObjectCase())) return false; switch (dataObjectCase_) { case 100: - if (!getOracleRdbms().equals(other.getOracleRdbms())) return false; + if (!getOracleRdbms() + .equals(other.getOracleRdbms())) return false; break; case 101: - if (!getMysqlRdbms().equals(other.getMysqlRdbms())) return false; + if (!getMysqlRdbms() + .equals(other.getMysqlRdbms())) return false; break; case 0: default: @@ -376,137 +331,130 @@ public int hashCode() { } public static com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileResponse - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileResponse prototype) { + public static Builder newBuilder(com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } - /** Protobuf type {@code google.cloud.datastream.v1alpha1.DiscoverConnectionProfileResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + /** + * Protobuf type {@code google.cloud.datastream.v1alpha1.DiscoverConnectionProfileResponse} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1alpha1.DiscoverConnectionProfileResponse) com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_DiscoverConnectionProfileResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_DiscoverConnectionProfileResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_DiscoverConnectionProfileResponse_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_DiscoverConnectionProfileResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileResponse.class, - com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileResponse.Builder.class); + com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileResponse.class, com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileResponse.Builder.class); } - // Construct using - // com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileResponse.newBuilder() + // Construct using com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -516,22 +464,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_DiscoverConnectionProfileResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_DiscoverConnectionProfileResponse_descriptor; } @java.lang.Override - public com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileResponse - getDefaultInstanceForType() { - return com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileResponse - .getDefaultInstance(); + public com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileResponse getDefaultInstanceForType() { + return com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileResponse.getDefaultInstance(); } @java.lang.Override public com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileResponse build() { - com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileResponse result = - buildPartial(); + com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -540,8 +485,7 @@ public com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileResponse bu @java.lang.Override public com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileResponse buildPartial() { - com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileResponse result = - new com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileResponse(this); + com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileResponse result = new com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileResponse(this); if (dataObjectCase_ == 100) { if (oracleRdbmsBuilder_ == null) { result.dataObject_ = dataObject_; @@ -565,66 +509,58 @@ public com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileResponse bu public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileResponse) { - return mergeFrom( - (com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileResponse) other); + return mergeFrom((com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileResponse other) { - if (other - == com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileResponse - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileResponse other) { + if (other == com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileResponse.getDefaultInstance()) return this; switch (other.getDataObjectCase()) { - case ORACLE_RDBMS: - { - mergeOracleRdbms(other.getOracleRdbms()); - break; - } - case MYSQL_RDBMS: - { - mergeMysqlRdbms(other.getMysqlRdbms()); - break; - } - case DATAOBJECT_NOT_SET: - { - break; - } + case ORACLE_RDBMS: { + mergeOracleRdbms(other.getOracleRdbms()); + break; + } + case MYSQL_RDBMS: { + mergeMysqlRdbms(other.getMysqlRdbms()); + break; + } + case DATAOBJECT_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -645,9 +581,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -656,12 +590,12 @@ public Builder mergeFrom( } return this; } - private int dataObjectCase_ = 0; private java.lang.Object dataObject_; - - public DataObjectCase getDataObjectCase() { - return DataObjectCase.forNumber(dataObjectCase_); + public DataObjectCase + getDataObjectCase() { + return DataObjectCase.forNumber( + dataObjectCase_); } public Builder clearDataObject() { @@ -671,20 +605,15 @@ public Builder clearDataObject() { return this; } + private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.OracleRdbms, - com.google.cloud.datastream.v1alpha1.OracleRdbms.Builder, - com.google.cloud.datastream.v1alpha1.OracleRdbmsOrBuilder> - oracleRdbmsBuilder_; + com.google.cloud.datastream.v1alpha1.OracleRdbms, com.google.cloud.datastream.v1alpha1.OracleRdbms.Builder, com.google.cloud.datastream.v1alpha1.OracleRdbmsOrBuilder> oracleRdbmsBuilder_; /** - * - * *
      * Enriched Oracle RDBMS object.
      * 
* * .google.cloud.datastream.v1alpha1.OracleRdbms oracle_rdbms = 100; - * * @return Whether the oracleRdbms field is set. */ @java.lang.Override @@ -692,14 +621,11 @@ public boolean hasOracleRdbms() { return dataObjectCase_ == 100; } /** - * - * *
      * Enriched Oracle RDBMS object.
      * 
* * .google.cloud.datastream.v1alpha1.OracleRdbms oracle_rdbms = 100; - * * @return The oracleRdbms. */ @java.lang.Override @@ -717,8 +643,6 @@ public com.google.cloud.datastream.v1alpha1.OracleRdbms getOracleRdbms() { } } /** - * - * *
      * Enriched Oracle RDBMS object.
      * 
@@ -739,8 +663,6 @@ public Builder setOracleRdbms(com.google.cloud.datastream.v1alpha1.OracleRdbms v return this; } /** - * - * *
      * Enriched Oracle RDBMS object.
      * 
@@ -759,8 +681,6 @@ public Builder setOracleRdbms( return this; } /** - * - * *
      * Enriched Oracle RDBMS object.
      * 
@@ -769,14 +689,10 @@ public Builder setOracleRdbms( */ public Builder mergeOracleRdbms(com.google.cloud.datastream.v1alpha1.OracleRdbms value) { if (oracleRdbmsBuilder_ == null) { - if (dataObjectCase_ == 100 - && dataObject_ - != com.google.cloud.datastream.v1alpha1.OracleRdbms.getDefaultInstance()) { - dataObject_ = - com.google.cloud.datastream.v1alpha1.OracleRdbms.newBuilder( - (com.google.cloud.datastream.v1alpha1.OracleRdbms) dataObject_) - .mergeFrom(value) - .buildPartial(); + if (dataObjectCase_ == 100 && + dataObject_ != com.google.cloud.datastream.v1alpha1.OracleRdbms.getDefaultInstance()) { + dataObject_ = com.google.cloud.datastream.v1alpha1.OracleRdbms.newBuilder((com.google.cloud.datastream.v1alpha1.OracleRdbms) dataObject_) + .mergeFrom(value).buildPartial(); } else { dataObject_ = value; } @@ -792,8 +708,6 @@ public Builder mergeOracleRdbms(com.google.cloud.datastream.v1alpha1.OracleRdbms return this; } /** - * - * *
      * Enriched Oracle RDBMS object.
      * 
@@ -817,8 +731,6 @@ public Builder clearOracleRdbms() { return this; } /** - * - * *
      * Enriched Oracle RDBMS object.
      * 
@@ -829,8 +741,6 @@ public com.google.cloud.datastream.v1alpha1.OracleRdbms.Builder getOracleRdbmsBu return getOracleRdbmsFieldBuilder().getBuilder(); } /** - * - * *
      * Enriched Oracle RDBMS object.
      * 
@@ -849,8 +759,6 @@ public com.google.cloud.datastream.v1alpha1.OracleRdbmsOrBuilder getOracleRdbmsO } } /** - * - * *
      * Enriched Oracle RDBMS object.
      * 
@@ -858,44 +766,32 @@ public com.google.cloud.datastream.v1alpha1.OracleRdbmsOrBuilder getOracleRdbmsO * .google.cloud.datastream.v1alpha1.OracleRdbms oracle_rdbms = 100; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.OracleRdbms, - com.google.cloud.datastream.v1alpha1.OracleRdbms.Builder, - com.google.cloud.datastream.v1alpha1.OracleRdbmsOrBuilder> + com.google.cloud.datastream.v1alpha1.OracleRdbms, com.google.cloud.datastream.v1alpha1.OracleRdbms.Builder, com.google.cloud.datastream.v1alpha1.OracleRdbmsOrBuilder> getOracleRdbmsFieldBuilder() { if (oracleRdbmsBuilder_ == null) { if (!(dataObjectCase_ == 100)) { dataObject_ = com.google.cloud.datastream.v1alpha1.OracleRdbms.getDefaultInstance(); } - oracleRdbmsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.OracleRdbms, - com.google.cloud.datastream.v1alpha1.OracleRdbms.Builder, - com.google.cloud.datastream.v1alpha1.OracleRdbmsOrBuilder>( + oracleRdbmsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1alpha1.OracleRdbms, com.google.cloud.datastream.v1alpha1.OracleRdbms.Builder, com.google.cloud.datastream.v1alpha1.OracleRdbmsOrBuilder>( (com.google.cloud.datastream.v1alpha1.OracleRdbms) dataObject_, getParentForChildren(), isClean()); dataObject_ = null; } dataObjectCase_ = 100; - onChanged(); - ; + onChanged();; return oracleRdbmsBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.MysqlRdbms, - com.google.cloud.datastream.v1alpha1.MysqlRdbms.Builder, - com.google.cloud.datastream.v1alpha1.MysqlRdbmsOrBuilder> - mysqlRdbmsBuilder_; + com.google.cloud.datastream.v1alpha1.MysqlRdbms, com.google.cloud.datastream.v1alpha1.MysqlRdbms.Builder, com.google.cloud.datastream.v1alpha1.MysqlRdbmsOrBuilder> mysqlRdbmsBuilder_; /** - * - * *
      * Enriched MySQL RDBMS object.
      * 
* * .google.cloud.datastream.v1alpha1.MysqlRdbms mysql_rdbms = 101; - * * @return Whether the mysqlRdbms field is set. */ @java.lang.Override @@ -903,14 +799,11 @@ public boolean hasMysqlRdbms() { return dataObjectCase_ == 101; } /** - * - * *
      * Enriched MySQL RDBMS object.
      * 
* * .google.cloud.datastream.v1alpha1.MysqlRdbms mysql_rdbms = 101; - * * @return The mysqlRdbms. */ @java.lang.Override @@ -928,8 +821,6 @@ public com.google.cloud.datastream.v1alpha1.MysqlRdbms getMysqlRdbms() { } } /** - * - * *
      * Enriched MySQL RDBMS object.
      * 
@@ -950,8 +841,6 @@ public Builder setMysqlRdbms(com.google.cloud.datastream.v1alpha1.MysqlRdbms val return this; } /** - * - * *
      * Enriched MySQL RDBMS object.
      * 
@@ -970,8 +859,6 @@ public Builder setMysqlRdbms( return this; } /** - * - * *
      * Enriched MySQL RDBMS object.
      * 
@@ -980,14 +867,10 @@ public Builder setMysqlRdbms( */ public Builder mergeMysqlRdbms(com.google.cloud.datastream.v1alpha1.MysqlRdbms value) { if (mysqlRdbmsBuilder_ == null) { - if (dataObjectCase_ == 101 - && dataObject_ - != com.google.cloud.datastream.v1alpha1.MysqlRdbms.getDefaultInstance()) { - dataObject_ = - com.google.cloud.datastream.v1alpha1.MysqlRdbms.newBuilder( - (com.google.cloud.datastream.v1alpha1.MysqlRdbms) dataObject_) - .mergeFrom(value) - .buildPartial(); + if (dataObjectCase_ == 101 && + dataObject_ != com.google.cloud.datastream.v1alpha1.MysqlRdbms.getDefaultInstance()) { + dataObject_ = com.google.cloud.datastream.v1alpha1.MysqlRdbms.newBuilder((com.google.cloud.datastream.v1alpha1.MysqlRdbms) dataObject_) + .mergeFrom(value).buildPartial(); } else { dataObject_ = value; } @@ -1003,8 +886,6 @@ public Builder mergeMysqlRdbms(com.google.cloud.datastream.v1alpha1.MysqlRdbms v return this; } /** - * - * *
      * Enriched MySQL RDBMS object.
      * 
@@ -1028,8 +909,6 @@ public Builder clearMysqlRdbms() { return this; } /** - * - * *
      * Enriched MySQL RDBMS object.
      * 
@@ -1040,8 +919,6 @@ public com.google.cloud.datastream.v1alpha1.MysqlRdbms.Builder getMysqlRdbmsBuil return getMysqlRdbmsFieldBuilder().getBuilder(); } /** - * - * *
      * Enriched MySQL RDBMS object.
      * 
@@ -1060,8 +937,6 @@ public com.google.cloud.datastream.v1alpha1.MysqlRdbmsOrBuilder getMysqlRdbmsOrB } } /** - * - * *
      * Enriched MySQL RDBMS object.
      * 
@@ -1069,32 +944,26 @@ public com.google.cloud.datastream.v1alpha1.MysqlRdbmsOrBuilder getMysqlRdbmsOrB * .google.cloud.datastream.v1alpha1.MysqlRdbms mysql_rdbms = 101; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.MysqlRdbms, - com.google.cloud.datastream.v1alpha1.MysqlRdbms.Builder, - com.google.cloud.datastream.v1alpha1.MysqlRdbmsOrBuilder> + com.google.cloud.datastream.v1alpha1.MysqlRdbms, com.google.cloud.datastream.v1alpha1.MysqlRdbms.Builder, com.google.cloud.datastream.v1alpha1.MysqlRdbmsOrBuilder> getMysqlRdbmsFieldBuilder() { if (mysqlRdbmsBuilder_ == null) { if (!(dataObjectCase_ == 101)) { dataObject_ = com.google.cloud.datastream.v1alpha1.MysqlRdbms.getDefaultInstance(); } - mysqlRdbmsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.MysqlRdbms, - com.google.cloud.datastream.v1alpha1.MysqlRdbms.Builder, - com.google.cloud.datastream.v1alpha1.MysqlRdbmsOrBuilder>( + mysqlRdbmsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1alpha1.MysqlRdbms, com.google.cloud.datastream.v1alpha1.MysqlRdbms.Builder, com.google.cloud.datastream.v1alpha1.MysqlRdbmsOrBuilder>( (com.google.cloud.datastream.v1alpha1.MysqlRdbms) dataObject_, getParentForChildren(), isClean()); dataObject_ = null; } dataObjectCase_ = 101; - onChanged(); - ; + onChanged();; return mysqlRdbmsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1104,32 +973,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1alpha1.DiscoverConnectionProfileResponse) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1alpha1.DiscoverConnectionProfileResponse) - private static final com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileResponse(); } - public static com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileResponse - getDefaultInstance() { + public static com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DiscoverConnectionProfileResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DiscoverConnectionProfileResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DiscoverConnectionProfileResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DiscoverConnectionProfileResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1141,8 +1008,9 @@ public com.google.protobuf.Parser getParserFo } @java.lang.Override - public com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileResponse - getDefaultInstanceForType() { + public com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DiscoverConnectionProfileResponseOrBuilder.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DiscoverConnectionProfileResponseOrBuilder.java similarity index 69% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DiscoverConnectionProfileResponseOrBuilder.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DiscoverConnectionProfileResponseOrBuilder.java index 0e0ef1e0..4e610ac9 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DiscoverConnectionProfileResponseOrBuilder.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DiscoverConnectionProfileResponseOrBuilder.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/datastream/v1alpha1/datastream.proto package com.google.cloud.datastream.v1alpha1; -public interface DiscoverConnectionProfileResponseOrBuilder - extends +public interface DiscoverConnectionProfileResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1alpha1.DiscoverConnectionProfileResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Enriched Oracle RDBMS object.
    * 
* * .google.cloud.datastream.v1alpha1.OracleRdbms oracle_rdbms = 100; - * * @return Whether the oracleRdbms field is set. */ boolean hasOracleRdbms(); /** - * - * *
    * Enriched Oracle RDBMS object.
    * 
* * .google.cloud.datastream.v1alpha1.OracleRdbms oracle_rdbms = 100; - * * @return The oracleRdbms. */ com.google.cloud.datastream.v1alpha1.OracleRdbms getOracleRdbms(); /** - * - * *
    * Enriched Oracle RDBMS object.
    * 
@@ -59,32 +35,24 @@ public interface DiscoverConnectionProfileResponseOrBuilder com.google.cloud.datastream.v1alpha1.OracleRdbmsOrBuilder getOracleRdbmsOrBuilder(); /** - * - * *
    * Enriched MySQL RDBMS object.
    * 
* * .google.cloud.datastream.v1alpha1.MysqlRdbms mysql_rdbms = 101; - * * @return Whether the mysqlRdbms field is set. */ boolean hasMysqlRdbms(); /** - * - * *
    * Enriched MySQL RDBMS object.
    * 
* * .google.cloud.datastream.v1alpha1.MysqlRdbms mysql_rdbms = 101; - * * @return The mysqlRdbms. */ com.google.cloud.datastream.v1alpha1.MysqlRdbms getMysqlRdbms(); /** - * - * *
    * Enriched MySQL RDBMS object.
    * 
@@ -93,6 +61,5 @@ public interface DiscoverConnectionProfileResponseOrBuilder */ com.google.cloud.datastream.v1alpha1.MysqlRdbmsOrBuilder getMysqlRdbmsOrBuilder(); - public com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileResponse.DataObjectCase - getDataObjectCase(); + public com.google.cloud.datastream.v1alpha1.DiscoverConnectionProfileResponse.DataObjectCase getDataObjectCase(); } diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/Error.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/Error.java similarity index 67% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/Error.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/Error.java index ef0b8e76..c9b5fb8c 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/Error.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/Error.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/datastream/v1alpha1/datastream_resources.proto package com.google.cloud.datastream.v1alpha1; /** - * - * *
  * Represent a user-facing Error.
  * 
* * Protobuf type {@code google.cloud.datastream.v1alpha1.Error} */ -public final class Error extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Error extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1alpha1.Error) ErrorOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Error.newBuilder() to construct. private Error(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Error() { reason_ = ""; errorUuid_ = ""; @@ -45,15 +27,16 @@ private Error() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Error(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Error( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,63 +56,57 @@ private Error( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - reason_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + reason_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - errorUuid_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + errorUuid_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - message_ = s; - break; + message_ = s; + break; + } + case 34: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (errorTime_ != null) { + subBuilder = errorTime_.toBuilder(); } - case 34: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (errorTime_ != null) { - subBuilder = errorTime_.toBuilder(); - } - errorTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(errorTime_); - errorTime_ = subBuilder.buildPartial(); - } - - break; + errorTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(errorTime_); + errorTime_ = subBuilder.buildPartial(); } - case 42: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - details_ = - com.google.protobuf.MapField.newMapField( - DetailsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; - } - com.google.protobuf.MapEntry details__ = - input.readMessage( - DetailsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - details_.getMutableMap().put(details__.getKey(), details__.getValue()); - break; + + break; + } + case 42: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + details_ = com.google.protobuf.MapField.newMapField( + DetailsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + com.google.protobuf.MapEntry + details__ = input.readMessage( + DetailsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + details_.getMutableMap().put( + details__.getKey(), details__.getValue()); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -137,50 +114,46 @@ private Error( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_Error_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_Error_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 5: return internalGetDetails(); 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.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_Error_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_Error_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.Error.class, - com.google.cloud.datastream.v1alpha1.Error.Builder.class); + com.google.cloud.datastream.v1alpha1.Error.class, com.google.cloud.datastream.v1alpha1.Error.Builder.class); } public static final int REASON_FIELD_NUMBER = 1; private volatile java.lang.Object reason_; /** - * - * *
    * A title that explains the reason for the error.
    * 
* * string reason = 1; - * * @return The reason. */ @java.lang.Override @@ -189,29 +162,29 @@ public java.lang.String getReason() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); reason_ = s; return s; } } /** - * - * *
    * A title that explains the reason for the error.
    * 
* * string reason = 1; - * * @return The bytes for reason. */ @java.lang.Override - public com.google.protobuf.ByteString getReasonBytes() { + public com.google.protobuf.ByteString + getReasonBytes() { java.lang.Object ref = reason_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); reason_ = b; return b; } else { @@ -222,15 +195,12 @@ public com.google.protobuf.ByteString getReasonBytes() { public static final int ERROR_UUID_FIELD_NUMBER = 2; private volatile java.lang.Object errorUuid_; /** - * - * *
    * A unique identifier for this specific error,
    * allowing it to be traced throughout the system in logs and API responses.
    * 
* * string error_uuid = 2; - * * @return The errorUuid. */ @java.lang.Override @@ -239,30 +209,30 @@ public java.lang.String getErrorUuid() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); errorUuid_ = s; return s; } } /** - * - * *
    * A unique identifier for this specific error,
    * allowing it to be traced throughout the system in logs and API responses.
    * 
* * string error_uuid = 2; - * * @return The bytes for errorUuid. */ @java.lang.Override - public com.google.protobuf.ByteString getErrorUuidBytes() { + public com.google.protobuf.ByteString + getErrorUuidBytes() { java.lang.Object ref = errorUuid_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); errorUuid_ = b; return b; } else { @@ -273,14 +243,11 @@ public com.google.protobuf.ByteString getErrorUuidBytes() { public static final int MESSAGE_FIELD_NUMBER = 3; private volatile java.lang.Object message_; /** - * - * *
    * A message containing more information about the error that occurred.
    * 
* * string message = 3; - * * @return The message. */ @java.lang.Override @@ -289,29 +256,29 @@ public java.lang.String getMessage() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; } } /** - * - * *
    * A message containing more information about the error that occurred.
    * 
* * string message = 3; - * * @return The bytes for message. */ @java.lang.Override - public com.google.protobuf.ByteString getMessageBytes() { + public com.google.protobuf.ByteString + getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); message_ = b; return b; } else { @@ -322,14 +289,11 @@ public com.google.protobuf.ByteString getMessageBytes() { public static final int ERROR_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp errorTime_; /** - * - * *
    * The time when the error occurred.
    * 
* * .google.protobuf.Timestamp error_time = 4; - * * @return Whether the errorTime field is set. */ @java.lang.Override @@ -337,14 +301,11 @@ public boolean hasErrorTime() { return errorTime_ != null; } /** - * - * *
    * The time when the error occurred.
    * 
* * .google.protobuf.Timestamp error_time = 4; - * * @return The errorTime. */ @java.lang.Override @@ -352,8 +313,6 @@ public com.google.protobuf.Timestamp getErrorTime() { return errorTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : errorTime_; } /** - * - * *
    * The time when the error occurred.
    * 
@@ -366,23 +325,24 @@ public com.google.protobuf.TimestampOrBuilder getErrorTimeOrBuilder() { } public static final int DETAILS_FIELD_NUMBER = 5; - private static final class DetailsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_Error_DetailsEntry_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.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_Error_DetailsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - - private com.google.protobuf.MapField details_; - - private com.google.protobuf.MapField internalGetDetails() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> details_; + private com.google.protobuf.MapField + internalGetDetails() { if (details_ == null) { - return com.google.protobuf.MapField.emptyMapField(DetailsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + DetailsDefaultEntryHolder.defaultEntry); } return details_; } @@ -391,30 +351,28 @@ public int getDetailsCount() { return internalGetDetails().getMap().size(); } /** - * - * *
    * Additional information about the error.
    * 
* * map<string, string> details = 5; */ + @java.lang.Override - public boolean containsDetails(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsDetails( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetDetails().getMap().containsKey(key); } - /** Use {@link #getDetailsMap()} instead. */ + /** + * Use {@link #getDetailsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getDetails() { return getDetailsMap(); } /** - * - * *
    * Additional information about the error.
    * 
@@ -422,12 +380,11 @@ public java.util.Map getDetails() { * map<string, string> details = 5; */ @java.lang.Override + public java.util.Map getDetailsMap() { return internalGetDetails().getMap(); } /** - * - * *
    * Additional information about the error.
    * 
@@ -435,16 +392,16 @@ public java.util.Map getDetailsMap() { * map<string, string> details = 5; */ @java.lang.Override - public java.lang.String getDetailsOrDefault(java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetDetails().getMap(); + + public java.lang.String getDetailsOrDefault( + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetDetails().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * Additional information about the error.
    * 
@@ -452,11 +409,12 @@ public java.lang.String getDetailsOrDefault(java.lang.String key, java.lang.Stri * map<string, string> details = 5; */ @java.lang.Override - public java.lang.String getDetailsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetDetails().getMap(); + + public java.lang.String getDetailsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetDetails().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -464,7 +422,6 @@ public java.lang.String getDetailsOrThrow(java.lang.String key) { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -476,7 +433,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(reason_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, reason_); } @@ -489,8 +447,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (errorTime_ != null) { output.writeMessage(4, getErrorTime()); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetDetails(), DetailsDefaultEntryHolder.defaultEntry, 5); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetDetails(), + DetailsDefaultEntryHolder.defaultEntry, + 5); unknownFields.writeTo(output); } @@ -510,17 +472,18 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, message_); } if (errorTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getErrorTime()); - } - for (java.util.Map.Entry entry : - internalGetDetails().getMap().entrySet()) { - com.google.protobuf.MapEntry details__ = - DetailsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, details__); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getErrorTime()); + } + for (java.util.Map.Entry entry + : internalGetDetails().getMap().entrySet()) { + com.google.protobuf.MapEntry + details__ = DetailsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, details__); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -530,22 +493,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.datastream.v1alpha1.Error)) { return super.equals(obj); } - com.google.cloud.datastream.v1alpha1.Error other = - (com.google.cloud.datastream.v1alpha1.Error) obj; + com.google.cloud.datastream.v1alpha1.Error other = (com.google.cloud.datastream.v1alpha1.Error) obj; - if (!getReason().equals(other.getReason())) return false; - if (!getErrorUuid().equals(other.getErrorUuid())) return false; - if (!getMessage().equals(other.getMessage())) return false; + if (!getReason() + .equals(other.getReason())) return false; + if (!getErrorUuid() + .equals(other.getErrorUuid())) return false; + if (!getMessage() + .equals(other.getMessage())) return false; if (hasErrorTime() != other.hasErrorTime()) return false; if (hasErrorTime()) { - if (!getErrorTime().equals(other.getErrorTime())) return false; + if (!getErrorTime() + .equals(other.getErrorTime())) return false; } - if (!internalGetDetails().equals(other.internalGetDetails())) return false; + if (!internalGetDetails().equals( + other.internalGetDetails())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -576,147 +543,140 @@ public int hashCode() { return hash; } - public static com.google.cloud.datastream.v1alpha1.Error parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.datastream.v1alpha1.Error parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.Error parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.Error parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.Error parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.Error parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.Error parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.Error 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.datastream.v1alpha1.Error parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.Error parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.Error parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.Error 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.datastream.v1alpha1.Error parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.Error parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datastream.v1alpha1.Error prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Represent a user-facing Error.
    * 
* * Protobuf type {@code google.cloud.datastream.v1alpha1.Error} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1alpha1.Error) com.google.cloud.datastream.v1alpha1.ErrorOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_Error_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_Error_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 5: return internalGetDetails(); 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 5: return internalGetMutableDetails(); 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.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_Error_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_Error_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.Error.class, - com.google.cloud.datastream.v1alpha1.Error.Builder.class); + com.google.cloud.datastream.v1alpha1.Error.class, com.google.cloud.datastream.v1alpha1.Error.Builder.class); } // Construct using com.google.cloud.datastream.v1alpha1.Error.newBuilder() @@ -724,15 +684,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -753,9 +714,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_Error_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_Error_descriptor; } @java.lang.Override @@ -774,8 +735,7 @@ public com.google.cloud.datastream.v1alpha1.Error build() { @java.lang.Override public com.google.cloud.datastream.v1alpha1.Error buildPartial() { - com.google.cloud.datastream.v1alpha1.Error result = - new com.google.cloud.datastream.v1alpha1.Error(this); + com.google.cloud.datastream.v1alpha1.Error result = new com.google.cloud.datastream.v1alpha1.Error(this); int from_bitField0_ = bitField0_; result.reason_ = reason_; result.errorUuid_ = errorUuid_; @@ -795,39 +755,38 @@ public com.google.cloud.datastream.v1alpha1.Error buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1alpha1.Error) { - return mergeFrom((com.google.cloud.datastream.v1alpha1.Error) other); + return mergeFrom((com.google.cloud.datastream.v1alpha1.Error)other); } else { super.mergeFrom(other); return this; @@ -851,7 +810,8 @@ public Builder mergeFrom(com.google.cloud.datastream.v1alpha1.Error other) { if (other.hasErrorTime()) { mergeErrorTime(other.getErrorTime()); } - internalGetMutableDetails().mergeFrom(other.internalGetDetails()); + internalGetMutableDetails().mergeFrom( + other.internalGetDetails()); this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -880,25 +840,22 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object reason_ = ""; /** - * - * *
      * A title that explains the reason for the error.
      * 
* * string reason = 1; - * * @return The reason. */ public java.lang.String getReason() { java.lang.Object ref = reason_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); reason_ = s; return s; @@ -907,21 +864,20 @@ public java.lang.String getReason() { } } /** - * - * *
      * A title that explains the reason for the error.
      * 
* * string reason = 1; - * * @return The bytes for reason. */ - public com.google.protobuf.ByteString getReasonBytes() { + public com.google.protobuf.ByteString + getReasonBytes() { java.lang.Object ref = reason_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); reason_ = b; return b; } else { @@ -929,61 +885,54 @@ public com.google.protobuf.ByteString getReasonBytes() { } } /** - * - * *
      * A title that explains the reason for the error.
      * 
* * string reason = 1; - * * @param value The reason to set. * @return This builder for chaining. */ - public Builder setReason(java.lang.String value) { + public Builder setReason( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + reason_ = value; onChanged(); return this; } /** - * - * *
      * A title that explains the reason for the error.
      * 
* * string reason = 1; - * * @return This builder for chaining. */ public Builder clearReason() { - + reason_ = getDefaultInstance().getReason(); onChanged(); return this; } /** - * - * *
      * A title that explains the reason for the error.
      * 
* * string reason = 1; - * * @param value The bytes for reason to set. * @return This builder for chaining. */ - public Builder setReasonBytes(com.google.protobuf.ByteString value) { + public Builder setReasonBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + reason_ = value; onChanged(); return this; @@ -991,21 +940,19 @@ public Builder setReasonBytes(com.google.protobuf.ByteString value) { private java.lang.Object errorUuid_ = ""; /** - * - * *
      * A unique identifier for this specific error,
      * allowing it to be traced throughout the system in logs and API responses.
      * 
* * string error_uuid = 2; - * * @return The errorUuid. */ public java.lang.String getErrorUuid() { java.lang.Object ref = errorUuid_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); errorUuid_ = s; return s; @@ -1014,22 +961,21 @@ public java.lang.String getErrorUuid() { } } /** - * - * *
      * A unique identifier for this specific error,
      * allowing it to be traced throughout the system in logs and API responses.
      * 
* * string error_uuid = 2; - * * @return The bytes for errorUuid. */ - public com.google.protobuf.ByteString getErrorUuidBytes() { + public com.google.protobuf.ByteString + getErrorUuidBytes() { java.lang.Object ref = errorUuid_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); errorUuid_ = b; return b; } else { @@ -1037,64 +983,57 @@ public com.google.protobuf.ByteString getErrorUuidBytes() { } } /** - * - * *
      * A unique identifier for this specific error,
      * allowing it to be traced throughout the system in logs and API responses.
      * 
* * string error_uuid = 2; - * * @param value The errorUuid to set. * @return This builder for chaining. */ - public Builder setErrorUuid(java.lang.String value) { + public Builder setErrorUuid( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + errorUuid_ = value; onChanged(); return this; } /** - * - * *
      * A unique identifier for this specific error,
      * allowing it to be traced throughout the system in logs and API responses.
      * 
* * string error_uuid = 2; - * * @return This builder for chaining. */ public Builder clearErrorUuid() { - + errorUuid_ = getDefaultInstance().getErrorUuid(); onChanged(); return this; } /** - * - * *
      * A unique identifier for this specific error,
      * allowing it to be traced throughout the system in logs and API responses.
      * 
* * string error_uuid = 2; - * * @param value The bytes for errorUuid to set. * @return This builder for chaining. */ - public Builder setErrorUuidBytes(com.google.protobuf.ByteString value) { + public Builder setErrorUuidBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + errorUuid_ = value; onChanged(); return this; @@ -1102,20 +1041,18 @@ public Builder setErrorUuidBytes(com.google.protobuf.ByteString value) { private java.lang.Object message_ = ""; /** - * - * *
      * A message containing more information about the error that occurred.
      * 
* * string message = 3; - * * @return The message. */ public java.lang.String getMessage() { java.lang.Object ref = message_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; @@ -1124,21 +1061,20 @@ public java.lang.String getMessage() { } } /** - * - * *
      * A message containing more information about the error that occurred.
      * 
* * string message = 3; - * * @return The bytes for message. */ - public com.google.protobuf.ByteString getMessageBytes() { + public com.google.protobuf.ByteString + getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); message_ = b; return b; } else { @@ -1146,61 +1082,54 @@ public com.google.protobuf.ByteString getMessageBytes() { } } /** - * - * *
      * A message containing more information about the error that occurred.
      * 
* * string message = 3; - * * @param value The message to set. * @return This builder for chaining. */ - public Builder setMessage(java.lang.String value) { + public Builder setMessage( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + message_ = value; onChanged(); return this; } /** - * - * *
      * A message containing more information about the error that occurred.
      * 
* * string message = 3; - * * @return This builder for chaining. */ public Builder clearMessage() { - + message_ = getDefaultInstance().getMessage(); onChanged(); return this; } /** - * - * *
      * A message containing more information about the error that occurred.
      * 
* * string message = 3; - * * @param value The bytes for message to set. * @return This builder for chaining. */ - public Builder setMessageBytes(com.google.protobuf.ByteString value) { + public Builder setMessageBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + message_ = value; onChanged(); return this; @@ -1208,33 +1137,24 @@ public Builder setMessageBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp errorTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - errorTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> errorTimeBuilder_; /** - * - * *
      * The time when the error occurred.
      * 
* * .google.protobuf.Timestamp error_time = 4; - * * @return Whether the errorTime field is set. */ public boolean hasErrorTime() { return errorTimeBuilder_ != null || errorTime_ != null; } /** - * - * *
      * The time when the error occurred.
      * 
* * .google.protobuf.Timestamp error_time = 4; - * * @return The errorTime. */ public com.google.protobuf.Timestamp getErrorTime() { @@ -1245,8 +1165,6 @@ public com.google.protobuf.Timestamp getErrorTime() { } } /** - * - * *
      * The time when the error occurred.
      * 
@@ -1267,15 +1185,14 @@ public Builder setErrorTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the error occurred.
      * 
* * .google.protobuf.Timestamp error_time = 4; */ - public Builder setErrorTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setErrorTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (errorTimeBuilder_ == null) { errorTime_ = builderForValue.build(); onChanged(); @@ -1286,8 +1203,6 @@ public Builder setErrorTime(com.google.protobuf.Timestamp.Builder builderForValu return this; } /** - * - * *
      * The time when the error occurred.
      * 
@@ -1298,7 +1213,7 @@ public Builder mergeErrorTime(com.google.protobuf.Timestamp value) { if (errorTimeBuilder_ == null) { if (errorTime_ != null) { errorTime_ = - com.google.protobuf.Timestamp.newBuilder(errorTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(errorTime_).mergeFrom(value).buildPartial(); } else { errorTime_ = value; } @@ -1310,8 +1225,6 @@ public Builder mergeErrorTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the error occurred.
      * 
@@ -1330,8 +1243,6 @@ public Builder clearErrorTime() { return this; } /** - * - * *
      * The time when the error occurred.
      * 
@@ -1339,13 +1250,11 @@ public Builder clearErrorTime() { * .google.protobuf.Timestamp error_time = 4; */ public com.google.protobuf.Timestamp.Builder getErrorTimeBuilder() { - + onChanged(); return getErrorTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time when the error occurred.
      * 
@@ -1356,12 +1265,11 @@ public com.google.protobuf.TimestampOrBuilder getErrorTimeOrBuilder() { if (errorTimeBuilder_ != null) { return errorTimeBuilder_.getMessageOrBuilder(); } else { - return errorTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : errorTime_; + return errorTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : errorTime_; } } /** - * - * *
      * The time when the error occurred.
      * 
@@ -1369,37 +1277,35 @@ public com.google.protobuf.TimestampOrBuilder getErrorTimeOrBuilder() { * .google.protobuf.Timestamp error_time = 4; */ 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> getErrorTimeFieldBuilder() { if (errorTimeBuilder_ == null) { - errorTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getErrorTime(), getParentForChildren(), isClean()); + errorTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getErrorTime(), + getParentForChildren(), + isClean()); errorTime_ = null; } return errorTimeBuilder_; } - private com.google.protobuf.MapField details_; - - private com.google.protobuf.MapField internalGetDetails() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> details_; + private com.google.protobuf.MapField + internalGetDetails() { if (details_ == null) { - return com.google.protobuf.MapField.emptyMapField(DetailsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + DetailsDefaultEntryHolder.defaultEntry); } return details_; } - private com.google.protobuf.MapField - internalGetMutableDetails() { - onChanged(); - ; + internalGetMutableDetails() { + onChanged();; if (details_ == null) { - details_ = com.google.protobuf.MapField.newMapField(DetailsDefaultEntryHolder.defaultEntry); + details_ = com.google.protobuf.MapField.newMapField( + DetailsDefaultEntryHolder.defaultEntry); } if (!details_.isMutable()) { details_ = details_.copy(); @@ -1411,30 +1317,28 @@ public int getDetailsCount() { return internalGetDetails().getMap().size(); } /** - * - * *
      * Additional information about the error.
      * 
* * map<string, string> details = 5; */ + @java.lang.Override - public boolean containsDetails(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsDetails( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetDetails().getMap().containsKey(key); } - /** Use {@link #getDetailsMap()} instead. */ + /** + * Use {@link #getDetailsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getDetails() { return getDetailsMap(); } /** - * - * *
      * Additional information about the error.
      * 
@@ -1442,12 +1346,11 @@ public java.util.Map getDetails() { * map<string, string> details = 5; */ @java.lang.Override + public java.util.Map getDetailsMap() { return internalGetDetails().getMap(); } /** - * - * *
      * Additional information about the error.
      * 
@@ -1455,17 +1358,16 @@ public java.util.Map getDetailsMap() { * map<string, string> details = 5; */ @java.lang.Override + public java.lang.String getDetailsOrDefault( - java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetDetails().getMap(); + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetDetails().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * Additional information about the error.
      * 
@@ -1473,11 +1375,12 @@ public java.lang.String getDetailsOrDefault( * map<string, string> details = 5; */ @java.lang.Override - public java.lang.String getDetailsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetDetails().getMap(); + + public java.lang.String getDetailsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetDetails().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -1485,66 +1388,69 @@ public java.lang.String getDetailsOrThrow(java.lang.String key) { } public Builder clearDetails() { - internalGetMutableDetails().getMutableMap().clear(); + internalGetMutableDetails().getMutableMap() + .clear(); return this; } /** - * - * *
      * Additional information about the error.
      * 
* * map<string, string> details = 5; */ - public Builder removeDetails(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableDetails().getMutableMap().remove(key); + + public Builder removeDetails( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableDetails().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map getMutableDetails() { + public java.util.Map + getMutableDetails() { return internalGetMutableDetails().getMutableMap(); } /** - * - * *
      * Additional information about the error.
      * 
* * map<string, string> details = 5; */ - public Builder putDetails(java.lang.String key, java.lang.String value) { - if (key == null) { - throw new NullPointerException("map key"); - } + public Builder putDetails( + java.lang.String key, + java.lang.String value) { + if (key == null) { throw new NullPointerException("map key"); } if (value == null) { - throw new NullPointerException("map value"); - } + throw new NullPointerException("map value"); +} - internalGetMutableDetails().getMutableMap().put(key, value); + internalGetMutableDetails().getMutableMap() + .put(key, value); return this; } /** - * - * *
      * Additional information about the error.
      * 
* * map<string, string> details = 5; */ - public Builder putAllDetails(java.util.Map values) { - internalGetMutableDetails().getMutableMap().putAll(values); + + public Builder putAllDetails( + java.util.Map values) { + internalGetMutableDetails().getMutableMap() + .putAll(values); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1554,12 +1460,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1alpha1.Error) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1alpha1.Error) private static final com.google.cloud.datastream.v1alpha1.Error DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1alpha1.Error(); } @@ -1568,16 +1474,16 @@ public static com.google.cloud.datastream.v1alpha1.Error getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Error parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Error(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Error parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Error(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1592,4 +1498,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datastream.v1alpha1.Error getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ErrorOrBuilder.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ErrorOrBuilder.java similarity index 69% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ErrorOrBuilder.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ErrorOrBuilder.java index ef12710c..cc9df884 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ErrorOrBuilder.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ErrorOrBuilder.java @@ -1,132 +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/datastream/v1alpha1/datastream_resources.proto package com.google.cloud.datastream.v1alpha1; -public interface ErrorOrBuilder - extends +public interface ErrorOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1alpha1.Error) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A title that explains the reason for the error.
    * 
* * string reason = 1; - * * @return The reason. */ java.lang.String getReason(); /** - * - * *
    * A title that explains the reason for the error.
    * 
* * string reason = 1; - * * @return The bytes for reason. */ - com.google.protobuf.ByteString getReasonBytes(); + com.google.protobuf.ByteString + getReasonBytes(); /** - * - * *
    * A unique identifier for this specific error,
    * allowing it to be traced throughout the system in logs and API responses.
    * 
* * string error_uuid = 2; - * * @return The errorUuid. */ java.lang.String getErrorUuid(); /** - * - * *
    * A unique identifier for this specific error,
    * allowing it to be traced throughout the system in logs and API responses.
    * 
* * string error_uuid = 2; - * * @return The bytes for errorUuid. */ - com.google.protobuf.ByteString getErrorUuidBytes(); + com.google.protobuf.ByteString + getErrorUuidBytes(); /** - * - * *
    * A message containing more information about the error that occurred.
    * 
* * string message = 3; - * * @return The message. */ java.lang.String getMessage(); /** - * - * *
    * A message containing more information about the error that occurred.
    * 
* * string message = 3; - * * @return The bytes for message. */ - com.google.protobuf.ByteString getMessageBytes(); + com.google.protobuf.ByteString + getMessageBytes(); /** - * - * *
    * The time when the error occurred.
    * 
* * .google.protobuf.Timestamp error_time = 4; - * * @return Whether the errorTime field is set. */ boolean hasErrorTime(); /** - * - * *
    * The time when the error occurred.
    * 
* * .google.protobuf.Timestamp error_time = 4; - * * @return The errorTime. */ com.google.protobuf.Timestamp getErrorTime(); /** - * - * *
    * The time when the error occurred.
    * 
@@ -136,8 +97,6 @@ public interface ErrorOrBuilder com.google.protobuf.TimestampOrBuilder getErrorTimeOrBuilder(); /** - * - * *
    * Additional information about the error.
    * 
@@ -146,31 +105,30 @@ public interface ErrorOrBuilder */ int getDetailsCount(); /** - * - * *
    * Additional information about the error.
    * 
* * map<string, string> details = 5; */ - boolean containsDetails(java.lang.String key); - /** Use {@link #getDetailsMap()} instead. */ + boolean containsDetails( + java.lang.String key); + /** + * Use {@link #getDetailsMap()} instead. + */ @java.lang.Deprecated - java.util.Map getDetails(); + java.util.Map + getDetails(); /** - * - * *
    * Additional information about the error.
    * 
* * map<string, string> details = 5; */ - java.util.Map getDetailsMap(); + java.util.Map + getDetailsMap(); /** - * - * *
    * Additional information about the error.
    * 
@@ -179,18 +137,18 @@ public interface ErrorOrBuilder */ /* nullable */ - java.lang.String getDetailsOrDefault( +java.lang.String getDetailsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue); +java.lang.String defaultValue); /** - * - * *
    * Additional information about the error.
    * 
* * map<string, string> details = 5; */ - java.lang.String getDetailsOrThrow(java.lang.String key); + + java.lang.String getDetailsOrThrow( + java.lang.String key); } diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/FetchErrorsRequest.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/FetchErrorsRequest.java similarity index 69% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/FetchErrorsRequest.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/FetchErrorsRequest.java index bd1afed3..29906ab6 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/FetchErrorsRequest.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/FetchErrorsRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1alpha1/datastream.proto package com.google.cloud.datastream.v1alpha1; /** - * - * *
  * Request message for 'FetchErrors' request.
  * 
* * Protobuf type {@code google.cloud.datastream.v1alpha1.FetchErrorsRequest} */ -public final class FetchErrorsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class FetchErrorsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1alpha1.FetchErrorsRequest) FetchErrorsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use FetchErrorsRequest.newBuilder() to construct. private FetchErrorsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private FetchErrorsRequest() { stream_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new FetchErrorsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private FetchErrorsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private FetchErrorsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - stream_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + stream_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,39 +73,34 @@ private FetchErrorsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_FetchErrorsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_FetchErrorsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_FetchErrorsRequest_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_FetchErrorsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.FetchErrorsRequest.class, - com.google.cloud.datastream.v1alpha1.FetchErrorsRequest.Builder.class); + com.google.cloud.datastream.v1alpha1.FetchErrorsRequest.class, com.google.cloud.datastream.v1alpha1.FetchErrorsRequest.Builder.class); } public static final int STREAM_FIELD_NUMBER = 1; private volatile java.lang.Object stream_; /** - * - * *
    * Name of the Stream resource for which to fetch any errors.
    * 
* * string stream = 1 [(.google.api.resource_reference) = { ... } - * * @return The stream. */ @java.lang.Override @@ -132,29 +109,29 @@ public java.lang.String getStream() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); stream_ = s; return s; } } /** - * - * *
    * Name of the Stream resource for which to fetch any errors.
    * 
* * string stream = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for stream. */ @java.lang.Override - public com.google.protobuf.ByteString getStreamBytes() { + public com.google.protobuf.ByteString + getStreamBytes() { java.lang.Object ref = stream_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); stream_ = b; return b; } else { @@ -163,7 +140,6 @@ public com.google.protobuf.ByteString getStreamBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -175,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stream_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, stream_); } @@ -199,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datastream.v1alpha1.FetchErrorsRequest)) { return super.equals(obj); } - com.google.cloud.datastream.v1alpha1.FetchErrorsRequest other = - (com.google.cloud.datastream.v1alpha1.FetchErrorsRequest) obj; + com.google.cloud.datastream.v1alpha1.FetchErrorsRequest other = (com.google.cloud.datastream.v1alpha1.FetchErrorsRequest) obj; - if (!getStream().equals(other.getStream())) return false; + if (!getStream() + .equals(other.getStream())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -227,127 +204,117 @@ public int hashCode() { } public static com.google.cloud.datastream.v1alpha1.FetchErrorsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.FetchErrorsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.FetchErrorsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.FetchErrorsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.FetchErrorsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.FetchErrorsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.FetchErrorsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.FetchErrorsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.FetchErrorsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.FetchErrorsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.FetchErrorsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.FetchErrorsRequest 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.datastream.v1alpha1.FetchErrorsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.FetchErrorsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datastream.v1alpha1.FetchErrorsRequest prototype) { + public static Builder newBuilder(com.google.cloud.datastream.v1alpha1.FetchErrorsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for 'FetchErrors' request.
    * 
* * Protobuf type {@code google.cloud.datastream.v1alpha1.FetchErrorsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1alpha1.FetchErrorsRequest) com.google.cloud.datastream.v1alpha1.FetchErrorsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_FetchErrorsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_FetchErrorsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_FetchErrorsRequest_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_FetchErrorsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.FetchErrorsRequest.class, - com.google.cloud.datastream.v1alpha1.FetchErrorsRequest.Builder.class); + com.google.cloud.datastream.v1alpha1.FetchErrorsRequest.class, com.google.cloud.datastream.v1alpha1.FetchErrorsRequest.Builder.class); } // Construct using com.google.cloud.datastream.v1alpha1.FetchErrorsRequest.newBuilder() @@ -355,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -373,9 +341,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_FetchErrorsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_FetchErrorsRequest_descriptor; } @java.lang.Override @@ -394,8 +362,7 @@ public com.google.cloud.datastream.v1alpha1.FetchErrorsRequest build() { @java.lang.Override public com.google.cloud.datastream.v1alpha1.FetchErrorsRequest buildPartial() { - com.google.cloud.datastream.v1alpha1.FetchErrorsRequest result = - new com.google.cloud.datastream.v1alpha1.FetchErrorsRequest(this); + com.google.cloud.datastream.v1alpha1.FetchErrorsRequest result = new com.google.cloud.datastream.v1alpha1.FetchErrorsRequest(this); result.stream_ = stream_; onBuilt(); return result; @@ -405,39 +372,38 @@ public com.google.cloud.datastream.v1alpha1.FetchErrorsRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1alpha1.FetchErrorsRequest) { - return mergeFrom((com.google.cloud.datastream.v1alpha1.FetchErrorsRequest) other); + return mergeFrom((com.google.cloud.datastream.v1alpha1.FetchErrorsRequest)other); } else { super.mergeFrom(other); return this; @@ -445,8 +411,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datastream.v1alpha1.FetchErrorsRequest other) { - if (other == com.google.cloud.datastream.v1alpha1.FetchErrorsRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.datastream.v1alpha1.FetchErrorsRequest.getDefaultInstance()) return this; if (!other.getStream().isEmpty()) { stream_ = other.stream_; onChanged(); @@ -470,8 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datastream.v1alpha1.FetchErrorsRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datastream.v1alpha1.FetchErrorsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -483,20 +447,18 @@ public Builder mergeFrom( private java.lang.Object stream_ = ""; /** - * - * *
      * Name of the Stream resource for which to fetch any errors.
      * 
* * string stream = 1 [(.google.api.resource_reference) = { ... } - * * @return The stream. */ public java.lang.String getStream() { java.lang.Object ref = stream_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); stream_ = s; return s; @@ -505,21 +467,20 @@ public java.lang.String getStream() { } } /** - * - * *
      * Name of the Stream resource for which to fetch any errors.
      * 
* * string stream = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for stream. */ - public com.google.protobuf.ByteString getStreamBytes() { + public com.google.protobuf.ByteString + getStreamBytes() { java.lang.Object ref = stream_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); stream_ = b; return b; } else { @@ -527,68 +488,61 @@ public com.google.protobuf.ByteString getStreamBytes() { } } /** - * - * *
      * Name of the Stream resource for which to fetch any errors.
      * 
* * string stream = 1 [(.google.api.resource_reference) = { ... } - * * @param value The stream to set. * @return This builder for chaining. */ - public Builder setStream(java.lang.String value) { + public Builder setStream( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + stream_ = value; onChanged(); return this; } /** - * - * *
      * Name of the Stream resource for which to fetch any errors.
      * 
* * string stream = 1 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearStream() { - + stream_ = getDefaultInstance().getStream(); onChanged(); return this; } /** - * - * *
      * Name of the Stream resource for which to fetch any errors.
      * 
* * string stream = 1 [(.google.api.resource_reference) = { ... } - * * @param value The bytes for stream to set. * @return This builder for chaining. */ - public Builder setStreamBytes(com.google.protobuf.ByteString value) { + public Builder setStreamBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + stream_ = 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); } @@ -598,12 +552,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1alpha1.FetchErrorsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1alpha1.FetchErrorsRequest) private static final com.google.cloud.datastream.v1alpha1.FetchErrorsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1alpha1.FetchErrorsRequest(); } @@ -612,16 +566,16 @@ public static com.google.cloud.datastream.v1alpha1.FetchErrorsRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FetchErrorsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new FetchErrorsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FetchErrorsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new FetchErrorsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -636,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datastream.v1alpha1.FetchErrorsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/FetchErrorsRequestOrBuilder.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/FetchErrorsRequestOrBuilder.java similarity index 51% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/FetchErrorsRequestOrBuilder.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/FetchErrorsRequestOrBuilder.java index 5467845c..c082309d 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/FetchErrorsRequestOrBuilder.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/FetchErrorsRequestOrBuilder.java @@ -1,50 +1,29 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1alpha1/datastream.proto package com.google.cloud.datastream.v1alpha1; -public interface FetchErrorsRequestOrBuilder - extends +public interface FetchErrorsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1alpha1.FetchErrorsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Name of the Stream resource for which to fetch any errors.
    * 
* * string stream = 1 [(.google.api.resource_reference) = { ... } - * * @return The stream. */ java.lang.String getStream(); /** - * - * *
    * Name of the Stream resource for which to fetch any errors.
    * 
* * string stream = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for stream. */ - com.google.protobuf.ByteString getStreamBytes(); + com.google.protobuf.ByteString + getStreamBytes(); } diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/FetchErrorsResponse.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/FetchErrorsResponse.java similarity index 73% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/FetchErrorsResponse.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/FetchErrorsResponse.java index 85fc7b32..9dae787d 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/FetchErrorsResponse.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/FetchErrorsResponse.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1alpha1/datastream.proto package com.google.cloud.datastream.v1alpha1; /** - * - * *
  * Response message for a 'FetchErrors' response.
  * 
* * Protobuf type {@code google.cloud.datastream.v1alpha1.FetchErrorsResponse} */ -public final class FetchErrorsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class FetchErrorsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1alpha1.FetchErrorsResponse) FetchErrorsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use FetchErrorsResponse.newBuilder() to construct. private FetchErrorsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private FetchErrorsResponse() { errors_ = 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 FetchErrorsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private FetchErrorsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,24 +54,22 @@ private FetchErrorsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - errors_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - errors_.add( - input.readMessage( - com.google.cloud.datastream.v1alpha1.Error.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + errors_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + errors_.add( + input.readMessage(com.google.cloud.datastream.v1alpha1.Error.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -96,7 +77,8 @@ private FetchErrorsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { errors_ = java.util.Collections.unmodifiableList(errors_); @@ -105,27 +87,22 @@ private FetchErrorsResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_FetchErrorsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_FetchErrorsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_FetchErrorsResponse_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_FetchErrorsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.FetchErrorsResponse.class, - com.google.cloud.datastream.v1alpha1.FetchErrorsResponse.Builder.class); + com.google.cloud.datastream.v1alpha1.FetchErrorsResponse.class, com.google.cloud.datastream.v1alpha1.FetchErrorsResponse.Builder.class); } public static final int ERRORS_FIELD_NUMBER = 1; private java.util.List errors_; /** - * - * *
    * The list of errors on the Stream.
    * 
@@ -137,8 +114,6 @@ public java.util.List getErrorsList( return errors_; } /** - * - * *
    * The list of errors on the Stream.
    * 
@@ -146,13 +121,11 @@ public java.util.List getErrorsList( * repeated .google.cloud.datastream.v1alpha1.Error errors = 1; */ @java.lang.Override - public java.util.List + public java.util.List getErrorsOrBuilderList() { return errors_; } /** - * - * *
    * The list of errors on the Stream.
    * 
@@ -164,8 +137,6 @@ public int getErrorsCount() { return errors_.size(); } /** - * - * *
    * The list of errors on the Stream.
    * 
@@ -177,8 +148,6 @@ public com.google.cloud.datastream.v1alpha1.Error getErrors(int index) { return errors_.get(index); } /** - * - * *
    * The list of errors on the Stream.
    * 
@@ -186,12 +155,12 @@ public com.google.cloud.datastream.v1alpha1.Error getErrors(int index) { * repeated .google.cloud.datastream.v1alpha1.Error errors = 1; */ @java.lang.Override - public com.google.cloud.datastream.v1alpha1.ErrorOrBuilder getErrorsOrBuilder(int index) { + public com.google.cloud.datastream.v1alpha1.ErrorOrBuilder getErrorsOrBuilder( + int index) { return errors_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -203,7 +172,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 < errors_.size(); i++) { output.writeMessage(1, errors_.get(i)); } @@ -217,7 +187,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < errors_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, errors_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, errors_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -227,15 +198,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.datastream.v1alpha1.FetchErrorsResponse)) { return super.equals(obj); } - com.google.cloud.datastream.v1alpha1.FetchErrorsResponse other = - (com.google.cloud.datastream.v1alpha1.FetchErrorsResponse) obj; + com.google.cloud.datastream.v1alpha1.FetchErrorsResponse other = (com.google.cloud.datastream.v1alpha1.FetchErrorsResponse) obj; - if (!getErrorsList().equals(other.getErrorsList())) return false; + if (!getErrorsList() + .equals(other.getErrorsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -257,127 +228,117 @@ public int hashCode() { } public static com.google.cloud.datastream.v1alpha1.FetchErrorsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.FetchErrorsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.FetchErrorsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.FetchErrorsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.FetchErrorsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.FetchErrorsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.FetchErrorsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.FetchErrorsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.FetchErrorsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.FetchErrorsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.FetchErrorsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.FetchErrorsResponse 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.datastream.v1alpha1.FetchErrorsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.FetchErrorsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datastream.v1alpha1.FetchErrorsResponse prototype) { + public static Builder newBuilder(com.google.cloud.datastream.v1alpha1.FetchErrorsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for a 'FetchErrors' response.
    * 
* * Protobuf type {@code google.cloud.datastream.v1alpha1.FetchErrorsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1alpha1.FetchErrorsResponse) com.google.cloud.datastream.v1alpha1.FetchErrorsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_FetchErrorsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_FetchErrorsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_FetchErrorsResponse_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_FetchErrorsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.FetchErrorsResponse.class, - com.google.cloud.datastream.v1alpha1.FetchErrorsResponse.Builder.class); + com.google.cloud.datastream.v1alpha1.FetchErrorsResponse.class, com.google.cloud.datastream.v1alpha1.FetchErrorsResponse.Builder.class); } // Construct using com.google.cloud.datastream.v1alpha1.FetchErrorsResponse.newBuilder() @@ -385,17 +346,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getErrorsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -409,9 +370,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_FetchErrorsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_FetchErrorsResponse_descriptor; } @java.lang.Override @@ -430,8 +391,7 @@ public com.google.cloud.datastream.v1alpha1.FetchErrorsResponse build() { @java.lang.Override public com.google.cloud.datastream.v1alpha1.FetchErrorsResponse buildPartial() { - com.google.cloud.datastream.v1alpha1.FetchErrorsResponse result = - new com.google.cloud.datastream.v1alpha1.FetchErrorsResponse(this); + com.google.cloud.datastream.v1alpha1.FetchErrorsResponse result = new com.google.cloud.datastream.v1alpha1.FetchErrorsResponse(this); int from_bitField0_ = bitField0_; if (errorsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -450,39 +410,38 @@ public com.google.cloud.datastream.v1alpha1.FetchErrorsResponse buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1alpha1.FetchErrorsResponse) { - return mergeFrom((com.google.cloud.datastream.v1alpha1.FetchErrorsResponse) other); + return mergeFrom((com.google.cloud.datastream.v1alpha1.FetchErrorsResponse)other); } else { super.mergeFrom(other); return this; @@ -490,8 +449,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datastream.v1alpha1.FetchErrorsResponse other) { - if (other == com.google.cloud.datastream.v1alpha1.FetchErrorsResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.datastream.v1alpha1.FetchErrorsResponse.getDefaultInstance()) return this; if (errorsBuilder_ == null) { if (!other.errors_.isEmpty()) { if (errors_.isEmpty()) { @@ -510,10 +468,9 @@ public Builder mergeFrom(com.google.cloud.datastream.v1alpha1.FetchErrorsRespons errorsBuilder_ = null; errors_ = other.errors_; bitField0_ = (bitField0_ & ~0x00000001); - errorsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getErrorsFieldBuilder() - : null; + errorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getErrorsFieldBuilder() : null; } else { errorsBuilder_.addAllMessages(other.errors_); } @@ -538,8 +495,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datastream.v1alpha1.FetchErrorsResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datastream.v1alpha1.FetchErrorsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -548,28 +504,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List errors_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureErrorsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { errors_ = new java.util.ArrayList(errors_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.Error, - com.google.cloud.datastream.v1alpha1.Error.Builder, - com.google.cloud.datastream.v1alpha1.ErrorOrBuilder> - errorsBuilder_; + com.google.cloud.datastream.v1alpha1.Error, com.google.cloud.datastream.v1alpha1.Error.Builder, com.google.cloud.datastream.v1alpha1.ErrorOrBuilder> errorsBuilder_; /** - * - * *
      * The list of errors on the Stream.
      * 
@@ -584,8 +533,6 @@ public java.util.List getErrorsList( } } /** - * - * *
      * The list of errors on the Stream.
      * 
@@ -600,8 +547,6 @@ public int getErrorsCount() { } } /** - * - * *
      * The list of errors on the Stream.
      * 
@@ -616,15 +561,14 @@ public com.google.cloud.datastream.v1alpha1.Error getErrors(int index) { } } /** - * - * *
      * The list of errors on the Stream.
      * 
* * repeated .google.cloud.datastream.v1alpha1.Error errors = 1; */ - public Builder setErrors(int index, com.google.cloud.datastream.v1alpha1.Error value) { + public Builder setErrors( + int index, com.google.cloud.datastream.v1alpha1.Error value) { if (errorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -638,8 +582,6 @@ public Builder setErrors(int index, com.google.cloud.datastream.v1alpha1.Error v return this; } /** - * - * *
      * The list of errors on the Stream.
      * 
@@ -658,8 +600,6 @@ public Builder setErrors( return this; } /** - * - * *
      * The list of errors on the Stream.
      * 
@@ -680,15 +620,14 @@ public Builder addErrors(com.google.cloud.datastream.v1alpha1.Error value) { return this; } /** - * - * *
      * The list of errors on the Stream.
      * 
* * repeated .google.cloud.datastream.v1alpha1.Error errors = 1; */ - public Builder addErrors(int index, com.google.cloud.datastream.v1alpha1.Error value) { + public Builder addErrors( + int index, com.google.cloud.datastream.v1alpha1.Error value) { if (errorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -702,15 +641,14 @@ public Builder addErrors(int index, com.google.cloud.datastream.v1alpha1.Error v return this; } /** - * - * *
      * The list of errors on the Stream.
      * 
* * repeated .google.cloud.datastream.v1alpha1.Error errors = 1; */ - public Builder addErrors(com.google.cloud.datastream.v1alpha1.Error.Builder builderForValue) { + public Builder addErrors( + com.google.cloud.datastream.v1alpha1.Error.Builder builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.add(builderForValue.build()); @@ -721,8 +659,6 @@ public Builder addErrors(com.google.cloud.datastream.v1alpha1.Error.Builder buil return this; } /** - * - * *
      * The list of errors on the Stream.
      * 
@@ -741,8 +677,6 @@ public Builder addErrors( return this; } /** - * - * *
      * The list of errors on the Stream.
      * 
@@ -753,7 +687,8 @@ public Builder addAllErrors( java.lang.Iterable values) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, errors_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, errors_); onChanged(); } else { errorsBuilder_.addAllMessages(values); @@ -761,8 +696,6 @@ public Builder addAllErrors( return this; } /** - * - * *
      * The list of errors on the Stream.
      * 
@@ -780,8 +713,6 @@ public Builder clearErrors() { return this; } /** - * - * *
      * The list of errors on the Stream.
      * 
@@ -799,44 +730,39 @@ public Builder removeErrors(int index) { return this; } /** - * - * *
      * The list of errors on the Stream.
      * 
* * repeated .google.cloud.datastream.v1alpha1.Error errors = 1; */ - public com.google.cloud.datastream.v1alpha1.Error.Builder getErrorsBuilder(int index) { + public com.google.cloud.datastream.v1alpha1.Error.Builder getErrorsBuilder( + int index) { return getErrorsFieldBuilder().getBuilder(index); } /** - * - * *
      * The list of errors on the Stream.
      * 
* * repeated .google.cloud.datastream.v1alpha1.Error errors = 1; */ - public com.google.cloud.datastream.v1alpha1.ErrorOrBuilder getErrorsOrBuilder(int index) { + public com.google.cloud.datastream.v1alpha1.ErrorOrBuilder getErrorsOrBuilder( + int index) { if (errorsBuilder_ == null) { - return errors_.get(index); - } else { + return errors_.get(index); } else { return errorsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The list of errors on the Stream.
      * 
* * repeated .google.cloud.datastream.v1alpha1.Error errors = 1; */ - public java.util.List - getErrorsOrBuilderList() { + public java.util.List + getErrorsOrBuilderList() { if (errorsBuilder_ != null) { return errorsBuilder_.getMessageOrBuilderList(); } else { @@ -844,8 +770,6 @@ public com.google.cloud.datastream.v1alpha1.ErrorOrBuilder getErrorsOrBuilder(in } } /** - * - * *
      * The list of errors on the Stream.
      * 
@@ -853,55 +777,49 @@ public com.google.cloud.datastream.v1alpha1.ErrorOrBuilder getErrorsOrBuilder(in * repeated .google.cloud.datastream.v1alpha1.Error errors = 1; */ public com.google.cloud.datastream.v1alpha1.Error.Builder addErrorsBuilder() { - return getErrorsFieldBuilder() - .addBuilder(com.google.cloud.datastream.v1alpha1.Error.getDefaultInstance()); + return getErrorsFieldBuilder().addBuilder( + com.google.cloud.datastream.v1alpha1.Error.getDefaultInstance()); } /** - * - * *
      * The list of errors on the Stream.
      * 
* * repeated .google.cloud.datastream.v1alpha1.Error errors = 1; */ - public com.google.cloud.datastream.v1alpha1.Error.Builder addErrorsBuilder(int index) { - return getErrorsFieldBuilder() - .addBuilder(index, com.google.cloud.datastream.v1alpha1.Error.getDefaultInstance()); + public com.google.cloud.datastream.v1alpha1.Error.Builder addErrorsBuilder( + int index) { + return getErrorsFieldBuilder().addBuilder( + index, com.google.cloud.datastream.v1alpha1.Error.getDefaultInstance()); } /** - * - * *
      * The list of errors on the Stream.
      * 
* * repeated .google.cloud.datastream.v1alpha1.Error errors = 1; */ - public java.util.List - getErrorsBuilderList() { + public java.util.List + getErrorsBuilderList() { return getErrorsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.Error, - com.google.cloud.datastream.v1alpha1.Error.Builder, - com.google.cloud.datastream.v1alpha1.ErrorOrBuilder> + com.google.cloud.datastream.v1alpha1.Error, com.google.cloud.datastream.v1alpha1.Error.Builder, com.google.cloud.datastream.v1alpha1.ErrorOrBuilder> getErrorsFieldBuilder() { if (errorsBuilder_ == null) { - errorsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.Error, - com.google.cloud.datastream.v1alpha1.Error.Builder, - com.google.cloud.datastream.v1alpha1.ErrorOrBuilder>( - errors_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + errorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datastream.v1alpha1.Error, com.google.cloud.datastream.v1alpha1.Error.Builder, com.google.cloud.datastream.v1alpha1.ErrorOrBuilder>( + errors_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); errors_ = null; } return errorsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -911,12 +829,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1alpha1.FetchErrorsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1alpha1.FetchErrorsResponse) private static final com.google.cloud.datastream.v1alpha1.FetchErrorsResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1alpha1.FetchErrorsResponse(); } @@ -925,16 +843,16 @@ public static com.google.cloud.datastream.v1alpha1.FetchErrorsResponse getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FetchErrorsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new FetchErrorsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FetchErrorsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new FetchErrorsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -949,4 +867,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datastream.v1alpha1.FetchErrorsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/FetchErrorsResponseOrBuilder.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/FetchErrorsResponseOrBuilder.java similarity index 62% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/FetchErrorsResponseOrBuilder.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/FetchErrorsResponseOrBuilder.java index 5a82be31..5278eb06 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/FetchErrorsResponseOrBuilder.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/FetchErrorsResponseOrBuilder.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/datastream/v1alpha1/datastream.proto package com.google.cloud.datastream.v1alpha1; -public interface FetchErrorsResponseOrBuilder - extends +public interface FetchErrorsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1alpha1.FetchErrorsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The list of errors on the Stream.
    * 
* * repeated .google.cloud.datastream.v1alpha1.Error errors = 1; */ - java.util.List getErrorsList(); + java.util.List + getErrorsList(); /** - * - * *
    * The list of errors on the Stream.
    * 
@@ -44,8 +25,6 @@ public interface FetchErrorsResponseOrBuilder */ com.google.cloud.datastream.v1alpha1.Error getErrors(int index); /** - * - * *
    * The list of errors on the Stream.
    * 
@@ -54,24 +33,21 @@ public interface FetchErrorsResponseOrBuilder */ int getErrorsCount(); /** - * - * *
    * The list of errors on the Stream.
    * 
* * repeated .google.cloud.datastream.v1alpha1.Error errors = 1; */ - java.util.List + java.util.List getErrorsOrBuilderList(); /** - * - * *
    * The list of errors on the Stream.
    * 
* * repeated .google.cloud.datastream.v1alpha1.Error errors = 1; */ - com.google.cloud.datastream.v1alpha1.ErrorOrBuilder getErrorsOrBuilder(int index); + com.google.cloud.datastream.v1alpha1.ErrorOrBuilder getErrorsOrBuilder( + int index); } diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/FetchStaticIpsRequest.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/FetchStaticIpsRequest.java similarity index 69% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/FetchStaticIpsRequest.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/FetchStaticIpsRequest.java index 0b072648..89eed3ac 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/FetchStaticIpsRequest.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/FetchStaticIpsRequest.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/datastream/v1alpha1/datastream.proto package com.google.cloud.datastream.v1alpha1; /** - * - * *
  * Request message for 'FetchStaticIps' request.
  * 
* * Protobuf type {@code google.cloud.datastream.v1alpha1.FetchStaticIpsRequest} */ -public final class FetchStaticIpsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class FetchStaticIpsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1alpha1.FetchStaticIpsRequest) FetchStaticIpsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use FetchStaticIpsRequest.newBuilder() to construct. private FetchStaticIpsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private FetchStaticIpsRequest() { name_ = ""; pageToken_ = ""; @@ -44,15 +26,16 @@ private FetchStaticIpsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new FetchStaticIpsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private FetchStaticIpsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,32 +54,30 @@ private FetchStaticIpsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -104,42 +85,35 @@ private FetchStaticIpsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_FetchStaticIpsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_FetchStaticIpsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_FetchStaticIpsRequest_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_FetchStaticIpsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.FetchStaticIpsRequest.class, - com.google.cloud.datastream.v1alpha1.FetchStaticIpsRequest.Builder.class); + com.google.cloud.datastream.v1alpha1.FetchStaticIpsRequest.class, com.google.cloud.datastream.v1alpha1.FetchStaticIpsRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name resource of the Response type. Must be in the
    * format `projects/*/locations/*`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -148,32 +122,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. The name resource of the Response type. Must be in the
    * format `projects/*/locations/*`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -184,14 +156,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * Maximum number of Ips to return, will likely not be specified.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -202,15 +171,12 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * A page token, received from a previous `ListStaticIps` call.
    * will likely not be specified.
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -219,30 +185,30 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * A page token, received from a previous `ListStaticIps` call.
    * will likely not be specified.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -251,7 +217,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -263,7 +228,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_); } @@ -286,7 +252,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } 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_); @@ -299,17 +266,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.datastream.v1alpha1.FetchStaticIpsRequest)) { return super.equals(obj); } - com.google.cloud.datastream.v1alpha1.FetchStaticIpsRequest other = - (com.google.cloud.datastream.v1alpha1.FetchStaticIpsRequest) obj; + com.google.cloud.datastream.v1alpha1.FetchStaticIpsRequest other = (com.google.cloud.datastream.v1alpha1.FetchStaticIpsRequest) obj; - if (!getName().equals(other.getName())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getName() + .equals(other.getName())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -333,127 +302,117 @@ public int hashCode() { } public static com.google.cloud.datastream.v1alpha1.FetchStaticIpsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.FetchStaticIpsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.FetchStaticIpsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.FetchStaticIpsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.FetchStaticIpsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.FetchStaticIpsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.FetchStaticIpsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.FetchStaticIpsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.FetchStaticIpsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.FetchStaticIpsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.FetchStaticIpsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.FetchStaticIpsRequest 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.datastream.v1alpha1.FetchStaticIpsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.FetchStaticIpsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datastream.v1alpha1.FetchStaticIpsRequest prototype) { + public static Builder newBuilder(com.google.cloud.datastream.v1alpha1.FetchStaticIpsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for 'FetchStaticIps' request.
    * 
* * Protobuf type {@code google.cloud.datastream.v1alpha1.FetchStaticIpsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1alpha1.FetchStaticIpsRequest) com.google.cloud.datastream.v1alpha1.FetchStaticIpsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_FetchStaticIpsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_FetchStaticIpsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_FetchStaticIpsRequest_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_FetchStaticIpsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.FetchStaticIpsRequest.class, - com.google.cloud.datastream.v1alpha1.FetchStaticIpsRequest.Builder.class); + com.google.cloud.datastream.v1alpha1.FetchStaticIpsRequest.class, com.google.cloud.datastream.v1alpha1.FetchStaticIpsRequest.Builder.class); } // Construct using com.google.cloud.datastream.v1alpha1.FetchStaticIpsRequest.newBuilder() @@ -461,15 +420,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -483,9 +443,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_FetchStaticIpsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_FetchStaticIpsRequest_descriptor; } @java.lang.Override @@ -504,8 +464,7 @@ public com.google.cloud.datastream.v1alpha1.FetchStaticIpsRequest build() { @java.lang.Override public com.google.cloud.datastream.v1alpha1.FetchStaticIpsRequest buildPartial() { - com.google.cloud.datastream.v1alpha1.FetchStaticIpsRequest result = - new com.google.cloud.datastream.v1alpha1.FetchStaticIpsRequest(this); + com.google.cloud.datastream.v1alpha1.FetchStaticIpsRequest result = new com.google.cloud.datastream.v1alpha1.FetchStaticIpsRequest(this); result.name_ = name_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -517,39 +476,38 @@ public com.google.cloud.datastream.v1alpha1.FetchStaticIpsRequest buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1alpha1.FetchStaticIpsRequest) { - return mergeFrom((com.google.cloud.datastream.v1alpha1.FetchStaticIpsRequest) other); + return mergeFrom((com.google.cloud.datastream.v1alpha1.FetchStaticIpsRequest)other); } else { super.mergeFrom(other); return this; @@ -557,8 +515,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datastream.v1alpha1.FetchStaticIpsRequest other) { - if (other == com.google.cloud.datastream.v1alpha1.FetchStaticIpsRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.datastream.v1alpha1.FetchStaticIpsRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -589,8 +546,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datastream.v1alpha1.FetchStaticIpsRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datastream.v1alpha1.FetchStaticIpsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -602,23 +558,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name resource of the Response type. Must be in the
      * format `projects/*/locations/*`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -627,24 +579,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name resource of the Response type. Must be in the
      * format `projects/*/locations/*`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -652,85 +601,69 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name resource of the Response type. Must be in the
      * format `projects/*/locations/*`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name resource of the Response type. Must be in the
      * format `projects/*/locations/*`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name resource of the Response type. Must be in the
      * format `projects/*/locations/*`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Maximum number of Ips to return, will likely not be specified.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -738,36 +671,30 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Maximum number of Ips to return, will likely not be specified.
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * Maximum number of Ips to return, will likely not be specified.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -775,21 +702,19 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A page token, received from a previous `ListStaticIps` call.
      * will likely not be specified.
      * 
* * 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; @@ -798,22 +723,21 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A page token, received from a previous `ListStaticIps` call.
      * will likely not be specified.
      * 
* * 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 { @@ -821,71 +745,64 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A page token, received from a previous `ListStaticIps` call.
      * will likely not be specified.
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * A page token, received from a previous `ListStaticIps` call.
      * will likely not be specified.
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * A page token, received from a previous `ListStaticIps` call.
      * will likely not be specified.
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -895,12 +812,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1alpha1.FetchStaticIpsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1alpha1.FetchStaticIpsRequest) private static final com.google.cloud.datastream.v1alpha1.FetchStaticIpsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1alpha1.FetchStaticIpsRequest(); } @@ -909,16 +826,16 @@ public static com.google.cloud.datastream.v1alpha1.FetchStaticIpsRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FetchStaticIpsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new FetchStaticIpsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FetchStaticIpsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new FetchStaticIpsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -933,4 +850,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datastream.v1alpha1.FetchStaticIpsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/FetchStaticIpsRequestOrBuilder.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/FetchStaticIpsRequestOrBuilder.java similarity index 55% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/FetchStaticIpsRequestOrBuilder.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/FetchStaticIpsRequestOrBuilder.java index 841fd4db..945f8160 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/FetchStaticIpsRequestOrBuilder.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/FetchStaticIpsRequestOrBuilder.java @@ -1,96 +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/datastream/v1alpha1/datastream.proto package com.google.cloud.datastream.v1alpha1; -public interface FetchStaticIpsRequestOrBuilder - extends +public interface FetchStaticIpsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1alpha1.FetchStaticIpsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name resource of the Response type. Must be in the
    * format `projects/*/locations/*`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The name resource of the Response type. Must be in the
    * format `projects/*/locations/*`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Maximum number of Ips to return, will likely not be specified.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A page token, received from a previous `ListStaticIps` call.
    * will likely not be specified.
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A page token, received from a previous `ListStaticIps` call.
    * will likely not be specified.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/FetchStaticIpsResponse.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/FetchStaticIpsResponse.java similarity index 71% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/FetchStaticIpsResponse.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/FetchStaticIpsResponse.java index fbad8f1e..41f8901f 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/FetchStaticIpsResponse.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/FetchStaticIpsResponse.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/datastream/v1alpha1/datastream.proto package com.google.cloud.datastream.v1alpha1; /** - * - * *
  * Response message for a 'FetchStaticIps' response.
  * 
* * Protobuf type {@code google.cloud.datastream.v1alpha1.FetchStaticIpsResponse} */ -public final class FetchStaticIpsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class FetchStaticIpsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1alpha1.FetchStaticIpsResponse) FetchStaticIpsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use FetchStaticIpsResponse.newBuilder() to construct. private FetchStaticIpsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private FetchStaticIpsResponse() { staticIps_ = com.google.protobuf.LazyStringArrayList.EMPTY; nextPageToken_ = ""; @@ -44,15 +26,16 @@ private FetchStaticIpsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new FetchStaticIpsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private FetchStaticIpsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,30 +55,28 @@ private FetchStaticIpsResponse( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - staticIps_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - staticIps_.add(s); - break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + staticIps_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + staticIps_.add(s); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -103,7 +84,8 @@ private FetchStaticIpsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { staticIps_ = staticIps_.getUnmodifiableView(); @@ -112,61 +94,50 @@ private FetchStaticIpsResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_FetchStaticIpsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_FetchStaticIpsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_FetchStaticIpsResponse_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_FetchStaticIpsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.FetchStaticIpsResponse.class, - com.google.cloud.datastream.v1alpha1.FetchStaticIpsResponse.Builder.class); + com.google.cloud.datastream.v1alpha1.FetchStaticIpsResponse.class, com.google.cloud.datastream.v1alpha1.FetchStaticIpsResponse.Builder.class); } public static final int STATIC_IPS_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList staticIps_; /** - * - * *
    * list of static ips by account
    * 
* * repeated string static_ips = 1; - * * @return A list containing the staticIps. */ - public com.google.protobuf.ProtocolStringList getStaticIpsList() { + public com.google.protobuf.ProtocolStringList + getStaticIpsList() { return staticIps_; } /** - * - * *
    * list of static ips by account
    * 
* * repeated string static_ips = 1; - * * @return The count of staticIps. */ public int getStaticIpsCount() { return staticIps_.size(); } /** - * - * *
    * list of static ips by account
    * 
* * repeated string static_ips = 1; - * * @param index The index of the element to return. * @return The staticIps at the given index. */ @@ -174,33 +145,28 @@ public java.lang.String getStaticIps(int index) { return staticIps_.get(index); } /** - * - * *
    * list of static ips by account
    * 
* * repeated string static_ips = 1; - * * @param index The index of the value to return. * @return The bytes of the staticIps at the given index. */ - public com.google.protobuf.ByteString getStaticIpsBytes(int index) { + public com.google.protobuf.ByteString + getStaticIpsBytes(int index) { return staticIps_.getByteString(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * A token that can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -209,30 +175,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * A token that can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * 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 { @@ -241,7 +207,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } 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 { for (int i = 0; i < staticIps_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, staticIps_.getRaw(i)); } @@ -288,16 +254,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.datastream.v1alpha1.FetchStaticIpsResponse)) { return super.equals(obj); } - com.google.cloud.datastream.v1alpha1.FetchStaticIpsResponse other = - (com.google.cloud.datastream.v1alpha1.FetchStaticIpsResponse) obj; + com.google.cloud.datastream.v1alpha1.FetchStaticIpsResponse other = (com.google.cloud.datastream.v1alpha1.FetchStaticIpsResponse) obj; - if (!getStaticIpsList().equals(other.getStaticIpsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getStaticIpsList() + .equals(other.getStaticIpsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -321,127 +288,117 @@ public int hashCode() { } public static com.google.cloud.datastream.v1alpha1.FetchStaticIpsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.FetchStaticIpsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.FetchStaticIpsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.FetchStaticIpsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.FetchStaticIpsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.FetchStaticIpsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.FetchStaticIpsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.FetchStaticIpsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.FetchStaticIpsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.FetchStaticIpsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.FetchStaticIpsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.FetchStaticIpsResponse 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.datastream.v1alpha1.FetchStaticIpsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.FetchStaticIpsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datastream.v1alpha1.FetchStaticIpsResponse prototype) { + public static Builder newBuilder(com.google.cloud.datastream.v1alpha1.FetchStaticIpsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for a 'FetchStaticIps' response.
    * 
* * Protobuf type {@code google.cloud.datastream.v1alpha1.FetchStaticIpsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1alpha1.FetchStaticIpsResponse) com.google.cloud.datastream.v1alpha1.FetchStaticIpsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_FetchStaticIpsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_FetchStaticIpsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_FetchStaticIpsResponse_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_FetchStaticIpsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.FetchStaticIpsResponse.class, - com.google.cloud.datastream.v1alpha1.FetchStaticIpsResponse.Builder.class); + com.google.cloud.datastream.v1alpha1.FetchStaticIpsResponse.class, com.google.cloud.datastream.v1alpha1.FetchStaticIpsResponse.Builder.class); } // Construct using com.google.cloud.datastream.v1alpha1.FetchStaticIpsResponse.newBuilder() @@ -449,15 +406,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -469,9 +427,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_FetchStaticIpsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_FetchStaticIpsResponse_descriptor; } @java.lang.Override @@ -490,8 +448,7 @@ public com.google.cloud.datastream.v1alpha1.FetchStaticIpsResponse build() { @java.lang.Override public com.google.cloud.datastream.v1alpha1.FetchStaticIpsResponse buildPartial() { - com.google.cloud.datastream.v1alpha1.FetchStaticIpsResponse result = - new com.google.cloud.datastream.v1alpha1.FetchStaticIpsResponse(this); + com.google.cloud.datastream.v1alpha1.FetchStaticIpsResponse result = new com.google.cloud.datastream.v1alpha1.FetchStaticIpsResponse(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { staticIps_ = staticIps_.getUnmodifiableView(); @@ -507,39 +464,38 @@ public com.google.cloud.datastream.v1alpha1.FetchStaticIpsResponse buildPartial( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1alpha1.FetchStaticIpsResponse) { - return mergeFrom((com.google.cloud.datastream.v1alpha1.FetchStaticIpsResponse) other); + return mergeFrom((com.google.cloud.datastream.v1alpha1.FetchStaticIpsResponse)other); } else { super.mergeFrom(other); return this; @@ -547,8 +503,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datastream.v1alpha1.FetchStaticIpsResponse other) { - if (other == com.google.cloud.datastream.v1alpha1.FetchStaticIpsResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.datastream.v1alpha1.FetchStaticIpsResponse.getDefaultInstance()) return this; if (!other.staticIps_.isEmpty()) { if (staticIps_.isEmpty()) { staticIps_ = other.staticIps_; @@ -582,8 +537,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datastream.v1alpha1.FetchStaticIpsResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datastream.v1alpha1.FetchStaticIpsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -592,55 +546,44 @@ public Builder mergeFrom( } return this; } - private int bitField0_; - private com.google.protobuf.LazyStringList staticIps_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList staticIps_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureStaticIpsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { staticIps_ = new com.google.protobuf.LazyStringArrayList(staticIps_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * list of static ips by account
      * 
* * repeated string static_ips = 1; - * * @return A list containing the staticIps. */ - public com.google.protobuf.ProtocolStringList getStaticIpsList() { + public com.google.protobuf.ProtocolStringList + getStaticIpsList() { return staticIps_.getUnmodifiableView(); } /** - * - * *
      * list of static ips by account
      * 
* * repeated string static_ips = 1; - * * @return The count of staticIps. */ public int getStaticIpsCount() { return staticIps_.size(); } /** - * - * *
      * list of static ips by account
      * 
* * repeated string static_ips = 1; - * * @param index The index of the element to return. * @return The staticIps at the given index. */ @@ -648,90 +591,80 @@ public java.lang.String getStaticIps(int index) { return staticIps_.get(index); } /** - * - * *
      * list of static ips by account
      * 
* * repeated string static_ips = 1; - * * @param index The index of the value to return. * @return The bytes of the staticIps at the given index. */ - public com.google.protobuf.ByteString getStaticIpsBytes(int index) { + public com.google.protobuf.ByteString + getStaticIpsBytes(int index) { return staticIps_.getByteString(index); } /** - * - * *
      * list of static ips by account
      * 
* * repeated string static_ips = 1; - * * @param index The index to set the value at. * @param value The staticIps to set. * @return This builder for chaining. */ - public Builder setStaticIps(int index, java.lang.String value) { + public Builder setStaticIps( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureStaticIpsIsMutable(); + throw new NullPointerException(); + } + ensureStaticIpsIsMutable(); staticIps_.set(index, value); onChanged(); return this; } /** - * - * *
      * list of static ips by account
      * 
* * repeated string static_ips = 1; - * * @param value The staticIps to add. * @return This builder for chaining. */ - public Builder addStaticIps(java.lang.String value) { + public Builder addStaticIps( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureStaticIpsIsMutable(); + throw new NullPointerException(); + } + ensureStaticIpsIsMutable(); staticIps_.add(value); onChanged(); return this; } /** - * - * *
      * list of static ips by account
      * 
* * repeated string static_ips = 1; - * * @param values The staticIps to add. * @return This builder for chaining. */ - public Builder addAllStaticIps(java.lang.Iterable values) { + public Builder addAllStaticIps( + java.lang.Iterable values) { ensureStaticIpsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, staticIps_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, staticIps_); onChanged(); return this; } /** - * - * *
      * list of static ips by account
      * 
* * repeated string static_ips = 1; - * * @return This builder for chaining. */ public Builder clearStaticIps() { @@ -741,22 +674,20 @@ public Builder clearStaticIps() { return this; } /** - * - * *
      * list of static ips by account
      * 
* * repeated string static_ips = 1; - * * @param value The bytes of the staticIps to add. * @return This builder for chaining. */ - public Builder addStaticIpsBytes(com.google.protobuf.ByteString value) { + public Builder addStaticIpsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureStaticIpsIsMutable(); staticIps_.add(value); onChanged(); @@ -765,21 +696,19 @@ public Builder addStaticIpsBytes(com.google.protobuf.ByteString value) { private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token that can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * 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; @@ -788,22 +717,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token that can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * 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 { @@ -811,71 +739,64 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token that can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * A token that can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * A token that can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -885,12 +806,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1alpha1.FetchStaticIpsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1alpha1.FetchStaticIpsResponse) private static final com.google.cloud.datastream.v1alpha1.FetchStaticIpsResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1alpha1.FetchStaticIpsResponse(); } @@ -899,16 +820,16 @@ public static com.google.cloud.datastream.v1alpha1.FetchStaticIpsResponse getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FetchStaticIpsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new FetchStaticIpsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FetchStaticIpsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new FetchStaticIpsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -923,4 +844,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datastream.v1alpha1.FetchStaticIpsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/FetchStaticIpsResponseOrBuilder.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/FetchStaticIpsResponseOrBuilder.java similarity index 65% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/FetchStaticIpsResponseOrBuilder.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/FetchStaticIpsResponseOrBuilder.java index b9ab94f9..33bd0c52 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/FetchStaticIpsResponseOrBuilder.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/FetchStaticIpsResponseOrBuilder.java @@ -1,103 +1,72 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1alpha1/datastream.proto package com.google.cloud.datastream.v1alpha1; -public interface FetchStaticIpsResponseOrBuilder - extends +public interface FetchStaticIpsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1alpha1.FetchStaticIpsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * list of static ips by account
    * 
* * repeated string static_ips = 1; - * * @return A list containing the staticIps. */ - java.util.List getStaticIpsList(); + java.util.List + getStaticIpsList(); /** - * - * *
    * list of static ips by account
    * 
* * repeated string static_ips = 1; - * * @return The count of staticIps. */ int getStaticIpsCount(); /** - * - * *
    * list of static ips by account
    * 
* * repeated string static_ips = 1; - * * @param index The index of the element to return. * @return The staticIps at the given index. */ java.lang.String getStaticIps(int index); /** - * - * *
    * list of static ips by account
    * 
* * repeated string static_ips = 1; - * * @param index The index of the value to return. * @return The bytes of the staticIps at the given index. */ - com.google.protobuf.ByteString getStaticIpsBytes(int index); + com.google.protobuf.ByteString + getStaticIpsBytes(int index); /** - * - * *
    * A token that can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token that can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ForwardSshTunnelConnectivity.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ForwardSshTunnelConnectivity.java similarity index 71% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ForwardSshTunnelConnectivity.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ForwardSshTunnelConnectivity.java index 9d6172bc..151a5fb4 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ForwardSshTunnelConnectivity.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ForwardSshTunnelConnectivity.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/datastream/v1alpha1/datastream_resources.proto package com.google.cloud.datastream.v1alpha1; /** - * - * *
  * Forward SSH Tunnel connectivity.
  * 
* * Protobuf type {@code google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity} */ -public final class ForwardSshTunnelConnectivity extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ForwardSshTunnelConnectivity extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity) ForwardSshTunnelConnectivityOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ForwardSshTunnelConnectivity.newBuilder() to construct. private ForwardSshTunnelConnectivity(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ForwardSshTunnelConnectivity() { hostname_ = ""; username_ = ""; @@ -44,15 +26,16 @@ private ForwardSshTunnelConnectivity() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ForwardSshTunnelConnectivity(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ForwardSshTunnelConnectivity( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,46 +54,42 @@ private ForwardSshTunnelConnectivity( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - hostname_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + hostname_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - username_ = s; - break; - } - case 24: - { - port_ = input.readInt32(); - break; - } - case 802: - { - java.lang.String s = input.readStringRequireUtf8(); - authenticationMethodCase_ = 100; - authenticationMethod_ = s; - break; - } - case 810: - { - java.lang.String s = input.readStringRequireUtf8(); - authenticationMethodCase_ = 101; - authenticationMethod_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + username_ = s; + break; + } + case 24: { + + port_ = input.readInt32(); + break; + } + case 802: { + java.lang.String s = input.readStringRequireUtf8(); + authenticationMethodCase_ = 100; + authenticationMethod_ = s; + break; + } + case 810: { + java.lang.String s = input.readStringRequireUtf8(); + authenticationMethodCase_ = 101; + authenticationMethod_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -118,40 +97,35 @@ private ForwardSshTunnelConnectivity( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_ForwardSshTunnelConnectivity_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_ForwardSshTunnelConnectivity_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_ForwardSshTunnelConnectivity_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_ForwardSshTunnelConnectivity_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity.class, - com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity.Builder.class); + com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity.class, com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity.Builder.class); } private int authenticationMethodCase_ = 0; private java.lang.Object authenticationMethod_; - public enum AuthenticationMethodCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { PASSWORD(100), PRIVATE_KEY(101), AUTHENTICATIONMETHOD_NOT_SET(0); private final int value; - private AuthenticationMethodCase(int value) { this.value = value; } @@ -167,37 +141,31 @@ public static AuthenticationMethodCase valueOf(int value) { public static AuthenticationMethodCase forNumber(int value) { switch (value) { - case 100: - return PASSWORD; - case 101: - return PRIVATE_KEY; - case 0: - return AUTHENTICATIONMETHOD_NOT_SET; - default: - return null; + case 100: return PASSWORD; + case 101: return PRIVATE_KEY; + case 0: return AUTHENTICATIONMETHOD_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public AuthenticationMethodCase getAuthenticationMethodCase() { - return AuthenticationMethodCase.forNumber(authenticationMethodCase_); + public AuthenticationMethodCase + getAuthenticationMethodCase() { + return AuthenticationMethodCase.forNumber( + authenticationMethodCase_); } public static final int HOSTNAME_FIELD_NUMBER = 1; private volatile java.lang.Object hostname_; /** - * - * *
    * Required. Hostname for the SSH tunnel.
    * 
* * string hostname = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The hostname. */ @java.lang.Override @@ -206,29 +174,29 @@ public java.lang.String getHostname() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); hostname_ = s; return s; } } /** - * - * *
    * Required. Hostname for the SSH tunnel.
    * 
* * string hostname = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for hostname. */ @java.lang.Override - public com.google.protobuf.ByteString getHostnameBytes() { + public com.google.protobuf.ByteString + getHostnameBytes() { java.lang.Object ref = hostname_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); hostname_ = b; return b; } else { @@ -239,14 +207,11 @@ public com.google.protobuf.ByteString getHostnameBytes() { public static final int USERNAME_FIELD_NUMBER = 2; private volatile java.lang.Object username_; /** - * - * *
    * Required. Username for the SSH tunnel.
    * 
* * string username = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The username. */ @java.lang.Override @@ -255,29 +220,29 @@ public java.lang.String getUsername() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); username_ = s; return s; } } /** - * - * *
    * Required. Username for the SSH tunnel.
    * 
* * string username = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for username. */ @java.lang.Override - public com.google.protobuf.ByteString getUsernameBytes() { + public com.google.protobuf.ByteString + getUsernameBytes() { java.lang.Object ref = username_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); username_ = b; return b; } else { @@ -288,14 +253,11 @@ public com.google.protobuf.ByteString getUsernameBytes() { public static final int PORT_FIELD_NUMBER = 3; private int port_; /** - * - * *
    * Port for the SSH tunnel, default value is 22.
    * 
* * int32 port = 3; - * * @return The port. */ @java.lang.Override @@ -305,28 +267,22 @@ public int getPort() { public static final int PASSWORD_FIELD_NUMBER = 100; /** - * - * *
    * Input only. SSH password.
    * 
* * string password = 100 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return Whether the password field is set. */ public boolean hasPassword() { return authenticationMethodCase_ == 100; } /** - * - * *
    * Input only. SSH password.
    * 
* * string password = 100 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The password. */ public java.lang.String getPassword() { @@ -337,7 +293,8 @@ public java.lang.String getPassword() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (authenticationMethodCase_ == 100) { authenticationMethod_ = s; @@ -346,24 +303,23 @@ public java.lang.String getPassword() { } } /** - * - * *
    * Input only. SSH password.
    * 
* * string password = 100 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The bytes for password. */ - public com.google.protobuf.ByteString getPasswordBytes() { + public com.google.protobuf.ByteString + getPasswordBytes() { java.lang.Object ref = ""; if (authenticationMethodCase_ == 100) { ref = authenticationMethod_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (authenticationMethodCase_ == 100) { authenticationMethod_ = b; } @@ -375,28 +331,22 @@ public com.google.protobuf.ByteString getPasswordBytes() { public static final int PRIVATE_KEY_FIELD_NUMBER = 101; /** - * - * *
    * Input only. SSH private key.
    * 
* * string private_key = 101 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return Whether the privateKey field is set. */ public boolean hasPrivateKey() { return authenticationMethodCase_ == 101; } /** - * - * *
    * Input only. SSH private key.
    * 
* * string private_key = 101 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The privateKey. */ public java.lang.String getPrivateKey() { @@ -407,7 +357,8 @@ public java.lang.String getPrivateKey() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (authenticationMethodCase_ == 101) { authenticationMethod_ = s; @@ -416,24 +367,23 @@ public java.lang.String getPrivateKey() { } } /** - * - * *
    * Input only. SSH private key.
    * 
* * string private_key = 101 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The bytes for privateKey. */ - public com.google.protobuf.ByteString getPrivateKeyBytes() { + public com.google.protobuf.ByteString + getPrivateKeyBytes() { java.lang.Object ref = ""; if (authenticationMethodCase_ == 101) { ref = authenticationMethod_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (authenticationMethodCase_ == 101) { authenticationMethod_ = b; } @@ -444,7 +394,6 @@ public com.google.protobuf.ByteString getPrivateKeyBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -456,7 +405,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(hostname_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, hostname_); } @@ -488,7 +438,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, username_); } if (port_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, port_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, port_); } if (authenticationMethodCase_ == 100) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(100, authenticationMethod_); @@ -504,24 +455,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.datastream.v1alpha1.ForwardSshTunnelConnectivity)) { return super.equals(obj); } - com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity other = - (com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity) obj; + com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity other = (com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity) obj; - if (!getHostname().equals(other.getHostname())) return false; - if (!getUsername().equals(other.getUsername())) return false; - if (getPort() != other.getPort()) return false; + if (!getHostname() + .equals(other.getHostname())) return false; + if (!getUsername() + .equals(other.getUsername())) return false; + if (getPort() + != other.getPort()) return false; if (!getAuthenticationMethodCase().equals(other.getAuthenticationMethodCase())) return false; switch (authenticationMethodCase_) { case 100: - if (!getPassword().equals(other.getPassword())) return false; + if (!getPassword() + .equals(other.getPassword())) return false; break; case 101: - if (!getPrivateKey().equals(other.getPrivateKey())) return false; + if (!getPrivateKey() + .equals(other.getPrivateKey())) return false; break; case 0: default: @@ -561,145 +516,134 @@ public int hashCode() { } public static com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity prototype) { + public static Builder newBuilder(com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Forward SSH Tunnel connectivity.
    * 
* * Protobuf type {@code google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity) com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivityOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_ForwardSshTunnelConnectivity_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_ForwardSshTunnelConnectivity_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_ForwardSshTunnelConnectivity_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_ForwardSshTunnelConnectivity_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity.class, - com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity.Builder.class); + com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity.class, com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity.Builder.class); } - // Construct using - // com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity.newBuilder() + // Construct using com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -715,14 +659,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_ForwardSshTunnelConnectivity_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_ForwardSshTunnelConnectivity_descriptor; } @java.lang.Override - public com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity - getDefaultInstanceForType() { + public com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity getDefaultInstanceForType() { return com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity.getDefaultInstance(); } @@ -737,8 +680,7 @@ public com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity build() @java.lang.Override public com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity buildPartial() { - com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity result = - new com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity(this); + com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity result = new com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity(this); result.hostname_ = hostname_; result.username_ = username_; result.port_ = port_; @@ -757,50 +699,46 @@ public com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity buildPa public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity) { - return mergeFrom((com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity) other); + return mergeFrom((com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity other) { - if (other - == com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity other) { + if (other == com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity.getDefaultInstance()) return this; if (!other.getHostname().isEmpty()) { hostname_ = other.hostname_; onChanged(); @@ -813,24 +751,21 @@ public Builder mergeFrom( setPort(other.getPort()); } switch (other.getAuthenticationMethodCase()) { - case PASSWORD: - { - authenticationMethodCase_ = 100; - authenticationMethod_ = other.authenticationMethod_; - onChanged(); - break; - } - case PRIVATE_KEY: - { - authenticationMethodCase_ = 101; - authenticationMethod_ = other.authenticationMethod_; - onChanged(); - break; - } - case AUTHENTICATIONMETHOD_NOT_SET: - { - break; - } + case PASSWORD: { + authenticationMethodCase_ = 100; + authenticationMethod_ = other.authenticationMethod_; + onChanged(); + break; + } + case PRIVATE_KEY: { + authenticationMethodCase_ = 101; + authenticationMethod_ = other.authenticationMethod_; + onChanged(); + break; + } + case AUTHENTICATIONMETHOD_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -851,9 +786,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -862,12 +795,12 @@ public Builder mergeFrom( } return this; } - private int authenticationMethodCase_ = 0; private java.lang.Object authenticationMethod_; - - public AuthenticationMethodCase getAuthenticationMethodCase() { - return AuthenticationMethodCase.forNumber(authenticationMethodCase_); + public AuthenticationMethodCase + getAuthenticationMethodCase() { + return AuthenticationMethodCase.forNumber( + authenticationMethodCase_); } public Builder clearAuthenticationMethod() { @@ -877,22 +810,21 @@ public Builder clearAuthenticationMethod() { return this; } + private java.lang.Object hostname_ = ""; /** - * - * *
      * Required. Hostname for the SSH tunnel.
      * 
* * string hostname = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The hostname. */ public java.lang.String getHostname() { java.lang.Object ref = hostname_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); hostname_ = s; return s; @@ -901,21 +833,20 @@ public java.lang.String getHostname() { } } /** - * - * *
      * Required. Hostname for the SSH tunnel.
      * 
* * string hostname = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for hostname. */ - public com.google.protobuf.ByteString getHostnameBytes() { + public com.google.protobuf.ByteString + getHostnameBytes() { java.lang.Object ref = hostname_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); hostname_ = b; return b; } else { @@ -923,61 +854,54 @@ public com.google.protobuf.ByteString getHostnameBytes() { } } /** - * - * *
      * Required. Hostname for the SSH tunnel.
      * 
* * string hostname = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The hostname to set. * @return This builder for chaining. */ - public Builder setHostname(java.lang.String value) { + public Builder setHostname( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + hostname_ = value; onChanged(); return this; } /** - * - * *
      * Required. Hostname for the SSH tunnel.
      * 
* * string hostname = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearHostname() { - + hostname_ = getDefaultInstance().getHostname(); onChanged(); return this; } /** - * - * *
      * Required. Hostname for the SSH tunnel.
      * 
* * string hostname = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for hostname to set. * @return This builder for chaining. */ - public Builder setHostnameBytes(com.google.protobuf.ByteString value) { + public Builder setHostnameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + hostname_ = value; onChanged(); return this; @@ -985,20 +909,18 @@ public Builder setHostnameBytes(com.google.protobuf.ByteString value) { private java.lang.Object username_ = ""; /** - * - * *
      * Required. Username for the SSH tunnel.
      * 
* * string username = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The username. */ public java.lang.String getUsername() { java.lang.Object ref = username_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); username_ = s; return s; @@ -1007,21 +929,20 @@ public java.lang.String getUsername() { } } /** - * - * *
      * Required. Username for the SSH tunnel.
      * 
* * string username = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for username. */ - public com.google.protobuf.ByteString getUsernameBytes() { + public com.google.protobuf.ByteString + getUsernameBytes() { java.lang.Object ref = username_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); username_ = b; return b; } else { @@ -1029,76 +950,66 @@ public com.google.protobuf.ByteString getUsernameBytes() { } } /** - * - * *
      * Required. Username for the SSH tunnel.
      * 
* * string username = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The username to set. * @return This builder for chaining. */ - public Builder setUsername(java.lang.String value) { + public Builder setUsername( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + username_ = value; onChanged(); return this; } /** - * - * *
      * Required. Username for the SSH tunnel.
      * 
* * string username = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearUsername() { - + username_ = getDefaultInstance().getUsername(); onChanged(); return this; } /** - * - * *
      * Required. Username for the SSH tunnel.
      * 
* * string username = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for username to set. * @return This builder for chaining. */ - public Builder setUsernameBytes(com.google.protobuf.ByteString value) { + public Builder setUsernameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + username_ = value; onChanged(); return this; } - private int port_; + private int port_ ; /** - * - * *
      * Port for the SSH tunnel, default value is 22.
      * 
* * int32 port = 3; - * * @return The port. */ @java.lang.Override @@ -1106,50 +1017,41 @@ public int getPort() { return port_; } /** - * - * *
      * Port for the SSH tunnel, default value is 22.
      * 
* * int32 port = 3; - * * @param value The port to set. * @return This builder for chaining. */ public Builder setPort(int value) { - + port_ = value; onChanged(); return this; } /** - * - * *
      * Port for the SSH tunnel, default value is 22.
      * 
* * int32 port = 3; - * * @return This builder for chaining. */ public Builder clearPort() { - + port_ = 0; onChanged(); return this; } /** - * - * *
      * Input only. SSH password.
      * 
* * string password = 100 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return Whether the password field is set. */ @java.lang.Override @@ -1157,14 +1059,11 @@ public boolean hasPassword() { return authenticationMethodCase_ == 100; } /** - * - * *
      * Input only. SSH password.
      * 
* * string password = 100 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The password. */ @java.lang.Override @@ -1174,7 +1073,8 @@ public java.lang.String getPassword() { ref = authenticationMethod_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (authenticationMethodCase_ == 100) { authenticationMethod_ = s; @@ -1185,25 +1085,24 @@ public java.lang.String getPassword() { } } /** - * - * *
      * Input only. SSH password.
      * 
* * string password = 100 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The bytes for password. */ @java.lang.Override - public com.google.protobuf.ByteString getPasswordBytes() { + public com.google.protobuf.ByteString + getPasswordBytes() { java.lang.Object ref = ""; if (authenticationMethodCase_ == 100) { ref = authenticationMethod_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (authenticationMethodCase_ == 100) { authenticationMethod_ = b; } @@ -1213,35 +1112,30 @@ public com.google.protobuf.ByteString getPasswordBytes() { } } /** - * - * *
      * Input only. SSH password.
      * 
* * string password = 100 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @param value The password to set. * @return This builder for chaining. */ - public Builder setPassword(java.lang.String value) { + public Builder setPassword( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - authenticationMethodCase_ = 100; + throw new NullPointerException(); + } + authenticationMethodCase_ = 100; authenticationMethod_ = value; onChanged(); return this; } /** - * - * *
      * Input only. SSH password.
      * 
* * string password = 100 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearPassword() { @@ -1253,22 +1147,20 @@ public Builder clearPassword() { return this; } /** - * - * *
      * Input only. SSH password.
      * 
* * string password = 100 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @param value The bytes for password to set. * @return This builder for chaining. */ - public Builder setPasswordBytes(com.google.protobuf.ByteString value) { + public Builder setPasswordBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); authenticationMethodCase_ = 100; authenticationMethod_ = value; onChanged(); @@ -1276,14 +1168,11 @@ public Builder setPasswordBytes(com.google.protobuf.ByteString value) { } /** - * - * *
      * Input only. SSH private key.
      * 
* * string private_key = 101 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return Whether the privateKey field is set. */ @java.lang.Override @@ -1291,14 +1180,11 @@ public boolean hasPrivateKey() { return authenticationMethodCase_ == 101; } /** - * - * *
      * Input only. SSH private key.
      * 
* * string private_key = 101 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The privateKey. */ @java.lang.Override @@ -1308,7 +1194,8 @@ public java.lang.String getPrivateKey() { ref = authenticationMethod_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (authenticationMethodCase_ == 101) { authenticationMethod_ = s; @@ -1319,25 +1206,24 @@ public java.lang.String getPrivateKey() { } } /** - * - * *
      * Input only. SSH private key.
      * 
* * string private_key = 101 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The bytes for privateKey. */ @java.lang.Override - public com.google.protobuf.ByteString getPrivateKeyBytes() { + public com.google.protobuf.ByteString + getPrivateKeyBytes() { java.lang.Object ref = ""; if (authenticationMethodCase_ == 101) { ref = authenticationMethod_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (authenticationMethodCase_ == 101) { authenticationMethod_ = b; } @@ -1347,35 +1233,30 @@ public com.google.protobuf.ByteString getPrivateKeyBytes() { } } /** - * - * *
      * Input only. SSH private key.
      * 
* * string private_key = 101 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @param value The privateKey to set. * @return This builder for chaining. */ - public Builder setPrivateKey(java.lang.String value) { + public Builder setPrivateKey( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - authenticationMethodCase_ = 101; + throw new NullPointerException(); + } + authenticationMethodCase_ = 101; authenticationMethod_ = value; onChanged(); return this; } /** - * - * *
      * Input only. SSH private key.
      * 
* * string private_key = 101 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearPrivateKey() { @@ -1387,30 +1268,28 @@ public Builder clearPrivateKey() { return this; } /** - * - * *
      * Input only. SSH private key.
      * 
* * string private_key = 101 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @param value The bytes for privateKey to set. * @return This builder for chaining. */ - public Builder setPrivateKeyBytes(com.google.protobuf.ByteString value) { + public Builder setPrivateKeyBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); authenticationMethodCase_ = 101; authenticationMethod_ = 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); } @@ -1420,32 +1299,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity) - private static final com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity - DEFAULT_INSTANCE; - + private static final com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity(); } - public static com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity - getDefaultInstance() { + public static com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ForwardSshTunnelConnectivity parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ForwardSshTunnelConnectivity(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ForwardSshTunnelConnectivity parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ForwardSshTunnelConnectivity(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1457,8 +1334,9 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity - getDefaultInstanceForType() { + public com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ForwardSshTunnelConnectivityOrBuilder.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ForwardSshTunnelConnectivityOrBuilder.java similarity index 71% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ForwardSshTunnelConnectivityOrBuilder.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ForwardSshTunnelConnectivityOrBuilder.java index 8765fad1..0e90d3b7 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ForwardSshTunnelConnectivityOrBuilder.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ForwardSshTunnelConnectivityOrBuilder.java @@ -1,165 +1,119 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1alpha1/datastream_resources.proto package com.google.cloud.datastream.v1alpha1; -public interface ForwardSshTunnelConnectivityOrBuilder - extends +public interface ForwardSshTunnelConnectivityOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Hostname for the SSH tunnel.
    * 
* * string hostname = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The hostname. */ java.lang.String getHostname(); /** - * - * *
    * Required. Hostname for the SSH tunnel.
    * 
* * string hostname = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for hostname. */ - com.google.protobuf.ByteString getHostnameBytes(); + com.google.protobuf.ByteString + getHostnameBytes(); /** - * - * *
    * Required. Username for the SSH tunnel.
    * 
* * string username = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The username. */ java.lang.String getUsername(); /** - * - * *
    * Required. Username for the SSH tunnel.
    * 
* * string username = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for username. */ - com.google.protobuf.ByteString getUsernameBytes(); + com.google.protobuf.ByteString + getUsernameBytes(); /** - * - * *
    * Port for the SSH tunnel, default value is 22.
    * 
* * int32 port = 3; - * * @return The port. */ int getPort(); /** - * - * *
    * Input only. SSH password.
    * 
* * string password = 100 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return Whether the password field is set. */ boolean hasPassword(); /** - * - * *
    * Input only. SSH password.
    * 
* * string password = 100 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The password. */ java.lang.String getPassword(); /** - * - * *
    * Input only. SSH password.
    * 
* * string password = 100 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The bytes for password. */ - com.google.protobuf.ByteString getPasswordBytes(); + com.google.protobuf.ByteString + getPasswordBytes(); /** - * - * *
    * Input only. SSH private key.
    * 
* * string private_key = 101 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return Whether the privateKey field is set. */ boolean hasPrivateKey(); /** - * - * *
    * Input only. SSH private key.
    * 
* * string private_key = 101 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The privateKey. */ java.lang.String getPrivateKey(); /** - * - * *
    * Input only. SSH private key.
    * 
* * string private_key = 101 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The bytes for privateKey. */ - com.google.protobuf.ByteString getPrivateKeyBytes(); + com.google.protobuf.ByteString + getPrivateKeyBytes(); - public com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity.AuthenticationMethodCase - getAuthenticationMethodCase(); + public com.google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity.AuthenticationMethodCase getAuthenticationMethodCase(); } diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/GcsDestinationConfig.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/GcsDestinationConfig.java similarity index 69% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/GcsDestinationConfig.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/GcsDestinationConfig.java index cdbd9748..ef833df8 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/GcsDestinationConfig.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/GcsDestinationConfig.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/datastream/v1alpha1/datastream_resources.proto package com.google.cloud.datastream.v1alpha1; /** - * - * *
  * Google Cloud Storage destination configuration
  * 
* * Protobuf type {@code google.cloud.datastream.v1alpha1.GcsDestinationConfig} */ -public final class GcsDestinationConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GcsDestinationConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1alpha1.GcsDestinationConfig) GcsDestinationConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GcsDestinationConfig.newBuilder() to construct. private GcsDestinationConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GcsDestinationConfig() { path_ = ""; gcsFileFormat_ = 0; @@ -44,15 +26,16 @@ private GcsDestinationConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GcsDestinationConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GcsDestinationConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,85 +54,71 @@ private GcsDestinationConfig( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - path_ = s; - break; - } - case 16: - { - int rawValue = input.readEnum(); + path_ = s; + break; + } + case 16: { + int rawValue = input.readEnum(); + + gcsFileFormat_ = rawValue; + break; + } + case 24: { - gcsFileFormat_ = rawValue; - break; + fileRotationMb_ = input.readInt32(); + break; + } + case 34: { + com.google.protobuf.Duration.Builder subBuilder = null; + if (fileRotationInterval_ != null) { + subBuilder = fileRotationInterval_.toBuilder(); } - case 24: - { - fileRotationMb_ = input.readInt32(); - break; + fileRotationInterval_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(fileRotationInterval_); + fileRotationInterval_ = subBuilder.buildPartial(); } - case 34: - { - com.google.protobuf.Duration.Builder subBuilder = null; - if (fileRotationInterval_ != null) { - subBuilder = fileRotationInterval_.toBuilder(); - } - fileRotationInterval_ = - input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(fileRotationInterval_); - fileRotationInterval_ = subBuilder.buildPartial(); - } - - break; + + break; + } + case 802: { + com.google.cloud.datastream.v1alpha1.AvroFileFormat.Builder subBuilder = null; + if (fileFormatCase_ == 100) { + subBuilder = ((com.google.cloud.datastream.v1alpha1.AvroFileFormat) fileFormat_).toBuilder(); } - case 802: - { - com.google.cloud.datastream.v1alpha1.AvroFileFormat.Builder subBuilder = null; - if (fileFormatCase_ == 100) { - subBuilder = - ((com.google.cloud.datastream.v1alpha1.AvroFileFormat) fileFormat_).toBuilder(); - } - fileFormat_ = - input.readMessage( - com.google.cloud.datastream.v1alpha1.AvroFileFormat.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.datastream.v1alpha1.AvroFileFormat) fileFormat_); - fileFormat_ = subBuilder.buildPartial(); - } - fileFormatCase_ = 100; - break; + fileFormat_ = + input.readMessage(com.google.cloud.datastream.v1alpha1.AvroFileFormat.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.datastream.v1alpha1.AvroFileFormat) fileFormat_); + fileFormat_ = subBuilder.buildPartial(); + } + fileFormatCase_ = 100; + break; + } + case 810: { + com.google.cloud.datastream.v1alpha1.JsonFileFormat.Builder subBuilder = null; + if (fileFormatCase_ == 101) { + subBuilder = ((com.google.cloud.datastream.v1alpha1.JsonFileFormat) fileFormat_).toBuilder(); } - case 810: - { - com.google.cloud.datastream.v1alpha1.JsonFileFormat.Builder subBuilder = null; - if (fileFormatCase_ == 101) { - subBuilder = - ((com.google.cloud.datastream.v1alpha1.JsonFileFormat) fileFormat_).toBuilder(); - } - fileFormat_ = - input.readMessage( - com.google.cloud.datastream.v1alpha1.JsonFileFormat.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.datastream.v1alpha1.JsonFileFormat) fileFormat_); - fileFormat_ = subBuilder.buildPartial(); - } - fileFormatCase_ = 101; - break; + fileFormat_ = + input.readMessage(com.google.cloud.datastream.v1alpha1.JsonFileFormat.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.datastream.v1alpha1.JsonFileFormat) fileFormat_); + fileFormat_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + fileFormatCase_ = 101; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -157,40 +126,35 @@ private GcsDestinationConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_GcsDestinationConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_GcsDestinationConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_GcsDestinationConfig_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_GcsDestinationConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.GcsDestinationConfig.class, - com.google.cloud.datastream.v1alpha1.GcsDestinationConfig.Builder.class); + com.google.cloud.datastream.v1alpha1.GcsDestinationConfig.class, com.google.cloud.datastream.v1alpha1.GcsDestinationConfig.Builder.class); } private int fileFormatCase_ = 0; private java.lang.Object fileFormat_; - public enum FileFormatCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { AVRO_FILE_FORMAT(100), JSON_FILE_FORMAT(101), FILEFORMAT_NOT_SET(0); private final int value; - private FileFormatCase(int value) { this.value = value; } @@ -206,37 +170,31 @@ public static FileFormatCase valueOf(int value) { public static FileFormatCase forNumber(int value) { switch (value) { - case 100: - return AVRO_FILE_FORMAT; - case 101: - return JSON_FILE_FORMAT; - case 0: - return FILEFORMAT_NOT_SET; - default: - return null; + case 100: return AVRO_FILE_FORMAT; + case 101: return JSON_FILE_FORMAT; + case 0: return FILEFORMAT_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public FileFormatCase getFileFormatCase() { - return FileFormatCase.forNumber(fileFormatCase_); + public FileFormatCase + getFileFormatCase() { + return FileFormatCase.forNumber( + fileFormatCase_); } public static final int PATH_FIELD_NUMBER = 1; private volatile java.lang.Object path_; /** - * - * *
    * Path inside the Cloud Storage bucket to write data to.
    * 
* * string path = 1; - * * @return The path. */ @java.lang.Override @@ -245,29 +203,29 @@ public java.lang.String getPath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); path_ = s; return s; } } /** - * - * *
    * Path inside the Cloud Storage bucket to write data to.
    * 
* * string path = 1; - * * @return The bytes for path. */ @java.lang.Override - public com.google.protobuf.ByteString getPathBytes() { + public com.google.protobuf.ByteString + getPathBytes() { java.lang.Object ref = path_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); path_ = b; return b; } else { @@ -278,62 +236,44 @@ public com.google.protobuf.ByteString getPathBytes() { public static final int GCS_FILE_FORMAT_FIELD_NUMBER = 2; private int gcsFileFormat_; /** - * - * *
    * File format that data should be written in.
    * Deprecated field - use file_format instead.
    * 
* - * .google.cloud.datastream.v1alpha1.GcsFileFormat gcs_file_format = 2 [deprecated = true]; - * - * - * @deprecated google.cloud.datastream.v1alpha1.GcsDestinationConfig.gcs_file_format is - * deprecated. See google/cloud/datastream/v1alpha1/datastream_resources.proto;l=476 + * .google.cloud.datastream.v1alpha1.GcsFileFormat gcs_file_format = 2 [deprecated = true]; + * @deprecated google.cloud.datastream.v1alpha1.GcsDestinationConfig.gcs_file_format is deprecated. + * See google/cloud/datastream/v1alpha1/datastream_resources.proto;l=476 * @return The enum numeric value on the wire for gcsFileFormat. */ - @java.lang.Override - @java.lang.Deprecated - public int getGcsFileFormatValue() { + @java.lang.Override @java.lang.Deprecated public int getGcsFileFormatValue() { return gcsFileFormat_; } /** - * - * *
    * File format that data should be written in.
    * Deprecated field - use file_format instead.
    * 
* - * .google.cloud.datastream.v1alpha1.GcsFileFormat gcs_file_format = 2 [deprecated = true]; - * - * - * @deprecated google.cloud.datastream.v1alpha1.GcsDestinationConfig.gcs_file_format is - * deprecated. See google/cloud/datastream/v1alpha1/datastream_resources.proto;l=476 + * .google.cloud.datastream.v1alpha1.GcsFileFormat gcs_file_format = 2 [deprecated = true]; + * @deprecated google.cloud.datastream.v1alpha1.GcsDestinationConfig.gcs_file_format is deprecated. + * See google/cloud/datastream/v1alpha1/datastream_resources.proto;l=476 * @return The gcsFileFormat. */ - @java.lang.Override - @java.lang.Deprecated - public com.google.cloud.datastream.v1alpha1.GcsFileFormat getGcsFileFormat() { + @java.lang.Override @java.lang.Deprecated public com.google.cloud.datastream.v1alpha1.GcsFileFormat getGcsFileFormat() { @SuppressWarnings("deprecation") - com.google.cloud.datastream.v1alpha1.GcsFileFormat result = - com.google.cloud.datastream.v1alpha1.GcsFileFormat.valueOf(gcsFileFormat_); - return result == null - ? com.google.cloud.datastream.v1alpha1.GcsFileFormat.UNRECOGNIZED - : result; + com.google.cloud.datastream.v1alpha1.GcsFileFormat result = com.google.cloud.datastream.v1alpha1.GcsFileFormat.valueOf(gcsFileFormat_); + return result == null ? com.google.cloud.datastream.v1alpha1.GcsFileFormat.UNRECOGNIZED : result; } public static final int FILE_ROTATION_MB_FIELD_NUMBER = 3; private int fileRotationMb_; /** - * - * *
    * The maximum file size to be saved in the bucket.
    * 
* * int32 file_rotation_mb = 3; - * * @return The fileRotationMb. */ @java.lang.Override @@ -344,15 +284,12 @@ public int getFileRotationMb() { public static final int FILE_ROTATION_INTERVAL_FIELD_NUMBER = 4; private com.google.protobuf.Duration fileRotationInterval_; /** - * - * *
    * The maximum duration for which new events are added before a file is
    * closed and a new file is created.
    * 
* * .google.protobuf.Duration file_rotation_interval = 4; - * * @return Whether the fileRotationInterval field is set. */ @java.lang.Override @@ -360,26 +297,19 @@ public boolean hasFileRotationInterval() { return fileRotationInterval_ != null; } /** - * - * *
    * The maximum duration for which new events are added before a file is
    * closed and a new file is created.
    * 
* * .google.protobuf.Duration file_rotation_interval = 4; - * * @return The fileRotationInterval. */ @java.lang.Override public com.google.protobuf.Duration getFileRotationInterval() { - return fileRotationInterval_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : fileRotationInterval_; + return fileRotationInterval_ == null ? com.google.protobuf.Duration.getDefaultInstance() : fileRotationInterval_; } /** - * - * *
    * The maximum duration for which new events are added before a file is
    * closed and a new file is created.
@@ -394,14 +324,11 @@ public com.google.protobuf.DurationOrBuilder getFileRotationIntervalOrBuilder()
 
   public static final int AVRO_FILE_FORMAT_FIELD_NUMBER = 100;
   /**
-   *
-   *
    * 
    * AVRO file format configuration.
    * 
* * .google.cloud.datastream.v1alpha1.AvroFileFormat avro_file_format = 100; - * * @return Whether the avroFileFormat field is set. */ @java.lang.Override @@ -409,26 +336,21 @@ public boolean hasAvroFileFormat() { return fileFormatCase_ == 100; } /** - * - * *
    * AVRO file format configuration.
    * 
* * .google.cloud.datastream.v1alpha1.AvroFileFormat avro_file_format = 100; - * * @return The avroFileFormat. */ @java.lang.Override public com.google.cloud.datastream.v1alpha1.AvroFileFormat getAvroFileFormat() { if (fileFormatCase_ == 100) { - return (com.google.cloud.datastream.v1alpha1.AvroFileFormat) fileFormat_; + return (com.google.cloud.datastream.v1alpha1.AvroFileFormat) fileFormat_; } return com.google.cloud.datastream.v1alpha1.AvroFileFormat.getDefaultInstance(); } /** - * - * *
    * AVRO file format configuration.
    * 
@@ -438,21 +360,18 @@ public com.google.cloud.datastream.v1alpha1.AvroFileFormat getAvroFileFormat() { @java.lang.Override public com.google.cloud.datastream.v1alpha1.AvroFileFormatOrBuilder getAvroFileFormatOrBuilder() { if (fileFormatCase_ == 100) { - return (com.google.cloud.datastream.v1alpha1.AvroFileFormat) fileFormat_; + return (com.google.cloud.datastream.v1alpha1.AvroFileFormat) fileFormat_; } return com.google.cloud.datastream.v1alpha1.AvroFileFormat.getDefaultInstance(); } public static final int JSON_FILE_FORMAT_FIELD_NUMBER = 101; /** - * - * *
    * JSON file format configuration.
    * 
* * .google.cloud.datastream.v1alpha1.JsonFileFormat json_file_format = 101; - * * @return Whether the jsonFileFormat field is set. */ @java.lang.Override @@ -460,26 +379,21 @@ public boolean hasJsonFileFormat() { return fileFormatCase_ == 101; } /** - * - * *
    * JSON file format configuration.
    * 
* * .google.cloud.datastream.v1alpha1.JsonFileFormat json_file_format = 101; - * * @return The jsonFileFormat. */ @java.lang.Override public com.google.cloud.datastream.v1alpha1.JsonFileFormat getJsonFileFormat() { if (fileFormatCase_ == 101) { - return (com.google.cloud.datastream.v1alpha1.JsonFileFormat) fileFormat_; + return (com.google.cloud.datastream.v1alpha1.JsonFileFormat) fileFormat_; } return com.google.cloud.datastream.v1alpha1.JsonFileFormat.getDefaultInstance(); } /** - * - * *
    * JSON file format configuration.
    * 
@@ -489,13 +403,12 @@ public com.google.cloud.datastream.v1alpha1.JsonFileFormat getJsonFileFormat() { @java.lang.Override public com.google.cloud.datastream.v1alpha1.JsonFileFormatOrBuilder getJsonFileFormatOrBuilder() { if (fileFormatCase_ == 101) { - return (com.google.cloud.datastream.v1alpha1.JsonFileFormat) fileFormat_; + return (com.google.cloud.datastream.v1alpha1.JsonFileFormat) fileFormat_; } return com.google.cloud.datastream.v1alpha1.JsonFileFormat.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -507,13 +420,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(path_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, path_); } - if (gcsFileFormat_ - != com.google.cloud.datastream.v1alpha1.GcsFileFormat.GCS_FILE_FORMAT_UNSPECIFIED - .getNumber()) { + if (gcsFileFormat_ != com.google.cloud.datastream.v1alpha1.GcsFileFormat.GCS_FILE_FORMAT_UNSPECIFIED.getNumber()) { output.writeEnum(2, gcsFileFormat_); } if (fileRotationMb_ != 0) { @@ -540,27 +452,25 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, path_); } - if (gcsFileFormat_ - != com.google.cloud.datastream.v1alpha1.GcsFileFormat.GCS_FILE_FORMAT_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, gcsFileFormat_); + if (gcsFileFormat_ != com.google.cloud.datastream.v1alpha1.GcsFileFormat.GCS_FILE_FORMAT_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, gcsFileFormat_); } if (fileRotationMb_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, fileRotationMb_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, fileRotationMb_); } if (fileRotationInterval_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(4, getFileRotationInterval()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getFileRotationInterval()); } if (fileFormatCase_ == 100) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 100, (com.google.cloud.datastream.v1alpha1.AvroFileFormat) fileFormat_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(100, (com.google.cloud.datastream.v1alpha1.AvroFileFormat) fileFormat_); } if (fileFormatCase_ == 101) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 101, (com.google.cloud.datastream.v1alpha1.JsonFileFormat) fileFormat_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(101, (com.google.cloud.datastream.v1alpha1.JsonFileFormat) fileFormat_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -570,28 +480,32 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datastream.v1alpha1.GcsDestinationConfig)) { return super.equals(obj); } - com.google.cloud.datastream.v1alpha1.GcsDestinationConfig other = - (com.google.cloud.datastream.v1alpha1.GcsDestinationConfig) obj; + com.google.cloud.datastream.v1alpha1.GcsDestinationConfig other = (com.google.cloud.datastream.v1alpha1.GcsDestinationConfig) obj; - if (!getPath().equals(other.getPath())) return false; + if (!getPath() + .equals(other.getPath())) return false; if (gcsFileFormat_ != other.gcsFileFormat_) return false; - if (getFileRotationMb() != other.getFileRotationMb()) return false; + if (getFileRotationMb() + != other.getFileRotationMb()) return false; if (hasFileRotationInterval() != other.hasFileRotationInterval()) return false; if (hasFileRotationInterval()) { - if (!getFileRotationInterval().equals(other.getFileRotationInterval())) return false; + if (!getFileRotationInterval() + .equals(other.getFileRotationInterval())) return false; } if (!getFileFormatCase().equals(other.getFileFormatCase())) return false; switch (fileFormatCase_) { case 100: - if (!getAvroFileFormat().equals(other.getAvroFileFormat())) return false; + if (!getAvroFileFormat() + .equals(other.getAvroFileFormat())) return false; break; case 101: - if (!getJsonFileFormat().equals(other.getJsonFileFormat())) return false; + if (!getJsonFileFormat() + .equals(other.getJsonFileFormat())) return false; break; case 0: default: @@ -635,127 +549,117 @@ public int hashCode() { } public static com.google.cloud.datastream.v1alpha1.GcsDestinationConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.GcsDestinationConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.GcsDestinationConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.GcsDestinationConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.GcsDestinationConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.GcsDestinationConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.GcsDestinationConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.GcsDestinationConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.GcsDestinationConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.GcsDestinationConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.GcsDestinationConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.GcsDestinationConfig 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.datastream.v1alpha1.GcsDestinationConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.GcsDestinationConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datastream.v1alpha1.GcsDestinationConfig prototype) { + public static Builder newBuilder(com.google.cloud.datastream.v1alpha1.GcsDestinationConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Google Cloud Storage destination configuration
    * 
* * Protobuf type {@code google.cloud.datastream.v1alpha1.GcsDestinationConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1alpha1.GcsDestinationConfig) com.google.cloud.datastream.v1alpha1.GcsDestinationConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_GcsDestinationConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_GcsDestinationConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_GcsDestinationConfig_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_GcsDestinationConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.GcsDestinationConfig.class, - com.google.cloud.datastream.v1alpha1.GcsDestinationConfig.Builder.class); + com.google.cloud.datastream.v1alpha1.GcsDestinationConfig.class, com.google.cloud.datastream.v1alpha1.GcsDestinationConfig.Builder.class); } // Construct using com.google.cloud.datastream.v1alpha1.GcsDestinationConfig.newBuilder() @@ -763,15 +667,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -793,9 +698,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_GcsDestinationConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_GcsDestinationConfig_descriptor; } @java.lang.Override @@ -814,8 +719,7 @@ public com.google.cloud.datastream.v1alpha1.GcsDestinationConfig build() { @java.lang.Override public com.google.cloud.datastream.v1alpha1.GcsDestinationConfig buildPartial() { - com.google.cloud.datastream.v1alpha1.GcsDestinationConfig result = - new com.google.cloud.datastream.v1alpha1.GcsDestinationConfig(this); + com.google.cloud.datastream.v1alpha1.GcsDestinationConfig result = new com.google.cloud.datastream.v1alpha1.GcsDestinationConfig(this); result.path_ = path_; result.gcsFileFormat_ = gcsFileFormat_; result.fileRotationMb_ = fileRotationMb_; @@ -847,39 +751,38 @@ public com.google.cloud.datastream.v1alpha1.GcsDestinationConfig buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1alpha1.GcsDestinationConfig) { - return mergeFrom((com.google.cloud.datastream.v1alpha1.GcsDestinationConfig) other); + return mergeFrom((com.google.cloud.datastream.v1alpha1.GcsDestinationConfig)other); } else { super.mergeFrom(other); return this; @@ -887,8 +790,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datastream.v1alpha1.GcsDestinationConfig other) { - if (other == com.google.cloud.datastream.v1alpha1.GcsDestinationConfig.getDefaultInstance()) - return this; + if (other == com.google.cloud.datastream.v1alpha1.GcsDestinationConfig.getDefaultInstance()) return this; if (!other.getPath().isEmpty()) { path_ = other.path_; onChanged(); @@ -903,20 +805,17 @@ public Builder mergeFrom(com.google.cloud.datastream.v1alpha1.GcsDestinationConf mergeFileRotationInterval(other.getFileRotationInterval()); } switch (other.getFileFormatCase()) { - case AVRO_FILE_FORMAT: - { - mergeAvroFileFormat(other.getAvroFileFormat()); - break; - } - case JSON_FILE_FORMAT: - { - mergeJsonFileFormat(other.getJsonFileFormat()); - break; - } - case FILEFORMAT_NOT_SET: - { - break; - } + case AVRO_FILE_FORMAT: { + mergeAvroFileFormat(other.getAvroFileFormat()); + break; + } + case JSON_FILE_FORMAT: { + mergeJsonFileFormat(other.getJsonFileFormat()); + break; + } + case FILEFORMAT_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -937,8 +836,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datastream.v1alpha1.GcsDestinationConfig) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datastream.v1alpha1.GcsDestinationConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -947,12 +845,12 @@ public Builder mergeFrom( } return this; } - private int fileFormatCase_ = 0; private java.lang.Object fileFormat_; - - public FileFormatCase getFileFormatCase() { - return FileFormatCase.forNumber(fileFormatCase_); + public FileFormatCase + getFileFormatCase() { + return FileFormatCase.forNumber( + fileFormatCase_); } public Builder clearFileFormat() { @@ -962,22 +860,21 @@ public Builder clearFileFormat() { return this; } + private java.lang.Object path_ = ""; /** - * - * *
      * Path inside the Cloud Storage bucket to write data to.
      * 
* * string path = 1; - * * @return The path. */ public java.lang.String getPath() { java.lang.Object ref = path_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); path_ = s; return s; @@ -986,21 +883,20 @@ public java.lang.String getPath() { } } /** - * - * *
      * Path inside the Cloud Storage bucket to write data to.
      * 
* * string path = 1; - * * @return The bytes for path. */ - public com.google.protobuf.ByteString getPathBytes() { + public com.google.protobuf.ByteString + getPathBytes() { java.lang.Object ref = path_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); path_ = b; return b; } else { @@ -1008,61 +904,54 @@ public com.google.protobuf.ByteString getPathBytes() { } } /** - * - * *
      * Path inside the Cloud Storage bucket to write data to.
      * 
* * string path = 1; - * * @param value The path to set. * @return This builder for chaining. */ - public Builder setPath(java.lang.String value) { + public Builder setPath( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + path_ = value; onChanged(); return this; } /** - * - * *
      * Path inside the Cloud Storage bucket to write data to.
      * 
* * string path = 1; - * * @return This builder for chaining. */ public Builder clearPath() { - + path_ = getDefaultInstance().getPath(); onChanged(); return this; } /** - * - * *
      * Path inside the Cloud Storage bucket to write data to.
      * 
* * string path = 1; - * * @param value The bytes for path to set. * @return This builder for chaining. */ - public Builder setPathBytes(com.google.protobuf.ByteString value) { + public Builder setPathBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + path_ = value; onChanged(); return this; @@ -1070,137 +959,100 @@ public Builder setPathBytes(com.google.protobuf.ByteString value) { private int gcsFileFormat_ = 0; /** - * - * *
      * File format that data should be written in.
      * Deprecated field - use file_format instead.
      * 
* - * - * .google.cloud.datastream.v1alpha1.GcsFileFormat gcs_file_format = 2 [deprecated = true]; - * - * - * @deprecated google.cloud.datastream.v1alpha1.GcsDestinationConfig.gcs_file_format is - * deprecated. See google/cloud/datastream/v1alpha1/datastream_resources.proto;l=476 + * .google.cloud.datastream.v1alpha1.GcsFileFormat gcs_file_format = 2 [deprecated = true]; + * @deprecated google.cloud.datastream.v1alpha1.GcsDestinationConfig.gcs_file_format is deprecated. + * See google/cloud/datastream/v1alpha1/datastream_resources.proto;l=476 * @return The enum numeric value on the wire for gcsFileFormat. */ - @java.lang.Override - @java.lang.Deprecated - public int getGcsFileFormatValue() { + @java.lang.Override @java.lang.Deprecated public int getGcsFileFormatValue() { return gcsFileFormat_; } /** - * - * *
      * File format that data should be written in.
      * Deprecated field - use file_format instead.
      * 
* - * - * .google.cloud.datastream.v1alpha1.GcsFileFormat gcs_file_format = 2 [deprecated = true]; - * - * - * @deprecated google.cloud.datastream.v1alpha1.GcsDestinationConfig.gcs_file_format is - * deprecated. See google/cloud/datastream/v1alpha1/datastream_resources.proto;l=476 + * .google.cloud.datastream.v1alpha1.GcsFileFormat gcs_file_format = 2 [deprecated = true]; + * @deprecated google.cloud.datastream.v1alpha1.GcsDestinationConfig.gcs_file_format is deprecated. + * See google/cloud/datastream/v1alpha1/datastream_resources.proto;l=476 * @param value The enum numeric value on the wire for gcsFileFormat to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setGcsFileFormatValue(int value) { - + @java.lang.Deprecated public Builder setGcsFileFormatValue(int value) { + gcsFileFormat_ = value; onChanged(); return this; } /** - * - * *
      * File format that data should be written in.
      * Deprecated field - use file_format instead.
      * 
* - * - * .google.cloud.datastream.v1alpha1.GcsFileFormat gcs_file_format = 2 [deprecated = true]; - * - * - * @deprecated google.cloud.datastream.v1alpha1.GcsDestinationConfig.gcs_file_format is - * deprecated. See google/cloud/datastream/v1alpha1/datastream_resources.proto;l=476 + * .google.cloud.datastream.v1alpha1.GcsFileFormat gcs_file_format = 2 [deprecated = true]; + * @deprecated google.cloud.datastream.v1alpha1.GcsDestinationConfig.gcs_file_format is deprecated. + * See google/cloud/datastream/v1alpha1/datastream_resources.proto;l=476 * @return The gcsFileFormat. */ @java.lang.Override - @java.lang.Deprecated - public com.google.cloud.datastream.v1alpha1.GcsFileFormat getGcsFileFormat() { + @java.lang.Deprecated public com.google.cloud.datastream.v1alpha1.GcsFileFormat getGcsFileFormat() { @SuppressWarnings("deprecation") - com.google.cloud.datastream.v1alpha1.GcsFileFormat result = - com.google.cloud.datastream.v1alpha1.GcsFileFormat.valueOf(gcsFileFormat_); - return result == null - ? com.google.cloud.datastream.v1alpha1.GcsFileFormat.UNRECOGNIZED - : result; + com.google.cloud.datastream.v1alpha1.GcsFileFormat result = com.google.cloud.datastream.v1alpha1.GcsFileFormat.valueOf(gcsFileFormat_); + return result == null ? com.google.cloud.datastream.v1alpha1.GcsFileFormat.UNRECOGNIZED : result; } /** - * - * *
      * File format that data should be written in.
      * Deprecated field - use file_format instead.
      * 
* - * - * .google.cloud.datastream.v1alpha1.GcsFileFormat gcs_file_format = 2 [deprecated = true]; - * - * - * @deprecated google.cloud.datastream.v1alpha1.GcsDestinationConfig.gcs_file_format is - * deprecated. See google/cloud/datastream/v1alpha1/datastream_resources.proto;l=476 + * .google.cloud.datastream.v1alpha1.GcsFileFormat gcs_file_format = 2 [deprecated = true]; + * @deprecated google.cloud.datastream.v1alpha1.GcsDestinationConfig.gcs_file_format is deprecated. + * See google/cloud/datastream/v1alpha1/datastream_resources.proto;l=476 * @param value The gcsFileFormat to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setGcsFileFormat(com.google.cloud.datastream.v1alpha1.GcsFileFormat value) { + @java.lang.Deprecated public Builder setGcsFileFormat(com.google.cloud.datastream.v1alpha1.GcsFileFormat value) { if (value == null) { throw new NullPointerException(); } - + gcsFileFormat_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * File format that data should be written in.
      * Deprecated field - use file_format instead.
      * 
* - * - * .google.cloud.datastream.v1alpha1.GcsFileFormat gcs_file_format = 2 [deprecated = true]; - * - * - * @deprecated google.cloud.datastream.v1alpha1.GcsDestinationConfig.gcs_file_format is - * deprecated. See google/cloud/datastream/v1alpha1/datastream_resources.proto;l=476 + * .google.cloud.datastream.v1alpha1.GcsFileFormat gcs_file_format = 2 [deprecated = true]; + * @deprecated google.cloud.datastream.v1alpha1.GcsDestinationConfig.gcs_file_format is deprecated. + * See google/cloud/datastream/v1alpha1/datastream_resources.proto;l=476 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearGcsFileFormat() { - + @java.lang.Deprecated public Builder clearGcsFileFormat() { + gcsFileFormat_ = 0; onChanged(); return this; } - private int fileRotationMb_; + private int fileRotationMb_ ; /** - * - * *
      * The maximum file size to be saved in the bucket.
      * 
* * int32 file_rotation_mb = 3; - * * @return The fileRotationMb. */ @java.lang.Override @@ -1208,36 +1060,30 @@ public int getFileRotationMb() { return fileRotationMb_; } /** - * - * *
      * The maximum file size to be saved in the bucket.
      * 
* * int32 file_rotation_mb = 3; - * * @param value The fileRotationMb to set. * @return This builder for chaining. */ public Builder setFileRotationMb(int value) { - + fileRotationMb_ = value; onChanged(); return this; } /** - * - * *
      * The maximum file size to be saved in the bucket.
      * 
* * int32 file_rotation_mb = 3; - * * @return This builder for chaining. */ public Builder clearFileRotationMb() { - + fileRotationMb_ = 0; onChanged(); return this; @@ -1245,49 +1091,36 @@ public Builder clearFileRotationMb() { private com.google.protobuf.Duration fileRotationInterval_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - fileRotationIntervalBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> fileRotationIntervalBuilder_; /** - * - * *
      * The maximum duration for which new events are added before a file is
      * closed and a new file is created.
      * 
* * .google.protobuf.Duration file_rotation_interval = 4; - * * @return Whether the fileRotationInterval field is set. */ public boolean hasFileRotationInterval() { return fileRotationIntervalBuilder_ != null || fileRotationInterval_ != null; } /** - * - * *
      * The maximum duration for which new events are added before a file is
      * closed and a new file is created.
      * 
* * .google.protobuf.Duration file_rotation_interval = 4; - * * @return The fileRotationInterval. */ public com.google.protobuf.Duration getFileRotationInterval() { if (fileRotationIntervalBuilder_ == null) { - return fileRotationInterval_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : fileRotationInterval_; + return fileRotationInterval_ == null ? com.google.protobuf.Duration.getDefaultInstance() : fileRotationInterval_; } else { return fileRotationIntervalBuilder_.getMessage(); } } /** - * - * *
      * The maximum duration for which new events are added before a file is
      * closed and a new file is created.
@@ -1309,8 +1142,6 @@ public Builder setFileRotationInterval(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The maximum duration for which new events are added before a file is
      * closed and a new file is created.
@@ -1318,7 +1149,8 @@ public Builder setFileRotationInterval(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration file_rotation_interval = 4;
      */
-    public Builder setFileRotationInterval(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setFileRotationInterval(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (fileRotationIntervalBuilder_ == null) {
         fileRotationInterval_ = builderForValue.build();
         onChanged();
@@ -1329,8 +1161,6 @@ public Builder setFileRotationInterval(com.google.protobuf.Duration.Builder buil
       return this;
     }
     /**
-     *
-     *
      * 
      * The maximum duration for which new events are added before a file is
      * closed and a new file is created.
@@ -1342,9 +1172,7 @@ public Builder mergeFileRotationInterval(com.google.protobuf.Duration value) {
       if (fileRotationIntervalBuilder_ == null) {
         if (fileRotationInterval_ != null) {
           fileRotationInterval_ =
-              com.google.protobuf.Duration.newBuilder(fileRotationInterval_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Duration.newBuilder(fileRotationInterval_).mergeFrom(value).buildPartial();
         } else {
           fileRotationInterval_ = value;
         }
@@ -1356,8 +1184,6 @@ public Builder mergeFileRotationInterval(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The maximum duration for which new events are added before a file is
      * closed and a new file is created.
@@ -1377,8 +1203,6 @@ public Builder clearFileRotationInterval() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The maximum duration for which new events are added before a file is
      * closed and a new file is created.
@@ -1387,13 +1211,11 @@ public Builder clearFileRotationInterval() {
      * .google.protobuf.Duration file_rotation_interval = 4;
      */
     public com.google.protobuf.Duration.Builder getFileRotationIntervalBuilder() {
-
+      
       onChanged();
       return getFileRotationIntervalFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The maximum duration for which new events are added before a file is
      * closed and a new file is created.
@@ -1405,14 +1227,11 @@ public com.google.protobuf.DurationOrBuilder getFileRotationIntervalOrBuilder()
       if (fileRotationIntervalBuilder_ != null) {
         return fileRotationIntervalBuilder_.getMessageOrBuilder();
       } else {
-        return fileRotationInterval_ == null
-            ? com.google.protobuf.Duration.getDefaultInstance()
-            : fileRotationInterval_;
+        return fileRotationInterval_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : fileRotationInterval_;
       }
     }
     /**
-     *
-     *
      * 
      * The maximum duration for which new events are added before a file is
      * closed and a new file is created.
@@ -1421,36 +1240,27 @@ public com.google.protobuf.DurationOrBuilder getFileRotationIntervalOrBuilder()
      * .google.protobuf.Duration file_rotation_interval = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
         getFileRotationIntervalFieldBuilder() {
       if (fileRotationIntervalBuilder_ == null) {
-        fileRotationIntervalBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getFileRotationInterval(), getParentForChildren(), isClean());
+        fileRotationIntervalBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getFileRotationInterval(),
+                getParentForChildren(),
+                isClean());
         fileRotationInterval_ = null;
       }
       return fileRotationIntervalBuilder_;
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.datastream.v1alpha1.AvroFileFormat,
-            com.google.cloud.datastream.v1alpha1.AvroFileFormat.Builder,
-            com.google.cloud.datastream.v1alpha1.AvroFileFormatOrBuilder>
-        avroFileFormatBuilder_;
+        com.google.cloud.datastream.v1alpha1.AvroFileFormat, com.google.cloud.datastream.v1alpha1.AvroFileFormat.Builder, com.google.cloud.datastream.v1alpha1.AvroFileFormatOrBuilder> avroFileFormatBuilder_;
     /**
-     *
-     *
      * 
      * AVRO file format configuration.
      * 
* * .google.cloud.datastream.v1alpha1.AvroFileFormat avro_file_format = 100; - * * @return Whether the avroFileFormat field is set. */ @java.lang.Override @@ -1458,14 +1268,11 @@ public boolean hasAvroFileFormat() { return fileFormatCase_ == 100; } /** - * - * *
      * AVRO file format configuration.
      * 
* * .google.cloud.datastream.v1alpha1.AvroFileFormat avro_file_format = 100; - * * @return The avroFileFormat. */ @java.lang.Override @@ -1483,8 +1290,6 @@ public com.google.cloud.datastream.v1alpha1.AvroFileFormat getAvroFileFormat() { } } /** - * - * *
      * AVRO file format configuration.
      * 
@@ -1505,8 +1310,6 @@ public Builder setAvroFileFormat(com.google.cloud.datastream.v1alpha1.AvroFileFo return this; } /** - * - * *
      * AVRO file format configuration.
      * 
@@ -1525,8 +1328,6 @@ public Builder setAvroFileFormat( return this; } /** - * - * *
      * AVRO file format configuration.
      * 
@@ -1535,14 +1336,10 @@ public Builder setAvroFileFormat( */ public Builder mergeAvroFileFormat(com.google.cloud.datastream.v1alpha1.AvroFileFormat value) { if (avroFileFormatBuilder_ == null) { - if (fileFormatCase_ == 100 - && fileFormat_ - != com.google.cloud.datastream.v1alpha1.AvroFileFormat.getDefaultInstance()) { - fileFormat_ = - com.google.cloud.datastream.v1alpha1.AvroFileFormat.newBuilder( - (com.google.cloud.datastream.v1alpha1.AvroFileFormat) fileFormat_) - .mergeFrom(value) - .buildPartial(); + if (fileFormatCase_ == 100 && + fileFormat_ != com.google.cloud.datastream.v1alpha1.AvroFileFormat.getDefaultInstance()) { + fileFormat_ = com.google.cloud.datastream.v1alpha1.AvroFileFormat.newBuilder((com.google.cloud.datastream.v1alpha1.AvroFileFormat) fileFormat_) + .mergeFrom(value).buildPartial(); } else { fileFormat_ = value; } @@ -1558,8 +1355,6 @@ public Builder mergeAvroFileFormat(com.google.cloud.datastream.v1alpha1.AvroFile return this; } /** - * - * *
      * AVRO file format configuration.
      * 
@@ -1583,8 +1378,6 @@ public Builder clearAvroFileFormat() { return this; } /** - * - * *
      * AVRO file format configuration.
      * 
@@ -1595,8 +1388,6 @@ public com.google.cloud.datastream.v1alpha1.AvroFileFormat.Builder getAvroFileFo return getAvroFileFormatFieldBuilder().getBuilder(); } /** - * - * *
      * AVRO file format configuration.
      * 
@@ -1604,8 +1395,7 @@ public com.google.cloud.datastream.v1alpha1.AvroFileFormat.Builder getAvroFileFo * .google.cloud.datastream.v1alpha1.AvroFileFormat avro_file_format = 100; */ @java.lang.Override - public com.google.cloud.datastream.v1alpha1.AvroFileFormatOrBuilder - getAvroFileFormatOrBuilder() { + public com.google.cloud.datastream.v1alpha1.AvroFileFormatOrBuilder getAvroFileFormatOrBuilder() { if ((fileFormatCase_ == 100) && (avroFileFormatBuilder_ != null)) { return avroFileFormatBuilder_.getMessageOrBuilder(); } else { @@ -1616,8 +1406,6 @@ public com.google.cloud.datastream.v1alpha1.AvroFileFormat.Builder getAvroFileFo } } /** - * - * *
      * AVRO file format configuration.
      * 
@@ -1625,44 +1413,32 @@ public com.google.cloud.datastream.v1alpha1.AvroFileFormat.Builder getAvroFileFo * .google.cloud.datastream.v1alpha1.AvroFileFormat avro_file_format = 100; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.AvroFileFormat, - com.google.cloud.datastream.v1alpha1.AvroFileFormat.Builder, - com.google.cloud.datastream.v1alpha1.AvroFileFormatOrBuilder> + com.google.cloud.datastream.v1alpha1.AvroFileFormat, com.google.cloud.datastream.v1alpha1.AvroFileFormat.Builder, com.google.cloud.datastream.v1alpha1.AvroFileFormatOrBuilder> getAvroFileFormatFieldBuilder() { if (avroFileFormatBuilder_ == null) { if (!(fileFormatCase_ == 100)) { fileFormat_ = com.google.cloud.datastream.v1alpha1.AvroFileFormat.getDefaultInstance(); } - avroFileFormatBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.AvroFileFormat, - com.google.cloud.datastream.v1alpha1.AvroFileFormat.Builder, - com.google.cloud.datastream.v1alpha1.AvroFileFormatOrBuilder>( + avroFileFormatBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1alpha1.AvroFileFormat, com.google.cloud.datastream.v1alpha1.AvroFileFormat.Builder, com.google.cloud.datastream.v1alpha1.AvroFileFormatOrBuilder>( (com.google.cloud.datastream.v1alpha1.AvroFileFormat) fileFormat_, getParentForChildren(), isClean()); fileFormat_ = null; } fileFormatCase_ = 100; - onChanged(); - ; + onChanged();; return avroFileFormatBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.JsonFileFormat, - com.google.cloud.datastream.v1alpha1.JsonFileFormat.Builder, - com.google.cloud.datastream.v1alpha1.JsonFileFormatOrBuilder> - jsonFileFormatBuilder_; + com.google.cloud.datastream.v1alpha1.JsonFileFormat, com.google.cloud.datastream.v1alpha1.JsonFileFormat.Builder, com.google.cloud.datastream.v1alpha1.JsonFileFormatOrBuilder> jsonFileFormatBuilder_; /** - * - * *
      * JSON file format configuration.
      * 
* * .google.cloud.datastream.v1alpha1.JsonFileFormat json_file_format = 101; - * * @return Whether the jsonFileFormat field is set. */ @java.lang.Override @@ -1670,14 +1446,11 @@ public boolean hasJsonFileFormat() { return fileFormatCase_ == 101; } /** - * - * *
      * JSON file format configuration.
      * 
* * .google.cloud.datastream.v1alpha1.JsonFileFormat json_file_format = 101; - * * @return The jsonFileFormat. */ @java.lang.Override @@ -1695,8 +1468,6 @@ public com.google.cloud.datastream.v1alpha1.JsonFileFormat getJsonFileFormat() { } } /** - * - * *
      * JSON file format configuration.
      * 
@@ -1717,8 +1488,6 @@ public Builder setJsonFileFormat(com.google.cloud.datastream.v1alpha1.JsonFileFo return this; } /** - * - * *
      * JSON file format configuration.
      * 
@@ -1737,8 +1506,6 @@ public Builder setJsonFileFormat( return this; } /** - * - * *
      * JSON file format configuration.
      * 
@@ -1747,14 +1514,10 @@ public Builder setJsonFileFormat( */ public Builder mergeJsonFileFormat(com.google.cloud.datastream.v1alpha1.JsonFileFormat value) { if (jsonFileFormatBuilder_ == null) { - if (fileFormatCase_ == 101 - && fileFormat_ - != com.google.cloud.datastream.v1alpha1.JsonFileFormat.getDefaultInstance()) { - fileFormat_ = - com.google.cloud.datastream.v1alpha1.JsonFileFormat.newBuilder( - (com.google.cloud.datastream.v1alpha1.JsonFileFormat) fileFormat_) - .mergeFrom(value) - .buildPartial(); + if (fileFormatCase_ == 101 && + fileFormat_ != com.google.cloud.datastream.v1alpha1.JsonFileFormat.getDefaultInstance()) { + fileFormat_ = com.google.cloud.datastream.v1alpha1.JsonFileFormat.newBuilder((com.google.cloud.datastream.v1alpha1.JsonFileFormat) fileFormat_) + .mergeFrom(value).buildPartial(); } else { fileFormat_ = value; } @@ -1770,8 +1533,6 @@ public Builder mergeJsonFileFormat(com.google.cloud.datastream.v1alpha1.JsonFile return this; } /** - * - * *
      * JSON file format configuration.
      * 
@@ -1795,8 +1556,6 @@ public Builder clearJsonFileFormat() { return this; } /** - * - * *
      * JSON file format configuration.
      * 
@@ -1807,8 +1566,6 @@ public com.google.cloud.datastream.v1alpha1.JsonFileFormat.Builder getJsonFileFo return getJsonFileFormatFieldBuilder().getBuilder(); } /** - * - * *
      * JSON file format configuration.
      * 
@@ -1816,8 +1573,7 @@ public com.google.cloud.datastream.v1alpha1.JsonFileFormat.Builder getJsonFileFo * .google.cloud.datastream.v1alpha1.JsonFileFormat json_file_format = 101; */ @java.lang.Override - public com.google.cloud.datastream.v1alpha1.JsonFileFormatOrBuilder - getJsonFileFormatOrBuilder() { + public com.google.cloud.datastream.v1alpha1.JsonFileFormatOrBuilder getJsonFileFormatOrBuilder() { if ((fileFormatCase_ == 101) && (jsonFileFormatBuilder_ != null)) { return jsonFileFormatBuilder_.getMessageOrBuilder(); } else { @@ -1828,8 +1584,6 @@ public com.google.cloud.datastream.v1alpha1.JsonFileFormat.Builder getJsonFileFo } } /** - * - * *
      * JSON file format configuration.
      * 
@@ -1837,32 +1591,26 @@ public com.google.cloud.datastream.v1alpha1.JsonFileFormat.Builder getJsonFileFo * .google.cloud.datastream.v1alpha1.JsonFileFormat json_file_format = 101; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.JsonFileFormat, - com.google.cloud.datastream.v1alpha1.JsonFileFormat.Builder, - com.google.cloud.datastream.v1alpha1.JsonFileFormatOrBuilder> + com.google.cloud.datastream.v1alpha1.JsonFileFormat, com.google.cloud.datastream.v1alpha1.JsonFileFormat.Builder, com.google.cloud.datastream.v1alpha1.JsonFileFormatOrBuilder> getJsonFileFormatFieldBuilder() { if (jsonFileFormatBuilder_ == null) { if (!(fileFormatCase_ == 101)) { fileFormat_ = com.google.cloud.datastream.v1alpha1.JsonFileFormat.getDefaultInstance(); } - jsonFileFormatBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.JsonFileFormat, - com.google.cloud.datastream.v1alpha1.JsonFileFormat.Builder, - com.google.cloud.datastream.v1alpha1.JsonFileFormatOrBuilder>( + jsonFileFormatBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1alpha1.JsonFileFormat, com.google.cloud.datastream.v1alpha1.JsonFileFormat.Builder, com.google.cloud.datastream.v1alpha1.JsonFileFormatOrBuilder>( (com.google.cloud.datastream.v1alpha1.JsonFileFormat) fileFormat_, getParentForChildren(), isClean()); fileFormat_ = null; } fileFormatCase_ = 101; - onChanged(); - ; + onChanged();; return jsonFileFormatBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1872,12 +1620,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1alpha1.GcsDestinationConfig) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1alpha1.GcsDestinationConfig) private static final com.google.cloud.datastream.v1alpha1.GcsDestinationConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1alpha1.GcsDestinationConfig(); } @@ -1886,16 +1634,16 @@ public static com.google.cloud.datastream.v1alpha1.GcsDestinationConfig getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GcsDestinationConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GcsDestinationConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GcsDestinationConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GcsDestinationConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1910,4 +1658,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datastream.v1alpha1.GcsDestinationConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/GcsDestinationConfigOrBuilder.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/GcsDestinationConfigOrBuilder.java similarity index 74% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/GcsDestinationConfigOrBuilder.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/GcsDestinationConfigOrBuilder.java index 806c5787..03e30860 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/GcsDestinationConfigOrBuilder.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/GcsDestinationConfigOrBuilder.java @@ -1,130 +1,88 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1alpha1/datastream_resources.proto package com.google.cloud.datastream.v1alpha1; -public interface GcsDestinationConfigOrBuilder - extends +public interface GcsDestinationConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1alpha1.GcsDestinationConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Path inside the Cloud Storage bucket to write data to.
    * 
* * string path = 1; - * * @return The path. */ java.lang.String getPath(); /** - * - * *
    * Path inside the Cloud Storage bucket to write data to.
    * 
* * string path = 1; - * * @return The bytes for path. */ - com.google.protobuf.ByteString getPathBytes(); + com.google.protobuf.ByteString + getPathBytes(); /** - * - * *
    * File format that data should be written in.
    * Deprecated field - use file_format instead.
    * 
* - * .google.cloud.datastream.v1alpha1.GcsFileFormat gcs_file_format = 2 [deprecated = true]; - * - * - * @deprecated google.cloud.datastream.v1alpha1.GcsDestinationConfig.gcs_file_format is - * deprecated. See google/cloud/datastream/v1alpha1/datastream_resources.proto;l=476 + * .google.cloud.datastream.v1alpha1.GcsFileFormat gcs_file_format = 2 [deprecated = true]; + * @deprecated google.cloud.datastream.v1alpha1.GcsDestinationConfig.gcs_file_format is deprecated. + * See google/cloud/datastream/v1alpha1/datastream_resources.proto;l=476 * @return The enum numeric value on the wire for gcsFileFormat. */ - @java.lang.Deprecated - int getGcsFileFormatValue(); + @java.lang.Deprecated int getGcsFileFormatValue(); /** - * - * *
    * File format that data should be written in.
    * Deprecated field - use file_format instead.
    * 
* - * .google.cloud.datastream.v1alpha1.GcsFileFormat gcs_file_format = 2 [deprecated = true]; - * - * - * @deprecated google.cloud.datastream.v1alpha1.GcsDestinationConfig.gcs_file_format is - * deprecated. See google/cloud/datastream/v1alpha1/datastream_resources.proto;l=476 + * .google.cloud.datastream.v1alpha1.GcsFileFormat gcs_file_format = 2 [deprecated = true]; + * @deprecated google.cloud.datastream.v1alpha1.GcsDestinationConfig.gcs_file_format is deprecated. + * See google/cloud/datastream/v1alpha1/datastream_resources.proto;l=476 * @return The gcsFileFormat. */ - @java.lang.Deprecated - com.google.cloud.datastream.v1alpha1.GcsFileFormat getGcsFileFormat(); + @java.lang.Deprecated com.google.cloud.datastream.v1alpha1.GcsFileFormat getGcsFileFormat(); /** - * - * *
    * The maximum file size to be saved in the bucket.
    * 
* * int32 file_rotation_mb = 3; - * * @return The fileRotationMb. */ int getFileRotationMb(); /** - * - * *
    * The maximum duration for which new events are added before a file is
    * closed and a new file is created.
    * 
* * .google.protobuf.Duration file_rotation_interval = 4; - * * @return Whether the fileRotationInterval field is set. */ boolean hasFileRotationInterval(); /** - * - * *
    * The maximum duration for which new events are added before a file is
    * closed and a new file is created.
    * 
* * .google.protobuf.Duration file_rotation_interval = 4; - * * @return The fileRotationInterval. */ com.google.protobuf.Duration getFileRotationInterval(); /** - * - * *
    * The maximum duration for which new events are added before a file is
    * closed and a new file is created.
@@ -135,32 +93,24 @@ public interface GcsDestinationConfigOrBuilder
   com.google.protobuf.DurationOrBuilder getFileRotationIntervalOrBuilder();
 
   /**
-   *
-   *
    * 
    * AVRO file format configuration.
    * 
* * .google.cloud.datastream.v1alpha1.AvroFileFormat avro_file_format = 100; - * * @return Whether the avroFileFormat field is set. */ boolean hasAvroFileFormat(); /** - * - * *
    * AVRO file format configuration.
    * 
* * .google.cloud.datastream.v1alpha1.AvroFileFormat avro_file_format = 100; - * * @return The avroFileFormat. */ com.google.cloud.datastream.v1alpha1.AvroFileFormat getAvroFileFormat(); /** - * - * *
    * AVRO file format configuration.
    * 
@@ -170,32 +120,24 @@ public interface GcsDestinationConfigOrBuilder com.google.cloud.datastream.v1alpha1.AvroFileFormatOrBuilder getAvroFileFormatOrBuilder(); /** - * - * *
    * JSON file format configuration.
    * 
* * .google.cloud.datastream.v1alpha1.JsonFileFormat json_file_format = 101; - * * @return Whether the jsonFileFormat field is set. */ boolean hasJsonFileFormat(); /** - * - * *
    * JSON file format configuration.
    * 
* * .google.cloud.datastream.v1alpha1.JsonFileFormat json_file_format = 101; - * * @return The jsonFileFormat. */ com.google.cloud.datastream.v1alpha1.JsonFileFormat getJsonFileFormat(); /** - * - * *
    * JSON file format configuration.
    * 
@@ -204,6 +146,5 @@ public interface GcsDestinationConfigOrBuilder */ com.google.cloud.datastream.v1alpha1.JsonFileFormatOrBuilder getJsonFileFormatOrBuilder(); - public com.google.cloud.datastream.v1alpha1.GcsDestinationConfig.FileFormatCase - getFileFormatCase(); + public com.google.cloud.datastream.v1alpha1.GcsDestinationConfig.FileFormatCase getFileFormatCase(); } diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/GcsFileFormat.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/GcsFileFormat.java similarity index 63% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/GcsFileFormat.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/GcsFileFormat.java index 054cf6b2..ef27761a 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/GcsFileFormat.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/GcsFileFormat.java @@ -1,37 +1,18 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1alpha1/datastream_resources.proto package com.google.cloud.datastream.v1alpha1; /** - * - * *
  * File format in Cloud Storage.
  * 
* * Protobuf enum {@code google.cloud.datastream.v1alpha1.GcsFileFormat} */ -@java.lang.Deprecated -public enum GcsFileFormat implements com.google.protobuf.ProtocolMessageEnum { +@java.lang.Deprecated public enum GcsFileFormat + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * Unspecified Cloud Storage file format.
    * 
@@ -40,8 +21,6 @@ public enum GcsFileFormat implements com.google.protobuf.ProtocolMessageEnum { */ GCS_FILE_FORMAT_UNSPECIFIED(0), /** - * - * *
    * Avro file format
    * 
@@ -53,8 +32,6 @@ public enum GcsFileFormat implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * Unspecified Cloud Storage file format.
    * 
@@ -63,8 +40,6 @@ public enum GcsFileFormat implements com.google.protobuf.ProtocolMessageEnum { */ public static final int GCS_FILE_FORMAT_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Avro file format
    * 
@@ -73,6 +48,7 @@ public enum GcsFileFormat implements com.google.protobuf.ProtocolMessageEnum { */ public static final int AVRO_VALUE = 1; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -97,49 +73,48 @@ public static GcsFileFormat valueOf(int value) { */ public static GcsFileFormat forNumber(int value) { switch (value) { - case 0: - return GCS_FILE_FORMAT_UNSPECIFIED; - case 1: - return AVRO; - default: - return null; + case 0: return GCS_FILE_FORMAT_UNSPECIFIED; + case 1: return AVRO; + 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 GcsFileFormat findValueByNumber(int number) { - return GcsFileFormat.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + GcsFileFormat> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public GcsFileFormat findValueByNumber(int number) { + return GcsFileFormat.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.datastream.v1alpha1.CloudDatastreamResourcesProto.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.getDescriptor().getEnumTypes().get(0); } private static final GcsFileFormat[] VALUES = values(); - public static GcsFileFormat valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static GcsFileFormat 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; @@ -155,3 +130,4 @@ private GcsFileFormat(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.datastream.v1alpha1.GcsFileFormat) } + diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/GcsProfile.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/GcsProfile.java similarity index 71% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/GcsProfile.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/GcsProfile.java index 026fe9a0..2b4d183e 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/GcsProfile.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/GcsProfile.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/datastream/v1alpha1/datastream_resources.proto package com.google.cloud.datastream.v1alpha1; /** - * - * *
  * Cloud Storage bucket profile.
  * 
* * Protobuf type {@code google.cloud.datastream.v1alpha1.GcsProfile} */ -public final class GcsProfile extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GcsProfile extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1alpha1.GcsProfile) GcsProfileOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GcsProfile.newBuilder() to construct. private GcsProfile(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GcsProfile() { bucketName_ = ""; rootPath_ = ""; @@ -44,15 +26,16 @@ private GcsProfile() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GcsProfile(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GcsProfile( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,27 +54,25 @@ private GcsProfile( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - bucketName_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + bucketName_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - rootPath_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + rootPath_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,40 +80,35 @@ private GcsProfile( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_GcsProfile_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_GcsProfile_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_GcsProfile_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_GcsProfile_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.GcsProfile.class, - com.google.cloud.datastream.v1alpha1.GcsProfile.Builder.class); + com.google.cloud.datastream.v1alpha1.GcsProfile.class, com.google.cloud.datastream.v1alpha1.GcsProfile.Builder.class); } public static final int BUCKET_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object bucketName_; /** - * - * *
    * Required. The full project and resource path for Cloud Storage bucket including the
    * name.
    * 
* * string bucket_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bucketName. */ @java.lang.Override @@ -141,30 +117,30 @@ public java.lang.String getBucketName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); bucketName_ = s; return s; } } /** - * - * *
    * Required. The full project and resource path for Cloud Storage bucket including the
    * name.
    * 
* * string bucket_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for bucketName. */ @java.lang.Override - public com.google.protobuf.ByteString getBucketNameBytes() { + public com.google.protobuf.ByteString + getBucketNameBytes() { java.lang.Object ref = bucketName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); bucketName_ = b; return b; } else { @@ -175,14 +151,11 @@ public com.google.protobuf.ByteString getBucketNameBytes() { public static final int ROOT_PATH_FIELD_NUMBER = 2; private volatile java.lang.Object rootPath_; /** - * - * *
    * The root path inside the Cloud Storage bucket.
    * 
* * string root_path = 2; - * * @return The rootPath. */ @java.lang.Override @@ -191,29 +164,29 @@ public java.lang.String getRootPath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); rootPath_ = s; return s; } } /** - * - * *
    * The root path inside the Cloud Storage bucket.
    * 
* * string root_path = 2; - * * @return The bytes for rootPath. */ @java.lang.Override - public com.google.protobuf.ByteString getRootPathBytes() { + public com.google.protobuf.ByteString + getRootPathBytes() { java.lang.Object ref = rootPath_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); rootPath_ = b; return b; } else { @@ -222,7 +195,6 @@ public com.google.protobuf.ByteString getRootPathBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -234,7 +206,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(bucketName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, bucketName_); } @@ -264,16 +237,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.datastream.v1alpha1.GcsProfile)) { return super.equals(obj); } - com.google.cloud.datastream.v1alpha1.GcsProfile other = - (com.google.cloud.datastream.v1alpha1.GcsProfile) obj; + com.google.cloud.datastream.v1alpha1.GcsProfile other = (com.google.cloud.datastream.v1alpha1.GcsProfile) obj; - if (!getBucketName().equals(other.getBucketName())) return false; - if (!getRootPath().equals(other.getRootPath())) return false; + if (!getBucketName() + .equals(other.getBucketName())) return false; + if (!getRootPath() + .equals(other.getRootPath())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -294,127 +268,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.datastream.v1alpha1.GcsProfile parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.datastream.v1alpha1.GcsProfile parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.GcsProfile parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.GcsProfile parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.GcsProfile parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.GcsProfile parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.GcsProfile parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.GcsProfile 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.datastream.v1alpha1.GcsProfile parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.GcsProfile parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.GcsProfile parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.GcsProfile 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.datastream.v1alpha1.GcsProfile parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.GcsProfile parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datastream.v1alpha1.GcsProfile prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Cloud Storage bucket profile.
    * 
* * Protobuf type {@code google.cloud.datastream.v1alpha1.GcsProfile} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1alpha1.GcsProfile) com.google.cloud.datastream.v1alpha1.GcsProfileOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_GcsProfile_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_GcsProfile_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_GcsProfile_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_GcsProfile_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.GcsProfile.class, - com.google.cloud.datastream.v1alpha1.GcsProfile.Builder.class); + com.google.cloud.datastream.v1alpha1.GcsProfile.class, com.google.cloud.datastream.v1alpha1.GcsProfile.Builder.class); } // Construct using com.google.cloud.datastream.v1alpha1.GcsProfile.newBuilder() @@ -422,15 +387,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -442,9 +408,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_GcsProfile_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_GcsProfile_descriptor; } @java.lang.Override @@ -463,8 +429,7 @@ public com.google.cloud.datastream.v1alpha1.GcsProfile build() { @java.lang.Override public com.google.cloud.datastream.v1alpha1.GcsProfile buildPartial() { - com.google.cloud.datastream.v1alpha1.GcsProfile result = - new com.google.cloud.datastream.v1alpha1.GcsProfile(this); + com.google.cloud.datastream.v1alpha1.GcsProfile result = new com.google.cloud.datastream.v1alpha1.GcsProfile(this); result.bucketName_ = bucketName_; result.rootPath_ = rootPath_; onBuilt(); @@ -475,39 +440,38 @@ public com.google.cloud.datastream.v1alpha1.GcsProfile buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1alpha1.GcsProfile) { - return mergeFrom((com.google.cloud.datastream.v1alpha1.GcsProfile) other); + return mergeFrom((com.google.cloud.datastream.v1alpha1.GcsProfile)other); } else { super.mergeFrom(other); return this; @@ -515,8 +479,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datastream.v1alpha1.GcsProfile other) { - if (other == com.google.cloud.datastream.v1alpha1.GcsProfile.getDefaultInstance()) - return this; + if (other == com.google.cloud.datastream.v1alpha1.GcsProfile.getDefaultInstance()) return this; if (!other.getBucketName().isEmpty()) { bucketName_ = other.bucketName_; onChanged(); @@ -556,21 +519,19 @@ public Builder mergeFrom( private java.lang.Object bucketName_ = ""; /** - * - * *
      * Required. The full project and resource path for Cloud Storage bucket including the
      * name.
      * 
* * string bucket_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bucketName. */ public java.lang.String getBucketName() { java.lang.Object ref = bucketName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); bucketName_ = s; return s; @@ -579,22 +540,21 @@ public java.lang.String getBucketName() { } } /** - * - * *
      * Required. The full project and resource path for Cloud Storage bucket including the
      * name.
      * 
* * string bucket_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for bucketName. */ - public com.google.protobuf.ByteString getBucketNameBytes() { + public com.google.protobuf.ByteString + getBucketNameBytes() { java.lang.Object ref = bucketName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); bucketName_ = b; return b; } else { @@ -602,64 +562,57 @@ public com.google.protobuf.ByteString getBucketNameBytes() { } } /** - * - * *
      * Required. The full project and resource path for Cloud Storage bucket including the
      * name.
      * 
* * string bucket_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bucketName to set. * @return This builder for chaining. */ - public Builder setBucketName(java.lang.String value) { + public Builder setBucketName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + bucketName_ = value; onChanged(); return this; } /** - * - * *
      * Required. The full project and resource path for Cloud Storage bucket including the
      * name.
      * 
* * string bucket_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearBucketName() { - + bucketName_ = getDefaultInstance().getBucketName(); onChanged(); return this; } /** - * - * *
      * Required. The full project and resource path for Cloud Storage bucket including the
      * name.
      * 
* * string bucket_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for bucketName to set. * @return This builder for chaining. */ - public Builder setBucketNameBytes(com.google.protobuf.ByteString value) { + public Builder setBucketNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + bucketName_ = value; onChanged(); return this; @@ -667,20 +620,18 @@ public Builder setBucketNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object rootPath_ = ""; /** - * - * *
      * The root path inside the Cloud Storage bucket.
      * 
* * string root_path = 2; - * * @return The rootPath. */ public java.lang.String getRootPath() { java.lang.Object ref = rootPath_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); rootPath_ = s; return s; @@ -689,21 +640,20 @@ public java.lang.String getRootPath() { } } /** - * - * *
      * The root path inside the Cloud Storage bucket.
      * 
* * string root_path = 2; - * * @return The bytes for rootPath. */ - public com.google.protobuf.ByteString getRootPathBytes() { + public com.google.protobuf.ByteString + getRootPathBytes() { java.lang.Object ref = rootPath_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); rootPath_ = b; return b; } else { @@ -711,68 +661,61 @@ public com.google.protobuf.ByteString getRootPathBytes() { } } /** - * - * *
      * The root path inside the Cloud Storage bucket.
      * 
* * string root_path = 2; - * * @param value The rootPath to set. * @return This builder for chaining. */ - public Builder setRootPath(java.lang.String value) { + public Builder setRootPath( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + rootPath_ = value; onChanged(); return this; } /** - * - * *
      * The root path inside the Cloud Storage bucket.
      * 
* * string root_path = 2; - * * @return This builder for chaining. */ public Builder clearRootPath() { - + rootPath_ = getDefaultInstance().getRootPath(); onChanged(); return this; } /** - * - * *
      * The root path inside the Cloud Storage bucket.
      * 
* * string root_path = 2; - * * @param value The bytes for rootPath to set. * @return This builder for chaining. */ - public Builder setRootPathBytes(com.google.protobuf.ByteString value) { + public Builder setRootPathBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + rootPath_ = 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); } @@ -782,12 +725,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1alpha1.GcsProfile) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1alpha1.GcsProfile) private static final com.google.cloud.datastream.v1alpha1.GcsProfile DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1alpha1.GcsProfile(); } @@ -796,16 +739,16 @@ public static com.google.cloud.datastream.v1alpha1.GcsProfile getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GcsProfile parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GcsProfile(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GcsProfile parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GcsProfile(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -820,4 +763,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datastream.v1alpha1.GcsProfile getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/GcsProfileOrBuilder.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/GcsProfileOrBuilder.java similarity index 60% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/GcsProfileOrBuilder.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/GcsProfileOrBuilder.java index 887ce584..f4e08892 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/GcsProfileOrBuilder.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/GcsProfileOrBuilder.java @@ -1,77 +1,51 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1alpha1/datastream_resources.proto package com.google.cloud.datastream.v1alpha1; -public interface GcsProfileOrBuilder - extends +public interface GcsProfileOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1alpha1.GcsProfile) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The full project and resource path for Cloud Storage bucket including the
    * name.
    * 
* * string bucket_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bucketName. */ java.lang.String getBucketName(); /** - * - * *
    * Required. The full project and resource path for Cloud Storage bucket including the
    * name.
    * 
* * string bucket_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for bucketName. */ - com.google.protobuf.ByteString getBucketNameBytes(); + com.google.protobuf.ByteString + getBucketNameBytes(); /** - * - * *
    * The root path inside the Cloud Storage bucket.
    * 
* * string root_path = 2; - * * @return The rootPath. */ java.lang.String getRootPath(); /** - * - * *
    * The root path inside the Cloud Storage bucket.
    * 
* * string root_path = 2; - * * @return The bytes for rootPath. */ - com.google.protobuf.ByteString getRootPathBytes(); + com.google.protobuf.ByteString + getRootPathBytes(); } diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/GetConnectionProfileRequest.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/GetConnectionProfileRequest.java similarity index 62% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/GetConnectionProfileRequest.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/GetConnectionProfileRequest.java index 8fffcee0..cb0f4bb8 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/GetConnectionProfileRequest.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/GetConnectionProfileRequest.java @@ -1,49 +1,36 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1alpha1/datastream.proto package com.google.cloud.datastream.v1alpha1; -/** Protobuf type {@code google.cloud.datastream.v1alpha1.GetConnectionProfileRequest} */ -public final class GetConnectionProfileRequest extends com.google.protobuf.GeneratedMessageV3 - implements +/** + * Protobuf type {@code google.cloud.datastream.v1alpha1.GetConnectionProfileRequest} + */ +public final class GetConnectionProfileRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1alpha1.GetConnectionProfileRequest) GetConnectionProfileRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetConnectionProfileRequest.newBuilder() to construct. private GetConnectionProfileRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetConnectionProfileRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetConnectionProfileRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetConnectionProfileRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -62,20 +49,19 @@ private GetConnectionProfileRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -83,41 +69,34 @@ private GetConnectionProfileRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_GetConnectionProfileRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_GetConnectionProfileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_GetConnectionProfileRequest_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_GetConnectionProfileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.GetConnectionProfileRequest.class, - com.google.cloud.datastream.v1alpha1.GetConnectionProfileRequest.Builder.class); + com.google.cloud.datastream.v1alpha1.GetConnectionProfileRequest.class, com.google.cloud.datastream.v1alpha1.GetConnectionProfileRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the connection profile resource to get.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -126,31 +105,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the connection profile resource to get.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -159,7 +136,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -171,7 +147,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_); } @@ -195,15 +172,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.datastream.v1alpha1.GetConnectionProfileRequest)) { return super.equals(obj); } - com.google.cloud.datastream.v1alpha1.GetConnectionProfileRequest other = - (com.google.cloud.datastream.v1alpha1.GetConnectionProfileRequest) obj; + com.google.cloud.datastream.v1alpha1.GetConnectionProfileRequest other = (com.google.cloud.datastream.v1alpha1.GetConnectionProfileRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -223,119 +200,113 @@ public int hashCode() { } public static com.google.cloud.datastream.v1alpha1.GetConnectionProfileRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.GetConnectionProfileRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.GetConnectionProfileRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.GetConnectionProfileRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.GetConnectionProfileRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.datastream.v1alpha1.GetConnectionProfileRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.GetConnectionProfileRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.GetConnectionProfileRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.GetConnectionProfileRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.GetConnectionProfileRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.GetConnectionProfileRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.GetConnectionProfileRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.GetConnectionProfileRequest 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.datastream.v1alpha1.GetConnectionProfileRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.GetConnectionProfileRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datastream.v1alpha1.GetConnectionProfileRequest prototype) { + public static Builder newBuilder(com.google.cloud.datastream.v1alpha1.GetConnectionProfileRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } - /** Protobuf type {@code google.cloud.datastream.v1alpha1.GetConnectionProfileRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + /** + * Protobuf type {@code google.cloud.datastream.v1alpha1.GetConnectionProfileRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1alpha1.GetConnectionProfileRequest) com.google.cloud.datastream.v1alpha1.GetConnectionProfileRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_GetConnectionProfileRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_GetConnectionProfileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_GetConnectionProfileRequest_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_GetConnectionProfileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.GetConnectionProfileRequest.class, - com.google.cloud.datastream.v1alpha1.GetConnectionProfileRequest.Builder.class); + com.google.cloud.datastream.v1alpha1.GetConnectionProfileRequest.class, com.google.cloud.datastream.v1alpha1.GetConnectionProfileRequest.Builder.class); } // Construct using com.google.cloud.datastream.v1alpha1.GetConnectionProfileRequest.newBuilder() @@ -343,15 +314,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -361,14 +333,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_GetConnectionProfileRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_GetConnectionProfileRequest_descriptor; } @java.lang.Override - public com.google.cloud.datastream.v1alpha1.GetConnectionProfileRequest - getDefaultInstanceForType() { + public com.google.cloud.datastream.v1alpha1.GetConnectionProfileRequest getDefaultInstanceForType() { return com.google.cloud.datastream.v1alpha1.GetConnectionProfileRequest.getDefaultInstance(); } @@ -383,8 +354,7 @@ public com.google.cloud.datastream.v1alpha1.GetConnectionProfileRequest build() @java.lang.Override public com.google.cloud.datastream.v1alpha1.GetConnectionProfileRequest buildPartial() { - com.google.cloud.datastream.v1alpha1.GetConnectionProfileRequest result = - new com.google.cloud.datastream.v1alpha1.GetConnectionProfileRequest(this); + com.google.cloud.datastream.v1alpha1.GetConnectionProfileRequest result = new com.google.cloud.datastream.v1alpha1.GetConnectionProfileRequest(this); result.name_ = name_; onBuilt(); return result; @@ -394,50 +364,46 @@ public com.google.cloud.datastream.v1alpha1.GetConnectionProfileRequest buildPar public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1alpha1.GetConnectionProfileRequest) { - return mergeFrom((com.google.cloud.datastream.v1alpha1.GetConnectionProfileRequest) other); + return mergeFrom((com.google.cloud.datastream.v1alpha1.GetConnectionProfileRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.datastream.v1alpha1.GetConnectionProfileRequest other) { - if (other - == com.google.cloud.datastream.v1alpha1.GetConnectionProfileRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.datastream.v1alpha1.GetConnectionProfileRequest other) { + if (other == com.google.cloud.datastream.v1alpha1.GetConnectionProfileRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -461,9 +427,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datastream.v1alpha1.GetConnectionProfileRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datastream.v1alpha1.GetConnectionProfileRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -475,22 +439,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the connection profile resource to get.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -499,23 +459,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the connection profile resource to get.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -523,74 +480,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the connection profile resource to get.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the connection profile resource to get.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the connection profile resource to get.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -600,32 +544,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1alpha1.GetConnectionProfileRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1alpha1.GetConnectionProfileRequest) - private static final com.google.cloud.datastream.v1alpha1.GetConnectionProfileRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.datastream.v1alpha1.GetConnectionProfileRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1alpha1.GetConnectionProfileRequest(); } - public static com.google.cloud.datastream.v1alpha1.GetConnectionProfileRequest - getDefaultInstance() { + public static com.google.cloud.datastream.v1alpha1.GetConnectionProfileRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetConnectionProfileRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetConnectionProfileRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetConnectionProfileRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetConnectionProfileRequest(input, extensionRegistry); + } + }; 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.datastream.v1alpha1.GetConnectionProfileRequest - getDefaultInstanceForType() { + public com.google.cloud.datastream.v1alpha1.GetConnectionProfileRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/GetConnectionProfileRequestOrBuilder.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/GetConnectionProfileRequestOrBuilder.java new file mode 100644 index 00000000..d30d0f70 --- /dev/null +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/GetConnectionProfileRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datastream/v1alpha1/datastream.proto + +package com.google.cloud.datastream.v1alpha1; + +public interface GetConnectionProfileRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1alpha1.GetConnectionProfileRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the connection profile resource to get.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the connection profile resource to get.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/GetPrivateConnectionRequest.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/GetPrivateConnectionRequest.java similarity index 62% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/GetPrivateConnectionRequest.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/GetPrivateConnectionRequest.java index d79fb86a..1d6df618 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/GetPrivateConnectionRequest.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/GetPrivateConnectionRequest.java @@ -1,49 +1,36 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1alpha1/datastream.proto package com.google.cloud.datastream.v1alpha1; -/** Protobuf type {@code google.cloud.datastream.v1alpha1.GetPrivateConnectionRequest} */ -public final class GetPrivateConnectionRequest extends com.google.protobuf.GeneratedMessageV3 - implements +/** + * Protobuf type {@code google.cloud.datastream.v1alpha1.GetPrivateConnectionRequest} + */ +public final class GetPrivateConnectionRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1alpha1.GetPrivateConnectionRequest) GetPrivateConnectionRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetPrivateConnectionRequest.newBuilder() to construct. private GetPrivateConnectionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetPrivateConnectionRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetPrivateConnectionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetPrivateConnectionRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -62,20 +49,19 @@ private GetPrivateConnectionRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -83,41 +69,34 @@ private GetPrivateConnectionRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_GetPrivateConnectionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_GetPrivateConnectionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_GetPrivateConnectionRequest_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_GetPrivateConnectionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.GetPrivateConnectionRequest.class, - com.google.cloud.datastream.v1alpha1.GetPrivateConnectionRequest.Builder.class); + com.google.cloud.datastream.v1alpha1.GetPrivateConnectionRequest.class, com.google.cloud.datastream.v1alpha1.GetPrivateConnectionRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the  private connectivity configuration to get.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -126,31 +105,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the  private connectivity configuration to get.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -159,7 +136,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -171,7 +147,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_); } @@ -195,15 +172,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.datastream.v1alpha1.GetPrivateConnectionRequest)) { return super.equals(obj); } - com.google.cloud.datastream.v1alpha1.GetPrivateConnectionRequest other = - (com.google.cloud.datastream.v1alpha1.GetPrivateConnectionRequest) obj; + com.google.cloud.datastream.v1alpha1.GetPrivateConnectionRequest other = (com.google.cloud.datastream.v1alpha1.GetPrivateConnectionRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -223,119 +200,113 @@ public int hashCode() { } public static com.google.cloud.datastream.v1alpha1.GetPrivateConnectionRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.GetPrivateConnectionRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.GetPrivateConnectionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.GetPrivateConnectionRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.GetPrivateConnectionRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.datastream.v1alpha1.GetPrivateConnectionRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.GetPrivateConnectionRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.GetPrivateConnectionRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.GetPrivateConnectionRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.GetPrivateConnectionRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.GetPrivateConnectionRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.GetPrivateConnectionRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.GetPrivateConnectionRequest 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.datastream.v1alpha1.GetPrivateConnectionRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.GetPrivateConnectionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datastream.v1alpha1.GetPrivateConnectionRequest prototype) { + public static Builder newBuilder(com.google.cloud.datastream.v1alpha1.GetPrivateConnectionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } - /** Protobuf type {@code google.cloud.datastream.v1alpha1.GetPrivateConnectionRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + /** + * Protobuf type {@code google.cloud.datastream.v1alpha1.GetPrivateConnectionRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1alpha1.GetPrivateConnectionRequest) com.google.cloud.datastream.v1alpha1.GetPrivateConnectionRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_GetPrivateConnectionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_GetPrivateConnectionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_GetPrivateConnectionRequest_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_GetPrivateConnectionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.GetPrivateConnectionRequest.class, - com.google.cloud.datastream.v1alpha1.GetPrivateConnectionRequest.Builder.class); + com.google.cloud.datastream.v1alpha1.GetPrivateConnectionRequest.class, com.google.cloud.datastream.v1alpha1.GetPrivateConnectionRequest.Builder.class); } // Construct using com.google.cloud.datastream.v1alpha1.GetPrivateConnectionRequest.newBuilder() @@ -343,15 +314,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -361,14 +333,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_GetPrivateConnectionRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_GetPrivateConnectionRequest_descriptor; } @java.lang.Override - public com.google.cloud.datastream.v1alpha1.GetPrivateConnectionRequest - getDefaultInstanceForType() { + public com.google.cloud.datastream.v1alpha1.GetPrivateConnectionRequest getDefaultInstanceForType() { return com.google.cloud.datastream.v1alpha1.GetPrivateConnectionRequest.getDefaultInstance(); } @@ -383,8 +354,7 @@ public com.google.cloud.datastream.v1alpha1.GetPrivateConnectionRequest build() @java.lang.Override public com.google.cloud.datastream.v1alpha1.GetPrivateConnectionRequest buildPartial() { - com.google.cloud.datastream.v1alpha1.GetPrivateConnectionRequest result = - new com.google.cloud.datastream.v1alpha1.GetPrivateConnectionRequest(this); + com.google.cloud.datastream.v1alpha1.GetPrivateConnectionRequest result = new com.google.cloud.datastream.v1alpha1.GetPrivateConnectionRequest(this); result.name_ = name_; onBuilt(); return result; @@ -394,50 +364,46 @@ public com.google.cloud.datastream.v1alpha1.GetPrivateConnectionRequest buildPar public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1alpha1.GetPrivateConnectionRequest) { - return mergeFrom((com.google.cloud.datastream.v1alpha1.GetPrivateConnectionRequest) other); + return mergeFrom((com.google.cloud.datastream.v1alpha1.GetPrivateConnectionRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.datastream.v1alpha1.GetPrivateConnectionRequest other) { - if (other - == com.google.cloud.datastream.v1alpha1.GetPrivateConnectionRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.datastream.v1alpha1.GetPrivateConnectionRequest other) { + if (other == com.google.cloud.datastream.v1alpha1.GetPrivateConnectionRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -461,9 +427,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datastream.v1alpha1.GetPrivateConnectionRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datastream.v1alpha1.GetPrivateConnectionRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -475,22 +439,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the  private connectivity configuration to get.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -499,23 +459,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the  private connectivity configuration to get.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -523,74 +480,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the  private connectivity configuration to get.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the  private connectivity configuration to get.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the  private connectivity configuration to get.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -600,32 +544,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1alpha1.GetPrivateConnectionRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1alpha1.GetPrivateConnectionRequest) - private static final com.google.cloud.datastream.v1alpha1.GetPrivateConnectionRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.datastream.v1alpha1.GetPrivateConnectionRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1alpha1.GetPrivateConnectionRequest(); } - public static com.google.cloud.datastream.v1alpha1.GetPrivateConnectionRequest - getDefaultInstance() { + public static com.google.cloud.datastream.v1alpha1.GetPrivateConnectionRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetPrivateConnectionRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetPrivateConnectionRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetPrivateConnectionRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetPrivateConnectionRequest(input, extensionRegistry); + } + }; 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.datastream.v1alpha1.GetPrivateConnectionRequest - getDefaultInstanceForType() { + public com.google.cloud.datastream.v1alpha1.GetPrivateConnectionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/GetPrivateConnectionRequestOrBuilder.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/GetPrivateConnectionRequestOrBuilder.java new file mode 100644 index 00000000..b6968cd1 --- /dev/null +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/GetPrivateConnectionRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datastream/v1alpha1/datastream.proto + +package com.google.cloud.datastream.v1alpha1; + +public interface GetPrivateConnectionRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1alpha1.GetPrivateConnectionRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the  private connectivity configuration to get.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the  private connectivity configuration to get.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/GetRouteRequest.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/GetRouteRequest.java similarity index 66% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/GetRouteRequest.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/GetRouteRequest.java index 76c478cb..34ff2114 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/GetRouteRequest.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/GetRouteRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1alpha1/datastream.proto package com.google.cloud.datastream.v1alpha1; /** - * - * *
  * route get request
  * 
* * Protobuf type {@code google.cloud.datastream.v1alpha1.GetRouteRequest} */ -public final class GetRouteRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetRouteRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1alpha1.GetRouteRequest) GetRouteRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetRouteRequest.newBuilder() to construct. private GetRouteRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetRouteRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetRouteRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetRouteRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetRouteRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,41 +73,34 @@ private GetRouteRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_GetRouteRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_GetRouteRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_GetRouteRequest_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_GetRouteRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.GetRouteRequest.class, - com.google.cloud.datastream.v1alpha1.GetRouteRequest.Builder.class); + com.google.cloud.datastream.v1alpha1.GetRouteRequest.class, com.google.cloud.datastream.v1alpha1.GetRouteRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the Route resource to get.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -134,31 +109,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the Route resource to get.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -203,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datastream.v1alpha1.GetRouteRequest)) { return super.equals(obj); } - com.google.cloud.datastream.v1alpha1.GetRouteRequest other = - (com.google.cloud.datastream.v1alpha1.GetRouteRequest) obj; + com.google.cloud.datastream.v1alpha1.GetRouteRequest other = (com.google.cloud.datastream.v1alpha1.GetRouteRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,126 +204,117 @@ public int hashCode() { } public static com.google.cloud.datastream.v1alpha1.GetRouteRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.GetRouteRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.GetRouteRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.GetRouteRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.GetRouteRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.GetRouteRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.GetRouteRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.GetRouteRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.GetRouteRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.GetRouteRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.GetRouteRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.GetRouteRequest 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.datastream.v1alpha1.GetRouteRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.GetRouteRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datastream.v1alpha1.GetRouteRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * route get request
    * 
* * Protobuf type {@code google.cloud.datastream.v1alpha1.GetRouteRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1alpha1.GetRouteRequest) com.google.cloud.datastream.v1alpha1.GetRouteRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_GetRouteRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_GetRouteRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_GetRouteRequest_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_GetRouteRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.GetRouteRequest.class, - com.google.cloud.datastream.v1alpha1.GetRouteRequest.Builder.class); + com.google.cloud.datastream.v1alpha1.GetRouteRequest.class, com.google.cloud.datastream.v1alpha1.GetRouteRequest.Builder.class); } // Construct using com.google.cloud.datastream.v1alpha1.GetRouteRequest.newBuilder() @@ -358,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -376,9 +341,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_GetRouteRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_GetRouteRequest_descriptor; } @java.lang.Override @@ -397,8 +362,7 @@ public com.google.cloud.datastream.v1alpha1.GetRouteRequest build() { @java.lang.Override public com.google.cloud.datastream.v1alpha1.GetRouteRequest buildPartial() { - com.google.cloud.datastream.v1alpha1.GetRouteRequest result = - new com.google.cloud.datastream.v1alpha1.GetRouteRequest(this); + com.google.cloud.datastream.v1alpha1.GetRouteRequest result = new com.google.cloud.datastream.v1alpha1.GetRouteRequest(this); result.name_ = name_; onBuilt(); return result; @@ -408,39 +372,38 @@ public com.google.cloud.datastream.v1alpha1.GetRouteRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1alpha1.GetRouteRequest) { - return mergeFrom((com.google.cloud.datastream.v1alpha1.GetRouteRequest) other); + return mergeFrom((com.google.cloud.datastream.v1alpha1.GetRouteRequest)other); } else { super.mergeFrom(other); return this; @@ -448,8 +411,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datastream.v1alpha1.GetRouteRequest other) { - if (other == com.google.cloud.datastream.v1alpha1.GetRouteRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.datastream.v1alpha1.GetRouteRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -473,8 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datastream.v1alpha1.GetRouteRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datastream.v1alpha1.GetRouteRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -486,22 +447,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the Route resource to get.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -510,23 +467,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the Route resource to get.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -534,74 +488,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the Route resource to get.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the Route resource to get.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the Route resource to get.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -611,12 +552,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1alpha1.GetRouteRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1alpha1.GetRouteRequest) private static final com.google.cloud.datastream.v1alpha1.GetRouteRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1alpha1.GetRouteRequest(); } @@ -625,16 +566,16 @@ public static com.google.cloud.datastream.v1alpha1.GetRouteRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetRouteRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetRouteRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetRouteRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetRouteRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -649,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datastream.v1alpha1.GetRouteRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/GetRouteRequestOrBuilder.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/GetRouteRequestOrBuilder.java new file mode 100644 index 00000000..738f0aa9 --- /dev/null +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/GetRouteRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datastream/v1alpha1/datastream.proto + +package com.google.cloud.datastream.v1alpha1; + +public interface GetRouteRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1alpha1.GetRouteRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the Route resource to get.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the Route resource to get.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/GetStreamRequest.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/GetStreamRequest.java similarity index 64% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/GetStreamRequest.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/GetStreamRequest.java index f14aa6c3..b9f2029e 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/GetStreamRequest.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/GetStreamRequest.java @@ -1,49 +1,36 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1alpha1/datastream.proto package com.google.cloud.datastream.v1alpha1; -/** Protobuf type {@code google.cloud.datastream.v1alpha1.GetStreamRequest} */ -public final class GetStreamRequest extends com.google.protobuf.GeneratedMessageV3 - implements +/** + * Protobuf type {@code google.cloud.datastream.v1alpha1.GetStreamRequest} + */ +public final class GetStreamRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1alpha1.GetStreamRequest) GetStreamRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetStreamRequest.newBuilder() to construct. private GetStreamRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetStreamRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetStreamRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetStreamRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -62,20 +49,19 @@ private GetStreamRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -83,41 +69,34 @@ private GetStreamRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_GetStreamRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_GetStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_GetStreamRequest_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_GetStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.GetStreamRequest.class, - com.google.cloud.datastream.v1alpha1.GetStreamRequest.Builder.class); + com.google.cloud.datastream.v1alpha1.GetStreamRequest.class, com.google.cloud.datastream.v1alpha1.GetStreamRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the stream resource to get.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -126,31 +105,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the stream resource to get.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -159,7 +136,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -171,7 +147,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_); } @@ -195,15 +172,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.datastream.v1alpha1.GetStreamRequest)) { return super.equals(obj); } - com.google.cloud.datastream.v1alpha1.GetStreamRequest other = - (com.google.cloud.datastream.v1alpha1.GetStreamRequest) obj; + com.google.cloud.datastream.v1alpha1.GetStreamRequest other = (com.google.cloud.datastream.v1alpha1.GetStreamRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -223,119 +200,113 @@ public int hashCode() { } public static com.google.cloud.datastream.v1alpha1.GetStreamRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.GetStreamRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.GetStreamRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.GetStreamRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.GetStreamRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.GetStreamRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.GetStreamRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.GetStreamRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.GetStreamRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.GetStreamRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.GetStreamRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.GetStreamRequest 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.datastream.v1alpha1.GetStreamRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.GetStreamRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datastream.v1alpha1.GetStreamRequest prototype) { + public static Builder newBuilder(com.google.cloud.datastream.v1alpha1.GetStreamRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } - /** Protobuf type {@code google.cloud.datastream.v1alpha1.GetStreamRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + /** + * Protobuf type {@code google.cloud.datastream.v1alpha1.GetStreamRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1alpha1.GetStreamRequest) com.google.cloud.datastream.v1alpha1.GetStreamRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_GetStreamRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_GetStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_GetStreamRequest_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_GetStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.GetStreamRequest.class, - com.google.cloud.datastream.v1alpha1.GetStreamRequest.Builder.class); + com.google.cloud.datastream.v1alpha1.GetStreamRequest.class, com.google.cloud.datastream.v1alpha1.GetStreamRequest.Builder.class); } // Construct using com.google.cloud.datastream.v1alpha1.GetStreamRequest.newBuilder() @@ -343,15 +314,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -361,9 +333,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_GetStreamRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_GetStreamRequest_descriptor; } @java.lang.Override @@ -382,8 +354,7 @@ public com.google.cloud.datastream.v1alpha1.GetStreamRequest build() { @java.lang.Override public com.google.cloud.datastream.v1alpha1.GetStreamRequest buildPartial() { - com.google.cloud.datastream.v1alpha1.GetStreamRequest result = - new com.google.cloud.datastream.v1alpha1.GetStreamRequest(this); + com.google.cloud.datastream.v1alpha1.GetStreamRequest result = new com.google.cloud.datastream.v1alpha1.GetStreamRequest(this); result.name_ = name_; onBuilt(); return result; @@ -393,39 +364,38 @@ public com.google.cloud.datastream.v1alpha1.GetStreamRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1alpha1.GetStreamRequest) { - return mergeFrom((com.google.cloud.datastream.v1alpha1.GetStreamRequest) other); + return mergeFrom((com.google.cloud.datastream.v1alpha1.GetStreamRequest)other); } else { super.mergeFrom(other); return this; @@ -433,8 +403,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datastream.v1alpha1.GetStreamRequest other) { - if (other == com.google.cloud.datastream.v1alpha1.GetStreamRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.datastream.v1alpha1.GetStreamRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -458,8 +427,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datastream.v1alpha1.GetStreamRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datastream.v1alpha1.GetStreamRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -471,22 +439,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the stream resource to get.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -495,23 +459,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the stream resource to get.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -519,74 +480,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the stream resource to get.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the stream resource to get.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the stream resource to get.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -596,12 +544,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1alpha1.GetStreamRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1alpha1.GetStreamRequest) private static final com.google.cloud.datastream.v1alpha1.GetStreamRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1alpha1.GetStreamRequest(); } @@ -610,16 +558,16 @@ public static com.google.cloud.datastream.v1alpha1.GetStreamRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetStreamRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetStreamRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetStreamRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetStreamRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -634,4 +582,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datastream.v1alpha1.GetStreamRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/GetStreamRequestOrBuilder.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/GetStreamRequestOrBuilder.java new file mode 100644 index 00000000..8d5ae593 --- /dev/null +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/GetStreamRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datastream/v1alpha1/datastream.proto + +package com.google.cloud.datastream.v1alpha1; + +public interface GetStreamRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1alpha1.GetStreamRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the stream resource to get.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the stream resource to get.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/JsonFileFormat.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/JsonFileFormat.java similarity index 68% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/JsonFileFormat.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/JsonFileFormat.java index 6af93ae2..54d480f2 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/JsonFileFormat.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/JsonFileFormat.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/datastream/v1alpha1/datastream_resources.proto package com.google.cloud.datastream.v1alpha1; /** - * - * *
  * JSON file format configuration.
  * 
* * Protobuf type {@code google.cloud.datastream.v1alpha1.JsonFileFormat} */ -public final class JsonFileFormat extends com.google.protobuf.GeneratedMessageV3 - implements +public final class JsonFileFormat extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1alpha1.JsonFileFormat) JsonFileFormatOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use JsonFileFormat.newBuilder() to construct. private JsonFileFormat(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private JsonFileFormat() { schemaFileFormat_ = 0; compression_ = 0; @@ -44,15 +26,16 @@ private JsonFileFormat() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new JsonFileFormat(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private JsonFileFormat( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,27 +54,25 @@ private JsonFileFormat( case 0: done = true; break; - case 8: - { - int rawValue = input.readEnum(); + case 8: { + int rawValue = input.readEnum(); - schemaFileFormat_ = rawValue; - break; - } - case 16: - { - int rawValue = input.readEnum(); + schemaFileFormat_ = rawValue; + break; + } + case 16: { + int rawValue = input.readEnum(); - compression_ = rawValue; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + compression_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,41 +80,36 @@ private JsonFileFormat( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_JsonFileFormat_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_JsonFileFormat_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_JsonFileFormat_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_JsonFileFormat_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.JsonFileFormat.class, - com.google.cloud.datastream.v1alpha1.JsonFileFormat.Builder.class); + com.google.cloud.datastream.v1alpha1.JsonFileFormat.class, com.google.cloud.datastream.v1alpha1.JsonFileFormat.Builder.class); } /** - * - * *
    * Json file compression.
    * 
* * Protobuf enum {@code google.cloud.datastream.v1alpha1.JsonFileFormat.JsonCompression} */ - public enum JsonCompression implements com.google.protobuf.ProtocolMessageEnum { + public enum JsonCompression + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Unspecified json file compression.
      * 
@@ -142,8 +118,6 @@ public enum JsonCompression implements com.google.protobuf.ProtocolMessageEnum { */ JSON_COMPRESSION_UNSPECIFIED(0), /** - * - * *
      * Do not compress JSON file.
      * 
@@ -152,8 +126,6 @@ public enum JsonCompression implements com.google.protobuf.ProtocolMessageEnum { */ NO_COMPRESSION(1), /** - * - * *
      * Gzip compression.
      * 
@@ -165,8 +137,6 @@ public enum JsonCompression implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Unspecified json file compression.
      * 
@@ -175,8 +145,6 @@ public enum JsonCompression implements com.google.protobuf.ProtocolMessageEnum { */ public static final int JSON_COMPRESSION_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Do not compress JSON file.
      * 
@@ -185,8 +153,6 @@ public enum JsonCompression implements com.google.protobuf.ProtocolMessageEnum { */ public static final int NO_COMPRESSION_VALUE = 1; /** - * - * *
      * Gzip compression.
      * 
@@ -195,6 +161,7 @@ public enum JsonCompression implements com.google.protobuf.ProtocolMessageEnum { */ public static final int GZIP_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -219,45 +186,40 @@ public static JsonCompression valueOf(int value) { */ public static JsonCompression forNumber(int value) { switch (value) { - case 0: - return JSON_COMPRESSION_UNSPECIFIED; - case 1: - return NO_COMPRESSION; - case 2: - return GZIP; - default: - return null; + case 0: return JSON_COMPRESSION_UNSPECIFIED; + case 1: return NO_COMPRESSION; + case 2: return GZIP; + 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< + JsonCompression> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public JsonCompression findValueByNumber(int number) { + return JsonCompression.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public JsonCompression findValueByNumber(int number) { - return JsonCompression.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.datastream.v1alpha1.JsonFileFormat.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.JsonFileFormat.getDescriptor().getEnumTypes().get(0); } private static final JsonCompression[] VALUES = values(); @@ -265,7 +227,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static JsonCompression 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; @@ -285,81 +248,58 @@ private JsonCompression(int value) { public static final int SCHEMA_FILE_FORMAT_FIELD_NUMBER = 1; private int schemaFileFormat_; /** - * - * *
    * The schema file format along JSON data files.
    * 
* * .google.cloud.datastream.v1alpha1.SchemaFileFormat schema_file_format = 1; - * * @return The enum numeric value on the wire for schemaFileFormat. */ - @java.lang.Override - public int getSchemaFileFormatValue() { + @java.lang.Override public int getSchemaFileFormatValue() { return schemaFileFormat_; } /** - * - * *
    * The schema file format along JSON data files.
    * 
* * .google.cloud.datastream.v1alpha1.SchemaFileFormat schema_file_format = 1; - * * @return The schemaFileFormat. */ - @java.lang.Override - public com.google.cloud.datastream.v1alpha1.SchemaFileFormat getSchemaFileFormat() { + @java.lang.Override public com.google.cloud.datastream.v1alpha1.SchemaFileFormat getSchemaFileFormat() { @SuppressWarnings("deprecation") - com.google.cloud.datastream.v1alpha1.SchemaFileFormat result = - com.google.cloud.datastream.v1alpha1.SchemaFileFormat.valueOf(schemaFileFormat_); - return result == null - ? com.google.cloud.datastream.v1alpha1.SchemaFileFormat.UNRECOGNIZED - : result; + com.google.cloud.datastream.v1alpha1.SchemaFileFormat result = com.google.cloud.datastream.v1alpha1.SchemaFileFormat.valueOf(schemaFileFormat_); + return result == null ? com.google.cloud.datastream.v1alpha1.SchemaFileFormat.UNRECOGNIZED : result; } public static final int COMPRESSION_FIELD_NUMBER = 2; private int compression_; /** - * - * *
    * Compression of the loaded JSON file.
    * 
* * .google.cloud.datastream.v1alpha1.JsonFileFormat.JsonCompression compression = 2; - * * @return The enum numeric value on the wire for compression. */ - @java.lang.Override - public int getCompressionValue() { + @java.lang.Override public int getCompressionValue() { return compression_; } /** - * - * *
    * Compression of the loaded JSON file.
    * 
* * .google.cloud.datastream.v1alpha1.JsonFileFormat.JsonCompression compression = 2; - * * @return The compression. */ - @java.lang.Override - public com.google.cloud.datastream.v1alpha1.JsonFileFormat.JsonCompression getCompression() { + @java.lang.Override public com.google.cloud.datastream.v1alpha1.JsonFileFormat.JsonCompression getCompression() { @SuppressWarnings("deprecation") - com.google.cloud.datastream.v1alpha1.JsonFileFormat.JsonCompression result = - com.google.cloud.datastream.v1alpha1.JsonFileFormat.JsonCompression.valueOf(compression_); - return result == null - ? com.google.cloud.datastream.v1alpha1.JsonFileFormat.JsonCompression.UNRECOGNIZED - : result; + com.google.cloud.datastream.v1alpha1.JsonFileFormat.JsonCompression result = com.google.cloud.datastream.v1alpha1.JsonFileFormat.JsonCompression.valueOf(compression_); + return result == null ? com.google.cloud.datastream.v1alpha1.JsonFileFormat.JsonCompression.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -371,16 +311,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (schemaFileFormat_ - != com.google.cloud.datastream.v1alpha1.SchemaFileFormat.SCHEMA_FILE_FORMAT_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (schemaFileFormat_ != com.google.cloud.datastream.v1alpha1.SchemaFileFormat.SCHEMA_FILE_FORMAT_UNSPECIFIED.getNumber()) { output.writeEnum(1, schemaFileFormat_); } - if (compression_ - != com.google.cloud.datastream.v1alpha1.JsonFileFormat.JsonCompression - .JSON_COMPRESSION_UNSPECIFIED - .getNumber()) { + if (compression_ != com.google.cloud.datastream.v1alpha1.JsonFileFormat.JsonCompression.JSON_COMPRESSION_UNSPECIFIED.getNumber()) { output.writeEnum(2, compression_); } unknownFields.writeTo(output); @@ -392,16 +328,13 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (schemaFileFormat_ - != com.google.cloud.datastream.v1alpha1.SchemaFileFormat.SCHEMA_FILE_FORMAT_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, schemaFileFormat_); + if (schemaFileFormat_ != com.google.cloud.datastream.v1alpha1.SchemaFileFormat.SCHEMA_FILE_FORMAT_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, schemaFileFormat_); } - if (compression_ - != com.google.cloud.datastream.v1alpha1.JsonFileFormat.JsonCompression - .JSON_COMPRESSION_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, compression_); + if (compression_ != com.google.cloud.datastream.v1alpha1.JsonFileFormat.JsonCompression.JSON_COMPRESSION_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, compression_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -411,13 +344,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datastream.v1alpha1.JsonFileFormat)) { return super.equals(obj); } - com.google.cloud.datastream.v1alpha1.JsonFileFormat other = - (com.google.cloud.datastream.v1alpha1.JsonFileFormat) obj; + com.google.cloud.datastream.v1alpha1.JsonFileFormat other = (com.google.cloud.datastream.v1alpha1.JsonFileFormat) obj; if (schemaFileFormat_ != other.schemaFileFormat_) return false; if (compression_ != other.compression_) return false; @@ -442,126 +374,117 @@ public int hashCode() { } public static com.google.cloud.datastream.v1alpha1.JsonFileFormat parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.JsonFileFormat parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.JsonFileFormat parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.JsonFileFormat parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.JsonFileFormat parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.JsonFileFormat parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.JsonFileFormat parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.JsonFileFormat parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.JsonFileFormat parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.JsonFileFormat parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.JsonFileFormat parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.JsonFileFormat 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.datastream.v1alpha1.JsonFileFormat parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.JsonFileFormat parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datastream.v1alpha1.JsonFileFormat prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * JSON file format configuration.
    * 
* * Protobuf type {@code google.cloud.datastream.v1alpha1.JsonFileFormat} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1alpha1.JsonFileFormat) com.google.cloud.datastream.v1alpha1.JsonFileFormatOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_JsonFileFormat_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_JsonFileFormat_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_JsonFileFormat_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_JsonFileFormat_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.JsonFileFormat.class, - com.google.cloud.datastream.v1alpha1.JsonFileFormat.Builder.class); + com.google.cloud.datastream.v1alpha1.JsonFileFormat.class, com.google.cloud.datastream.v1alpha1.JsonFileFormat.Builder.class); } // Construct using com.google.cloud.datastream.v1alpha1.JsonFileFormat.newBuilder() @@ -569,15 +492,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -589,9 +513,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_JsonFileFormat_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_JsonFileFormat_descriptor; } @java.lang.Override @@ -610,8 +534,7 @@ public com.google.cloud.datastream.v1alpha1.JsonFileFormat build() { @java.lang.Override public com.google.cloud.datastream.v1alpha1.JsonFileFormat buildPartial() { - com.google.cloud.datastream.v1alpha1.JsonFileFormat result = - new com.google.cloud.datastream.v1alpha1.JsonFileFormat(this); + com.google.cloud.datastream.v1alpha1.JsonFileFormat result = new com.google.cloud.datastream.v1alpha1.JsonFileFormat(this); result.schemaFileFormat_ = schemaFileFormat_; result.compression_ = compression_; onBuilt(); @@ -622,39 +545,38 @@ public com.google.cloud.datastream.v1alpha1.JsonFileFormat buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1alpha1.JsonFileFormat) { - return mergeFrom((com.google.cloud.datastream.v1alpha1.JsonFileFormat) other); + return mergeFrom((com.google.cloud.datastream.v1alpha1.JsonFileFormat)other); } else { super.mergeFrom(other); return this; @@ -662,8 +584,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datastream.v1alpha1.JsonFileFormat other) { - if (other == com.google.cloud.datastream.v1alpha1.JsonFileFormat.getDefaultInstance()) - return this; + if (other == com.google.cloud.datastream.v1alpha1.JsonFileFormat.getDefaultInstance()) return this; if (other.schemaFileFormat_ != 0) { setSchemaFileFormatValue(other.getSchemaFileFormatValue()); } @@ -689,8 +610,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datastream.v1alpha1.JsonFileFormat) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datastream.v1alpha1.JsonFileFormat) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -702,93 +622,73 @@ public Builder mergeFrom( private int schemaFileFormat_ = 0; /** - * - * *
      * The schema file format along JSON data files.
      * 
* * .google.cloud.datastream.v1alpha1.SchemaFileFormat schema_file_format = 1; - * * @return The enum numeric value on the wire for schemaFileFormat. */ - @java.lang.Override - public int getSchemaFileFormatValue() { + @java.lang.Override public int getSchemaFileFormatValue() { return schemaFileFormat_; } /** - * - * *
      * The schema file format along JSON data files.
      * 
* * .google.cloud.datastream.v1alpha1.SchemaFileFormat schema_file_format = 1; - * * @param value The enum numeric value on the wire for schemaFileFormat to set. * @return This builder for chaining. */ public Builder setSchemaFileFormatValue(int value) { - + schemaFileFormat_ = value; onChanged(); return this; } /** - * - * *
      * The schema file format along JSON data files.
      * 
* * .google.cloud.datastream.v1alpha1.SchemaFileFormat schema_file_format = 1; - * * @return The schemaFileFormat. */ @java.lang.Override public com.google.cloud.datastream.v1alpha1.SchemaFileFormat getSchemaFileFormat() { @SuppressWarnings("deprecation") - com.google.cloud.datastream.v1alpha1.SchemaFileFormat result = - com.google.cloud.datastream.v1alpha1.SchemaFileFormat.valueOf(schemaFileFormat_); - return result == null - ? com.google.cloud.datastream.v1alpha1.SchemaFileFormat.UNRECOGNIZED - : result; + com.google.cloud.datastream.v1alpha1.SchemaFileFormat result = com.google.cloud.datastream.v1alpha1.SchemaFileFormat.valueOf(schemaFileFormat_); + return result == null ? com.google.cloud.datastream.v1alpha1.SchemaFileFormat.UNRECOGNIZED : result; } /** - * - * *
      * The schema file format along JSON data files.
      * 
* * .google.cloud.datastream.v1alpha1.SchemaFileFormat schema_file_format = 1; - * * @param value The schemaFileFormat to set. * @return This builder for chaining. */ - public Builder setSchemaFileFormat( - com.google.cloud.datastream.v1alpha1.SchemaFileFormat value) { + public Builder setSchemaFileFormat(com.google.cloud.datastream.v1alpha1.SchemaFileFormat value) { if (value == null) { throw new NullPointerException(); } - + schemaFileFormat_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The schema file format along JSON data files.
      * 
* * .google.cloud.datastream.v1alpha1.SchemaFileFormat schema_file_format = 1; - * * @return This builder for chaining. */ public Builder clearSchemaFileFormat() { - + schemaFileFormat_ = 0; onChanged(); return this; @@ -796,105 +696,80 @@ public Builder clearSchemaFileFormat() { private int compression_ = 0; /** - * - * *
      * Compression of the loaded JSON file.
      * 
* - * .google.cloud.datastream.v1alpha1.JsonFileFormat.JsonCompression compression = 2; - * - * + * .google.cloud.datastream.v1alpha1.JsonFileFormat.JsonCompression compression = 2; * @return The enum numeric value on the wire for compression. */ - @java.lang.Override - public int getCompressionValue() { + @java.lang.Override public int getCompressionValue() { return compression_; } /** - * - * *
      * Compression of the loaded JSON file.
      * 
* - * .google.cloud.datastream.v1alpha1.JsonFileFormat.JsonCompression compression = 2; - * - * + * .google.cloud.datastream.v1alpha1.JsonFileFormat.JsonCompression compression = 2; * @param value The enum numeric value on the wire for compression to set. * @return This builder for chaining. */ public Builder setCompressionValue(int value) { - + compression_ = value; onChanged(); return this; } /** - * - * *
      * Compression of the loaded JSON file.
      * 
* - * .google.cloud.datastream.v1alpha1.JsonFileFormat.JsonCompression compression = 2; - * - * + * .google.cloud.datastream.v1alpha1.JsonFileFormat.JsonCompression compression = 2; * @return The compression. */ @java.lang.Override public com.google.cloud.datastream.v1alpha1.JsonFileFormat.JsonCompression getCompression() { @SuppressWarnings("deprecation") - com.google.cloud.datastream.v1alpha1.JsonFileFormat.JsonCompression result = - com.google.cloud.datastream.v1alpha1.JsonFileFormat.JsonCompression.valueOf(compression_); - return result == null - ? com.google.cloud.datastream.v1alpha1.JsonFileFormat.JsonCompression.UNRECOGNIZED - : result; + com.google.cloud.datastream.v1alpha1.JsonFileFormat.JsonCompression result = com.google.cloud.datastream.v1alpha1.JsonFileFormat.JsonCompression.valueOf(compression_); + return result == null ? com.google.cloud.datastream.v1alpha1.JsonFileFormat.JsonCompression.UNRECOGNIZED : result; } /** - * - * *
      * Compression of the loaded JSON file.
      * 
* - * .google.cloud.datastream.v1alpha1.JsonFileFormat.JsonCompression compression = 2; - * - * + * .google.cloud.datastream.v1alpha1.JsonFileFormat.JsonCompression compression = 2; * @param value The compression to set. * @return This builder for chaining. */ - public Builder setCompression( - com.google.cloud.datastream.v1alpha1.JsonFileFormat.JsonCompression value) { + public Builder setCompression(com.google.cloud.datastream.v1alpha1.JsonFileFormat.JsonCompression value) { if (value == null) { throw new NullPointerException(); } - + compression_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Compression of the loaded JSON file.
      * 
* - * .google.cloud.datastream.v1alpha1.JsonFileFormat.JsonCompression compression = 2; - * - * + * .google.cloud.datastream.v1alpha1.JsonFileFormat.JsonCompression compression = 2; * @return This builder for chaining. */ public Builder clearCompression() { - + compression_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -904,12 +779,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1alpha1.JsonFileFormat) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1alpha1.JsonFileFormat) private static final com.google.cloud.datastream.v1alpha1.JsonFileFormat DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1alpha1.JsonFileFormat(); } @@ -918,16 +793,16 @@ public static com.google.cloud.datastream.v1alpha1.JsonFileFormat getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public JsonFileFormat parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new JsonFileFormat(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public JsonFileFormat parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new JsonFileFormat(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -942,4 +817,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datastream.v1alpha1.JsonFileFormat getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/JsonFileFormatOrBuilder.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/JsonFileFormatOrBuilder.java similarity index 67% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/JsonFileFormatOrBuilder.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/JsonFileFormatOrBuilder.java index ec2d9fa3..695c2e74 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/JsonFileFormatOrBuilder.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/JsonFileFormatOrBuilder.java @@ -1,74 +1,46 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1alpha1/datastream_resources.proto package com.google.cloud.datastream.v1alpha1; -public interface JsonFileFormatOrBuilder - extends +public interface JsonFileFormatOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1alpha1.JsonFileFormat) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The schema file format along JSON data files.
    * 
* * .google.cloud.datastream.v1alpha1.SchemaFileFormat schema_file_format = 1; - * * @return The enum numeric value on the wire for schemaFileFormat. */ int getSchemaFileFormatValue(); /** - * - * *
    * The schema file format along JSON data files.
    * 
* * .google.cloud.datastream.v1alpha1.SchemaFileFormat schema_file_format = 1; - * * @return The schemaFileFormat. */ com.google.cloud.datastream.v1alpha1.SchemaFileFormat getSchemaFileFormat(); /** - * - * *
    * Compression of the loaded JSON file.
    * 
* * .google.cloud.datastream.v1alpha1.JsonFileFormat.JsonCompression compression = 2; - * * @return The enum numeric value on the wire for compression. */ int getCompressionValue(); /** - * - * *
    * Compression of the loaded JSON file.
    * 
* * .google.cloud.datastream.v1alpha1.JsonFileFormat.JsonCompression compression = 2; - * * @return The compression. */ com.google.cloud.datastream.v1alpha1.JsonFileFormat.JsonCompression getCompression(); diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListConnectionProfilesRequest.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListConnectionProfilesRequest.java similarity index 68% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListConnectionProfilesRequest.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListConnectionProfilesRequest.java index e452d44b..8b40ff30 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListConnectionProfilesRequest.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListConnectionProfilesRequest.java @@ -1,34 +1,20 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1alpha1/datastream.proto package com.google.cloud.datastream.v1alpha1; -/** Protobuf type {@code google.cloud.datastream.v1alpha1.ListConnectionProfilesRequest} */ -public final class ListConnectionProfilesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +/** + * Protobuf type {@code google.cloud.datastream.v1alpha1.ListConnectionProfilesRequest} + */ +public final class ListConnectionProfilesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1alpha1.ListConnectionProfilesRequest) ListConnectionProfilesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListConnectionProfilesRequest.newBuilder() to construct. private ListConnectionProfilesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListConnectionProfilesRequest() { parent_ = ""; pageToken_ = ""; @@ -38,15 +24,16 @@ private ListConnectionProfilesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListConnectionProfilesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListConnectionProfilesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -65,46 +52,42 @@ private ListConnectionProfilesRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - orderBy_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + filter_ = s; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + orderBy_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -112,41 +95,34 @@ private ListConnectionProfilesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_ListConnectionProfilesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_ListConnectionProfilesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_ListConnectionProfilesRequest_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_ListConnectionProfilesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.ListConnectionProfilesRequest.class, - com.google.cloud.datastream.v1alpha1.ListConnectionProfilesRequest.Builder.class); + com.google.cloud.datastream.v1alpha1.ListConnectionProfilesRequest.class, com.google.cloud.datastream.v1alpha1.ListConnectionProfilesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The parent that owns the collection of connection profiles.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -155,31 +131,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The parent that owns the collection of connection profiles.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -190,8 +164,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * Maximum number of connection profiles to return.
    * If unspecified, at most 50 connection profiles will be returned.
@@ -199,7 +171,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -210,8 +181,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * Page token received from a previous `ListConnectionProfiles` call.
    * Provide this to retrieve the subsequent page.
@@ -220,7 +189,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -229,15 +197,14 @@ 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 received from a previous `ListConnectionProfiles` call.
    * Provide this to retrieve the subsequent page.
@@ -246,15 +213,16 @@ public java.lang.String getPageToken() {
    * 
* * 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 { @@ -265,14 +233,11 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** - * - * *
    * Filter request.
    * 
* * string filter = 4; - * * @return The filter. */ @java.lang.Override @@ -281,29 +246,29 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** - * - * *
    * Filter request.
    * 
* * 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 { @@ -314,14 +279,11 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int ORDER_BY_FIELD_NUMBER = 5; private volatile java.lang.Object orderBy_; /** - * - * *
    * Order by fields for the result.
    * 
* * string order_by = 5; - * * @return The orderBy. */ @java.lang.Override @@ -330,29 +292,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; } } /** - * - * *
    * Order by fields for the result.
    * 
* * 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 { @@ -361,7 +323,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -373,7 +334,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_); } @@ -402,7 +364,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_); @@ -421,19 +384,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.datastream.v1alpha1.ListConnectionProfilesRequest)) { return super.equals(obj); } - com.google.cloud.datastream.v1alpha1.ListConnectionProfilesRequest other = - (com.google.cloud.datastream.v1alpha1.ListConnectionProfilesRequest) 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.datastream.v1alpha1.ListConnectionProfilesRequest other = (com.google.cloud.datastream.v1alpha1.ListConnectionProfilesRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; + if (!getOrderBy() + .equals(other.getOrderBy())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -461,137 +428,130 @@ public int hashCode() { } public static com.google.cloud.datastream.v1alpha1.ListConnectionProfilesRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.ListConnectionProfilesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.ListConnectionProfilesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.ListConnectionProfilesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.ListConnectionProfilesRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.datastream.v1alpha1.ListConnectionProfilesRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.ListConnectionProfilesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.ListConnectionProfilesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.ListConnectionProfilesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.ListConnectionProfilesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.ListConnectionProfilesRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.ListConnectionProfilesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.datastream.v1alpha1.ListConnectionProfilesRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.datastream.v1alpha1.ListConnectionProfilesRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.ListConnectionProfilesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.ListConnectionProfilesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datastream.v1alpha1.ListConnectionProfilesRequest prototype) { + public static Builder newBuilder(com.google.cloud.datastream.v1alpha1.ListConnectionProfilesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } - /** Protobuf type {@code google.cloud.datastream.v1alpha1.ListConnectionProfilesRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + /** + * Protobuf type {@code google.cloud.datastream.v1alpha1.ListConnectionProfilesRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1alpha1.ListConnectionProfilesRequest) com.google.cloud.datastream.v1alpha1.ListConnectionProfilesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_ListConnectionProfilesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_ListConnectionProfilesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_ListConnectionProfilesRequest_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_ListConnectionProfilesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.ListConnectionProfilesRequest.class, - com.google.cloud.datastream.v1alpha1.ListConnectionProfilesRequest.Builder.class); + com.google.cloud.datastream.v1alpha1.ListConnectionProfilesRequest.class, com.google.cloud.datastream.v1alpha1.ListConnectionProfilesRequest.Builder.class); } - // Construct using - // com.google.cloud.datastream.v1alpha1.ListConnectionProfilesRequest.newBuilder() + // Construct using com.google.cloud.datastream.v1alpha1.ListConnectionProfilesRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -609,16 +569,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_ListConnectionProfilesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_ListConnectionProfilesRequest_descriptor; } @java.lang.Override - public com.google.cloud.datastream.v1alpha1.ListConnectionProfilesRequest - getDefaultInstanceForType() { - return com.google.cloud.datastream.v1alpha1.ListConnectionProfilesRequest - .getDefaultInstance(); + public com.google.cloud.datastream.v1alpha1.ListConnectionProfilesRequest getDefaultInstanceForType() { + return com.google.cloud.datastream.v1alpha1.ListConnectionProfilesRequest.getDefaultInstance(); } @java.lang.Override @@ -632,8 +590,7 @@ public com.google.cloud.datastream.v1alpha1.ListConnectionProfilesRequest build( @java.lang.Override public com.google.cloud.datastream.v1alpha1.ListConnectionProfilesRequest buildPartial() { - com.google.cloud.datastream.v1alpha1.ListConnectionProfilesRequest result = - new com.google.cloud.datastream.v1alpha1.ListConnectionProfilesRequest(this); + com.google.cloud.datastream.v1alpha1.ListConnectionProfilesRequest result = new com.google.cloud.datastream.v1alpha1.ListConnectionProfilesRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -647,51 +604,46 @@ public com.google.cloud.datastream.v1alpha1.ListConnectionProfilesRequest buildP public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1alpha1.ListConnectionProfilesRequest) { - return mergeFrom( - (com.google.cloud.datastream.v1alpha1.ListConnectionProfilesRequest) other); + return mergeFrom((com.google.cloud.datastream.v1alpha1.ListConnectionProfilesRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.datastream.v1alpha1.ListConnectionProfilesRequest other) { - if (other - == com.google.cloud.datastream.v1alpha1.ListConnectionProfilesRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.datastream.v1alpha1.ListConnectionProfilesRequest other) { + if (other == com.google.cloud.datastream.v1alpha1.ListConnectionProfilesRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -730,9 +682,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datastream.v1alpha1.ListConnectionProfilesRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datastream.v1alpha1.ListConnectionProfilesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -744,22 +694,18 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent that owns the collection of connection profiles.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -768,23 +714,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent that owns the collection of connection profiles.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -792,76 +735,61 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent that owns the collection of connection profiles.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The parent that owns the collection of connection profiles.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The parent that owns the collection of connection profiles.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Maximum number of connection profiles to return.
      * If unspecified, at most 50 connection profiles will be returned.
@@ -869,7 +797,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -877,8 +804,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Maximum number of connection profiles to return.
      * If unspecified, at most 50 connection profiles will be returned.
@@ -886,19 +811,16 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * Maximum number of connection profiles to return.
      * If unspecified, at most 50 connection profiles will be returned.
@@ -906,11 +828,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -918,8 +839,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * Page token received from a previous `ListConnectionProfiles` call.
      * Provide this to retrieve the subsequent page.
@@ -928,13 +847,13 @@ public Builder clearPageSize() {
      * 
* * 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; @@ -943,8 +862,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * Page token received from a previous `ListConnectionProfiles` call.
      * Provide this to retrieve the subsequent page.
@@ -953,14 +870,15 @@ public java.lang.String getPageToken() {
      * 
* * 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 { @@ -968,8 +886,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * Page token received from a previous `ListConnectionProfiles` call.
      * Provide this to retrieve the subsequent page.
@@ -978,22 +894,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * Page token received from a previous `ListConnectionProfiles` call.
      * Provide this to retrieve the subsequent page.
@@ -1002,18 +916,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * Page token received from a previous `ListConnectionProfiles` call.
      * Provide this to retrieve the subsequent page.
@@ -1022,16 +933,16 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -1039,20 +950,18 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * Filter request.
      * 
* * 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; @@ -1061,21 +970,20 @@ public java.lang.String getFilter() { } } /** - * - * *
      * Filter request.
      * 
* * 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 { @@ -1083,61 +991,54 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * Filter request.
      * 
* * string filter = 4; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
      * Filter request.
      * 
* * string filter = 4; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * Filter request.
      * 
* * string filter = 4; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; @@ -1145,20 +1046,18 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { private java.lang.Object orderBy_ = ""; /** - * - * *
      * Order by fields for the result.
      * 
* * 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; @@ -1167,21 +1066,20 @@ public java.lang.String getOrderBy() { } } /** - * - * *
      * Order by fields for the result.
      * 
* * 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 { @@ -1189,68 +1087,61 @@ public com.google.protobuf.ByteString getOrderByBytes() { } } /** - * - * *
      * Order by fields for the result.
      * 
* * string order_by = 5; - * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy(java.lang.String value) { + public Builder setOrderBy( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; onChanged(); return this; } /** - * - * *
      * Order by fields for the result.
      * 
* * string order_by = 5; - * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** - * - * *
      * Order by fields for the result.
      * 
* * string order_by = 5; - * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + public Builder setOrderByBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1260,32 +1151,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1alpha1.ListConnectionProfilesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1alpha1.ListConnectionProfilesRequest) - private static final com.google.cloud.datastream.v1alpha1.ListConnectionProfilesRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.datastream.v1alpha1.ListConnectionProfilesRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1alpha1.ListConnectionProfilesRequest(); } - public static com.google.cloud.datastream.v1alpha1.ListConnectionProfilesRequest - getDefaultInstance() { + public static com.google.cloud.datastream.v1alpha1.ListConnectionProfilesRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListConnectionProfilesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListConnectionProfilesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListConnectionProfilesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListConnectionProfilesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1297,8 +1186,9 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.cloud.datastream.v1alpha1.ListConnectionProfilesRequest - getDefaultInstanceForType() { + public com.google.cloud.datastream.v1alpha1.ListConnectionProfilesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListConnectionProfilesRequestOrBuilder.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListConnectionProfilesRequestOrBuilder.java similarity index 65% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListConnectionProfilesRequestOrBuilder.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListConnectionProfilesRequestOrBuilder.java index d5654501..da42c046 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListConnectionProfilesRequestOrBuilder.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListConnectionProfilesRequestOrBuilder.java @@ -1,60 +1,33 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1alpha1/datastream.proto package com.google.cloud.datastream.v1alpha1; -public interface ListConnectionProfilesRequestOrBuilder - extends +public interface ListConnectionProfilesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1alpha1.ListConnectionProfilesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The parent that owns the collection of connection profiles.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The parent that owns the collection of connection profiles.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Maximum number of connection profiles to return.
    * If unspecified, at most 50 connection profiles will be returned.
@@ -62,14 +35,11 @@ public interface ListConnectionProfilesRequestOrBuilder
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * Page token received from a previous `ListConnectionProfiles` call.
    * Provide this to retrieve the subsequent page.
@@ -78,13 +48,10 @@ public interface ListConnectionProfilesRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * Page token received from a previous `ListConnectionProfiles` call.
    * Provide this to retrieve the subsequent page.
@@ -93,58 +60,48 @@ public interface ListConnectionProfilesRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * Filter request.
    * 
* * string filter = 4; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * Filter request.
    * 
* * string filter = 4; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * Order by fields for the result.
    * 
* * string order_by = 5; - * * @return The orderBy. */ java.lang.String getOrderBy(); /** - * - * *
    * Order by fields for the result.
    * 
* * string order_by = 5; - * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString getOrderByBytes(); + com.google.protobuf.ByteString + getOrderByBytes(); } diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListConnectionProfilesResponse.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListConnectionProfilesResponse.java similarity index 69% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListConnectionProfilesResponse.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListConnectionProfilesResponse.java index 5627d9e6..cb601ee2 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListConnectionProfilesResponse.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListConnectionProfilesResponse.java @@ -1,35 +1,20 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1alpha1/datastream.proto package com.google.cloud.datastream.v1alpha1; -/** Protobuf type {@code google.cloud.datastream.v1alpha1.ListConnectionProfilesResponse} */ -public final class ListConnectionProfilesResponse extends com.google.protobuf.GeneratedMessageV3 - implements +/** + * Protobuf type {@code google.cloud.datastream.v1alpha1.ListConnectionProfilesResponse} + */ +public final class ListConnectionProfilesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1alpha1.ListConnectionProfilesResponse) ListConnectionProfilesResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListConnectionProfilesResponse.newBuilder() to construct. - private ListConnectionProfilesResponse( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListConnectionProfilesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListConnectionProfilesResponse() { connectionProfiles_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -38,15 +23,16 @@ private ListConnectionProfilesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListConnectionProfilesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListConnectionProfilesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -66,44 +52,37 @@ private ListConnectionProfilesResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - connectionProfiles_ = - new java.util.ArrayList< - com.google.cloud.datastream.v1alpha1.ConnectionProfile>(); - mutable_bitField0_ |= 0x00000001; - } - connectionProfiles_.add( - input.readMessage( - com.google.cloud.datastream.v1alpha1.ConnectionProfile.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + connectionProfiles_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + connectionProfiles_.add( + input.readMessage(com.google.cloud.datastream.v1alpha1.ConnectionProfile.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - unreachable_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; - } - unreachable_.add(s); - break; + nextPageToken_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + unreachable_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + unreachable_.add(s); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -111,7 +90,8 @@ private ListConnectionProfilesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { connectionProfiles_ = java.util.Collections.unmodifiableList(connectionProfiles_); @@ -123,111 +103,88 @@ private ListConnectionProfilesResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_ListConnectionProfilesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_ListConnectionProfilesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_ListConnectionProfilesResponse_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_ListConnectionProfilesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.ListConnectionProfilesResponse.class, - com.google.cloud.datastream.v1alpha1.ListConnectionProfilesResponse.Builder.class); + com.google.cloud.datastream.v1alpha1.ListConnectionProfilesResponse.class, com.google.cloud.datastream.v1alpha1.ListConnectionProfilesResponse.Builder.class); } public static final int CONNECTION_PROFILES_FIELD_NUMBER = 1; - private java.util.List - connectionProfiles_; + private java.util.List connectionProfiles_; /** - * - * *
    * List of connection profiles.
    * 
* - * repeated .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profiles = 1; - * + * repeated .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profiles = 1; */ @java.lang.Override - public java.util.List - getConnectionProfilesList() { + public java.util.List getConnectionProfilesList() { return connectionProfiles_; } /** - * - * *
    * List of connection profiles.
    * 
* - * repeated .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profiles = 1; - * + * repeated .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profiles = 1; */ @java.lang.Override - public java.util.List + public java.util.List getConnectionProfilesOrBuilderList() { return connectionProfiles_; } /** - * - * *
    * List of connection profiles.
    * 
* - * repeated .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profiles = 1; - * + * repeated .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profiles = 1; */ @java.lang.Override public int getConnectionProfilesCount() { return connectionProfiles_.size(); } /** - * - * *
    * List of connection profiles.
    * 
* - * repeated .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profiles = 1; - * + * repeated .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profiles = 1; */ @java.lang.Override public com.google.cloud.datastream.v1alpha1.ConnectionProfile getConnectionProfiles(int index) { return connectionProfiles_.get(index); } /** - * - * *
    * List of connection profiles.
    * 
* - * repeated .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profiles = 1; - * + * repeated .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profiles = 1; */ @java.lang.Override - public com.google.cloud.datastream.v1alpha1.ConnectionProfileOrBuilder - getConnectionProfilesOrBuilder(int index) { + public com.google.cloud.datastream.v1alpha1.ConnectionProfileOrBuilder getConnectionProfilesOrBuilder( + int index) { return connectionProfiles_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -236,30 +193,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * 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 { @@ -270,42 +227,34 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { public static final int UNREACHABLE_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList unreachable_; /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList getUnreachableList() { + public com.google.protobuf.ProtocolStringList + getUnreachableList() { return unreachable_; } /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -313,23 +262,20 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString getUnreachableBytes(int index) { + public com.google.protobuf.ByteString + getUnreachableBytes(int index) { return unreachable_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -341,7 +287,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 < connectionProfiles_.size(); i++) { output.writeMessage(1, connectionProfiles_.get(i)); } @@ -361,8 +308,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < connectionProfiles_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(1, connectionProfiles_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, connectionProfiles_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -383,17 +330,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.datastream.v1alpha1.ListConnectionProfilesResponse)) { return super.equals(obj); } - com.google.cloud.datastream.v1alpha1.ListConnectionProfilesResponse other = - (com.google.cloud.datastream.v1alpha1.ListConnectionProfilesResponse) obj; + com.google.cloud.datastream.v1alpha1.ListConnectionProfilesResponse other = (com.google.cloud.datastream.v1alpha1.ListConnectionProfilesResponse) obj; - if (!getConnectionProfilesList().equals(other.getConnectionProfilesList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; - if (!getUnreachableList().equals(other.getUnreachableList())) return false; + if (!getConnectionProfilesList() + .equals(other.getConnectionProfilesList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; + if (!getUnreachableList() + .equals(other.getUnreachableList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -421,139 +370,131 @@ public int hashCode() { } public static com.google.cloud.datastream.v1alpha1.ListConnectionProfilesResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.ListConnectionProfilesResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.ListConnectionProfilesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.ListConnectionProfilesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.ListConnectionProfilesResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.datastream.v1alpha1.ListConnectionProfilesResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.ListConnectionProfilesResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.ListConnectionProfilesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.ListConnectionProfilesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.ListConnectionProfilesResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.ListConnectionProfilesResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.ListConnectionProfilesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.datastream.v1alpha1.ListConnectionProfilesResponse - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.datastream.v1alpha1.ListConnectionProfilesResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.ListConnectionProfilesResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.ListConnectionProfilesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datastream.v1alpha1.ListConnectionProfilesResponse prototype) { + public static Builder newBuilder(com.google.cloud.datastream.v1alpha1.ListConnectionProfilesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } - /** Protobuf type {@code google.cloud.datastream.v1alpha1.ListConnectionProfilesResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + /** + * Protobuf type {@code google.cloud.datastream.v1alpha1.ListConnectionProfilesResponse} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1alpha1.ListConnectionProfilesResponse) com.google.cloud.datastream.v1alpha1.ListConnectionProfilesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_ListConnectionProfilesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_ListConnectionProfilesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_ListConnectionProfilesResponse_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_ListConnectionProfilesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.ListConnectionProfilesResponse.class, - com.google.cloud.datastream.v1alpha1.ListConnectionProfilesResponse.Builder.class); + com.google.cloud.datastream.v1alpha1.ListConnectionProfilesResponse.class, com.google.cloud.datastream.v1alpha1.ListConnectionProfilesResponse.Builder.class); } - // Construct using - // com.google.cloud.datastream.v1alpha1.ListConnectionProfilesResponse.newBuilder() + // Construct using com.google.cloud.datastream.v1alpha1.ListConnectionProfilesResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getConnectionProfilesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -571,16 +512,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_ListConnectionProfilesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_ListConnectionProfilesResponse_descriptor; } @java.lang.Override - public com.google.cloud.datastream.v1alpha1.ListConnectionProfilesResponse - getDefaultInstanceForType() { - return com.google.cloud.datastream.v1alpha1.ListConnectionProfilesResponse - .getDefaultInstance(); + public com.google.cloud.datastream.v1alpha1.ListConnectionProfilesResponse getDefaultInstanceForType() { + return com.google.cloud.datastream.v1alpha1.ListConnectionProfilesResponse.getDefaultInstance(); } @java.lang.Override @@ -594,8 +533,7 @@ public com.google.cloud.datastream.v1alpha1.ListConnectionProfilesResponse build @java.lang.Override public com.google.cloud.datastream.v1alpha1.ListConnectionProfilesResponse buildPartial() { - com.google.cloud.datastream.v1alpha1.ListConnectionProfilesResponse result = - new com.google.cloud.datastream.v1alpha1.ListConnectionProfilesResponse(this); + com.google.cloud.datastream.v1alpha1.ListConnectionProfilesResponse result = new com.google.cloud.datastream.v1alpha1.ListConnectionProfilesResponse(this); int from_bitField0_ = bitField0_; if (connectionProfilesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -620,51 +558,46 @@ public com.google.cloud.datastream.v1alpha1.ListConnectionProfilesResponse build public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1alpha1.ListConnectionProfilesResponse) { - return mergeFrom( - (com.google.cloud.datastream.v1alpha1.ListConnectionProfilesResponse) other); + return mergeFrom((com.google.cloud.datastream.v1alpha1.ListConnectionProfilesResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.datastream.v1alpha1.ListConnectionProfilesResponse other) { - if (other - == com.google.cloud.datastream.v1alpha1.ListConnectionProfilesResponse - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.datastream.v1alpha1.ListConnectionProfilesResponse other) { + if (other == com.google.cloud.datastream.v1alpha1.ListConnectionProfilesResponse.getDefaultInstance()) return this; if (connectionProfilesBuilder_ == null) { if (!other.connectionProfiles_.isEmpty()) { if (connectionProfiles_.isEmpty()) { @@ -683,10 +616,9 @@ public Builder mergeFrom( connectionProfilesBuilder_ = null; connectionProfiles_ = other.connectionProfiles_; bitField0_ = (bitField0_ & ~0x00000001); - connectionProfilesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getConnectionProfilesFieldBuilder() - : null; + connectionProfilesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getConnectionProfilesFieldBuilder() : null; } else { connectionProfilesBuilder_.addAllMessages(other.connectionProfiles_); } @@ -725,9 +657,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datastream.v1alpha1.ListConnectionProfilesResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datastream.v1alpha1.ListConnectionProfilesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -736,39 +666,28 @@ public Builder mergeFrom( } return this; } - private int bitField0_; - private java.util.List - connectionProfiles_ = java.util.Collections.emptyList(); - + private java.util.List connectionProfiles_ = + java.util.Collections.emptyList(); private void ensureConnectionProfilesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - connectionProfiles_ = - new java.util.ArrayList( - connectionProfiles_); + connectionProfiles_ = new java.util.ArrayList(connectionProfiles_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.ConnectionProfile, - com.google.cloud.datastream.v1alpha1.ConnectionProfile.Builder, - com.google.cloud.datastream.v1alpha1.ConnectionProfileOrBuilder> - connectionProfilesBuilder_; + com.google.cloud.datastream.v1alpha1.ConnectionProfile, com.google.cloud.datastream.v1alpha1.ConnectionProfile.Builder, com.google.cloud.datastream.v1alpha1.ConnectionProfileOrBuilder> connectionProfilesBuilder_; /** - * - * *
      * List of connection profiles.
      * 
* - * repeated .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profiles = 1; - * + * repeated .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profiles = 1; */ - public java.util.List - getConnectionProfilesList() { + public java.util.List getConnectionProfilesList() { if (connectionProfilesBuilder_ == null) { return java.util.Collections.unmodifiableList(connectionProfiles_); } else { @@ -776,14 +695,11 @@ private void ensureConnectionProfilesIsMutable() { } } /** - * - * *
      * List of connection profiles.
      * 
* - * repeated .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profiles = 1; - * + * repeated .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profiles = 1; */ public int getConnectionProfilesCount() { if (connectionProfilesBuilder_ == null) { @@ -793,14 +709,11 @@ public int getConnectionProfilesCount() { } } /** - * - * *
      * List of connection profiles.
      * 
* - * repeated .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profiles = 1; - * + * repeated .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profiles = 1; */ public com.google.cloud.datastream.v1alpha1.ConnectionProfile getConnectionProfiles(int index) { if (connectionProfilesBuilder_ == null) { @@ -810,14 +723,11 @@ public com.google.cloud.datastream.v1alpha1.ConnectionProfile getConnectionProfi } } /** - * - * *
      * List of connection profiles.
      * 
* - * repeated .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profiles = 1; - * + * repeated .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profiles = 1; */ public Builder setConnectionProfiles( int index, com.google.cloud.datastream.v1alpha1.ConnectionProfile value) { @@ -834,14 +744,11 @@ public Builder setConnectionProfiles( return this; } /** - * - * *
      * List of connection profiles.
      * 
* - * repeated .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profiles = 1; - * + * repeated .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profiles = 1; */ public Builder setConnectionProfiles( int index, com.google.cloud.datastream.v1alpha1.ConnectionProfile.Builder builderForValue) { @@ -855,17 +762,13 @@ public Builder setConnectionProfiles( return this; } /** - * - * *
      * List of connection profiles.
      * 
* - * repeated .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profiles = 1; - * + * repeated .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profiles = 1; */ - public Builder addConnectionProfiles( - com.google.cloud.datastream.v1alpha1.ConnectionProfile value) { + public Builder addConnectionProfiles(com.google.cloud.datastream.v1alpha1.ConnectionProfile value) { if (connectionProfilesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -879,14 +782,11 @@ public Builder addConnectionProfiles( return this; } /** - * - * *
      * List of connection profiles.
      * 
* - * repeated .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profiles = 1; - * + * repeated .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profiles = 1; */ public Builder addConnectionProfiles( int index, com.google.cloud.datastream.v1alpha1.ConnectionProfile value) { @@ -903,14 +803,11 @@ public Builder addConnectionProfiles( return this; } /** - * - * *
      * List of connection profiles.
      * 
* - * repeated .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profiles = 1; - * + * repeated .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profiles = 1; */ public Builder addConnectionProfiles( com.google.cloud.datastream.v1alpha1.ConnectionProfile.Builder builderForValue) { @@ -924,14 +821,11 @@ public Builder addConnectionProfiles( return this; } /** - * - * *
      * List of connection profiles.
      * 
* - * repeated .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profiles = 1; - * + * repeated .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profiles = 1; */ public Builder addConnectionProfiles( int index, com.google.cloud.datastream.v1alpha1.ConnectionProfile.Builder builderForValue) { @@ -945,21 +839,18 @@ public Builder addConnectionProfiles( return this; } /** - * - * *
      * List of connection profiles.
      * 
* - * repeated .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profiles = 1; - * + * repeated .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profiles = 1; */ public Builder addAllConnectionProfiles( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (connectionProfilesBuilder_ == null) { ensureConnectionProfilesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, connectionProfiles_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, connectionProfiles_); onChanged(); } else { connectionProfilesBuilder_.addAllMessages(values); @@ -967,14 +858,11 @@ public Builder addAllConnectionProfiles( return this; } /** - * - * *
      * List of connection profiles.
      * 
* - * repeated .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profiles = 1; - * + * repeated .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profiles = 1; */ public Builder clearConnectionProfiles() { if (connectionProfilesBuilder_ == null) { @@ -987,14 +875,11 @@ public Builder clearConnectionProfiles() { return this; } /** - * - * *
      * List of connection profiles.
      * 
* - * repeated .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profiles = 1; - * + * repeated .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profiles = 1; */ public Builder removeConnectionProfiles(int index) { if (connectionProfilesBuilder_ == null) { @@ -1007,49 +892,39 @@ public Builder removeConnectionProfiles(int index) { return this; } /** - * - * *
      * List of connection profiles.
      * 
* - * repeated .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profiles = 1; - * + * repeated .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profiles = 1; */ - public com.google.cloud.datastream.v1alpha1.ConnectionProfile.Builder - getConnectionProfilesBuilder(int index) { + public com.google.cloud.datastream.v1alpha1.ConnectionProfile.Builder getConnectionProfilesBuilder( + int index) { return getConnectionProfilesFieldBuilder().getBuilder(index); } /** - * - * *
      * List of connection profiles.
      * 
* - * repeated .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profiles = 1; - * + * repeated .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profiles = 1; */ - public com.google.cloud.datastream.v1alpha1.ConnectionProfileOrBuilder - getConnectionProfilesOrBuilder(int index) { + public com.google.cloud.datastream.v1alpha1.ConnectionProfileOrBuilder getConnectionProfilesOrBuilder( + int index) { if (connectionProfilesBuilder_ == null) { - return connectionProfiles_.get(index); - } else { + return connectionProfiles_.get(index); } else { return connectionProfilesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * List of connection profiles.
      * 
* - * repeated .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profiles = 1; - * + * repeated .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profiles = 1; */ - public java.util.List - getConnectionProfilesOrBuilderList() { + public java.util.List + getConnectionProfilesOrBuilderList() { if (connectionProfilesBuilder_ != null) { return connectionProfilesBuilder_.getMessageOrBuilderList(); } else { @@ -1057,62 +932,45 @@ public Builder removeConnectionProfiles(int index) { } } /** - * - * *
      * List of connection profiles.
      * 
* - * repeated .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profiles = 1; - * + * repeated .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profiles = 1; */ - public com.google.cloud.datastream.v1alpha1.ConnectionProfile.Builder - addConnectionProfilesBuilder() { - return getConnectionProfilesFieldBuilder() - .addBuilder(com.google.cloud.datastream.v1alpha1.ConnectionProfile.getDefaultInstance()); + public com.google.cloud.datastream.v1alpha1.ConnectionProfile.Builder addConnectionProfilesBuilder() { + return getConnectionProfilesFieldBuilder().addBuilder( + com.google.cloud.datastream.v1alpha1.ConnectionProfile.getDefaultInstance()); } /** - * - * *
      * List of connection profiles.
      * 
* - * repeated .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profiles = 1; - * + * repeated .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profiles = 1; */ - public com.google.cloud.datastream.v1alpha1.ConnectionProfile.Builder - addConnectionProfilesBuilder(int index) { - return getConnectionProfilesFieldBuilder() - .addBuilder( - index, com.google.cloud.datastream.v1alpha1.ConnectionProfile.getDefaultInstance()); + public com.google.cloud.datastream.v1alpha1.ConnectionProfile.Builder addConnectionProfilesBuilder( + int index) { + return getConnectionProfilesFieldBuilder().addBuilder( + index, com.google.cloud.datastream.v1alpha1.ConnectionProfile.getDefaultInstance()); } /** - * - * *
      * List of connection profiles.
      * 
* - * repeated .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profiles = 1; - * + * repeated .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profiles = 1; */ - public java.util.List - getConnectionProfilesBuilderList() { + public java.util.List + getConnectionProfilesBuilderList() { return getConnectionProfilesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.ConnectionProfile, - com.google.cloud.datastream.v1alpha1.ConnectionProfile.Builder, - com.google.cloud.datastream.v1alpha1.ConnectionProfileOrBuilder> + com.google.cloud.datastream.v1alpha1.ConnectionProfile, com.google.cloud.datastream.v1alpha1.ConnectionProfile.Builder, com.google.cloud.datastream.v1alpha1.ConnectionProfileOrBuilder> getConnectionProfilesFieldBuilder() { if (connectionProfilesBuilder_ == null) { - connectionProfilesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.ConnectionProfile, - com.google.cloud.datastream.v1alpha1.ConnectionProfile.Builder, - com.google.cloud.datastream.v1alpha1.ConnectionProfileOrBuilder>( + connectionProfilesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datastream.v1alpha1.ConnectionProfile, com.google.cloud.datastream.v1alpha1.ConnectionProfile.Builder, com.google.cloud.datastream.v1alpha1.ConnectionProfileOrBuilder>( connectionProfiles_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1124,21 +982,19 @@ public Builder removeConnectionProfiles(int index) { private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * 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; @@ -1147,22 +1003,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * 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 { @@ -1170,115 +1025,98 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList unreachable_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList unreachable_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureUnreachableIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList getUnreachableList() { + public com.google.protobuf.ProtocolStringList + getUnreachableList() { return unreachable_.getUnmodifiableView(); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1286,90 +1124,80 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString getUnreachableBytes(int index) { + public com.google.protobuf.ByteString + getUnreachableBytes(int index) { return unreachable_.getByteString(index); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param index The index to set the value at. * @param value The unreachable to set. * @return This builder for chaining. */ - public Builder setUnreachable(int index, java.lang.String value) { + public Builder setUnreachable( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.set(index, value); onChanged(); return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param value The unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachable(java.lang.String value) { + public Builder addUnreachable( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.add(value); onChanged(); return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param values The unreachable to add. * @return This builder for chaining. */ - public Builder addAllUnreachable(java.lang.Iterable values) { + public Builder addAllUnreachable( + java.lang.Iterable values) { ensureUnreachableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachable_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, unreachable_); onChanged(); return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @return This builder for chaining. */ public Builder clearUnreachable() { @@ -1379,30 +1207,28 @@ public Builder clearUnreachable() { return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param value The bytes of the unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { + public Builder addUnreachableBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.add(value); onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1412,32 +1238,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1alpha1.ListConnectionProfilesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1alpha1.ListConnectionProfilesResponse) - private static final com.google.cloud.datastream.v1alpha1.ListConnectionProfilesResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.datastream.v1alpha1.ListConnectionProfilesResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1alpha1.ListConnectionProfilesResponse(); } - public static com.google.cloud.datastream.v1alpha1.ListConnectionProfilesResponse - getDefaultInstance() { + public static com.google.cloud.datastream.v1alpha1.ListConnectionProfilesResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListConnectionProfilesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListConnectionProfilesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListConnectionProfilesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListConnectionProfilesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1449,8 +1273,9 @@ public com.google.protobuf.Parser getParserForTy } @java.lang.Override - public com.google.cloud.datastream.v1alpha1.ListConnectionProfilesResponse - getDefaultInstanceForType() { + public com.google.cloud.datastream.v1alpha1.ListConnectionProfilesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListConnectionProfilesResponseOrBuilder.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListConnectionProfilesResponseOrBuilder.java similarity index 70% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListConnectionProfilesResponseOrBuilder.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListConnectionProfilesResponseOrBuilder.java index e95e734c..bb524cd9 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListConnectionProfilesResponseOrBuilder.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListConnectionProfilesResponseOrBuilder.java @@ -1,162 +1,116 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1alpha1/datastream.proto package com.google.cloud.datastream.v1alpha1; -public interface ListConnectionProfilesResponseOrBuilder - extends +public interface ListConnectionProfilesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1alpha1.ListConnectionProfilesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * List of connection profiles.
    * 
* - * repeated .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profiles = 1; - * + * repeated .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profiles = 1; */ - java.util.List + java.util.List getConnectionProfilesList(); /** - * - * *
    * List of connection profiles.
    * 
* - * repeated .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profiles = 1; - * + * repeated .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profiles = 1; */ com.google.cloud.datastream.v1alpha1.ConnectionProfile getConnectionProfiles(int index); /** - * - * *
    * List of connection profiles.
    * 
* - * repeated .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profiles = 1; - * + * repeated .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profiles = 1; */ int getConnectionProfilesCount(); /** - * - * *
    * List of connection profiles.
    * 
* - * repeated .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profiles = 1; - * + * repeated .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profiles = 1; */ - java.util.List + java.util.List getConnectionProfilesOrBuilderList(); /** - * - * *
    * List of connection profiles.
    * 
* - * repeated .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profiles = 1; - * + * repeated .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profiles = 1; */ com.google.cloud.datastream.v1alpha1.ConnectionProfileOrBuilder getConnectionProfilesOrBuilder( int index); /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - java.util.List getUnreachableList(); + java.util.List + getUnreachableList(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ int getUnreachableCount(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ java.lang.String getUnreachable(int index); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - com.google.protobuf.ByteString getUnreachableBytes(int index); + com.google.protobuf.ByteString + getUnreachableBytes(int index); } diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListPrivateConnectionsRequest.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListPrivateConnectionsRequest.java similarity index 68% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListPrivateConnectionsRequest.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListPrivateConnectionsRequest.java index 537f2b50..105c3317 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListPrivateConnectionsRequest.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListPrivateConnectionsRequest.java @@ -1,34 +1,20 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1alpha1/datastream.proto package com.google.cloud.datastream.v1alpha1; -/** Protobuf type {@code google.cloud.datastream.v1alpha1.ListPrivateConnectionsRequest} */ -public final class ListPrivateConnectionsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +/** + * Protobuf type {@code google.cloud.datastream.v1alpha1.ListPrivateConnectionsRequest} + */ +public final class ListPrivateConnectionsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1alpha1.ListPrivateConnectionsRequest) ListPrivateConnectionsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListPrivateConnectionsRequest.newBuilder() to construct. private ListPrivateConnectionsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListPrivateConnectionsRequest() { parent_ = ""; pageToken_ = ""; @@ -38,15 +24,16 @@ private ListPrivateConnectionsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListPrivateConnectionsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListPrivateConnectionsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -65,46 +52,42 @@ private ListPrivateConnectionsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - orderBy_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + filter_ = s; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + orderBy_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -112,41 +95,34 @@ private ListPrivateConnectionsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_ListPrivateConnectionsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_ListPrivateConnectionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_ListPrivateConnectionsRequest_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_ListPrivateConnectionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsRequest.class, - com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsRequest.Builder.class); + com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsRequest.class, com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The parent that owns the collection of private connectivity configurations.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -155,31 +131,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The parent that owns the collection of private connectivity configurations.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -190,8 +164,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * Maximum number of private connectivity configurations to return.
    * If unspecified, at most 50 private connectivity configurations that will be
@@ -200,7 +172,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -211,8 +182,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * Page token received from a previous `ListPrivateConnections` call.
    * Provide this to retrieve the subsequent page.
@@ -222,7 +191,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -231,15 +199,14 @@ 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 received from a previous `ListPrivateConnections` call.
    * Provide this to retrieve the subsequent page.
@@ -249,15 +216,16 @@ public java.lang.String getPageToken() {
    * 
* * 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 { @@ -268,14 +236,11 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** - * - * *
    * Filter request.
    * 
* * string filter = 4; - * * @return The filter. */ @java.lang.Override @@ -284,29 +249,29 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** - * - * *
    * Filter request.
    * 
* * 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 { @@ -317,14 +282,11 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int ORDER_BY_FIELD_NUMBER = 5; private volatile java.lang.Object orderBy_; /** - * - * *
    * Order by fields for the result.
    * 
* * string order_by = 5; - * * @return The orderBy. */ @java.lang.Override @@ -333,29 +295,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; } } /** - * - * *
    * Order by fields for the result.
    * 
* * 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 { @@ -364,7 +326,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -376,7 +337,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_); } @@ -405,7 +367,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_); @@ -424,19 +387,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.datastream.v1alpha1.ListPrivateConnectionsRequest)) { return super.equals(obj); } - com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsRequest other = - (com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsRequest) 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.datastream.v1alpha1.ListPrivateConnectionsRequest other = (com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; + if (!getOrderBy() + .equals(other.getOrderBy())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -464,137 +431,130 @@ public int hashCode() { } public static com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsRequest prototype) { + public static Builder newBuilder(com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } - /** Protobuf type {@code google.cloud.datastream.v1alpha1.ListPrivateConnectionsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + /** + * Protobuf type {@code google.cloud.datastream.v1alpha1.ListPrivateConnectionsRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1alpha1.ListPrivateConnectionsRequest) com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_ListPrivateConnectionsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_ListPrivateConnectionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_ListPrivateConnectionsRequest_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_ListPrivateConnectionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsRequest.class, - com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsRequest.Builder.class); + com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsRequest.class, com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsRequest.Builder.class); } - // Construct using - // com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsRequest.newBuilder() + // Construct using com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -612,16 +572,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_ListPrivateConnectionsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_ListPrivateConnectionsRequest_descriptor; } @java.lang.Override - public com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsRequest - getDefaultInstanceForType() { - return com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsRequest - .getDefaultInstance(); + public com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsRequest getDefaultInstanceForType() { + return com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsRequest.getDefaultInstance(); } @java.lang.Override @@ -635,8 +593,7 @@ public com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsRequest build( @java.lang.Override public com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsRequest buildPartial() { - com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsRequest result = - new com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsRequest(this); + com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsRequest result = new com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -650,51 +607,46 @@ public com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsRequest buildP public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsRequest) { - return mergeFrom( - (com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsRequest) other); + return mergeFrom((com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsRequest other) { - if (other - == com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsRequest other) { + if (other == com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -733,9 +685,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -747,22 +697,18 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent that owns the collection of private connectivity configurations.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -771,23 +717,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent that owns the collection of private connectivity configurations.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -795,76 +738,61 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent that owns the collection of private connectivity configurations.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The parent that owns the collection of private connectivity configurations.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The parent that owns the collection of private connectivity configurations.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Maximum number of private connectivity configurations to return.
      * If unspecified, at most 50 private connectivity configurations that will be
@@ -873,7 +801,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -881,8 +808,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Maximum number of private connectivity configurations to return.
      * If unspecified, at most 50 private connectivity configurations that will be
@@ -891,19 +816,16 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * Maximum number of private connectivity configurations to return.
      * If unspecified, at most 50 private connectivity configurations that will be
@@ -912,11 +834,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -924,8 +845,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * Page token received from a previous `ListPrivateConnections` call.
      * Provide this to retrieve the subsequent page.
@@ -935,13 +854,13 @@ public Builder clearPageSize() {
      * 
* * 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; @@ -950,8 +869,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * Page token received from a previous `ListPrivateConnections` call.
      * Provide this to retrieve the subsequent page.
@@ -961,14 +878,15 @@ public java.lang.String getPageToken() {
      * 
* * 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 { @@ -976,8 +894,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * Page token received from a previous `ListPrivateConnections` call.
      * Provide this to retrieve the subsequent page.
@@ -987,22 +903,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * Page token received from a previous `ListPrivateConnections` call.
      * Provide this to retrieve the subsequent page.
@@ -1012,18 +926,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * Page token received from a previous `ListPrivateConnections` call.
      * Provide this to retrieve the subsequent page.
@@ -1033,16 +944,16 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -1050,20 +961,18 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * Filter request.
      * 
* * 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; @@ -1072,21 +981,20 @@ public java.lang.String getFilter() { } } /** - * - * *
      * Filter request.
      * 
* * 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 { @@ -1094,61 +1002,54 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * Filter request.
      * 
* * string filter = 4; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
      * Filter request.
      * 
* * string filter = 4; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * Filter request.
      * 
* * string filter = 4; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; @@ -1156,20 +1057,18 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { private java.lang.Object orderBy_ = ""; /** - * - * *
      * Order by fields for the result.
      * 
* * 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; @@ -1178,21 +1077,20 @@ public java.lang.String getOrderBy() { } } /** - * - * *
      * Order by fields for the result.
      * 
* * 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 { @@ -1200,68 +1098,61 @@ public com.google.protobuf.ByteString getOrderByBytes() { } } /** - * - * *
      * Order by fields for the result.
      * 
* * string order_by = 5; - * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy(java.lang.String value) { + public Builder setOrderBy( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; onChanged(); return this; } /** - * - * *
      * Order by fields for the result.
      * 
* * string order_by = 5; - * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** - * - * *
      * Order by fields for the result.
      * 
* * string order_by = 5; - * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + public Builder setOrderByBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1271,32 +1162,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1alpha1.ListPrivateConnectionsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1alpha1.ListPrivateConnectionsRequest) - private static final com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsRequest(); } - public static com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsRequest - getDefaultInstance() { + public static com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListPrivateConnectionsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListPrivateConnectionsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListPrivateConnectionsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListPrivateConnectionsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1308,8 +1197,9 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsRequest - getDefaultInstanceForType() { + public com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListPrivateConnectionsRequestOrBuilder.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListPrivateConnectionsRequestOrBuilder.java similarity index 65% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListPrivateConnectionsRequestOrBuilder.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListPrivateConnectionsRequestOrBuilder.java index 723a51d3..398e1927 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListPrivateConnectionsRequestOrBuilder.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListPrivateConnectionsRequestOrBuilder.java @@ -1,60 +1,33 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1alpha1/datastream.proto package com.google.cloud.datastream.v1alpha1; -public interface ListPrivateConnectionsRequestOrBuilder - extends +public interface ListPrivateConnectionsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1alpha1.ListPrivateConnectionsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The parent that owns the collection of private connectivity configurations.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The parent that owns the collection of private connectivity configurations.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Maximum number of private connectivity configurations to return.
    * If unspecified, at most 50 private connectivity configurations that will be
@@ -63,14 +36,11 @@ public interface ListPrivateConnectionsRequestOrBuilder
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * Page token received from a previous `ListPrivateConnections` call.
    * Provide this to retrieve the subsequent page.
@@ -80,13 +50,10 @@ public interface ListPrivateConnectionsRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * Page token received from a previous `ListPrivateConnections` call.
    * Provide this to retrieve the subsequent page.
@@ -96,58 +63,48 @@ public interface ListPrivateConnectionsRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * Filter request.
    * 
* * string filter = 4; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * Filter request.
    * 
* * string filter = 4; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * Order by fields for the result.
    * 
* * string order_by = 5; - * * @return The orderBy. */ java.lang.String getOrderBy(); /** - * - * *
    * Order by fields for the result.
    * 
* * string order_by = 5; - * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString getOrderByBytes(); + com.google.protobuf.ByteString + getOrderByBytes(); } diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListPrivateConnectionsResponse.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListPrivateConnectionsResponse.java similarity index 69% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListPrivateConnectionsResponse.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListPrivateConnectionsResponse.java index 3265f5bd..72b8c25d 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListPrivateConnectionsResponse.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListPrivateConnectionsResponse.java @@ -1,35 +1,20 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1alpha1/datastream.proto package com.google.cloud.datastream.v1alpha1; -/** Protobuf type {@code google.cloud.datastream.v1alpha1.ListPrivateConnectionsResponse} */ -public final class ListPrivateConnectionsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +/** + * Protobuf type {@code google.cloud.datastream.v1alpha1.ListPrivateConnectionsResponse} + */ +public final class ListPrivateConnectionsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1alpha1.ListPrivateConnectionsResponse) ListPrivateConnectionsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListPrivateConnectionsResponse.newBuilder() to construct. - private ListPrivateConnectionsResponse( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListPrivateConnectionsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListPrivateConnectionsResponse() { privateConnections_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -38,15 +23,16 @@ private ListPrivateConnectionsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListPrivateConnectionsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListPrivateConnectionsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -66,44 +52,37 @@ private ListPrivateConnectionsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - privateConnections_ = - new java.util.ArrayList< - com.google.cloud.datastream.v1alpha1.PrivateConnection>(); - mutable_bitField0_ |= 0x00000001; - } - privateConnections_.add( - input.readMessage( - com.google.cloud.datastream.v1alpha1.PrivateConnection.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + privateConnections_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + privateConnections_.add( + input.readMessage(com.google.cloud.datastream.v1alpha1.PrivateConnection.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - unreachable_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; - } - unreachable_.add(s); - break; + nextPageToken_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + unreachable_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + unreachable_.add(s); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -111,7 +90,8 @@ private ListPrivateConnectionsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { privateConnections_ = java.util.Collections.unmodifiableList(privateConnections_); @@ -123,111 +103,88 @@ private ListPrivateConnectionsResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_ListPrivateConnectionsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_ListPrivateConnectionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_ListPrivateConnectionsResponse_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_ListPrivateConnectionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsResponse.class, - com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsResponse.Builder.class); + com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsResponse.class, com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsResponse.Builder.class); } public static final int PRIVATE_CONNECTIONS_FIELD_NUMBER = 1; - private java.util.List - privateConnections_; + private java.util.List privateConnections_; /** - * - * *
    * List of private connectivity configurations.
    * 
* - * repeated .google.cloud.datastream.v1alpha1.PrivateConnection private_connections = 1; - * + * repeated .google.cloud.datastream.v1alpha1.PrivateConnection private_connections = 1; */ @java.lang.Override - public java.util.List - getPrivateConnectionsList() { + public java.util.List getPrivateConnectionsList() { return privateConnections_; } /** - * - * *
    * List of private connectivity configurations.
    * 
* - * repeated .google.cloud.datastream.v1alpha1.PrivateConnection private_connections = 1; - * + * repeated .google.cloud.datastream.v1alpha1.PrivateConnection private_connections = 1; */ @java.lang.Override - public java.util.List + public java.util.List getPrivateConnectionsOrBuilderList() { return privateConnections_; } /** - * - * *
    * List of private connectivity configurations.
    * 
* - * repeated .google.cloud.datastream.v1alpha1.PrivateConnection private_connections = 1; - * + * repeated .google.cloud.datastream.v1alpha1.PrivateConnection private_connections = 1; */ @java.lang.Override public int getPrivateConnectionsCount() { return privateConnections_.size(); } /** - * - * *
    * List of private connectivity configurations.
    * 
* - * repeated .google.cloud.datastream.v1alpha1.PrivateConnection private_connections = 1; - * + * repeated .google.cloud.datastream.v1alpha1.PrivateConnection private_connections = 1; */ @java.lang.Override public com.google.cloud.datastream.v1alpha1.PrivateConnection getPrivateConnections(int index) { return privateConnections_.get(index); } /** - * - * *
    * List of private connectivity configurations.
    * 
* - * repeated .google.cloud.datastream.v1alpha1.PrivateConnection private_connections = 1; - * + * repeated .google.cloud.datastream.v1alpha1.PrivateConnection private_connections = 1; */ @java.lang.Override - public com.google.cloud.datastream.v1alpha1.PrivateConnectionOrBuilder - getPrivateConnectionsOrBuilder(int index) { + public com.google.cloud.datastream.v1alpha1.PrivateConnectionOrBuilder getPrivateConnectionsOrBuilder( + int index) { return privateConnections_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -236,30 +193,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * 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 { @@ -270,42 +227,34 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { public static final int UNREACHABLE_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList unreachable_; /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList getUnreachableList() { + public com.google.protobuf.ProtocolStringList + getUnreachableList() { return unreachable_; } /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -313,23 +262,20 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString getUnreachableBytes(int index) { + public com.google.protobuf.ByteString + getUnreachableBytes(int index) { return unreachable_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -341,7 +287,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 < privateConnections_.size(); i++) { output.writeMessage(1, privateConnections_.get(i)); } @@ -361,8 +308,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < privateConnections_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(1, privateConnections_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, privateConnections_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -383,17 +330,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.datastream.v1alpha1.ListPrivateConnectionsResponse)) { return super.equals(obj); } - com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsResponse other = - (com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsResponse) obj; + com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsResponse other = (com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsResponse) obj; - if (!getPrivateConnectionsList().equals(other.getPrivateConnectionsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; - if (!getUnreachableList().equals(other.getUnreachableList())) return false; + if (!getPrivateConnectionsList() + .equals(other.getPrivateConnectionsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; + if (!getUnreachableList() + .equals(other.getUnreachableList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -421,139 +370,131 @@ public int hashCode() { } public static com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsResponse - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsResponse prototype) { + public static Builder newBuilder(com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } - /** Protobuf type {@code google.cloud.datastream.v1alpha1.ListPrivateConnectionsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + /** + * Protobuf type {@code google.cloud.datastream.v1alpha1.ListPrivateConnectionsResponse} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1alpha1.ListPrivateConnectionsResponse) com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_ListPrivateConnectionsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_ListPrivateConnectionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_ListPrivateConnectionsResponse_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_ListPrivateConnectionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsResponse.class, - com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsResponse.Builder.class); + com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsResponse.class, com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsResponse.Builder.class); } - // Construct using - // com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsResponse.newBuilder() + // Construct using com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getPrivateConnectionsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -571,16 +512,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_ListPrivateConnectionsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_ListPrivateConnectionsResponse_descriptor; } @java.lang.Override - public com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsResponse - getDefaultInstanceForType() { - return com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsResponse - .getDefaultInstance(); + public com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsResponse getDefaultInstanceForType() { + return com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsResponse.getDefaultInstance(); } @java.lang.Override @@ -594,8 +533,7 @@ public com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsResponse build @java.lang.Override public com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsResponse buildPartial() { - com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsResponse result = - new com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsResponse(this); + com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsResponse result = new com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsResponse(this); int from_bitField0_ = bitField0_; if (privateConnectionsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -620,51 +558,46 @@ public com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsResponse build public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsResponse) { - return mergeFrom( - (com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsResponse) other); + return mergeFrom((com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsResponse other) { - if (other - == com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsResponse - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsResponse other) { + if (other == com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsResponse.getDefaultInstance()) return this; if (privateConnectionsBuilder_ == null) { if (!other.privateConnections_.isEmpty()) { if (privateConnections_.isEmpty()) { @@ -683,10 +616,9 @@ public Builder mergeFrom( privateConnectionsBuilder_ = null; privateConnections_ = other.privateConnections_; bitField0_ = (bitField0_ & ~0x00000001); - privateConnectionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getPrivateConnectionsFieldBuilder() - : null; + privateConnectionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getPrivateConnectionsFieldBuilder() : null; } else { privateConnectionsBuilder_.addAllMessages(other.privateConnections_); } @@ -725,9 +657,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -736,39 +666,28 @@ public Builder mergeFrom( } return this; } - private int bitField0_; - private java.util.List - privateConnections_ = java.util.Collections.emptyList(); - + private java.util.List privateConnections_ = + java.util.Collections.emptyList(); private void ensurePrivateConnectionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - privateConnections_ = - new java.util.ArrayList( - privateConnections_); + privateConnections_ = new java.util.ArrayList(privateConnections_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.PrivateConnection, - com.google.cloud.datastream.v1alpha1.PrivateConnection.Builder, - com.google.cloud.datastream.v1alpha1.PrivateConnectionOrBuilder> - privateConnectionsBuilder_; + com.google.cloud.datastream.v1alpha1.PrivateConnection, com.google.cloud.datastream.v1alpha1.PrivateConnection.Builder, com.google.cloud.datastream.v1alpha1.PrivateConnectionOrBuilder> privateConnectionsBuilder_; /** - * - * *
      * List of private connectivity configurations.
      * 
* - * repeated .google.cloud.datastream.v1alpha1.PrivateConnection private_connections = 1; - * + * repeated .google.cloud.datastream.v1alpha1.PrivateConnection private_connections = 1; */ - public java.util.List - getPrivateConnectionsList() { + public java.util.List getPrivateConnectionsList() { if (privateConnectionsBuilder_ == null) { return java.util.Collections.unmodifiableList(privateConnections_); } else { @@ -776,14 +695,11 @@ private void ensurePrivateConnectionsIsMutable() { } } /** - * - * *
      * List of private connectivity configurations.
      * 
* - * repeated .google.cloud.datastream.v1alpha1.PrivateConnection private_connections = 1; - * + * repeated .google.cloud.datastream.v1alpha1.PrivateConnection private_connections = 1; */ public int getPrivateConnectionsCount() { if (privateConnectionsBuilder_ == null) { @@ -793,14 +709,11 @@ public int getPrivateConnectionsCount() { } } /** - * - * *
      * List of private connectivity configurations.
      * 
* - * repeated .google.cloud.datastream.v1alpha1.PrivateConnection private_connections = 1; - * + * repeated .google.cloud.datastream.v1alpha1.PrivateConnection private_connections = 1; */ public com.google.cloud.datastream.v1alpha1.PrivateConnection getPrivateConnections(int index) { if (privateConnectionsBuilder_ == null) { @@ -810,14 +723,11 @@ public com.google.cloud.datastream.v1alpha1.PrivateConnection getPrivateConnecti } } /** - * - * *
      * List of private connectivity configurations.
      * 
* - * repeated .google.cloud.datastream.v1alpha1.PrivateConnection private_connections = 1; - * + * repeated .google.cloud.datastream.v1alpha1.PrivateConnection private_connections = 1; */ public Builder setPrivateConnections( int index, com.google.cloud.datastream.v1alpha1.PrivateConnection value) { @@ -834,14 +744,11 @@ public Builder setPrivateConnections( return this; } /** - * - * *
      * List of private connectivity configurations.
      * 
* - * repeated .google.cloud.datastream.v1alpha1.PrivateConnection private_connections = 1; - * + * repeated .google.cloud.datastream.v1alpha1.PrivateConnection private_connections = 1; */ public Builder setPrivateConnections( int index, com.google.cloud.datastream.v1alpha1.PrivateConnection.Builder builderForValue) { @@ -855,17 +762,13 @@ public Builder setPrivateConnections( return this; } /** - * - * *
      * List of private connectivity configurations.
      * 
* - * repeated .google.cloud.datastream.v1alpha1.PrivateConnection private_connections = 1; - * + * repeated .google.cloud.datastream.v1alpha1.PrivateConnection private_connections = 1; */ - public Builder addPrivateConnections( - com.google.cloud.datastream.v1alpha1.PrivateConnection value) { + public Builder addPrivateConnections(com.google.cloud.datastream.v1alpha1.PrivateConnection value) { if (privateConnectionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -879,14 +782,11 @@ public Builder addPrivateConnections( return this; } /** - * - * *
      * List of private connectivity configurations.
      * 
* - * repeated .google.cloud.datastream.v1alpha1.PrivateConnection private_connections = 1; - * + * repeated .google.cloud.datastream.v1alpha1.PrivateConnection private_connections = 1; */ public Builder addPrivateConnections( int index, com.google.cloud.datastream.v1alpha1.PrivateConnection value) { @@ -903,14 +803,11 @@ public Builder addPrivateConnections( return this; } /** - * - * *
      * List of private connectivity configurations.
      * 
* - * repeated .google.cloud.datastream.v1alpha1.PrivateConnection private_connections = 1; - * + * repeated .google.cloud.datastream.v1alpha1.PrivateConnection private_connections = 1; */ public Builder addPrivateConnections( com.google.cloud.datastream.v1alpha1.PrivateConnection.Builder builderForValue) { @@ -924,14 +821,11 @@ public Builder addPrivateConnections( return this; } /** - * - * *
      * List of private connectivity configurations.
      * 
* - * repeated .google.cloud.datastream.v1alpha1.PrivateConnection private_connections = 1; - * + * repeated .google.cloud.datastream.v1alpha1.PrivateConnection private_connections = 1; */ public Builder addPrivateConnections( int index, com.google.cloud.datastream.v1alpha1.PrivateConnection.Builder builderForValue) { @@ -945,21 +839,18 @@ public Builder addPrivateConnections( return this; } /** - * - * *
      * List of private connectivity configurations.
      * 
* - * repeated .google.cloud.datastream.v1alpha1.PrivateConnection private_connections = 1; - * + * repeated .google.cloud.datastream.v1alpha1.PrivateConnection private_connections = 1; */ public Builder addAllPrivateConnections( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (privateConnectionsBuilder_ == null) { ensurePrivateConnectionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, privateConnections_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, privateConnections_); onChanged(); } else { privateConnectionsBuilder_.addAllMessages(values); @@ -967,14 +858,11 @@ public Builder addAllPrivateConnections( return this; } /** - * - * *
      * List of private connectivity configurations.
      * 
* - * repeated .google.cloud.datastream.v1alpha1.PrivateConnection private_connections = 1; - * + * repeated .google.cloud.datastream.v1alpha1.PrivateConnection private_connections = 1; */ public Builder clearPrivateConnections() { if (privateConnectionsBuilder_ == null) { @@ -987,14 +875,11 @@ public Builder clearPrivateConnections() { return this; } /** - * - * *
      * List of private connectivity configurations.
      * 
* - * repeated .google.cloud.datastream.v1alpha1.PrivateConnection private_connections = 1; - * + * repeated .google.cloud.datastream.v1alpha1.PrivateConnection private_connections = 1; */ public Builder removePrivateConnections(int index) { if (privateConnectionsBuilder_ == null) { @@ -1007,49 +892,39 @@ public Builder removePrivateConnections(int index) { return this; } /** - * - * *
      * List of private connectivity configurations.
      * 
* - * repeated .google.cloud.datastream.v1alpha1.PrivateConnection private_connections = 1; - * + * repeated .google.cloud.datastream.v1alpha1.PrivateConnection private_connections = 1; */ - public com.google.cloud.datastream.v1alpha1.PrivateConnection.Builder - getPrivateConnectionsBuilder(int index) { + public com.google.cloud.datastream.v1alpha1.PrivateConnection.Builder getPrivateConnectionsBuilder( + int index) { return getPrivateConnectionsFieldBuilder().getBuilder(index); } /** - * - * *
      * List of private connectivity configurations.
      * 
* - * repeated .google.cloud.datastream.v1alpha1.PrivateConnection private_connections = 1; - * + * repeated .google.cloud.datastream.v1alpha1.PrivateConnection private_connections = 1; */ - public com.google.cloud.datastream.v1alpha1.PrivateConnectionOrBuilder - getPrivateConnectionsOrBuilder(int index) { + public com.google.cloud.datastream.v1alpha1.PrivateConnectionOrBuilder getPrivateConnectionsOrBuilder( + int index) { if (privateConnectionsBuilder_ == null) { - return privateConnections_.get(index); - } else { + return privateConnections_.get(index); } else { return privateConnectionsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * List of private connectivity configurations.
      * 
* - * repeated .google.cloud.datastream.v1alpha1.PrivateConnection private_connections = 1; - * + * repeated .google.cloud.datastream.v1alpha1.PrivateConnection private_connections = 1; */ - public java.util.List - getPrivateConnectionsOrBuilderList() { + public java.util.List + getPrivateConnectionsOrBuilderList() { if (privateConnectionsBuilder_ != null) { return privateConnectionsBuilder_.getMessageOrBuilderList(); } else { @@ -1057,62 +932,45 @@ public Builder removePrivateConnections(int index) { } } /** - * - * *
      * List of private connectivity configurations.
      * 
* - * repeated .google.cloud.datastream.v1alpha1.PrivateConnection private_connections = 1; - * + * repeated .google.cloud.datastream.v1alpha1.PrivateConnection private_connections = 1; */ - public com.google.cloud.datastream.v1alpha1.PrivateConnection.Builder - addPrivateConnectionsBuilder() { - return getPrivateConnectionsFieldBuilder() - .addBuilder(com.google.cloud.datastream.v1alpha1.PrivateConnection.getDefaultInstance()); + public com.google.cloud.datastream.v1alpha1.PrivateConnection.Builder addPrivateConnectionsBuilder() { + return getPrivateConnectionsFieldBuilder().addBuilder( + com.google.cloud.datastream.v1alpha1.PrivateConnection.getDefaultInstance()); } /** - * - * *
      * List of private connectivity configurations.
      * 
* - * repeated .google.cloud.datastream.v1alpha1.PrivateConnection private_connections = 1; - * + * repeated .google.cloud.datastream.v1alpha1.PrivateConnection private_connections = 1; */ - public com.google.cloud.datastream.v1alpha1.PrivateConnection.Builder - addPrivateConnectionsBuilder(int index) { - return getPrivateConnectionsFieldBuilder() - .addBuilder( - index, com.google.cloud.datastream.v1alpha1.PrivateConnection.getDefaultInstance()); + public com.google.cloud.datastream.v1alpha1.PrivateConnection.Builder addPrivateConnectionsBuilder( + int index) { + return getPrivateConnectionsFieldBuilder().addBuilder( + index, com.google.cloud.datastream.v1alpha1.PrivateConnection.getDefaultInstance()); } /** - * - * *
      * List of private connectivity configurations.
      * 
* - * repeated .google.cloud.datastream.v1alpha1.PrivateConnection private_connections = 1; - * + * repeated .google.cloud.datastream.v1alpha1.PrivateConnection private_connections = 1; */ - public java.util.List - getPrivateConnectionsBuilderList() { + public java.util.List + getPrivateConnectionsBuilderList() { return getPrivateConnectionsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.PrivateConnection, - com.google.cloud.datastream.v1alpha1.PrivateConnection.Builder, - com.google.cloud.datastream.v1alpha1.PrivateConnectionOrBuilder> + com.google.cloud.datastream.v1alpha1.PrivateConnection, com.google.cloud.datastream.v1alpha1.PrivateConnection.Builder, com.google.cloud.datastream.v1alpha1.PrivateConnectionOrBuilder> getPrivateConnectionsFieldBuilder() { if (privateConnectionsBuilder_ == null) { - privateConnectionsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.PrivateConnection, - com.google.cloud.datastream.v1alpha1.PrivateConnection.Builder, - com.google.cloud.datastream.v1alpha1.PrivateConnectionOrBuilder>( + privateConnectionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datastream.v1alpha1.PrivateConnection, com.google.cloud.datastream.v1alpha1.PrivateConnection.Builder, com.google.cloud.datastream.v1alpha1.PrivateConnectionOrBuilder>( privateConnections_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1124,21 +982,19 @@ public Builder removePrivateConnections(int index) { private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * 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; @@ -1147,22 +1003,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * 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 { @@ -1170,115 +1025,98 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList unreachable_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList unreachable_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureUnreachableIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList getUnreachableList() { + public com.google.protobuf.ProtocolStringList + getUnreachableList() { return unreachable_.getUnmodifiableView(); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1286,90 +1124,80 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString getUnreachableBytes(int index) { + public com.google.protobuf.ByteString + getUnreachableBytes(int index) { return unreachable_.getByteString(index); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param index The index to set the value at. * @param value The unreachable to set. * @return This builder for chaining. */ - public Builder setUnreachable(int index, java.lang.String value) { + public Builder setUnreachable( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.set(index, value); onChanged(); return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param value The unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachable(java.lang.String value) { + public Builder addUnreachable( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.add(value); onChanged(); return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param values The unreachable to add. * @return This builder for chaining. */ - public Builder addAllUnreachable(java.lang.Iterable values) { + public Builder addAllUnreachable( + java.lang.Iterable values) { ensureUnreachableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachable_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, unreachable_); onChanged(); return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @return This builder for chaining. */ public Builder clearUnreachable() { @@ -1379,30 +1207,28 @@ public Builder clearUnreachable() { return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param value The bytes of the unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { + public Builder addUnreachableBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.add(value); onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1412,32 +1238,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1alpha1.ListPrivateConnectionsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1alpha1.ListPrivateConnectionsResponse) - private static final com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsResponse(); } - public static com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsResponse - getDefaultInstance() { + public static com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListPrivateConnectionsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListPrivateConnectionsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListPrivateConnectionsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListPrivateConnectionsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1449,8 +1273,9 @@ public com.google.protobuf.Parser getParserForTy } @java.lang.Override - public com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsResponse - getDefaultInstanceForType() { + public com.google.cloud.datastream.v1alpha1.ListPrivateConnectionsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListPrivateConnectionsResponseOrBuilder.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListPrivateConnectionsResponseOrBuilder.java similarity index 70% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListPrivateConnectionsResponseOrBuilder.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListPrivateConnectionsResponseOrBuilder.java index 98cb0470..170ace82 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListPrivateConnectionsResponseOrBuilder.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListPrivateConnectionsResponseOrBuilder.java @@ -1,162 +1,116 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1alpha1/datastream.proto package com.google.cloud.datastream.v1alpha1; -public interface ListPrivateConnectionsResponseOrBuilder - extends +public interface ListPrivateConnectionsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1alpha1.ListPrivateConnectionsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * List of private connectivity configurations.
    * 
* - * repeated .google.cloud.datastream.v1alpha1.PrivateConnection private_connections = 1; - * + * repeated .google.cloud.datastream.v1alpha1.PrivateConnection private_connections = 1; */ - java.util.List + java.util.List getPrivateConnectionsList(); /** - * - * *
    * List of private connectivity configurations.
    * 
* - * repeated .google.cloud.datastream.v1alpha1.PrivateConnection private_connections = 1; - * + * repeated .google.cloud.datastream.v1alpha1.PrivateConnection private_connections = 1; */ com.google.cloud.datastream.v1alpha1.PrivateConnection getPrivateConnections(int index); /** - * - * *
    * List of private connectivity configurations.
    * 
* - * repeated .google.cloud.datastream.v1alpha1.PrivateConnection private_connections = 1; - * + * repeated .google.cloud.datastream.v1alpha1.PrivateConnection private_connections = 1; */ int getPrivateConnectionsCount(); /** - * - * *
    * List of private connectivity configurations.
    * 
* - * repeated .google.cloud.datastream.v1alpha1.PrivateConnection private_connections = 1; - * + * repeated .google.cloud.datastream.v1alpha1.PrivateConnection private_connections = 1; */ - java.util.List + java.util.List getPrivateConnectionsOrBuilderList(); /** - * - * *
    * List of private connectivity configurations.
    * 
* - * repeated .google.cloud.datastream.v1alpha1.PrivateConnection private_connections = 1; - * + * repeated .google.cloud.datastream.v1alpha1.PrivateConnection private_connections = 1; */ com.google.cloud.datastream.v1alpha1.PrivateConnectionOrBuilder getPrivateConnectionsOrBuilder( int index); /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - java.util.List getUnreachableList(); + java.util.List + getUnreachableList(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ int getUnreachableCount(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ java.lang.String getUnreachable(int index); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - com.google.protobuf.ByteString getUnreachableBytes(int index); + com.google.protobuf.ByteString + getUnreachableBytes(int index); } diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListRoutesRequest.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListRoutesRequest.java similarity index 71% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListRoutesRequest.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListRoutesRequest.java index 4e54aa7f..b46b2520 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListRoutesRequest.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListRoutesRequest.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/datastream/v1alpha1/datastream.proto package com.google.cloud.datastream.v1alpha1; /** - * - * *
  * route list request
  * 
* * Protobuf type {@code google.cloud.datastream.v1alpha1.ListRoutesRequest} */ -public final class ListRoutesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListRoutesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1alpha1.ListRoutesRequest) ListRoutesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListRoutesRequest.newBuilder() to construct. private ListRoutesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListRoutesRequest() { parent_ = ""; pageToken_ = ""; @@ -46,15 +28,16 @@ private ListRoutesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListRoutesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListRoutesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,46 +56,42 @@ private ListRoutesRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - orderBy_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + filter_ = s; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + orderBy_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -120,41 +99,34 @@ private ListRoutesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_ListRoutesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_ListRoutesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_ListRoutesRequest_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_ListRoutesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.ListRoutesRequest.class, - com.google.cloud.datastream.v1alpha1.ListRoutesRequest.Builder.class); + com.google.cloud.datastream.v1alpha1.ListRoutesRequest.class, com.google.cloud.datastream.v1alpha1.ListRoutesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The parent that owns the collection of Routess.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -163,31 +135,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The parent that owns the collection of Routess.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -198,8 +168,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * Maximum number of Routes to return. The service may return
    * fewer than this value. If unspecified, at most 50 Routes
@@ -208,7 +176,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -219,8 +186,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * Page token received from a previous `ListRoutes` call.
    * Provide this to retrieve the subsequent page.
@@ -230,7 +195,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -239,15 +203,14 @@ 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 received from a previous `ListRoutes` call.
    * Provide this to retrieve the subsequent page.
@@ -257,15 +220,16 @@ public java.lang.String getPageToken() {
    * 
* * 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 { @@ -276,14 +240,11 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** - * - * *
    * Filter request.
    * 
* * string filter = 4; - * * @return The filter. */ @java.lang.Override @@ -292,29 +253,29 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** - * - * *
    * Filter request.
    * 
* * 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 { @@ -325,14 +286,11 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int ORDER_BY_FIELD_NUMBER = 5; private volatile java.lang.Object orderBy_; /** - * - * *
    * Order by fields for the result.
    * 
* * string order_by = 5; - * * @return The orderBy. */ @java.lang.Override @@ -341,29 +299,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; } } /** - * - * *
    * Order by fields for the result.
    * 
* * 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 { @@ -372,7 +330,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -384,7 +341,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_); } @@ -413,7 +371,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_); @@ -432,19 +391,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.datastream.v1alpha1.ListRoutesRequest)) { return super.equals(obj); } - com.google.cloud.datastream.v1alpha1.ListRoutesRequest other = - (com.google.cloud.datastream.v1alpha1.ListRoutesRequest) 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.datastream.v1alpha1.ListRoutesRequest other = (com.google.cloud.datastream.v1alpha1.ListRoutesRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; + if (!getOrderBy() + .equals(other.getOrderBy())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -472,127 +435,117 @@ public int hashCode() { } public static com.google.cloud.datastream.v1alpha1.ListRoutesRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.ListRoutesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.ListRoutesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.ListRoutesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.ListRoutesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.ListRoutesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.ListRoutesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.ListRoutesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.ListRoutesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.ListRoutesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.ListRoutesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.ListRoutesRequest 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.datastream.v1alpha1.ListRoutesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.ListRoutesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datastream.v1alpha1.ListRoutesRequest prototype) { + public static Builder newBuilder(com.google.cloud.datastream.v1alpha1.ListRoutesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * route list request
    * 
* * Protobuf type {@code google.cloud.datastream.v1alpha1.ListRoutesRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1alpha1.ListRoutesRequest) com.google.cloud.datastream.v1alpha1.ListRoutesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_ListRoutesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_ListRoutesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_ListRoutesRequest_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_ListRoutesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.ListRoutesRequest.class, - com.google.cloud.datastream.v1alpha1.ListRoutesRequest.Builder.class); + com.google.cloud.datastream.v1alpha1.ListRoutesRequest.class, com.google.cloud.datastream.v1alpha1.ListRoutesRequest.Builder.class); } // Construct using com.google.cloud.datastream.v1alpha1.ListRoutesRequest.newBuilder() @@ -600,15 +553,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -626,9 +580,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_ListRoutesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_ListRoutesRequest_descriptor; } @java.lang.Override @@ -647,8 +601,7 @@ public com.google.cloud.datastream.v1alpha1.ListRoutesRequest build() { @java.lang.Override public com.google.cloud.datastream.v1alpha1.ListRoutesRequest buildPartial() { - com.google.cloud.datastream.v1alpha1.ListRoutesRequest result = - new com.google.cloud.datastream.v1alpha1.ListRoutesRequest(this); + com.google.cloud.datastream.v1alpha1.ListRoutesRequest result = new com.google.cloud.datastream.v1alpha1.ListRoutesRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -662,39 +615,38 @@ public com.google.cloud.datastream.v1alpha1.ListRoutesRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1alpha1.ListRoutesRequest) { - return mergeFrom((com.google.cloud.datastream.v1alpha1.ListRoutesRequest) other); + return mergeFrom((com.google.cloud.datastream.v1alpha1.ListRoutesRequest)other); } else { super.mergeFrom(other); return this; @@ -702,8 +654,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datastream.v1alpha1.ListRoutesRequest other) { - if (other == com.google.cloud.datastream.v1alpha1.ListRoutesRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.datastream.v1alpha1.ListRoutesRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -742,8 +693,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datastream.v1alpha1.ListRoutesRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datastream.v1alpha1.ListRoutesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -755,22 +705,18 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent that owns the collection of Routess.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -779,23 +725,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent that owns the collection of Routess.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -803,76 +746,61 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent that owns the collection of Routess.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The parent that owns the collection of Routess.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The parent that owns the collection of Routess.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Maximum number of Routes to return. The service may return
      * fewer than this value. If unspecified, at most 50 Routes
@@ -881,7 +809,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -889,8 +816,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Maximum number of Routes to return. The service may return
      * fewer than this value. If unspecified, at most 50 Routes
@@ -899,19 +824,16 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * Maximum number of Routes to return. The service may return
      * fewer than this value. If unspecified, at most 50 Routes
@@ -920,11 +842,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -932,8 +853,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * Page token received from a previous `ListRoutes` call.
      * Provide this to retrieve the subsequent page.
@@ -943,13 +862,13 @@ public Builder clearPageSize() {
      * 
* * 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; @@ -958,8 +877,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * Page token received from a previous `ListRoutes` call.
      * Provide this to retrieve the subsequent page.
@@ -969,14 +886,15 @@ public java.lang.String getPageToken() {
      * 
* * 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 { @@ -984,8 +902,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * Page token received from a previous `ListRoutes` call.
      * Provide this to retrieve the subsequent page.
@@ -995,22 +911,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * Page token received from a previous `ListRoutes` call.
      * Provide this to retrieve the subsequent page.
@@ -1020,18 +934,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * Page token received from a previous `ListRoutes` call.
      * Provide this to retrieve the subsequent page.
@@ -1041,16 +952,16 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -1058,20 +969,18 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * Filter request.
      * 
* * 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; @@ -1080,21 +989,20 @@ public java.lang.String getFilter() { } } /** - * - * *
      * Filter request.
      * 
* * 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 { @@ -1102,61 +1010,54 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * Filter request.
      * 
* * string filter = 4; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
      * Filter request.
      * 
* * string filter = 4; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * Filter request.
      * 
* * string filter = 4; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; @@ -1164,20 +1065,18 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { private java.lang.Object orderBy_ = ""; /** - * - * *
      * Order by fields for the result.
      * 
* * 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; @@ -1186,21 +1085,20 @@ public java.lang.String getOrderBy() { } } /** - * - * *
      * Order by fields for the result.
      * 
* * 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 { @@ -1208,68 +1106,61 @@ public com.google.protobuf.ByteString getOrderByBytes() { } } /** - * - * *
      * Order by fields for the result.
      * 
* * string order_by = 5; - * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy(java.lang.String value) { + public Builder setOrderBy( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; onChanged(); return this; } /** - * - * *
      * Order by fields for the result.
      * 
* * string order_by = 5; - * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** - * - * *
      * Order by fields for the result.
      * 
* * string order_by = 5; - * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + public Builder setOrderByBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1279,12 +1170,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1alpha1.ListRoutesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1alpha1.ListRoutesRequest) private static final com.google.cloud.datastream.v1alpha1.ListRoutesRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1alpha1.ListRoutesRequest(); } @@ -1293,16 +1184,16 @@ public static com.google.cloud.datastream.v1alpha1.ListRoutesRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListRoutesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListRoutesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListRoutesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListRoutesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1317,4 +1208,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datastream.v1alpha1.ListRoutesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListRoutesRequestOrBuilder.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListRoutesRequestOrBuilder.java similarity index 64% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListRoutesRequestOrBuilder.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListRoutesRequestOrBuilder.java index 0e5b922b..992784ab 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListRoutesRequestOrBuilder.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListRoutesRequestOrBuilder.java @@ -1,60 +1,33 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1alpha1/datastream.proto package com.google.cloud.datastream.v1alpha1; -public interface ListRoutesRequestOrBuilder - extends +public interface ListRoutesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1alpha1.ListRoutesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The parent that owns the collection of Routess.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The parent that owns the collection of Routess.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Maximum number of Routes to return. The service may return
    * fewer than this value. If unspecified, at most 50 Routes
@@ -63,14 +36,11 @@ public interface ListRoutesRequestOrBuilder
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * Page token received from a previous `ListRoutes` call.
    * Provide this to retrieve the subsequent page.
@@ -80,13 +50,10 @@ public interface ListRoutesRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * Page token received from a previous `ListRoutes` call.
    * Provide this to retrieve the subsequent page.
@@ -96,58 +63,48 @@ public interface ListRoutesRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * Filter request.
    * 
* * string filter = 4; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * Filter request.
    * 
* * string filter = 4; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * Order by fields for the result.
    * 
* * string order_by = 5; - * * @return The orderBy. */ java.lang.String getOrderBy(); /** - * - * *
    * Order by fields for the result.
    * 
* * string order_by = 5; - * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString getOrderByBytes(); + com.google.protobuf.ByteString + getOrderByBytes(); } diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListRoutesResponse.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListRoutesResponse.java similarity index 74% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListRoutesResponse.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListRoutesResponse.java index 38d917c6..6cae7036 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListRoutesResponse.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListRoutesResponse.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/datastream/v1alpha1/datastream.proto package com.google.cloud.datastream.v1alpha1; /** - * - * *
  * route list response
  * 
* * Protobuf type {@code google.cloud.datastream.v1alpha1.ListRoutesResponse} */ -public final class ListRoutesResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListRoutesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1alpha1.ListRoutesResponse) ListRoutesResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListRoutesResponse.newBuilder() to construct. private ListRoutesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListRoutesResponse() { routes_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -45,15 +27,16 @@ private ListRoutesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListRoutesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListRoutesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,41 +56,37 @@ private ListRoutesResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - routes_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - routes_.add( - input.readMessage( - com.google.cloud.datastream.v1alpha1.Route.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + routes_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + routes_.add( + input.readMessage(com.google.cloud.datastream.v1alpha1.Route.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - unreachable_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; - } - unreachable_.add(s); - break; + nextPageToken_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + unreachable_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + unreachable_.add(s); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -115,7 +94,8 @@ private ListRoutesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { routes_ = java.util.Collections.unmodifiableList(routes_); @@ -127,27 +107,22 @@ private ListRoutesResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_ListRoutesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_ListRoutesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_ListRoutesResponse_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_ListRoutesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.ListRoutesResponse.class, - com.google.cloud.datastream.v1alpha1.ListRoutesResponse.Builder.class); + com.google.cloud.datastream.v1alpha1.ListRoutesResponse.class, com.google.cloud.datastream.v1alpha1.ListRoutesResponse.Builder.class); } public static final int ROUTES_FIELD_NUMBER = 1; private java.util.List routes_; /** - * - * *
    * List of Routes.
    * 
@@ -159,8 +134,6 @@ public java.util.List getRoutesList( return routes_; } /** - * - * *
    * List of Routes.
    * 
@@ -168,13 +141,11 @@ public java.util.List getRoutesList( * repeated .google.cloud.datastream.v1alpha1.Route routes = 1; */ @java.lang.Override - public java.util.List + public java.util.List getRoutesOrBuilderList() { return routes_; } /** - * - * *
    * List of Routes.
    * 
@@ -186,8 +157,6 @@ public int getRoutesCount() { return routes_.size(); } /** - * - * *
    * List of Routes.
    * 
@@ -199,8 +168,6 @@ public com.google.cloud.datastream.v1alpha1.Route getRoutes(int index) { return routes_.get(index); } /** - * - * *
    * List of Routes.
    * 
@@ -208,22 +175,20 @@ public com.google.cloud.datastream.v1alpha1.Route getRoutes(int index) { * repeated .google.cloud.datastream.v1alpha1.Route routes = 1; */ @java.lang.Override - public com.google.cloud.datastream.v1alpha1.RouteOrBuilder getRoutesOrBuilder(int index) { + public com.google.cloud.datastream.v1alpha1.RouteOrBuilder getRoutesOrBuilder( + int index) { return routes_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -232,30 +197,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -266,42 +231,34 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { public static final int UNREACHABLE_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList unreachable_; /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList getUnreachableList() { + public com.google.protobuf.ProtocolStringList + getUnreachableList() { return unreachable_; } /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -309,23 +266,20 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString getUnreachableBytes(int index) { + public com.google.protobuf.ByteString + getUnreachableBytes(int index) { return unreachable_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -337,7 +291,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 < routes_.size(); i++) { output.writeMessage(1, routes_.get(i)); } @@ -357,7 +312,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < routes_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, routes_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, routes_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -378,17 +334,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.datastream.v1alpha1.ListRoutesResponse)) { return super.equals(obj); } - com.google.cloud.datastream.v1alpha1.ListRoutesResponse other = - (com.google.cloud.datastream.v1alpha1.ListRoutesResponse) obj; + com.google.cloud.datastream.v1alpha1.ListRoutesResponse other = (com.google.cloud.datastream.v1alpha1.ListRoutesResponse) obj; - if (!getRoutesList().equals(other.getRoutesList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; - if (!getUnreachableList().equals(other.getUnreachableList())) return false; + if (!getRoutesList() + .equals(other.getRoutesList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; + if (!getUnreachableList() + .equals(other.getUnreachableList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -416,127 +374,117 @@ public int hashCode() { } public static com.google.cloud.datastream.v1alpha1.ListRoutesResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.ListRoutesResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.ListRoutesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.ListRoutesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.ListRoutesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.ListRoutesResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.ListRoutesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.ListRoutesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.ListRoutesResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.ListRoutesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.ListRoutesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.ListRoutesResponse 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.datastream.v1alpha1.ListRoutesResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.ListRoutesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datastream.v1alpha1.ListRoutesResponse prototype) { + public static Builder newBuilder(com.google.cloud.datastream.v1alpha1.ListRoutesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * route list response
    * 
* * Protobuf type {@code google.cloud.datastream.v1alpha1.ListRoutesResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1alpha1.ListRoutesResponse) com.google.cloud.datastream.v1alpha1.ListRoutesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_ListRoutesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_ListRoutesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_ListRoutesResponse_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_ListRoutesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.ListRoutesResponse.class, - com.google.cloud.datastream.v1alpha1.ListRoutesResponse.Builder.class); + com.google.cloud.datastream.v1alpha1.ListRoutesResponse.class, com.google.cloud.datastream.v1alpha1.ListRoutesResponse.Builder.class); } // Construct using com.google.cloud.datastream.v1alpha1.ListRoutesResponse.newBuilder() @@ -544,17 +492,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getRoutesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -572,9 +520,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_ListRoutesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_ListRoutesResponse_descriptor; } @java.lang.Override @@ -593,8 +541,7 @@ public com.google.cloud.datastream.v1alpha1.ListRoutesResponse build() { @java.lang.Override public com.google.cloud.datastream.v1alpha1.ListRoutesResponse buildPartial() { - com.google.cloud.datastream.v1alpha1.ListRoutesResponse result = - new com.google.cloud.datastream.v1alpha1.ListRoutesResponse(this); + com.google.cloud.datastream.v1alpha1.ListRoutesResponse result = new com.google.cloud.datastream.v1alpha1.ListRoutesResponse(this); int from_bitField0_ = bitField0_; if (routesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -619,39 +566,38 @@ public com.google.cloud.datastream.v1alpha1.ListRoutesResponse buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1alpha1.ListRoutesResponse) { - return mergeFrom((com.google.cloud.datastream.v1alpha1.ListRoutesResponse) other); + return mergeFrom((com.google.cloud.datastream.v1alpha1.ListRoutesResponse)other); } else { super.mergeFrom(other); return this; @@ -659,8 +605,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datastream.v1alpha1.ListRoutesResponse other) { - if (other == com.google.cloud.datastream.v1alpha1.ListRoutesResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.datastream.v1alpha1.ListRoutesResponse.getDefaultInstance()) return this; if (routesBuilder_ == null) { if (!other.routes_.isEmpty()) { if (routes_.isEmpty()) { @@ -679,10 +624,9 @@ public Builder mergeFrom(com.google.cloud.datastream.v1alpha1.ListRoutesResponse routesBuilder_ = null; routes_ = other.routes_; bitField0_ = (bitField0_ & ~0x00000001); - routesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getRoutesFieldBuilder() - : null; + routesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getRoutesFieldBuilder() : null; } else { routesBuilder_.addAllMessages(other.routes_); } @@ -721,8 +665,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datastream.v1alpha1.ListRoutesResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datastream.v1alpha1.ListRoutesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -731,28 +674,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List routes_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureRoutesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { routes_ = new java.util.ArrayList(routes_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.Route, - com.google.cloud.datastream.v1alpha1.Route.Builder, - com.google.cloud.datastream.v1alpha1.RouteOrBuilder> - routesBuilder_; + com.google.cloud.datastream.v1alpha1.Route, com.google.cloud.datastream.v1alpha1.Route.Builder, com.google.cloud.datastream.v1alpha1.RouteOrBuilder> routesBuilder_; /** - * - * *
      * List of Routes.
      * 
@@ -767,8 +703,6 @@ public java.util.List getRoutesList( } } /** - * - * *
      * List of Routes.
      * 
@@ -783,8 +717,6 @@ public int getRoutesCount() { } } /** - * - * *
      * List of Routes.
      * 
@@ -799,15 +731,14 @@ public com.google.cloud.datastream.v1alpha1.Route getRoutes(int index) { } } /** - * - * *
      * List of Routes.
      * 
* * repeated .google.cloud.datastream.v1alpha1.Route routes = 1; */ - public Builder setRoutes(int index, com.google.cloud.datastream.v1alpha1.Route value) { + public Builder setRoutes( + int index, com.google.cloud.datastream.v1alpha1.Route value) { if (routesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -821,8 +752,6 @@ public Builder setRoutes(int index, com.google.cloud.datastream.v1alpha1.Route v return this; } /** - * - * *
      * List of Routes.
      * 
@@ -841,8 +770,6 @@ public Builder setRoutes( return this; } /** - * - * *
      * List of Routes.
      * 
@@ -863,15 +790,14 @@ public Builder addRoutes(com.google.cloud.datastream.v1alpha1.Route value) { return this; } /** - * - * *
      * List of Routes.
      * 
* * repeated .google.cloud.datastream.v1alpha1.Route routes = 1; */ - public Builder addRoutes(int index, com.google.cloud.datastream.v1alpha1.Route value) { + public Builder addRoutes( + int index, com.google.cloud.datastream.v1alpha1.Route value) { if (routesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -885,15 +811,14 @@ public Builder addRoutes(int index, com.google.cloud.datastream.v1alpha1.Route v return this; } /** - * - * *
      * List of Routes.
      * 
* * repeated .google.cloud.datastream.v1alpha1.Route routes = 1; */ - public Builder addRoutes(com.google.cloud.datastream.v1alpha1.Route.Builder builderForValue) { + public Builder addRoutes( + com.google.cloud.datastream.v1alpha1.Route.Builder builderForValue) { if (routesBuilder_ == null) { ensureRoutesIsMutable(); routes_.add(builderForValue.build()); @@ -904,8 +829,6 @@ public Builder addRoutes(com.google.cloud.datastream.v1alpha1.Route.Builder buil return this; } /** - * - * *
      * List of Routes.
      * 
@@ -924,8 +847,6 @@ public Builder addRoutes( return this; } /** - * - * *
      * List of Routes.
      * 
@@ -936,7 +857,8 @@ public Builder addAllRoutes( java.lang.Iterable values) { if (routesBuilder_ == null) { ensureRoutesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, routes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, routes_); onChanged(); } else { routesBuilder_.addAllMessages(values); @@ -944,8 +866,6 @@ public Builder addAllRoutes( return this; } /** - * - * *
      * List of Routes.
      * 
@@ -963,8 +883,6 @@ public Builder clearRoutes() { return this; } /** - * - * *
      * List of Routes.
      * 
@@ -982,44 +900,39 @@ public Builder removeRoutes(int index) { return this; } /** - * - * *
      * List of Routes.
      * 
* * repeated .google.cloud.datastream.v1alpha1.Route routes = 1; */ - public com.google.cloud.datastream.v1alpha1.Route.Builder getRoutesBuilder(int index) { + public com.google.cloud.datastream.v1alpha1.Route.Builder getRoutesBuilder( + int index) { return getRoutesFieldBuilder().getBuilder(index); } /** - * - * *
      * List of Routes.
      * 
* * repeated .google.cloud.datastream.v1alpha1.Route routes = 1; */ - public com.google.cloud.datastream.v1alpha1.RouteOrBuilder getRoutesOrBuilder(int index) { + public com.google.cloud.datastream.v1alpha1.RouteOrBuilder getRoutesOrBuilder( + int index) { if (routesBuilder_ == null) { - return routes_.get(index); - } else { + return routes_.get(index); } else { return routesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * List of Routes.
      * 
* * repeated .google.cloud.datastream.v1alpha1.Route routes = 1; */ - public java.util.List - getRoutesOrBuilderList() { + public java.util.List + getRoutesOrBuilderList() { if (routesBuilder_ != null) { return routesBuilder_.getMessageOrBuilderList(); } else { @@ -1027,8 +940,6 @@ public com.google.cloud.datastream.v1alpha1.RouteOrBuilder getRoutesOrBuilder(in } } /** - * - * *
      * List of Routes.
      * 
@@ -1036,48 +947,42 @@ public com.google.cloud.datastream.v1alpha1.RouteOrBuilder getRoutesOrBuilder(in * repeated .google.cloud.datastream.v1alpha1.Route routes = 1; */ public com.google.cloud.datastream.v1alpha1.Route.Builder addRoutesBuilder() { - return getRoutesFieldBuilder() - .addBuilder(com.google.cloud.datastream.v1alpha1.Route.getDefaultInstance()); + return getRoutesFieldBuilder().addBuilder( + com.google.cloud.datastream.v1alpha1.Route.getDefaultInstance()); } /** - * - * *
      * List of Routes.
      * 
* * repeated .google.cloud.datastream.v1alpha1.Route routes = 1; */ - public com.google.cloud.datastream.v1alpha1.Route.Builder addRoutesBuilder(int index) { - return getRoutesFieldBuilder() - .addBuilder(index, com.google.cloud.datastream.v1alpha1.Route.getDefaultInstance()); + public com.google.cloud.datastream.v1alpha1.Route.Builder addRoutesBuilder( + int index) { + return getRoutesFieldBuilder().addBuilder( + index, com.google.cloud.datastream.v1alpha1.Route.getDefaultInstance()); } /** - * - * *
      * List of Routes.
      * 
* * repeated .google.cloud.datastream.v1alpha1.Route routes = 1; */ - public java.util.List - getRoutesBuilderList() { + public java.util.List + getRoutesBuilderList() { return getRoutesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.Route, - com.google.cloud.datastream.v1alpha1.Route.Builder, - com.google.cloud.datastream.v1alpha1.RouteOrBuilder> + com.google.cloud.datastream.v1alpha1.Route, com.google.cloud.datastream.v1alpha1.Route.Builder, com.google.cloud.datastream.v1alpha1.RouteOrBuilder> getRoutesFieldBuilder() { if (routesBuilder_ == null) { - routesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.Route, - com.google.cloud.datastream.v1alpha1.Route.Builder, - com.google.cloud.datastream.v1alpha1.RouteOrBuilder>( - routes_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + routesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datastream.v1alpha1.Route, com.google.cloud.datastream.v1alpha1.Route.Builder, com.google.cloud.datastream.v1alpha1.RouteOrBuilder>( + routes_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); routes_ = null; } return routesBuilder_; @@ -1085,21 +990,19 @@ public com.google.cloud.datastream.v1alpha1.Route.Builder addRoutesBuilder(int i private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * 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; @@ -1108,22 +1011,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1131,115 +1033,98 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList unreachable_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList unreachable_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureUnreachableIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList getUnreachableList() { + public com.google.protobuf.ProtocolStringList + getUnreachableList() { return unreachable_.getUnmodifiableView(); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1247,90 +1132,80 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString getUnreachableBytes(int index) { + public com.google.protobuf.ByteString + getUnreachableBytes(int index) { return unreachable_.getByteString(index); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param index The index to set the value at. * @param value The unreachable to set. * @return This builder for chaining. */ - public Builder setUnreachable(int index, java.lang.String value) { + public Builder setUnreachable( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.set(index, value); onChanged(); return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param value The unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachable(java.lang.String value) { + public Builder addUnreachable( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.add(value); onChanged(); return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param values The unreachable to add. * @return This builder for chaining. */ - public Builder addAllUnreachable(java.lang.Iterable values) { + public Builder addAllUnreachable( + java.lang.Iterable values) { ensureUnreachableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachable_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, unreachable_); onChanged(); return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @return This builder for chaining. */ public Builder clearUnreachable() { @@ -1340,30 +1215,28 @@ public Builder clearUnreachable() { return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param value The bytes of the unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { + public Builder addUnreachableBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.add(value); onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1373,12 +1246,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1alpha1.ListRoutesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1alpha1.ListRoutesResponse) private static final com.google.cloud.datastream.v1alpha1.ListRoutesResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1alpha1.ListRoutesResponse(); } @@ -1387,16 +1260,16 @@ public static com.google.cloud.datastream.v1alpha1.ListRoutesResponse getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListRoutesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListRoutesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListRoutesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListRoutesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1411,4 +1284,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datastream.v1alpha1.ListRoutesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListRoutesResponseOrBuilder.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListRoutesResponseOrBuilder.java similarity index 71% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListRoutesResponseOrBuilder.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListRoutesResponseOrBuilder.java index 60a9d2d0..159ae49c 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListRoutesResponseOrBuilder.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListRoutesResponseOrBuilder.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/datastream/v1alpha1/datastream.proto package com.google.cloud.datastream.v1alpha1; -public interface ListRoutesResponseOrBuilder - extends +public interface ListRoutesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1alpha1.ListRoutesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * List of Routes.
    * 
* * repeated .google.cloud.datastream.v1alpha1.Route routes = 1; */ - java.util.List getRoutesList(); + java.util.List + getRoutesList(); /** - * - * *
    * List of Routes.
    * 
@@ -44,8 +25,6 @@ public interface ListRoutesResponseOrBuilder */ com.google.cloud.datastream.v1alpha1.Route getRoutes(int index); /** - * - * *
    * List of Routes.
    * 
@@ -54,102 +33,84 @@ public interface ListRoutesResponseOrBuilder */ int getRoutesCount(); /** - * - * *
    * List of Routes.
    * 
* * repeated .google.cloud.datastream.v1alpha1.Route routes = 1; */ - java.util.List + java.util.List getRoutesOrBuilderList(); /** - * - * *
    * List of Routes.
    * 
* * repeated .google.cloud.datastream.v1alpha1.Route routes = 1; */ - com.google.cloud.datastream.v1alpha1.RouteOrBuilder getRoutesOrBuilder(int index); + com.google.cloud.datastream.v1alpha1.RouteOrBuilder getRoutesOrBuilder( + int index); /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - java.util.List getUnreachableList(); + java.util.List + getUnreachableList(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ int getUnreachableCount(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ java.lang.String getUnreachable(int index); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - com.google.protobuf.ByteString getUnreachableBytes(int index); + com.google.protobuf.ByteString + getUnreachableBytes(int index); } diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListStreamsRequest.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListStreamsRequest.java similarity index 70% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListStreamsRequest.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListStreamsRequest.java index d2a8cd00..9ed95a17 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListStreamsRequest.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListStreamsRequest.java @@ -1,34 +1,20 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1alpha1/datastream.proto package com.google.cloud.datastream.v1alpha1; -/** Protobuf type {@code google.cloud.datastream.v1alpha1.ListStreamsRequest} */ -public final class ListStreamsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +/** + * Protobuf type {@code google.cloud.datastream.v1alpha1.ListStreamsRequest} + */ +public final class ListStreamsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1alpha1.ListStreamsRequest) ListStreamsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListStreamsRequest.newBuilder() to construct. private ListStreamsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListStreamsRequest() { parent_ = ""; pageToken_ = ""; @@ -38,15 +24,16 @@ private ListStreamsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListStreamsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListStreamsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -65,46 +52,42 @@ private ListStreamsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - orderBy_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + filter_ = s; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + orderBy_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -112,41 +95,34 @@ private ListStreamsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_ListStreamsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_ListStreamsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_ListStreamsRequest_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_ListStreamsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.ListStreamsRequest.class, - com.google.cloud.datastream.v1alpha1.ListStreamsRequest.Builder.class); + com.google.cloud.datastream.v1alpha1.ListStreamsRequest.class, com.google.cloud.datastream.v1alpha1.ListStreamsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The parent that owns the collection of streams.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -155,31 +131,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The parent that owns the collection of streams.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -190,8 +164,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * Maximum number of streams to return.
    * If unspecified, at most 50 streams will  be returned. The maximum
@@ -199,7 +171,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -210,8 +181,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * Page token received from a previous `ListStreams` call.
    * Provide this to retrieve the subsequent page.
@@ -220,7 +189,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -229,15 +197,14 @@ 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 received from a previous `ListStreams` call.
    * Provide this to retrieve the subsequent page.
@@ -246,15 +213,16 @@ public java.lang.String getPageToken() {
    * 
* * 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 { @@ -265,14 +233,11 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** - * - * *
    * Filter request.
    * 
* * string filter = 4; - * * @return The filter. */ @java.lang.Override @@ -281,29 +246,29 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** - * - * *
    * Filter request.
    * 
* * 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 { @@ -314,14 +279,11 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int ORDER_BY_FIELD_NUMBER = 5; private volatile java.lang.Object orderBy_; /** - * - * *
    * Order by fields for the result.
    * 
* * string order_by = 5; - * * @return The orderBy. */ @java.lang.Override @@ -330,29 +292,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; } } /** - * - * *
    * Order by fields for the result.
    * 
* * 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 { @@ -361,7 +323,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -373,7 +334,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_); } @@ -402,7 +364,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_); @@ -421,19 +384,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.datastream.v1alpha1.ListStreamsRequest)) { return super.equals(obj); } - com.google.cloud.datastream.v1alpha1.ListStreamsRequest other = - (com.google.cloud.datastream.v1alpha1.ListStreamsRequest) 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.datastream.v1alpha1.ListStreamsRequest other = (com.google.cloud.datastream.v1alpha1.ListStreamsRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; + if (!getOrderBy() + .equals(other.getOrderBy())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -461,119 +428,113 @@ public int hashCode() { } public static com.google.cloud.datastream.v1alpha1.ListStreamsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.ListStreamsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.ListStreamsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.ListStreamsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.ListStreamsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.ListStreamsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.ListStreamsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.ListStreamsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.ListStreamsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.ListStreamsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.ListStreamsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.ListStreamsRequest 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.datastream.v1alpha1.ListStreamsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.ListStreamsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datastream.v1alpha1.ListStreamsRequest prototype) { + public static Builder newBuilder(com.google.cloud.datastream.v1alpha1.ListStreamsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } - /** Protobuf type {@code google.cloud.datastream.v1alpha1.ListStreamsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + /** + * Protobuf type {@code google.cloud.datastream.v1alpha1.ListStreamsRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1alpha1.ListStreamsRequest) com.google.cloud.datastream.v1alpha1.ListStreamsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_ListStreamsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_ListStreamsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_ListStreamsRequest_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_ListStreamsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.ListStreamsRequest.class, - com.google.cloud.datastream.v1alpha1.ListStreamsRequest.Builder.class); + com.google.cloud.datastream.v1alpha1.ListStreamsRequest.class, com.google.cloud.datastream.v1alpha1.ListStreamsRequest.Builder.class); } // Construct using com.google.cloud.datastream.v1alpha1.ListStreamsRequest.newBuilder() @@ -581,15 +542,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -607,9 +569,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_ListStreamsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_ListStreamsRequest_descriptor; } @java.lang.Override @@ -628,8 +590,7 @@ public com.google.cloud.datastream.v1alpha1.ListStreamsRequest build() { @java.lang.Override public com.google.cloud.datastream.v1alpha1.ListStreamsRequest buildPartial() { - com.google.cloud.datastream.v1alpha1.ListStreamsRequest result = - new com.google.cloud.datastream.v1alpha1.ListStreamsRequest(this); + com.google.cloud.datastream.v1alpha1.ListStreamsRequest result = new com.google.cloud.datastream.v1alpha1.ListStreamsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -643,39 +604,38 @@ public com.google.cloud.datastream.v1alpha1.ListStreamsRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1alpha1.ListStreamsRequest) { - return mergeFrom((com.google.cloud.datastream.v1alpha1.ListStreamsRequest) other); + return mergeFrom((com.google.cloud.datastream.v1alpha1.ListStreamsRequest)other); } else { super.mergeFrom(other); return this; @@ -683,8 +643,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datastream.v1alpha1.ListStreamsRequest other) { - if (other == com.google.cloud.datastream.v1alpha1.ListStreamsRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.datastream.v1alpha1.ListStreamsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -723,8 +682,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datastream.v1alpha1.ListStreamsRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datastream.v1alpha1.ListStreamsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -736,22 +694,18 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent that owns the collection of streams.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -760,23 +714,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent that owns the collection of streams.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -784,76 +735,61 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent that owns the collection of streams.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The parent that owns the collection of streams.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The parent that owns the collection of streams.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Maximum number of streams to return.
      * If unspecified, at most 50 streams will  be returned. The maximum
@@ -861,7 +797,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -869,8 +804,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Maximum number of streams to return.
      * If unspecified, at most 50 streams will  be returned. The maximum
@@ -878,19 +811,16 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * Maximum number of streams to return.
      * If unspecified, at most 50 streams will  be returned. The maximum
@@ -898,11 +828,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -910,8 +839,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * Page token received from a previous `ListStreams` call.
      * Provide this to retrieve the subsequent page.
@@ -920,13 +847,13 @@ public Builder clearPageSize() {
      * 
* * 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; @@ -935,8 +862,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * Page token received from a previous `ListStreams` call.
      * Provide this to retrieve the subsequent page.
@@ -945,14 +870,15 @@ public java.lang.String getPageToken() {
      * 
* * 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 { @@ -960,8 +886,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * Page token received from a previous `ListStreams` call.
      * Provide this to retrieve the subsequent page.
@@ -970,22 +894,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * Page token received from a previous `ListStreams` call.
      * Provide this to retrieve the subsequent page.
@@ -994,18 +916,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * Page token received from a previous `ListStreams` call.
      * Provide this to retrieve the subsequent page.
@@ -1014,16 +933,16 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -1031,20 +950,18 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * Filter request.
      * 
* * 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; @@ -1053,21 +970,20 @@ public java.lang.String getFilter() { } } /** - * - * *
      * Filter request.
      * 
* * 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 { @@ -1075,61 +991,54 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * Filter request.
      * 
* * string filter = 4; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
      * Filter request.
      * 
* * string filter = 4; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * Filter request.
      * 
* * string filter = 4; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; @@ -1137,20 +1046,18 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { private java.lang.Object orderBy_ = ""; /** - * - * *
      * Order by fields for the result.
      * 
* * 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; @@ -1159,21 +1066,20 @@ public java.lang.String getOrderBy() { } } /** - * - * *
      * Order by fields for the result.
      * 
* * 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 { @@ -1181,68 +1087,61 @@ public com.google.protobuf.ByteString getOrderByBytes() { } } /** - * - * *
      * Order by fields for the result.
      * 
* * string order_by = 5; - * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy(java.lang.String value) { + public Builder setOrderBy( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; onChanged(); return this; } /** - * - * *
      * Order by fields for the result.
      * 
* * string order_by = 5; - * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** - * - * *
      * Order by fields for the result.
      * 
* * string order_by = 5; - * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + public Builder setOrderByBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1252,12 +1151,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1alpha1.ListStreamsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1alpha1.ListStreamsRequest) private static final com.google.cloud.datastream.v1alpha1.ListStreamsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1alpha1.ListStreamsRequest(); } @@ -1266,16 +1165,16 @@ public static com.google.cloud.datastream.v1alpha1.ListStreamsRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListStreamsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListStreamsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListStreamsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListStreamsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1290,4 +1189,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datastream.v1alpha1.ListStreamsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListStreamsRequestOrBuilder.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListStreamsRequestOrBuilder.java similarity index 64% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListStreamsRequestOrBuilder.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListStreamsRequestOrBuilder.java index f6d4220d..a4c32d09 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListStreamsRequestOrBuilder.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListStreamsRequestOrBuilder.java @@ -1,60 +1,33 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1alpha1/datastream.proto package com.google.cloud.datastream.v1alpha1; -public interface ListStreamsRequestOrBuilder - extends +public interface ListStreamsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1alpha1.ListStreamsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The parent that owns the collection of streams.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The parent that owns the collection of streams.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Maximum number of streams to return.
    * If unspecified, at most 50 streams will  be returned. The maximum
@@ -62,14 +35,11 @@ public interface ListStreamsRequestOrBuilder
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * Page token received from a previous `ListStreams` call.
    * Provide this to retrieve the subsequent page.
@@ -78,13 +48,10 @@ public interface ListStreamsRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * Page token received from a previous `ListStreams` call.
    * Provide this to retrieve the subsequent page.
@@ -93,58 +60,48 @@ public interface ListStreamsRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * Filter request.
    * 
* * string filter = 4; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * Filter request.
    * 
* * string filter = 4; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * Order by fields for the result.
    * 
* * string order_by = 5; - * * @return The orderBy. */ java.lang.String getOrderBy(); /** - * - * *
    * Order by fields for the result.
    * 
* * string order_by = 5; - * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString getOrderByBytes(); + com.google.protobuf.ByteString + getOrderByBytes(); } diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListStreamsResponse.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListStreamsResponse.java similarity index 73% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListStreamsResponse.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListStreamsResponse.java index 4f28e9bb..df552061 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListStreamsResponse.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListStreamsResponse.java @@ -1,34 +1,20 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1alpha1/datastream.proto package com.google.cloud.datastream.v1alpha1; -/** Protobuf type {@code google.cloud.datastream.v1alpha1.ListStreamsResponse} */ -public final class ListStreamsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +/** + * Protobuf type {@code google.cloud.datastream.v1alpha1.ListStreamsResponse} + */ +public final class ListStreamsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1alpha1.ListStreamsResponse) ListStreamsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListStreamsResponse.newBuilder() to construct. private ListStreamsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListStreamsResponse() { streams_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -37,15 +23,16 @@ private ListStreamsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListStreamsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListStreamsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -65,41 +52,37 @@ private ListStreamsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - streams_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - streams_.add( - input.readMessage( - com.google.cloud.datastream.v1alpha1.Stream.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + streams_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + streams_.add( + input.readMessage(com.google.cloud.datastream.v1alpha1.Stream.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - unreachable_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; - } - unreachable_.add(s); - break; + nextPageToken_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + unreachable_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + unreachable_.add(s); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -107,7 +90,8 @@ private ListStreamsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { streams_ = java.util.Collections.unmodifiableList(streams_); @@ -119,27 +103,22 @@ private ListStreamsResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_ListStreamsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_ListStreamsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_ListStreamsResponse_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_ListStreamsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.ListStreamsResponse.class, - com.google.cloud.datastream.v1alpha1.ListStreamsResponse.Builder.class); + com.google.cloud.datastream.v1alpha1.ListStreamsResponse.class, com.google.cloud.datastream.v1alpha1.ListStreamsResponse.Builder.class); } public static final int STREAMS_FIELD_NUMBER = 1; private java.util.List streams_; /** - * - * *
    * List of streams
    * 
@@ -151,8 +130,6 @@ public java.util.List getStreamsLis return streams_; } /** - * - * *
    * List of streams
    * 
@@ -160,13 +137,11 @@ public java.util.List getStreamsLis * repeated .google.cloud.datastream.v1alpha1.Stream streams = 1; */ @java.lang.Override - public java.util.List + public java.util.List getStreamsOrBuilderList() { return streams_; } /** - * - * *
    * List of streams
    * 
@@ -178,8 +153,6 @@ public int getStreamsCount() { return streams_.size(); } /** - * - * *
    * List of streams
    * 
@@ -191,8 +164,6 @@ public com.google.cloud.datastream.v1alpha1.Stream getStreams(int index) { return streams_.get(index); } /** - * - * *
    * List of streams
    * 
@@ -200,22 +171,20 @@ public com.google.cloud.datastream.v1alpha1.Stream getStreams(int index) { * repeated .google.cloud.datastream.v1alpha1.Stream streams = 1; */ @java.lang.Override - public com.google.cloud.datastream.v1alpha1.StreamOrBuilder getStreamsOrBuilder(int index) { + public com.google.cloud.datastream.v1alpha1.StreamOrBuilder getStreamsOrBuilder( + int index) { return streams_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -224,30 +193,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * 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 { @@ -258,42 +227,34 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { public static final int UNREACHABLE_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList unreachable_; /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList getUnreachableList() { + public com.google.protobuf.ProtocolStringList + getUnreachableList() { return unreachable_; } /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -301,23 +262,20 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString getUnreachableBytes(int index) { + public com.google.protobuf.ByteString + getUnreachableBytes(int index) { return unreachable_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -329,7 +287,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 < streams_.size(); i++) { output.writeMessage(1, streams_.get(i)); } @@ -349,7 +308,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < streams_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, streams_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, streams_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -370,17 +330,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.datastream.v1alpha1.ListStreamsResponse)) { return super.equals(obj); } - com.google.cloud.datastream.v1alpha1.ListStreamsResponse other = - (com.google.cloud.datastream.v1alpha1.ListStreamsResponse) obj; + com.google.cloud.datastream.v1alpha1.ListStreamsResponse other = (com.google.cloud.datastream.v1alpha1.ListStreamsResponse) obj; - if (!getStreamsList().equals(other.getStreamsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; - if (!getUnreachableList().equals(other.getUnreachableList())) return false; + if (!getStreamsList() + .equals(other.getStreamsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; + if (!getUnreachableList() + .equals(other.getUnreachableList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -408,119 +370,113 @@ public int hashCode() { } public static com.google.cloud.datastream.v1alpha1.ListStreamsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.ListStreamsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.ListStreamsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.ListStreamsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.ListStreamsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.ListStreamsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.ListStreamsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.ListStreamsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.ListStreamsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.ListStreamsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.ListStreamsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.ListStreamsResponse 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.datastream.v1alpha1.ListStreamsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.ListStreamsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datastream.v1alpha1.ListStreamsResponse prototype) { + public static Builder newBuilder(com.google.cloud.datastream.v1alpha1.ListStreamsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } - /** Protobuf type {@code google.cloud.datastream.v1alpha1.ListStreamsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + /** + * Protobuf type {@code google.cloud.datastream.v1alpha1.ListStreamsResponse} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1alpha1.ListStreamsResponse) com.google.cloud.datastream.v1alpha1.ListStreamsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_ListStreamsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_ListStreamsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_ListStreamsResponse_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_ListStreamsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.ListStreamsResponse.class, - com.google.cloud.datastream.v1alpha1.ListStreamsResponse.Builder.class); + com.google.cloud.datastream.v1alpha1.ListStreamsResponse.class, com.google.cloud.datastream.v1alpha1.ListStreamsResponse.Builder.class); } // Construct using com.google.cloud.datastream.v1alpha1.ListStreamsResponse.newBuilder() @@ -528,17 +484,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getStreamsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -556,9 +512,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_ListStreamsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_ListStreamsResponse_descriptor; } @java.lang.Override @@ -577,8 +533,7 @@ public com.google.cloud.datastream.v1alpha1.ListStreamsResponse build() { @java.lang.Override public com.google.cloud.datastream.v1alpha1.ListStreamsResponse buildPartial() { - com.google.cloud.datastream.v1alpha1.ListStreamsResponse result = - new com.google.cloud.datastream.v1alpha1.ListStreamsResponse(this); + com.google.cloud.datastream.v1alpha1.ListStreamsResponse result = new com.google.cloud.datastream.v1alpha1.ListStreamsResponse(this); int from_bitField0_ = bitField0_; if (streamsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -603,39 +558,38 @@ public com.google.cloud.datastream.v1alpha1.ListStreamsResponse buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1alpha1.ListStreamsResponse) { - return mergeFrom((com.google.cloud.datastream.v1alpha1.ListStreamsResponse) other); + return mergeFrom((com.google.cloud.datastream.v1alpha1.ListStreamsResponse)other); } else { super.mergeFrom(other); return this; @@ -643,8 +597,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datastream.v1alpha1.ListStreamsResponse other) { - if (other == com.google.cloud.datastream.v1alpha1.ListStreamsResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.datastream.v1alpha1.ListStreamsResponse.getDefaultInstance()) return this; if (streamsBuilder_ == null) { if (!other.streams_.isEmpty()) { if (streams_.isEmpty()) { @@ -663,10 +616,9 @@ public Builder mergeFrom(com.google.cloud.datastream.v1alpha1.ListStreamsRespons streamsBuilder_ = null; streams_ = other.streams_; bitField0_ = (bitField0_ & ~0x00000001); - streamsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getStreamsFieldBuilder() - : null; + streamsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getStreamsFieldBuilder() : null; } else { streamsBuilder_.addAllMessages(other.streams_); } @@ -705,8 +657,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datastream.v1alpha1.ListStreamsResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datastream.v1alpha1.ListStreamsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -715,28 +666,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List streams_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureStreamsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { streams_ = new java.util.ArrayList(streams_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.Stream, - com.google.cloud.datastream.v1alpha1.Stream.Builder, - com.google.cloud.datastream.v1alpha1.StreamOrBuilder> - streamsBuilder_; + com.google.cloud.datastream.v1alpha1.Stream, com.google.cloud.datastream.v1alpha1.Stream.Builder, com.google.cloud.datastream.v1alpha1.StreamOrBuilder> streamsBuilder_; /** - * - * *
      * List of streams
      * 
@@ -751,8 +695,6 @@ public java.util.List getStreamsLis } } /** - * - * *
      * List of streams
      * 
@@ -767,8 +709,6 @@ public int getStreamsCount() { } } /** - * - * *
      * List of streams
      * 
@@ -783,15 +723,14 @@ public com.google.cloud.datastream.v1alpha1.Stream getStreams(int index) { } } /** - * - * *
      * List of streams
      * 
* * repeated .google.cloud.datastream.v1alpha1.Stream streams = 1; */ - public Builder setStreams(int index, com.google.cloud.datastream.v1alpha1.Stream value) { + public Builder setStreams( + int index, com.google.cloud.datastream.v1alpha1.Stream value) { if (streamsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -805,8 +744,6 @@ public Builder setStreams(int index, com.google.cloud.datastream.v1alpha1.Stream return this; } /** - * - * *
      * List of streams
      * 
@@ -825,8 +762,6 @@ public Builder setStreams( return this; } /** - * - * *
      * List of streams
      * 
@@ -847,15 +782,14 @@ public Builder addStreams(com.google.cloud.datastream.v1alpha1.Stream value) { return this; } /** - * - * *
      * List of streams
      * 
* * repeated .google.cloud.datastream.v1alpha1.Stream streams = 1; */ - public Builder addStreams(int index, com.google.cloud.datastream.v1alpha1.Stream value) { + public Builder addStreams( + int index, com.google.cloud.datastream.v1alpha1.Stream value) { if (streamsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -869,15 +803,14 @@ public Builder addStreams(int index, com.google.cloud.datastream.v1alpha1.Stream return this; } /** - * - * *
      * List of streams
      * 
* * repeated .google.cloud.datastream.v1alpha1.Stream streams = 1; */ - public Builder addStreams(com.google.cloud.datastream.v1alpha1.Stream.Builder builderForValue) { + public Builder addStreams( + com.google.cloud.datastream.v1alpha1.Stream.Builder builderForValue) { if (streamsBuilder_ == null) { ensureStreamsIsMutable(); streams_.add(builderForValue.build()); @@ -888,8 +821,6 @@ public Builder addStreams(com.google.cloud.datastream.v1alpha1.Stream.Builder bu return this; } /** - * - * *
      * List of streams
      * 
@@ -908,8 +839,6 @@ public Builder addStreams( return this; } /** - * - * *
      * List of streams
      * 
@@ -920,7 +849,8 @@ public Builder addAllStreams( java.lang.Iterable values) { if (streamsBuilder_ == null) { ensureStreamsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, streams_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, streams_); onChanged(); } else { streamsBuilder_.addAllMessages(values); @@ -928,8 +858,6 @@ public Builder addAllStreams( return this; } /** - * - * *
      * List of streams
      * 
@@ -947,8 +875,6 @@ public Builder clearStreams() { return this; } /** - * - * *
      * List of streams
      * 
@@ -966,44 +892,39 @@ public Builder removeStreams(int index) { return this; } /** - * - * *
      * List of streams
      * 
* * repeated .google.cloud.datastream.v1alpha1.Stream streams = 1; */ - public com.google.cloud.datastream.v1alpha1.Stream.Builder getStreamsBuilder(int index) { + public com.google.cloud.datastream.v1alpha1.Stream.Builder getStreamsBuilder( + int index) { return getStreamsFieldBuilder().getBuilder(index); } /** - * - * *
      * List of streams
      * 
* * repeated .google.cloud.datastream.v1alpha1.Stream streams = 1; */ - public com.google.cloud.datastream.v1alpha1.StreamOrBuilder getStreamsOrBuilder(int index) { + public com.google.cloud.datastream.v1alpha1.StreamOrBuilder getStreamsOrBuilder( + int index) { if (streamsBuilder_ == null) { - return streams_.get(index); - } else { + return streams_.get(index); } else { return streamsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * List of streams
      * 
* * repeated .google.cloud.datastream.v1alpha1.Stream streams = 1; */ - public java.util.List - getStreamsOrBuilderList() { + public java.util.List + getStreamsOrBuilderList() { if (streamsBuilder_ != null) { return streamsBuilder_.getMessageOrBuilderList(); } else { @@ -1011,8 +932,6 @@ public com.google.cloud.datastream.v1alpha1.StreamOrBuilder getStreamsOrBuilder( } } /** - * - * *
      * List of streams
      * 
@@ -1020,48 +939,42 @@ public com.google.cloud.datastream.v1alpha1.StreamOrBuilder getStreamsOrBuilder( * repeated .google.cloud.datastream.v1alpha1.Stream streams = 1; */ public com.google.cloud.datastream.v1alpha1.Stream.Builder addStreamsBuilder() { - return getStreamsFieldBuilder() - .addBuilder(com.google.cloud.datastream.v1alpha1.Stream.getDefaultInstance()); + return getStreamsFieldBuilder().addBuilder( + com.google.cloud.datastream.v1alpha1.Stream.getDefaultInstance()); } /** - * - * *
      * List of streams
      * 
* * repeated .google.cloud.datastream.v1alpha1.Stream streams = 1; */ - public com.google.cloud.datastream.v1alpha1.Stream.Builder addStreamsBuilder(int index) { - return getStreamsFieldBuilder() - .addBuilder(index, com.google.cloud.datastream.v1alpha1.Stream.getDefaultInstance()); + public com.google.cloud.datastream.v1alpha1.Stream.Builder addStreamsBuilder( + int index) { + return getStreamsFieldBuilder().addBuilder( + index, com.google.cloud.datastream.v1alpha1.Stream.getDefaultInstance()); } /** - * - * *
      * List of streams
      * 
* * repeated .google.cloud.datastream.v1alpha1.Stream streams = 1; */ - public java.util.List - getStreamsBuilderList() { + public java.util.List + getStreamsBuilderList() { return getStreamsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.Stream, - com.google.cloud.datastream.v1alpha1.Stream.Builder, - com.google.cloud.datastream.v1alpha1.StreamOrBuilder> + com.google.cloud.datastream.v1alpha1.Stream, com.google.cloud.datastream.v1alpha1.Stream.Builder, com.google.cloud.datastream.v1alpha1.StreamOrBuilder> getStreamsFieldBuilder() { if (streamsBuilder_ == null) { - streamsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.Stream, - com.google.cloud.datastream.v1alpha1.Stream.Builder, - com.google.cloud.datastream.v1alpha1.StreamOrBuilder>( - streams_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + streamsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datastream.v1alpha1.Stream, com.google.cloud.datastream.v1alpha1.Stream.Builder, com.google.cloud.datastream.v1alpha1.StreamOrBuilder>( + streams_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); streams_ = null; } return streamsBuilder_; @@ -1069,21 +982,19 @@ public com.google.cloud.datastream.v1alpha1.Stream.Builder addStreamsBuilder(int private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * 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; @@ -1092,22 +1003,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * 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 { @@ -1115,115 +1025,98 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList unreachable_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList unreachable_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureUnreachableIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList getUnreachableList() { + public com.google.protobuf.ProtocolStringList + getUnreachableList() { return unreachable_.getUnmodifiableView(); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1231,90 +1124,80 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString getUnreachableBytes(int index) { + public com.google.protobuf.ByteString + getUnreachableBytes(int index) { return unreachable_.getByteString(index); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param index The index to set the value at. * @param value The unreachable to set. * @return This builder for chaining. */ - public Builder setUnreachable(int index, java.lang.String value) { + public Builder setUnreachable( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.set(index, value); onChanged(); return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param value The unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachable(java.lang.String value) { + public Builder addUnreachable( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.add(value); onChanged(); return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param values The unreachable to add. * @return This builder for chaining. */ - public Builder addAllUnreachable(java.lang.Iterable values) { + public Builder addAllUnreachable( + java.lang.Iterable values) { ensureUnreachableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachable_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, unreachable_); onChanged(); return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @return This builder for chaining. */ public Builder clearUnreachable() { @@ -1324,30 +1207,28 @@ public Builder clearUnreachable() { return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param value The bytes of the unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { + public Builder addUnreachableBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.add(value); onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1357,12 +1238,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1alpha1.ListStreamsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1alpha1.ListStreamsResponse) private static final com.google.cloud.datastream.v1alpha1.ListStreamsResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1alpha1.ListStreamsResponse(); } @@ -1371,16 +1252,16 @@ public static com.google.cloud.datastream.v1alpha1.ListStreamsResponse getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListStreamsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListStreamsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListStreamsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListStreamsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1395,4 +1276,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datastream.v1alpha1.ListStreamsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListStreamsResponseOrBuilder.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListStreamsResponseOrBuilder.java similarity index 71% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListStreamsResponseOrBuilder.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListStreamsResponseOrBuilder.java index 00f820f8..ce3acb89 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListStreamsResponseOrBuilder.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListStreamsResponseOrBuilder.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/datastream/v1alpha1/datastream.proto package com.google.cloud.datastream.v1alpha1; -public interface ListStreamsResponseOrBuilder - extends +public interface ListStreamsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1alpha1.ListStreamsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * List of streams
    * 
* * repeated .google.cloud.datastream.v1alpha1.Stream streams = 1; */ - java.util.List getStreamsList(); + java.util.List + getStreamsList(); /** - * - * *
    * List of streams
    * 
@@ -44,8 +25,6 @@ public interface ListStreamsResponseOrBuilder */ com.google.cloud.datastream.v1alpha1.Stream getStreams(int index); /** - * - * *
    * List of streams
    * 
@@ -54,102 +33,84 @@ public interface ListStreamsResponseOrBuilder */ int getStreamsCount(); /** - * - * *
    * List of streams
    * 
* * repeated .google.cloud.datastream.v1alpha1.Stream streams = 1; */ - java.util.List + java.util.List getStreamsOrBuilderList(); /** - * - * *
    * List of streams
    * 
* * repeated .google.cloud.datastream.v1alpha1.Stream streams = 1; */ - com.google.cloud.datastream.v1alpha1.StreamOrBuilder getStreamsOrBuilder(int index); + com.google.cloud.datastream.v1alpha1.StreamOrBuilder getStreamsOrBuilder( + int index); /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - java.util.List getUnreachableList(); + java.util.List + getUnreachableList(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ int getUnreachableCount(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ java.lang.String getUnreachable(int index); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - com.google.protobuf.ByteString getUnreachableBytes(int index); + com.google.protobuf.ByteString + getUnreachableBytes(int index); } diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/LocationName.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/LocationName.java similarity index 100% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/LocationName.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/LocationName.java diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlColumn.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlColumn.java similarity index 73% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlColumn.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlColumn.java index bf77e0c6..041c1004 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlColumn.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlColumn.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/datastream/v1alpha1/datastream_resources.proto package com.google.cloud.datastream.v1alpha1; /** - * - * *
  * MySQL Column.
  * 
* * Protobuf type {@code google.cloud.datastream.v1alpha1.MysqlColumn} */ -public final class MysqlColumn extends com.google.protobuf.GeneratedMessageV3 - implements +public final class MysqlColumn extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1alpha1.MysqlColumn) MysqlColumnOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use MysqlColumn.newBuilder() to construct. private MysqlColumn(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private MysqlColumn() { columnName_ = ""; dataType_ = ""; @@ -45,15 +27,16 @@ private MysqlColumn() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new MysqlColumn(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private MysqlColumn( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,54 +55,51 @@ private MysqlColumn( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - columnName_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + columnName_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - dataType_ = s; - break; - } - case 24: - { - length_ = input.readInt32(); - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + dataType_ = s; + break; + } + case 24: { - collation_ = s; - break; - } - case 40: - { - primaryKey_ = input.readBool(); - break; - } - case 48: - { - nullable_ = input.readBool(); - break; - } - case 56: - { - ordinalPosition_ = input.readInt32(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + length_ = input.readInt32(); + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + collation_ = s; + break; + } + case 40: { + + primaryKey_ = input.readBool(); + break; + } + case 48: { + + nullable_ = input.readBool(); + break; + } + case 56: { + + ordinalPosition_ = input.readInt32(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -127,39 +107,34 @@ private MysqlColumn( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_MysqlColumn_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_MysqlColumn_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_MysqlColumn_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_MysqlColumn_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.MysqlColumn.class, - com.google.cloud.datastream.v1alpha1.MysqlColumn.Builder.class); + com.google.cloud.datastream.v1alpha1.MysqlColumn.class, com.google.cloud.datastream.v1alpha1.MysqlColumn.Builder.class); } public static final int COLUMN_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object columnName_; /** - * - * *
    * Column name.
    * 
* * string column_name = 1; - * * @return The columnName. */ @java.lang.Override @@ -168,29 +143,29 @@ public java.lang.String getColumnName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); columnName_ = s; return s; } } /** - * - * *
    * Column name.
    * 
* * string column_name = 1; - * * @return The bytes for columnName. */ @java.lang.Override - public com.google.protobuf.ByteString getColumnNameBytes() { + public com.google.protobuf.ByteString + getColumnNameBytes() { java.lang.Object ref = columnName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); columnName_ = b; return b; } else { @@ -201,15 +176,12 @@ public com.google.protobuf.ByteString getColumnNameBytes() { public static final int DATA_TYPE_FIELD_NUMBER = 2; private volatile java.lang.Object dataType_; /** - * - * *
    * The MySQL data type. Full data types list can be found here:
    * https://dev.mysql.com/doc/refman/8.0/en/data-types.html
    * 
* * string data_type = 2; - * * @return The dataType. */ @java.lang.Override @@ -218,30 +190,30 @@ public java.lang.String getDataType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dataType_ = s; return s; } } /** - * - * *
    * The MySQL data type. Full data types list can be found here:
    * https://dev.mysql.com/doc/refman/8.0/en/data-types.html
    * 
* * string data_type = 2; - * * @return The bytes for dataType. */ @java.lang.Override - public com.google.protobuf.ByteString getDataTypeBytes() { + public com.google.protobuf.ByteString + getDataTypeBytes() { java.lang.Object ref = dataType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); dataType_ = b; return b; } else { @@ -252,14 +224,11 @@ public com.google.protobuf.ByteString getDataTypeBytes() { public static final int LENGTH_FIELD_NUMBER = 3; private int length_; /** - * - * *
    * Column length.
    * 
* * int32 length = 3; - * * @return The length. */ @java.lang.Override @@ -270,14 +239,11 @@ public int getLength() { public static final int COLLATION_FIELD_NUMBER = 4; private volatile java.lang.Object collation_; /** - * - * *
    * Column collation.
    * 
* * string collation = 4; - * * @return The collation. */ @java.lang.Override @@ -286,29 +252,29 @@ public java.lang.String getCollation() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); collation_ = s; return s; } } /** - * - * *
    * Column collation.
    * 
* * string collation = 4; - * * @return The bytes for collation. */ @java.lang.Override - public com.google.protobuf.ByteString getCollationBytes() { + public com.google.protobuf.ByteString + getCollationBytes() { java.lang.Object ref = collation_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); collation_ = b; return b; } else { @@ -319,14 +285,11 @@ public com.google.protobuf.ByteString getCollationBytes() { public static final int PRIMARY_KEY_FIELD_NUMBER = 5; private boolean primaryKey_; /** - * - * *
    * Whether or not the column represents a primary key.
    * 
* * bool primary_key = 5; - * * @return The primaryKey. */ @java.lang.Override @@ -337,14 +300,11 @@ public boolean getPrimaryKey() { public static final int NULLABLE_FIELD_NUMBER = 6; private boolean nullable_; /** - * - * *
    * Whether or not the column can accept a null value.
    * 
* * bool nullable = 6; - * * @return The nullable. */ @java.lang.Override @@ -355,14 +315,11 @@ public boolean getNullable() { public static final int ORDINAL_POSITION_FIELD_NUMBER = 7; private int ordinalPosition_; /** - * - * *
    * The ordinal position of the column in the table.
    * 
* * int32 ordinal_position = 7; - * * @return The ordinalPosition. */ @java.lang.Override @@ -371,7 +328,6 @@ public int getOrdinalPosition() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -383,7 +339,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(columnName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, columnName_); } @@ -421,19 +378,23 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, dataType_); } if (length_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, length_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, length_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(collation_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, collation_); } if (primaryKey_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, primaryKey_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, primaryKey_); } if (nullable_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, nullable_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(6, nullable_); } if (ordinalPosition_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(7, ordinalPosition_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(7, ordinalPosition_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -443,21 +404,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.datastream.v1alpha1.MysqlColumn)) { return super.equals(obj); } - com.google.cloud.datastream.v1alpha1.MysqlColumn other = - (com.google.cloud.datastream.v1alpha1.MysqlColumn) obj; - - if (!getColumnName().equals(other.getColumnName())) return false; - if (!getDataType().equals(other.getDataType())) return false; - if (getLength() != other.getLength()) return false; - if (!getCollation().equals(other.getCollation())) return false; - if (getPrimaryKey() != other.getPrimaryKey()) return false; - if (getNullable() != other.getNullable()) return false; - if (getOrdinalPosition() != other.getOrdinalPosition()) return false; + com.google.cloud.datastream.v1alpha1.MysqlColumn other = (com.google.cloud.datastream.v1alpha1.MysqlColumn) obj; + + if (!getColumnName() + .equals(other.getColumnName())) return false; + if (!getDataType() + .equals(other.getDataType())) return false; + if (getLength() + != other.getLength()) return false; + if (!getCollation() + .equals(other.getCollation())) return false; + if (getPrimaryKey() + != other.getPrimaryKey()) return false; + if (getNullable() + != other.getNullable()) return false; + if (getOrdinalPosition() + != other.getOrdinalPosition()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -478,9 +445,11 @@ public int hashCode() { hash = (37 * hash) + COLLATION_FIELD_NUMBER; hash = (53 * hash) + getCollation().hashCode(); hash = (37 * hash) + PRIMARY_KEY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getPrimaryKey()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getPrimaryKey()); hash = (37 * hash) + NULLABLE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getNullable()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getNullable()); hash = (37 * hash) + ORDINAL_POSITION_FIELD_NUMBER; hash = (53 * hash) + getOrdinalPosition(); hash = (29 * hash) + unknownFields.hashCode(); @@ -488,127 +457,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.datastream.v1alpha1.MysqlColumn parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.datastream.v1alpha1.MysqlColumn parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.MysqlColumn parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.MysqlColumn parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.MysqlColumn parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.MysqlColumn parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.MysqlColumn parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.MysqlColumn parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.MysqlColumn parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.MysqlColumn parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.MysqlColumn parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.MysqlColumn parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.MysqlColumn 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.datastream.v1alpha1.MysqlColumn parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.MysqlColumn parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datastream.v1alpha1.MysqlColumn prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * MySQL Column.
    * 
* * Protobuf type {@code google.cloud.datastream.v1alpha1.MysqlColumn} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1alpha1.MysqlColumn) com.google.cloud.datastream.v1alpha1.MysqlColumnOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_MysqlColumn_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_MysqlColumn_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_MysqlColumn_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_MysqlColumn_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.MysqlColumn.class, - com.google.cloud.datastream.v1alpha1.MysqlColumn.Builder.class); + com.google.cloud.datastream.v1alpha1.MysqlColumn.class, com.google.cloud.datastream.v1alpha1.MysqlColumn.Builder.class); } // Construct using com.google.cloud.datastream.v1alpha1.MysqlColumn.newBuilder() @@ -616,15 +576,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -646,9 +607,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_MysqlColumn_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_MysqlColumn_descriptor; } @java.lang.Override @@ -667,8 +628,7 @@ public com.google.cloud.datastream.v1alpha1.MysqlColumn build() { @java.lang.Override public com.google.cloud.datastream.v1alpha1.MysqlColumn buildPartial() { - com.google.cloud.datastream.v1alpha1.MysqlColumn result = - new com.google.cloud.datastream.v1alpha1.MysqlColumn(this); + com.google.cloud.datastream.v1alpha1.MysqlColumn result = new com.google.cloud.datastream.v1alpha1.MysqlColumn(this); result.columnName_ = columnName_; result.dataType_ = dataType_; result.length_ = length_; @@ -684,39 +644,38 @@ public com.google.cloud.datastream.v1alpha1.MysqlColumn buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1alpha1.MysqlColumn) { - return mergeFrom((com.google.cloud.datastream.v1alpha1.MysqlColumn) other); + return mergeFrom((com.google.cloud.datastream.v1alpha1.MysqlColumn)other); } else { super.mergeFrom(other); return this; @@ -724,8 +683,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datastream.v1alpha1.MysqlColumn other) { - if (other == com.google.cloud.datastream.v1alpha1.MysqlColumn.getDefaultInstance()) - return this; + if (other == com.google.cloud.datastream.v1alpha1.MysqlColumn.getDefaultInstance()) return this; if (!other.getColumnName().isEmpty()) { columnName_ = other.columnName_; onChanged(); @@ -781,20 +739,18 @@ public Builder mergeFrom( private java.lang.Object columnName_ = ""; /** - * - * *
      * Column name.
      * 
* * string column_name = 1; - * * @return The columnName. */ public java.lang.String getColumnName() { java.lang.Object ref = columnName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); columnName_ = s; return s; @@ -803,21 +759,20 @@ public java.lang.String getColumnName() { } } /** - * - * *
      * Column name.
      * 
* * string column_name = 1; - * * @return The bytes for columnName. */ - public com.google.protobuf.ByteString getColumnNameBytes() { + public com.google.protobuf.ByteString + getColumnNameBytes() { java.lang.Object ref = columnName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); columnName_ = b; return b; } else { @@ -825,61 +780,54 @@ public com.google.protobuf.ByteString getColumnNameBytes() { } } /** - * - * *
      * Column name.
      * 
* * string column_name = 1; - * * @param value The columnName to set. * @return This builder for chaining. */ - public Builder setColumnName(java.lang.String value) { + public Builder setColumnName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + columnName_ = value; onChanged(); return this; } /** - * - * *
      * Column name.
      * 
* * string column_name = 1; - * * @return This builder for chaining. */ public Builder clearColumnName() { - + columnName_ = getDefaultInstance().getColumnName(); onChanged(); return this; } /** - * - * *
      * Column name.
      * 
* * string column_name = 1; - * * @param value The bytes for columnName to set. * @return This builder for chaining. */ - public Builder setColumnNameBytes(com.google.protobuf.ByteString value) { + public Builder setColumnNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + columnName_ = value; onChanged(); return this; @@ -887,21 +835,19 @@ public Builder setColumnNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object dataType_ = ""; /** - * - * *
      * The MySQL data type. Full data types list can be found here:
      * https://dev.mysql.com/doc/refman/8.0/en/data-types.html
      * 
* * string data_type = 2; - * * @return The dataType. */ public java.lang.String getDataType() { java.lang.Object ref = dataType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dataType_ = s; return s; @@ -910,22 +856,21 @@ public java.lang.String getDataType() { } } /** - * - * *
      * The MySQL data type. Full data types list can be found here:
      * https://dev.mysql.com/doc/refman/8.0/en/data-types.html
      * 
* * string data_type = 2; - * * @return The bytes for dataType. */ - public com.google.protobuf.ByteString getDataTypeBytes() { + public com.google.protobuf.ByteString + getDataTypeBytes() { java.lang.Object ref = dataType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); dataType_ = b; return b; } else { @@ -933,79 +878,69 @@ public com.google.protobuf.ByteString getDataTypeBytes() { } } /** - * - * *
      * The MySQL data type. Full data types list can be found here:
      * https://dev.mysql.com/doc/refman/8.0/en/data-types.html
      * 
* * string data_type = 2; - * * @param value The dataType to set. * @return This builder for chaining. */ - public Builder setDataType(java.lang.String value) { + public Builder setDataType( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + dataType_ = value; onChanged(); return this; } /** - * - * *
      * The MySQL data type. Full data types list can be found here:
      * https://dev.mysql.com/doc/refman/8.0/en/data-types.html
      * 
* * string data_type = 2; - * * @return This builder for chaining. */ public Builder clearDataType() { - + dataType_ = getDefaultInstance().getDataType(); onChanged(); return this; } /** - * - * *
      * The MySQL data type. Full data types list can be found here:
      * https://dev.mysql.com/doc/refman/8.0/en/data-types.html
      * 
* * string data_type = 2; - * * @param value The bytes for dataType to set. * @return This builder for chaining. */ - public Builder setDataTypeBytes(com.google.protobuf.ByteString value) { + public Builder setDataTypeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + dataType_ = value; onChanged(); return this; } - private int length_; + private int length_ ; /** - * - * *
      * Column length.
      * 
* * int32 length = 3; - * * @return The length. */ @java.lang.Override @@ -1013,36 +948,30 @@ public int getLength() { return length_; } /** - * - * *
      * Column length.
      * 
* * int32 length = 3; - * * @param value The length to set. * @return This builder for chaining. */ public Builder setLength(int value) { - + length_ = value; onChanged(); return this; } /** - * - * *
      * Column length.
      * 
* * int32 length = 3; - * * @return This builder for chaining. */ public Builder clearLength() { - + length_ = 0; onChanged(); return this; @@ -1050,20 +979,18 @@ public Builder clearLength() { private java.lang.Object collation_ = ""; /** - * - * *
      * Column collation.
      * 
* * string collation = 4; - * * @return The collation. */ public java.lang.String getCollation() { java.lang.Object ref = collation_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); collation_ = s; return s; @@ -1072,21 +999,20 @@ public java.lang.String getCollation() { } } /** - * - * *
      * Column collation.
      * 
* * string collation = 4; - * * @return The bytes for collation. */ - public com.google.protobuf.ByteString getCollationBytes() { + public com.google.protobuf.ByteString + getCollationBytes() { java.lang.Object ref = collation_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); collation_ = b; return b; } else { @@ -1094,76 +1020,66 @@ public com.google.protobuf.ByteString getCollationBytes() { } } /** - * - * *
      * Column collation.
      * 
* * string collation = 4; - * * @param value The collation to set. * @return This builder for chaining. */ - public Builder setCollation(java.lang.String value) { + public Builder setCollation( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + collation_ = value; onChanged(); return this; } /** - * - * *
      * Column collation.
      * 
* * string collation = 4; - * * @return This builder for chaining. */ public Builder clearCollation() { - + collation_ = getDefaultInstance().getCollation(); onChanged(); return this; } /** - * - * *
      * Column collation.
      * 
* * string collation = 4; - * * @param value The bytes for collation to set. * @return This builder for chaining. */ - public Builder setCollationBytes(com.google.protobuf.ByteString value) { + public Builder setCollationBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + collation_ = value; onChanged(); return this; } - private boolean primaryKey_; + private boolean primaryKey_ ; /** - * - * *
      * Whether or not the column represents a primary key.
      * 
* * bool primary_key = 5; - * * @return The primaryKey. */ @java.lang.Override @@ -1171,51 +1087,42 @@ public boolean getPrimaryKey() { return primaryKey_; } /** - * - * *
      * Whether or not the column represents a primary key.
      * 
* * bool primary_key = 5; - * * @param value The primaryKey to set. * @return This builder for chaining. */ public Builder setPrimaryKey(boolean value) { - + primaryKey_ = value; onChanged(); return this; } /** - * - * *
      * Whether or not the column represents a primary key.
      * 
* * bool primary_key = 5; - * * @return This builder for chaining. */ public Builder clearPrimaryKey() { - + primaryKey_ = false; onChanged(); return this; } - private boolean nullable_; + private boolean nullable_ ; /** - * - * *
      * Whether or not the column can accept a null value.
      * 
* * bool nullable = 6; - * * @return The nullable. */ @java.lang.Override @@ -1223,51 +1130,42 @@ public boolean getNullable() { return nullable_; } /** - * - * *
      * Whether or not the column can accept a null value.
      * 
* * bool nullable = 6; - * * @param value The nullable to set. * @return This builder for chaining. */ public Builder setNullable(boolean value) { - + nullable_ = value; onChanged(); return this; } /** - * - * *
      * Whether or not the column can accept a null value.
      * 
* * bool nullable = 6; - * * @return This builder for chaining. */ public Builder clearNullable() { - + nullable_ = false; onChanged(); return this; } - private int ordinalPosition_; + private int ordinalPosition_ ; /** - * - * *
      * The ordinal position of the column in the table.
      * 
* * int32 ordinal_position = 7; - * * @return The ordinalPosition. */ @java.lang.Override @@ -1275,43 +1173,37 @@ public int getOrdinalPosition() { return ordinalPosition_; } /** - * - * *
      * The ordinal position of the column in the table.
      * 
* * int32 ordinal_position = 7; - * * @param value The ordinalPosition to set. * @return This builder for chaining. */ public Builder setOrdinalPosition(int value) { - + ordinalPosition_ = value; onChanged(); return this; } /** - * - * *
      * The ordinal position of the column in the table.
      * 
* * int32 ordinal_position = 7; - * * @return This builder for chaining. */ public Builder clearOrdinalPosition() { - + ordinalPosition_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1321,12 +1213,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1alpha1.MysqlColumn) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1alpha1.MysqlColumn) private static final com.google.cloud.datastream.v1alpha1.MysqlColumn DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1alpha1.MysqlColumn(); } @@ -1335,16 +1227,16 @@ public static com.google.cloud.datastream.v1alpha1.MysqlColumn getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MysqlColumn parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MysqlColumn(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MysqlColumn parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MysqlColumn(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1359,4 +1251,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datastream.v1alpha1.MysqlColumn getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlColumnOrBuilder.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlColumnOrBuilder.java similarity index 69% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlColumnOrBuilder.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlColumnOrBuilder.java index eb736dee..28517c04 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlColumnOrBuilder.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlColumnOrBuilder.java @@ -1,153 +1,110 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1alpha1/datastream_resources.proto package com.google.cloud.datastream.v1alpha1; -public interface MysqlColumnOrBuilder - extends +public interface MysqlColumnOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1alpha1.MysqlColumn) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Column name.
    * 
* * string column_name = 1; - * * @return The columnName. */ java.lang.String getColumnName(); /** - * - * *
    * Column name.
    * 
* * string column_name = 1; - * * @return The bytes for columnName. */ - com.google.protobuf.ByteString getColumnNameBytes(); + com.google.protobuf.ByteString + getColumnNameBytes(); /** - * - * *
    * The MySQL data type. Full data types list can be found here:
    * https://dev.mysql.com/doc/refman/8.0/en/data-types.html
    * 
* * string data_type = 2; - * * @return The dataType. */ java.lang.String getDataType(); /** - * - * *
    * The MySQL data type. Full data types list can be found here:
    * https://dev.mysql.com/doc/refman/8.0/en/data-types.html
    * 
* * string data_type = 2; - * * @return The bytes for dataType. */ - com.google.protobuf.ByteString getDataTypeBytes(); + com.google.protobuf.ByteString + getDataTypeBytes(); /** - * - * *
    * Column length.
    * 
* * int32 length = 3; - * * @return The length. */ int getLength(); /** - * - * *
    * Column collation.
    * 
* * string collation = 4; - * * @return The collation. */ java.lang.String getCollation(); /** - * - * *
    * Column collation.
    * 
* * string collation = 4; - * * @return The bytes for collation. */ - com.google.protobuf.ByteString getCollationBytes(); + com.google.protobuf.ByteString + getCollationBytes(); /** - * - * *
    * Whether or not the column represents a primary key.
    * 
* * bool primary_key = 5; - * * @return The primaryKey. */ boolean getPrimaryKey(); /** - * - * *
    * Whether or not the column can accept a null value.
    * 
* * bool nullable = 6; - * * @return The nullable. */ boolean getNullable(); /** - * - * *
    * The ordinal position of the column in the table.
    * 
* * int32 ordinal_position = 7; - * * @return The ordinalPosition. */ int getOrdinalPosition(); diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlDatabase.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlDatabase.java similarity index 74% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlDatabase.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlDatabase.java index d03264d4..62536513 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlDatabase.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlDatabase.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/datastream/v1alpha1/datastream_resources.proto package com.google.cloud.datastream.v1alpha1; /** - * - * *
  * MySQL database.
  * 
* * Protobuf type {@code google.cloud.datastream.v1alpha1.MysqlDatabase} */ -public final class MysqlDatabase extends com.google.protobuf.GeneratedMessageV3 - implements +public final class MysqlDatabase extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1alpha1.MysqlDatabase) MysqlDatabaseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use MysqlDatabase.newBuilder() to construct. private MysqlDatabase(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private MysqlDatabase() { databaseName_ = ""; mysqlTables_ = java.util.Collections.emptyList(); @@ -44,15 +26,16 @@ private MysqlDatabase() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new MysqlDatabase(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private MysqlDatabase( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,32 +55,28 @@ private MysqlDatabase( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - databaseName_ = s; - break; - } - case 18: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - mysqlTables_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - mysqlTables_.add( - input.readMessage( - com.google.cloud.datastream.v1alpha1.MysqlTable.parser(), extensionRegistry)); - break; + databaseName_ = s; + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + mysqlTables_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + mysqlTables_.add( + input.readMessage(com.google.cloud.datastream.v1alpha1.MysqlTable.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -105,7 +84,8 @@ private MysqlDatabase( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { mysqlTables_ = java.util.Collections.unmodifiableList(mysqlTables_); @@ -114,33 +94,27 @@ private MysqlDatabase( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_MysqlDatabase_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_MysqlDatabase_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_MysqlDatabase_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_MysqlDatabase_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.MysqlDatabase.class, - com.google.cloud.datastream.v1alpha1.MysqlDatabase.Builder.class); + com.google.cloud.datastream.v1alpha1.MysqlDatabase.class, com.google.cloud.datastream.v1alpha1.MysqlDatabase.Builder.class); } public static final int DATABASE_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object databaseName_; /** - * - * *
    * Database name.
    * 
* * string database_name = 1; - * * @return The databaseName. */ @java.lang.Override @@ -149,29 +123,29 @@ public java.lang.String getDatabaseName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); databaseName_ = s; return s; } } /** - * - * *
    * Database name.
    * 
* * string database_name = 1; - * * @return The bytes for databaseName. */ @java.lang.Override - public com.google.protobuf.ByteString getDatabaseNameBytes() { + public com.google.protobuf.ByteString + getDatabaseNameBytes() { java.lang.Object ref = databaseName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); databaseName_ = b; return b; } else { @@ -182,8 +156,6 @@ public com.google.protobuf.ByteString getDatabaseNameBytes() { public static final int MYSQL_TABLES_FIELD_NUMBER = 2; private java.util.List mysqlTables_; /** - * - * *
    * Tables in the database.
    * 
@@ -195,8 +167,6 @@ public java.util.List getMysqlT return mysqlTables_; } /** - * - * *
    * Tables in the database.
    * 
@@ -204,13 +174,11 @@ public java.util.List getMysqlT * repeated .google.cloud.datastream.v1alpha1.MysqlTable mysql_tables = 2; */ @java.lang.Override - public java.util.List + public java.util.List getMysqlTablesOrBuilderList() { return mysqlTables_; } /** - * - * *
    * Tables in the database.
    * 
@@ -222,8 +190,6 @@ public int getMysqlTablesCount() { return mysqlTables_.size(); } /** - * - * *
    * Tables in the database.
    * 
@@ -235,8 +201,6 @@ public com.google.cloud.datastream.v1alpha1.MysqlTable getMysqlTables(int index) return mysqlTables_.get(index); } /** - * - * *
    * Tables in the database.
    * 
@@ -250,7 +214,6 @@ public com.google.cloud.datastream.v1alpha1.MysqlTableOrBuilder getMysqlTablesOr } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -262,7 +225,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(databaseName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, databaseName_); } @@ -282,7 +246,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, databaseName_); } for (int i = 0; i < mysqlTables_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, mysqlTables_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, mysqlTables_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -292,16 +257,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datastream.v1alpha1.MysqlDatabase)) { return super.equals(obj); } - com.google.cloud.datastream.v1alpha1.MysqlDatabase other = - (com.google.cloud.datastream.v1alpha1.MysqlDatabase) obj; + com.google.cloud.datastream.v1alpha1.MysqlDatabase other = (com.google.cloud.datastream.v1alpha1.MysqlDatabase) obj; - if (!getDatabaseName().equals(other.getDatabaseName())) return false; - if (!getMysqlTablesList().equals(other.getMysqlTablesList())) return false; + if (!getDatabaseName() + .equals(other.getDatabaseName())) return false; + if (!getMysqlTablesList() + .equals(other.getMysqlTablesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -325,126 +291,117 @@ public int hashCode() { } public static com.google.cloud.datastream.v1alpha1.MysqlDatabase parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.MysqlDatabase parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.MysqlDatabase parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.MysqlDatabase parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.MysqlDatabase parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.MysqlDatabase parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.MysqlDatabase parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.MysqlDatabase parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.MysqlDatabase parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.MysqlDatabase parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.MysqlDatabase parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.MysqlDatabase 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.datastream.v1alpha1.MysqlDatabase parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.MysqlDatabase parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datastream.v1alpha1.MysqlDatabase prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * MySQL database.
    * 
* * Protobuf type {@code google.cloud.datastream.v1alpha1.MysqlDatabase} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1alpha1.MysqlDatabase) com.google.cloud.datastream.v1alpha1.MysqlDatabaseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_MysqlDatabase_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_MysqlDatabase_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_MysqlDatabase_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_MysqlDatabase_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.MysqlDatabase.class, - com.google.cloud.datastream.v1alpha1.MysqlDatabase.Builder.class); + com.google.cloud.datastream.v1alpha1.MysqlDatabase.class, com.google.cloud.datastream.v1alpha1.MysqlDatabase.Builder.class); } // Construct using com.google.cloud.datastream.v1alpha1.MysqlDatabase.newBuilder() @@ -452,17 +409,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getMysqlTablesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -478,9 +435,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_MysqlDatabase_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_MysqlDatabase_descriptor; } @java.lang.Override @@ -499,8 +456,7 @@ public com.google.cloud.datastream.v1alpha1.MysqlDatabase build() { @java.lang.Override public com.google.cloud.datastream.v1alpha1.MysqlDatabase buildPartial() { - com.google.cloud.datastream.v1alpha1.MysqlDatabase result = - new com.google.cloud.datastream.v1alpha1.MysqlDatabase(this); + com.google.cloud.datastream.v1alpha1.MysqlDatabase result = new com.google.cloud.datastream.v1alpha1.MysqlDatabase(this); int from_bitField0_ = bitField0_; result.databaseName_ = databaseName_; if (mysqlTablesBuilder_ == null) { @@ -520,39 +476,38 @@ public com.google.cloud.datastream.v1alpha1.MysqlDatabase buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1alpha1.MysqlDatabase) { - return mergeFrom((com.google.cloud.datastream.v1alpha1.MysqlDatabase) other); + return mergeFrom((com.google.cloud.datastream.v1alpha1.MysqlDatabase)other); } else { super.mergeFrom(other); return this; @@ -560,8 +515,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datastream.v1alpha1.MysqlDatabase other) { - if (other == com.google.cloud.datastream.v1alpha1.MysqlDatabase.getDefaultInstance()) - return this; + if (other == com.google.cloud.datastream.v1alpha1.MysqlDatabase.getDefaultInstance()) return this; if (!other.getDatabaseName().isEmpty()) { databaseName_ = other.databaseName_; onChanged(); @@ -584,10 +538,9 @@ public Builder mergeFrom(com.google.cloud.datastream.v1alpha1.MysqlDatabase othe mysqlTablesBuilder_ = null; mysqlTables_ = other.mysqlTables_; bitField0_ = (bitField0_ & ~0x00000001); - mysqlTablesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getMysqlTablesFieldBuilder() - : null; + mysqlTablesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getMysqlTablesFieldBuilder() : null; } else { mysqlTablesBuilder_.addAllMessages(other.mysqlTables_); } @@ -612,8 +565,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datastream.v1alpha1.MysqlDatabase) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datastream.v1alpha1.MysqlDatabase) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -622,25 +574,22 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object databaseName_ = ""; /** - * - * *
      * Database name.
      * 
* * string database_name = 1; - * * @return The databaseName. */ public java.lang.String getDatabaseName() { java.lang.Object ref = databaseName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); databaseName_ = s; return s; @@ -649,21 +598,20 @@ public java.lang.String getDatabaseName() { } } /** - * - * *
      * Database name.
      * 
* * string database_name = 1; - * * @return The bytes for databaseName. */ - public com.google.protobuf.ByteString getDatabaseNameBytes() { + public com.google.protobuf.ByteString + getDatabaseNameBytes() { java.lang.Object ref = databaseName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); databaseName_ = b; return b; } else { @@ -671,86 +619,72 @@ public com.google.protobuf.ByteString getDatabaseNameBytes() { } } /** - * - * *
      * Database name.
      * 
* * string database_name = 1; - * * @param value The databaseName to set. * @return This builder for chaining. */ - public Builder setDatabaseName(java.lang.String value) { + public Builder setDatabaseName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + databaseName_ = value; onChanged(); return this; } /** - * - * *
      * Database name.
      * 
* * string database_name = 1; - * * @return This builder for chaining. */ public Builder clearDatabaseName() { - + databaseName_ = getDefaultInstance().getDatabaseName(); onChanged(); return this; } /** - * - * *
      * Database name.
      * 
* * string database_name = 1; - * * @param value The bytes for databaseName to set. * @return This builder for chaining. */ - public Builder setDatabaseNameBytes(com.google.protobuf.ByteString value) { + public Builder setDatabaseNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + databaseName_ = value; onChanged(); return this; } private java.util.List mysqlTables_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureMysqlTablesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - mysqlTables_ = - new java.util.ArrayList(mysqlTables_); + mysqlTables_ = new java.util.ArrayList(mysqlTables_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.MysqlTable, - com.google.cloud.datastream.v1alpha1.MysqlTable.Builder, - com.google.cloud.datastream.v1alpha1.MysqlTableOrBuilder> - mysqlTablesBuilder_; + com.google.cloud.datastream.v1alpha1.MysqlTable, com.google.cloud.datastream.v1alpha1.MysqlTable.Builder, com.google.cloud.datastream.v1alpha1.MysqlTableOrBuilder> mysqlTablesBuilder_; /** - * - * *
      * Tables in the database.
      * 
@@ -765,8 +699,6 @@ public java.util.List getMysqlT } } /** - * - * *
      * Tables in the database.
      * 
@@ -781,8 +713,6 @@ public int getMysqlTablesCount() { } } /** - * - * *
      * Tables in the database.
      * 
@@ -797,8 +727,6 @@ public com.google.cloud.datastream.v1alpha1.MysqlTable getMysqlTables(int index) } } /** - * - * *
      * Tables in the database.
      * 
@@ -820,8 +748,6 @@ public Builder setMysqlTables( return this; } /** - * - * *
      * Tables in the database.
      * 
@@ -840,8 +766,6 @@ public Builder setMysqlTables( return this; } /** - * - * *
      * Tables in the database.
      * 
@@ -862,8 +786,6 @@ public Builder addMysqlTables(com.google.cloud.datastream.v1alpha1.MysqlTable va return this; } /** - * - * *
      * Tables in the database.
      * 
@@ -885,8 +807,6 @@ public Builder addMysqlTables( return this; } /** - * - * *
      * Tables in the database.
      * 
@@ -905,8 +825,6 @@ public Builder addMysqlTables( return this; } /** - * - * *
      * Tables in the database.
      * 
@@ -925,8 +843,6 @@ public Builder addMysqlTables( return this; } /** - * - * *
      * Tables in the database.
      * 
@@ -937,7 +853,8 @@ public Builder addAllMysqlTables( java.lang.Iterable values) { if (mysqlTablesBuilder_ == null) { ensureMysqlTablesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, mysqlTables_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, mysqlTables_); onChanged(); } else { mysqlTablesBuilder_.addAllMessages(values); @@ -945,8 +862,6 @@ public Builder addAllMysqlTables( return this; } /** - * - * *
      * Tables in the database.
      * 
@@ -964,8 +879,6 @@ public Builder clearMysqlTables() { return this; } /** - * - * *
      * Tables in the database.
      * 
@@ -983,8 +896,6 @@ public Builder removeMysqlTables(int index) { return this; } /** - * - * *
      * Tables in the database.
      * 
@@ -996,8 +907,6 @@ public com.google.cloud.datastream.v1alpha1.MysqlTable.Builder getMysqlTablesBui return getMysqlTablesFieldBuilder().getBuilder(index); } /** - * - * *
      * Tables in the database.
      * 
@@ -1007,22 +916,19 @@ public com.google.cloud.datastream.v1alpha1.MysqlTable.Builder getMysqlTablesBui public com.google.cloud.datastream.v1alpha1.MysqlTableOrBuilder getMysqlTablesOrBuilder( int index) { if (mysqlTablesBuilder_ == null) { - return mysqlTables_.get(index); - } else { + return mysqlTables_.get(index); } else { return mysqlTablesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Tables in the database.
      * 
* * repeated .google.cloud.datastream.v1alpha1.MysqlTable mysql_tables = 2; */ - public java.util.List - getMysqlTablesOrBuilderList() { + public java.util.List + getMysqlTablesOrBuilderList() { if (mysqlTablesBuilder_ != null) { return mysqlTablesBuilder_.getMessageOrBuilderList(); } else { @@ -1030,8 +936,6 @@ public com.google.cloud.datastream.v1alpha1.MysqlTableOrBuilder getMysqlTablesOr } } /** - * - * *
      * Tables in the database.
      * 
@@ -1039,12 +943,10 @@ public com.google.cloud.datastream.v1alpha1.MysqlTableOrBuilder getMysqlTablesOr * repeated .google.cloud.datastream.v1alpha1.MysqlTable mysql_tables = 2; */ public com.google.cloud.datastream.v1alpha1.MysqlTable.Builder addMysqlTablesBuilder() { - return getMysqlTablesFieldBuilder() - .addBuilder(com.google.cloud.datastream.v1alpha1.MysqlTable.getDefaultInstance()); + return getMysqlTablesFieldBuilder().addBuilder( + com.google.cloud.datastream.v1alpha1.MysqlTable.getDefaultInstance()); } /** - * - * *
      * Tables in the database.
      * 
@@ -1053,42 +955,37 @@ public com.google.cloud.datastream.v1alpha1.MysqlTable.Builder addMysqlTablesBui */ public com.google.cloud.datastream.v1alpha1.MysqlTable.Builder addMysqlTablesBuilder( int index) { - return getMysqlTablesFieldBuilder() - .addBuilder(index, com.google.cloud.datastream.v1alpha1.MysqlTable.getDefaultInstance()); + return getMysqlTablesFieldBuilder().addBuilder( + index, com.google.cloud.datastream.v1alpha1.MysqlTable.getDefaultInstance()); } /** - * - * *
      * Tables in the database.
      * 
* * repeated .google.cloud.datastream.v1alpha1.MysqlTable mysql_tables = 2; */ - public java.util.List - getMysqlTablesBuilderList() { + public java.util.List + getMysqlTablesBuilderList() { return getMysqlTablesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.MysqlTable, - com.google.cloud.datastream.v1alpha1.MysqlTable.Builder, - com.google.cloud.datastream.v1alpha1.MysqlTableOrBuilder> + com.google.cloud.datastream.v1alpha1.MysqlTable, com.google.cloud.datastream.v1alpha1.MysqlTable.Builder, com.google.cloud.datastream.v1alpha1.MysqlTableOrBuilder> getMysqlTablesFieldBuilder() { if (mysqlTablesBuilder_ == null) { - mysqlTablesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.MysqlTable, - com.google.cloud.datastream.v1alpha1.MysqlTable.Builder, - com.google.cloud.datastream.v1alpha1.MysqlTableOrBuilder>( - mysqlTables_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + mysqlTablesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datastream.v1alpha1.MysqlTable, com.google.cloud.datastream.v1alpha1.MysqlTable.Builder, com.google.cloud.datastream.v1alpha1.MysqlTableOrBuilder>( + mysqlTables_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); mysqlTables_ = null; } return mysqlTablesBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1098,12 +995,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1alpha1.MysqlDatabase) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1alpha1.MysqlDatabase) private static final com.google.cloud.datastream.v1alpha1.MysqlDatabase DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1alpha1.MysqlDatabase(); } @@ -1112,16 +1009,16 @@ public static com.google.cloud.datastream.v1alpha1.MysqlDatabase getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MysqlDatabase parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MysqlDatabase(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MysqlDatabase parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MysqlDatabase(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1136,4 +1033,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datastream.v1alpha1.MysqlDatabase getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlDatabaseOrBuilder.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlDatabaseOrBuilder.java similarity index 67% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlDatabaseOrBuilder.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlDatabaseOrBuilder.java index 8e8acb30..a4056682 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlDatabaseOrBuilder.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlDatabaseOrBuilder.java @@ -1,66 +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/datastream/v1alpha1/datastream_resources.proto package com.google.cloud.datastream.v1alpha1; -public interface MysqlDatabaseOrBuilder - extends +public interface MysqlDatabaseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1alpha1.MysqlDatabase) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Database name.
    * 
* * string database_name = 1; - * * @return The databaseName. */ java.lang.String getDatabaseName(); /** - * - * *
    * Database name.
    * 
* * string database_name = 1; - * * @return The bytes for databaseName. */ - com.google.protobuf.ByteString getDatabaseNameBytes(); + com.google.protobuf.ByteString + getDatabaseNameBytes(); /** - * - * *
    * Tables in the database.
    * 
* * repeated .google.cloud.datastream.v1alpha1.MysqlTable mysql_tables = 2; */ - java.util.List getMysqlTablesList(); + java.util.List + getMysqlTablesList(); /** - * - * *
    * Tables in the database.
    * 
@@ -69,8 +45,6 @@ public interface MysqlDatabaseOrBuilder */ com.google.cloud.datastream.v1alpha1.MysqlTable getMysqlTables(int index); /** - * - * *
    * Tables in the database.
    * 
@@ -79,24 +53,21 @@ public interface MysqlDatabaseOrBuilder */ int getMysqlTablesCount(); /** - * - * *
    * Tables in the database.
    * 
* * repeated .google.cloud.datastream.v1alpha1.MysqlTable mysql_tables = 2; */ - java.util.List + java.util.List getMysqlTablesOrBuilderList(); /** - * - * *
    * Tables in the database.
    * 
* * repeated .google.cloud.datastream.v1alpha1.MysqlTable mysql_tables = 2; */ - com.google.cloud.datastream.v1alpha1.MysqlTableOrBuilder getMysqlTablesOrBuilder(int index); + com.google.cloud.datastream.v1alpha1.MysqlTableOrBuilder getMysqlTablesOrBuilder( + int index); } diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlProfile.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlProfile.java similarity index 70% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlProfile.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlProfile.java index bb6e5bd9..049e5cd7 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlProfile.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlProfile.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/datastream/v1alpha1/datastream_resources.proto package com.google.cloud.datastream.v1alpha1; /** - * - * *
  * MySQL database profile.
  * 
* * Protobuf type {@code google.cloud.datastream.v1alpha1.MysqlProfile} */ -public final class MysqlProfile extends com.google.protobuf.GeneratedMessageV3 - implements +public final class MysqlProfile extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1alpha1.MysqlProfile) MysqlProfileOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use MysqlProfile.newBuilder() to construct. private MysqlProfile(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private MysqlProfile() { hostname_ = ""; username_ = ""; @@ -45,15 +27,16 @@ private MysqlProfile() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new MysqlProfile(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private MysqlProfile( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,56 +55,49 @@ private MysqlProfile( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - hostname_ = s; - break; - } - case 16: - { - port_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + hostname_ = s; + break; + } + case 16: { - username_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + port_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - password_ = s; - break; - } - case 42: - { - com.google.cloud.datastream.v1alpha1.MysqlSslConfig.Builder subBuilder = null; - if (sslConfig_ != null) { - subBuilder = sslConfig_.toBuilder(); - } - sslConfig_ = - input.readMessage( - com.google.cloud.datastream.v1alpha1.MysqlSslConfig.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(sslConfig_); - sslConfig_ = subBuilder.buildPartial(); - } + username_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - break; + password_ = s; + break; + } + case 42: { + com.google.cloud.datastream.v1alpha1.MysqlSslConfig.Builder subBuilder = null; + if (sslConfig_ != null) { + subBuilder = sslConfig_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + sslConfig_ = input.readMessage(com.google.cloud.datastream.v1alpha1.MysqlSslConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(sslConfig_); + sslConfig_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -129,39 +105,34 @@ private MysqlProfile( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_MysqlProfile_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_MysqlProfile_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_MysqlProfile_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_MysqlProfile_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.MysqlProfile.class, - com.google.cloud.datastream.v1alpha1.MysqlProfile.Builder.class); + com.google.cloud.datastream.v1alpha1.MysqlProfile.class, com.google.cloud.datastream.v1alpha1.MysqlProfile.Builder.class); } public static final int HOSTNAME_FIELD_NUMBER = 1; private volatile java.lang.Object hostname_; /** - * - * *
    * Required. Hostname for the MySQL connection.
    * 
* * string hostname = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The hostname. */ @java.lang.Override @@ -170,29 +141,29 @@ public java.lang.String getHostname() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); hostname_ = s; return s; } } /** - * - * *
    * Required. Hostname for the MySQL connection.
    * 
* * string hostname = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for hostname. */ @java.lang.Override - public com.google.protobuf.ByteString getHostnameBytes() { + public com.google.protobuf.ByteString + getHostnameBytes() { java.lang.Object ref = hostname_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); hostname_ = b; return b; } else { @@ -203,14 +174,11 @@ public com.google.protobuf.ByteString getHostnameBytes() { public static final int PORT_FIELD_NUMBER = 2; private int port_; /** - * - * *
    * Port for the MySQL connection, default value is 3306.
    * 
* * int32 port = 2; - * * @return The port. */ @java.lang.Override @@ -221,14 +189,11 @@ public int getPort() { public static final int USERNAME_FIELD_NUMBER = 3; private volatile java.lang.Object username_; /** - * - * *
    * Required. Username for the MySQL connection.
    * 
* * string username = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The username. */ @java.lang.Override @@ -237,29 +202,29 @@ public java.lang.String getUsername() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); username_ = s; return s; } } /** - * - * *
    * Required. Username for the MySQL connection.
    * 
* * string username = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for username. */ @java.lang.Override - public com.google.protobuf.ByteString getUsernameBytes() { + public com.google.protobuf.ByteString + getUsernameBytes() { java.lang.Object ref = username_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); username_ = b; return b; } else { @@ -270,16 +235,11 @@ public com.google.protobuf.ByteString getUsernameBytes() { public static final int PASSWORD_FIELD_NUMBER = 4; private volatile java.lang.Object password_; /** - * - * *
    * Required. Input only. Password for the MySQL connection.
    * 
* - * - * string password = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; - * - * + * string password = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; * @return The password. */ @java.lang.Override @@ -288,31 +248,29 @@ public java.lang.String getPassword() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); password_ = s; return s; } } /** - * - * *
    * Required. Input only. Password for the MySQL connection.
    * 
* - * - * string password = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; - * - * + * string password = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; * @return The bytes for password. */ @java.lang.Override - public com.google.protobuf.ByteString getPasswordBytes() { + public com.google.protobuf.ByteString + getPasswordBytes() { java.lang.Object ref = password_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); password_ = b; return b; } else { @@ -323,14 +281,11 @@ public com.google.protobuf.ByteString getPasswordBytes() { public static final int SSL_CONFIG_FIELD_NUMBER = 5; private com.google.cloud.datastream.v1alpha1.MysqlSslConfig sslConfig_; /** - * - * *
    * SSL configuration for the MySQL connection.
    * 
* * .google.cloud.datastream.v1alpha1.MysqlSslConfig ssl_config = 5; - * * @return Whether the sslConfig field is set. */ @java.lang.Override @@ -338,25 +293,18 @@ public boolean hasSslConfig() { return sslConfig_ != null; } /** - * - * *
    * SSL configuration for the MySQL connection.
    * 
* * .google.cloud.datastream.v1alpha1.MysqlSslConfig ssl_config = 5; - * * @return The sslConfig. */ @java.lang.Override public com.google.cloud.datastream.v1alpha1.MysqlSslConfig getSslConfig() { - return sslConfig_ == null - ? com.google.cloud.datastream.v1alpha1.MysqlSslConfig.getDefaultInstance() - : sslConfig_; + return sslConfig_ == null ? com.google.cloud.datastream.v1alpha1.MysqlSslConfig.getDefaultInstance() : sslConfig_; } /** - * - * *
    * SSL configuration for the MySQL connection.
    * 
@@ -369,7 +317,6 @@ public com.google.cloud.datastream.v1alpha1.MysqlSslConfigOrBuilder getSslConfig } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -381,7 +328,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(hostname_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, hostname_); } @@ -410,7 +358,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, hostname_); } 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(username_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, username_); @@ -419,7 +368,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, password_); } if (sslConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getSslConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getSslConfig()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -429,21 +379,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.datastream.v1alpha1.MysqlProfile)) { return super.equals(obj); } - com.google.cloud.datastream.v1alpha1.MysqlProfile other = - (com.google.cloud.datastream.v1alpha1.MysqlProfile) obj; + com.google.cloud.datastream.v1alpha1.MysqlProfile other = (com.google.cloud.datastream.v1alpha1.MysqlProfile) obj; - if (!getHostname().equals(other.getHostname())) return false; - if (getPort() != other.getPort()) return false; - if (!getUsername().equals(other.getUsername())) return false; - if (!getPassword().equals(other.getPassword())) return false; + if (!getHostname() + .equals(other.getHostname())) return false; + if (getPort() + != other.getPort()) return false; + if (!getUsername() + .equals(other.getUsername())) return false; + if (!getPassword() + .equals(other.getPassword())) return false; if (hasSslConfig() != other.hasSslConfig()) return false; if (hasSslConfig()) { - if (!getSslConfig().equals(other.getSslConfig())) return false; + if (!getSslConfig() + .equals(other.getSslConfig())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -474,126 +428,117 @@ public int hashCode() { } public static com.google.cloud.datastream.v1alpha1.MysqlProfile parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.MysqlProfile parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.MysqlProfile parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.MysqlProfile parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.MysqlProfile parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.MysqlProfile parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.MysqlProfile parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.MysqlProfile parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.MysqlProfile parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.MysqlProfile parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.MysqlProfile parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.MysqlProfile 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.datastream.v1alpha1.MysqlProfile parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.MysqlProfile parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datastream.v1alpha1.MysqlProfile prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * MySQL database profile.
    * 
* * Protobuf type {@code google.cloud.datastream.v1alpha1.MysqlProfile} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1alpha1.MysqlProfile) com.google.cloud.datastream.v1alpha1.MysqlProfileOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_MysqlProfile_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_MysqlProfile_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_MysqlProfile_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_MysqlProfile_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.MysqlProfile.class, - com.google.cloud.datastream.v1alpha1.MysqlProfile.Builder.class); + com.google.cloud.datastream.v1alpha1.MysqlProfile.class, com.google.cloud.datastream.v1alpha1.MysqlProfile.Builder.class); } // Construct using com.google.cloud.datastream.v1alpha1.MysqlProfile.newBuilder() @@ -601,15 +546,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -631,9 +577,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_MysqlProfile_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_MysqlProfile_descriptor; } @java.lang.Override @@ -652,8 +598,7 @@ public com.google.cloud.datastream.v1alpha1.MysqlProfile build() { @java.lang.Override public com.google.cloud.datastream.v1alpha1.MysqlProfile buildPartial() { - com.google.cloud.datastream.v1alpha1.MysqlProfile result = - new com.google.cloud.datastream.v1alpha1.MysqlProfile(this); + com.google.cloud.datastream.v1alpha1.MysqlProfile result = new com.google.cloud.datastream.v1alpha1.MysqlProfile(this); result.hostname_ = hostname_; result.port_ = port_; result.username_ = username_; @@ -671,39 +616,38 @@ public com.google.cloud.datastream.v1alpha1.MysqlProfile buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1alpha1.MysqlProfile) { - return mergeFrom((com.google.cloud.datastream.v1alpha1.MysqlProfile) other); + return mergeFrom((com.google.cloud.datastream.v1alpha1.MysqlProfile)other); } else { super.mergeFrom(other); return this; @@ -711,8 +655,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datastream.v1alpha1.MysqlProfile other) { - if (other == com.google.cloud.datastream.v1alpha1.MysqlProfile.getDefaultInstance()) - return this; + if (other == com.google.cloud.datastream.v1alpha1.MysqlProfile.getDefaultInstance()) return this; if (!other.getHostname().isEmpty()) { hostname_ = other.hostname_; onChanged(); @@ -750,8 +693,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datastream.v1alpha1.MysqlProfile) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datastream.v1alpha1.MysqlProfile) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -763,20 +705,18 @@ public Builder mergeFrom( private java.lang.Object hostname_ = ""; /** - * - * *
      * Required. Hostname for the MySQL connection.
      * 
* * string hostname = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The hostname. */ public java.lang.String getHostname() { java.lang.Object ref = hostname_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); hostname_ = s; return s; @@ -785,21 +725,20 @@ public java.lang.String getHostname() { } } /** - * - * *
      * Required. Hostname for the MySQL connection.
      * 
* * string hostname = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for hostname. */ - public com.google.protobuf.ByteString getHostnameBytes() { + public com.google.protobuf.ByteString + getHostnameBytes() { java.lang.Object ref = hostname_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); hostname_ = b; return b; } else { @@ -807,76 +746,66 @@ public com.google.protobuf.ByteString getHostnameBytes() { } } /** - * - * *
      * Required. Hostname for the MySQL connection.
      * 
* * string hostname = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The hostname to set. * @return This builder for chaining. */ - public Builder setHostname(java.lang.String value) { + public Builder setHostname( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + hostname_ = value; onChanged(); return this; } /** - * - * *
      * Required. Hostname for the MySQL connection.
      * 
* * string hostname = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearHostname() { - + hostname_ = getDefaultInstance().getHostname(); onChanged(); return this; } /** - * - * *
      * Required. Hostname for the MySQL connection.
      * 
* * string hostname = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for hostname to set. * @return This builder for chaining. */ - public Builder setHostnameBytes(com.google.protobuf.ByteString value) { + public Builder setHostnameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + hostname_ = value; onChanged(); return this; } - private int port_; + private int port_ ; /** - * - * *
      * Port for the MySQL connection, default value is 3306.
      * 
* * int32 port = 2; - * * @return The port. */ @java.lang.Override @@ -884,36 +813,30 @@ public int getPort() { return port_; } /** - * - * *
      * Port for the MySQL connection, default value is 3306.
      * 
* * int32 port = 2; - * * @param value The port to set. * @return This builder for chaining. */ public Builder setPort(int value) { - + port_ = value; onChanged(); return this; } /** - * - * *
      * Port for the MySQL connection, default value is 3306.
      * 
* * int32 port = 2; - * * @return This builder for chaining. */ public Builder clearPort() { - + port_ = 0; onChanged(); return this; @@ -921,20 +844,18 @@ public Builder clearPort() { private java.lang.Object username_ = ""; /** - * - * *
      * Required. Username for the MySQL connection.
      * 
* * string username = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The username. */ public java.lang.String getUsername() { java.lang.Object ref = username_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); username_ = s; return s; @@ -943,21 +864,20 @@ public java.lang.String getUsername() { } } /** - * - * *
      * Required. Username for the MySQL connection.
      * 
* * string username = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for username. */ - public com.google.protobuf.ByteString getUsernameBytes() { + public com.google.protobuf.ByteString + getUsernameBytes() { java.lang.Object ref = username_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); username_ = b; return b; } else { @@ -965,61 +885,54 @@ public com.google.protobuf.ByteString getUsernameBytes() { } } /** - * - * *
      * Required. Username for the MySQL connection.
      * 
* * string username = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The username to set. * @return This builder for chaining. */ - public Builder setUsername(java.lang.String value) { + public Builder setUsername( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + username_ = value; onChanged(); return this; } /** - * - * *
      * Required. Username for the MySQL connection.
      * 
* * string username = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearUsername() { - + username_ = getDefaultInstance().getUsername(); onChanged(); return this; } /** - * - * *
      * Required. Username for the MySQL connection.
      * 
* * string username = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for username to set. * @return This builder for chaining. */ - public Builder setUsernameBytes(com.google.protobuf.ByteString value) { + public Builder setUsernameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + username_ = value; onChanged(); return this; @@ -1027,22 +940,18 @@ public Builder setUsernameBytes(com.google.protobuf.ByteString value) { private java.lang.Object password_ = ""; /** - * - * *
      * Required. Input only. Password for the MySQL connection.
      * 
* - * - * string password = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; - * - * + * string password = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; * @return The password. */ public java.lang.String getPassword() { java.lang.Object ref = password_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); password_ = s; return s; @@ -1051,23 +960,20 @@ public java.lang.String getPassword() { } } /** - * - * *
      * Required. Input only. Password for the MySQL connection.
      * 
* - * - * string password = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; - * - * + * string password = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; * @return The bytes for password. */ - public com.google.protobuf.ByteString getPasswordBytes() { + public com.google.protobuf.ByteString + getPasswordBytes() { java.lang.Object ref = password_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); password_ = b; return b; } else { @@ -1075,67 +981,54 @@ public com.google.protobuf.ByteString getPasswordBytes() { } } /** - * - * *
      * Required. Input only. Password for the MySQL connection.
      * 
* - * - * string password = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; - * - * + * string password = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; * @param value The password to set. * @return This builder for chaining. */ - public Builder setPassword(java.lang.String value) { + public Builder setPassword( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + password_ = value; onChanged(); return this; } /** - * - * *
      * Required. Input only. Password for the MySQL connection.
      * 
* - * - * string password = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; - * - * + * string password = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; * @return This builder for chaining. */ public Builder clearPassword() { - + password_ = getDefaultInstance().getPassword(); onChanged(); return this; } /** - * - * *
      * Required. Input only. Password for the MySQL connection.
      * 
* - * - * string password = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; - * - * + * string password = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; * @param value The bytes for password to set. * @return This builder for chaining. */ - public Builder setPasswordBytes(com.google.protobuf.ByteString value) { + public Builder setPasswordBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + password_ = value; onChanged(); return this; @@ -1143,47 +1036,34 @@ public Builder setPasswordBytes(com.google.protobuf.ByteString value) { private com.google.cloud.datastream.v1alpha1.MysqlSslConfig sslConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.MysqlSslConfig, - com.google.cloud.datastream.v1alpha1.MysqlSslConfig.Builder, - com.google.cloud.datastream.v1alpha1.MysqlSslConfigOrBuilder> - sslConfigBuilder_; + com.google.cloud.datastream.v1alpha1.MysqlSslConfig, com.google.cloud.datastream.v1alpha1.MysqlSslConfig.Builder, com.google.cloud.datastream.v1alpha1.MysqlSslConfigOrBuilder> sslConfigBuilder_; /** - * - * *
      * SSL configuration for the MySQL connection.
      * 
* * .google.cloud.datastream.v1alpha1.MysqlSslConfig ssl_config = 5; - * * @return Whether the sslConfig field is set. */ public boolean hasSslConfig() { return sslConfigBuilder_ != null || sslConfig_ != null; } /** - * - * *
      * SSL configuration for the MySQL connection.
      * 
* * .google.cloud.datastream.v1alpha1.MysqlSslConfig ssl_config = 5; - * * @return The sslConfig. */ public com.google.cloud.datastream.v1alpha1.MysqlSslConfig getSslConfig() { if (sslConfigBuilder_ == null) { - return sslConfig_ == null - ? com.google.cloud.datastream.v1alpha1.MysqlSslConfig.getDefaultInstance() - : sslConfig_; + return sslConfig_ == null ? com.google.cloud.datastream.v1alpha1.MysqlSslConfig.getDefaultInstance() : sslConfig_; } else { return sslConfigBuilder_.getMessage(); } } /** - * - * *
      * SSL configuration for the MySQL connection.
      * 
@@ -1204,8 +1084,6 @@ public Builder setSslConfig(com.google.cloud.datastream.v1alpha1.MysqlSslConfig return this; } /** - * - * *
      * SSL configuration for the MySQL connection.
      * 
@@ -1224,8 +1102,6 @@ public Builder setSslConfig( return this; } /** - * - * *
      * SSL configuration for the MySQL connection.
      * 
@@ -1236,9 +1112,7 @@ public Builder mergeSslConfig(com.google.cloud.datastream.v1alpha1.MysqlSslConfi if (sslConfigBuilder_ == null) { if (sslConfig_ != null) { sslConfig_ = - com.google.cloud.datastream.v1alpha1.MysqlSslConfig.newBuilder(sslConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.datastream.v1alpha1.MysqlSslConfig.newBuilder(sslConfig_).mergeFrom(value).buildPartial(); } else { sslConfig_ = value; } @@ -1250,8 +1124,6 @@ public Builder mergeSslConfig(com.google.cloud.datastream.v1alpha1.MysqlSslConfi return this; } /** - * - * *
      * SSL configuration for the MySQL connection.
      * 
@@ -1270,8 +1142,6 @@ public Builder clearSslConfig() { return this; } /** - * - * *
      * SSL configuration for the MySQL connection.
      * 
@@ -1279,13 +1149,11 @@ public Builder clearSslConfig() { * .google.cloud.datastream.v1alpha1.MysqlSslConfig ssl_config = 5; */ public com.google.cloud.datastream.v1alpha1.MysqlSslConfig.Builder getSslConfigBuilder() { - + onChanged(); return getSslConfigFieldBuilder().getBuilder(); } /** - * - * *
      * SSL configuration for the MySQL connection.
      * 
@@ -1296,14 +1164,11 @@ public com.google.cloud.datastream.v1alpha1.MysqlSslConfigOrBuilder getSslConfig if (sslConfigBuilder_ != null) { return sslConfigBuilder_.getMessageOrBuilder(); } else { - return sslConfig_ == null - ? com.google.cloud.datastream.v1alpha1.MysqlSslConfig.getDefaultInstance() - : sslConfig_; + return sslConfig_ == null ? + com.google.cloud.datastream.v1alpha1.MysqlSslConfig.getDefaultInstance() : sslConfig_; } } /** - * - * *
      * SSL configuration for the MySQL connection.
      * 
@@ -1311,24 +1176,21 @@ public com.google.cloud.datastream.v1alpha1.MysqlSslConfigOrBuilder getSslConfig * .google.cloud.datastream.v1alpha1.MysqlSslConfig ssl_config = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.MysqlSslConfig, - com.google.cloud.datastream.v1alpha1.MysqlSslConfig.Builder, - com.google.cloud.datastream.v1alpha1.MysqlSslConfigOrBuilder> + com.google.cloud.datastream.v1alpha1.MysqlSslConfig, com.google.cloud.datastream.v1alpha1.MysqlSslConfig.Builder, com.google.cloud.datastream.v1alpha1.MysqlSslConfigOrBuilder> getSslConfigFieldBuilder() { if (sslConfigBuilder_ == null) { - sslConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.MysqlSslConfig, - com.google.cloud.datastream.v1alpha1.MysqlSslConfig.Builder, - com.google.cloud.datastream.v1alpha1.MysqlSslConfigOrBuilder>( - getSslConfig(), getParentForChildren(), isClean()); + sslConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1alpha1.MysqlSslConfig, com.google.cloud.datastream.v1alpha1.MysqlSslConfig.Builder, com.google.cloud.datastream.v1alpha1.MysqlSslConfigOrBuilder>( + getSslConfig(), + getParentForChildren(), + isClean()); sslConfig_ = null; } return sslConfigBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1338,12 +1200,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1alpha1.MysqlProfile) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1alpha1.MysqlProfile) private static final com.google.cloud.datastream.v1alpha1.MysqlProfile DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1alpha1.MysqlProfile(); } @@ -1352,16 +1214,16 @@ public static com.google.cloud.datastream.v1alpha1.MysqlProfile getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MysqlProfile parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MysqlProfile(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MysqlProfile parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MysqlProfile(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1376,4 +1238,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datastream.v1alpha1.MysqlProfile getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlProfileOrBuilder.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlProfileOrBuilder.java similarity index 66% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlProfileOrBuilder.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlProfileOrBuilder.java index 71fc0534..e84fd0e1 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlProfileOrBuilder.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlProfileOrBuilder.java @@ -1,147 +1,101 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1alpha1/datastream_resources.proto package com.google.cloud.datastream.v1alpha1; -public interface MysqlProfileOrBuilder - extends +public interface MysqlProfileOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1alpha1.MysqlProfile) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Hostname for the MySQL connection.
    * 
* * string hostname = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The hostname. */ java.lang.String getHostname(); /** - * - * *
    * Required. Hostname for the MySQL connection.
    * 
* * string hostname = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for hostname. */ - com.google.protobuf.ByteString getHostnameBytes(); + com.google.protobuf.ByteString + getHostnameBytes(); /** - * - * *
    * Port for the MySQL connection, default value is 3306.
    * 
* * int32 port = 2; - * * @return The port. */ int getPort(); /** - * - * *
    * Required. Username for the MySQL connection.
    * 
* * string username = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The username. */ java.lang.String getUsername(); /** - * - * *
    * Required. Username for the MySQL connection.
    * 
* * string username = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for username. */ - com.google.protobuf.ByteString getUsernameBytes(); + com.google.protobuf.ByteString + getUsernameBytes(); /** - * - * *
    * Required. Input only. Password for the MySQL connection.
    * 
* - * - * string password = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; - * - * + * string password = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; * @return The password. */ java.lang.String getPassword(); /** - * - * *
    * Required. Input only. Password for the MySQL connection.
    * 
* - * - * string password = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; - * - * + * string password = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; * @return The bytes for password. */ - com.google.protobuf.ByteString getPasswordBytes(); + com.google.protobuf.ByteString + getPasswordBytes(); /** - * - * *
    * SSL configuration for the MySQL connection.
    * 
* * .google.cloud.datastream.v1alpha1.MysqlSslConfig ssl_config = 5; - * * @return Whether the sslConfig field is set. */ boolean hasSslConfig(); /** - * - * *
    * SSL configuration for the MySQL connection.
    * 
* * .google.cloud.datastream.v1alpha1.MysqlSslConfig ssl_config = 5; - * * @return The sslConfig. */ com.google.cloud.datastream.v1alpha1.MysqlSslConfig getSslConfig(); /** - * - * *
    * SSL configuration for the MySQL connection.
    * 
diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlRdbms.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlRdbms.java similarity index 75% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlRdbms.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlRdbms.java index 6aedb991..ad15f7bc 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlRdbms.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlRdbms.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1alpha1/datastream_resources.proto package com.google.cloud.datastream.v1alpha1; /** - * - * *
  * MySQL database structure
  * 
* * Protobuf type {@code google.cloud.datastream.v1alpha1.MysqlRdbms} */ -public final class MysqlRdbms extends com.google.protobuf.GeneratedMessageV3 - implements +public final class MysqlRdbms extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1alpha1.MysqlRdbms) MysqlRdbmsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use MysqlRdbms.newBuilder() to construct. private MysqlRdbms(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private MysqlRdbms() { mysqlDatabases_ = 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 MysqlRdbms(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private MysqlRdbms( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,26 +54,22 @@ private MysqlRdbms( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - mysqlDatabases_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - mysqlDatabases_.add( - input.readMessage( - com.google.cloud.datastream.v1alpha1.MysqlDatabase.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + mysqlDatabases_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + mysqlDatabases_.add( + input.readMessage(com.google.cloud.datastream.v1alpha1.MysqlDatabase.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -98,7 +77,8 @@ private MysqlRdbms( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { mysqlDatabases_ = java.util.Collections.unmodifiableList(mysqlDatabases_); @@ -107,27 +87,22 @@ private MysqlRdbms( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_MysqlRdbms_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_MysqlRdbms_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_MysqlRdbms_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_MysqlRdbms_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.MysqlRdbms.class, - com.google.cloud.datastream.v1alpha1.MysqlRdbms.Builder.class); + com.google.cloud.datastream.v1alpha1.MysqlRdbms.class, com.google.cloud.datastream.v1alpha1.MysqlRdbms.Builder.class); } public static final int MYSQL_DATABASES_FIELD_NUMBER = 1; private java.util.List mysqlDatabases_; /** - * - * *
    * Mysql databases on the server
    * 
@@ -135,13 +110,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.cloud.datastream.v1alpha1.MysqlDatabase mysql_databases = 1; */ @java.lang.Override - public java.util.List - getMysqlDatabasesList() { + public java.util.List getMysqlDatabasesList() { return mysqlDatabases_; } /** - * - * *
    * Mysql databases on the server
    * 
@@ -149,13 +121,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.cloud.datastream.v1alpha1.MysqlDatabase mysql_databases = 1; */ @java.lang.Override - public java.util.List + public java.util.List getMysqlDatabasesOrBuilderList() { return mysqlDatabases_; } /** - * - * *
    * Mysql databases on the server
    * 
@@ -167,8 +137,6 @@ public int getMysqlDatabasesCount() { return mysqlDatabases_.size(); } /** - * - * *
    * Mysql databases on the server
    * 
@@ -180,8 +148,6 @@ public com.google.cloud.datastream.v1alpha1.MysqlDatabase getMysqlDatabases(int return mysqlDatabases_.get(index); } /** - * - * *
    * Mysql databases on the server
    * 
@@ -195,7 +161,6 @@ public com.google.cloud.datastream.v1alpha1.MysqlDatabaseOrBuilder getMysqlDatab } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -207,7 +172,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 < mysqlDatabases_.size(); i++) { output.writeMessage(1, mysqlDatabases_.get(i)); } @@ -221,7 +187,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < mysqlDatabases_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, mysqlDatabases_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, mysqlDatabases_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -231,15 +198,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.datastream.v1alpha1.MysqlRdbms)) { return super.equals(obj); } - com.google.cloud.datastream.v1alpha1.MysqlRdbms other = - (com.google.cloud.datastream.v1alpha1.MysqlRdbms) obj; + com.google.cloud.datastream.v1alpha1.MysqlRdbms other = (com.google.cloud.datastream.v1alpha1.MysqlRdbms) obj; - if (!getMysqlDatabasesList().equals(other.getMysqlDatabasesList())) return false; + if (!getMysqlDatabasesList() + .equals(other.getMysqlDatabasesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -260,127 +227,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.datastream.v1alpha1.MysqlRdbms parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.datastream.v1alpha1.MysqlRdbms parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.MysqlRdbms parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.MysqlRdbms parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.MysqlRdbms parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.MysqlRdbms parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.MysqlRdbms parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.MysqlRdbms 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.datastream.v1alpha1.MysqlRdbms parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.MysqlRdbms parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.MysqlRdbms parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.MysqlRdbms 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.datastream.v1alpha1.MysqlRdbms parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.MysqlRdbms parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datastream.v1alpha1.MysqlRdbms prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * MySQL database structure
    * 
* * Protobuf type {@code google.cloud.datastream.v1alpha1.MysqlRdbms} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1alpha1.MysqlRdbms) com.google.cloud.datastream.v1alpha1.MysqlRdbmsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_MysqlRdbms_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_MysqlRdbms_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_MysqlRdbms_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_MysqlRdbms_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.MysqlRdbms.class, - com.google.cloud.datastream.v1alpha1.MysqlRdbms.Builder.class); + com.google.cloud.datastream.v1alpha1.MysqlRdbms.class, com.google.cloud.datastream.v1alpha1.MysqlRdbms.Builder.class); } // Construct using com.google.cloud.datastream.v1alpha1.MysqlRdbms.newBuilder() @@ -388,17 +346,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getMysqlDatabasesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -412,9 +370,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_MysqlRdbms_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_MysqlRdbms_descriptor; } @java.lang.Override @@ -433,8 +391,7 @@ public com.google.cloud.datastream.v1alpha1.MysqlRdbms build() { @java.lang.Override public com.google.cloud.datastream.v1alpha1.MysqlRdbms buildPartial() { - com.google.cloud.datastream.v1alpha1.MysqlRdbms result = - new com.google.cloud.datastream.v1alpha1.MysqlRdbms(this); + com.google.cloud.datastream.v1alpha1.MysqlRdbms result = new com.google.cloud.datastream.v1alpha1.MysqlRdbms(this); int from_bitField0_ = bitField0_; if (mysqlDatabasesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -453,39 +410,38 @@ public com.google.cloud.datastream.v1alpha1.MysqlRdbms buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1alpha1.MysqlRdbms) { - return mergeFrom((com.google.cloud.datastream.v1alpha1.MysqlRdbms) other); + return mergeFrom((com.google.cloud.datastream.v1alpha1.MysqlRdbms)other); } else { super.mergeFrom(other); return this; @@ -493,8 +449,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datastream.v1alpha1.MysqlRdbms other) { - if (other == com.google.cloud.datastream.v1alpha1.MysqlRdbms.getDefaultInstance()) - return this; + if (other == com.google.cloud.datastream.v1alpha1.MysqlRdbms.getDefaultInstance()) return this; if (mysqlDatabasesBuilder_ == null) { if (!other.mysqlDatabases_.isEmpty()) { if (mysqlDatabases_.isEmpty()) { @@ -513,10 +468,9 @@ public Builder mergeFrom(com.google.cloud.datastream.v1alpha1.MysqlRdbms other) mysqlDatabasesBuilder_ = null; mysqlDatabases_ = other.mysqlDatabases_; bitField0_ = (bitField0_ & ~0x00000001); - mysqlDatabasesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getMysqlDatabasesFieldBuilder() - : null; + mysqlDatabasesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getMysqlDatabasesFieldBuilder() : null; } else { mysqlDatabasesBuilder_.addAllMessages(other.mysqlDatabases_); } @@ -550,38 +504,28 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List mysqlDatabases_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureMysqlDatabasesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - mysqlDatabases_ = - new java.util.ArrayList( - mysqlDatabases_); + mysqlDatabases_ = new java.util.ArrayList(mysqlDatabases_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.MysqlDatabase, - com.google.cloud.datastream.v1alpha1.MysqlDatabase.Builder, - com.google.cloud.datastream.v1alpha1.MysqlDatabaseOrBuilder> - mysqlDatabasesBuilder_; + com.google.cloud.datastream.v1alpha1.MysqlDatabase, com.google.cloud.datastream.v1alpha1.MysqlDatabase.Builder, com.google.cloud.datastream.v1alpha1.MysqlDatabaseOrBuilder> mysqlDatabasesBuilder_; /** - * - * *
      * Mysql databases on the server
      * 
* * repeated .google.cloud.datastream.v1alpha1.MysqlDatabase mysql_databases = 1; */ - public java.util.List - getMysqlDatabasesList() { + public java.util.List getMysqlDatabasesList() { if (mysqlDatabasesBuilder_ == null) { return java.util.Collections.unmodifiableList(mysqlDatabases_); } else { @@ -589,8 +533,6 @@ private void ensureMysqlDatabasesIsMutable() { } } /** - * - * *
      * Mysql databases on the server
      * 
@@ -605,8 +547,6 @@ public int getMysqlDatabasesCount() { } } /** - * - * *
      * Mysql databases on the server
      * 
@@ -621,8 +561,6 @@ public com.google.cloud.datastream.v1alpha1.MysqlDatabase getMysqlDatabases(int } } /** - * - * *
      * Mysql databases on the server
      * 
@@ -644,8 +582,6 @@ public Builder setMysqlDatabases( return this; } /** - * - * *
      * Mysql databases on the server
      * 
@@ -664,8 +600,6 @@ public Builder setMysqlDatabases( return this; } /** - * - * *
      * Mysql databases on the server
      * 
@@ -686,8 +620,6 @@ public Builder addMysqlDatabases(com.google.cloud.datastream.v1alpha1.MysqlDatab return this; } /** - * - * *
      * Mysql databases on the server
      * 
@@ -709,8 +641,6 @@ public Builder addMysqlDatabases( return this; } /** - * - * *
      * Mysql databases on the server
      * 
@@ -729,8 +659,6 @@ public Builder addMysqlDatabases( return this; } /** - * - * *
      * Mysql databases on the server
      * 
@@ -749,8 +677,6 @@ public Builder addMysqlDatabases( return this; } /** - * - * *
      * Mysql databases on the server
      * 
@@ -761,7 +687,8 @@ public Builder addAllMysqlDatabases( java.lang.Iterable values) { if (mysqlDatabasesBuilder_ == null) { ensureMysqlDatabasesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, mysqlDatabases_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, mysqlDatabases_); onChanged(); } else { mysqlDatabasesBuilder_.addAllMessages(values); @@ -769,8 +696,6 @@ public Builder addAllMysqlDatabases( return this; } /** - * - * *
      * Mysql databases on the server
      * 
@@ -788,8 +713,6 @@ public Builder clearMysqlDatabases() { return this; } /** - * - * *
      * Mysql databases on the server
      * 
@@ -807,8 +730,6 @@ public Builder removeMysqlDatabases(int index) { return this; } /** - * - * *
      * Mysql databases on the server
      * 
@@ -820,8 +741,6 @@ public com.google.cloud.datastream.v1alpha1.MysqlDatabase.Builder getMysqlDataba return getMysqlDatabasesFieldBuilder().getBuilder(index); } /** - * - * *
      * Mysql databases on the server
      * 
@@ -831,22 +750,19 @@ public com.google.cloud.datastream.v1alpha1.MysqlDatabase.Builder getMysqlDataba public com.google.cloud.datastream.v1alpha1.MysqlDatabaseOrBuilder getMysqlDatabasesOrBuilder( int index) { if (mysqlDatabasesBuilder_ == null) { - return mysqlDatabases_.get(index); - } else { + return mysqlDatabases_.get(index); } else { return mysqlDatabasesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Mysql databases on the server
      * 
* * repeated .google.cloud.datastream.v1alpha1.MysqlDatabase mysql_databases = 1; */ - public java.util.List - getMysqlDatabasesOrBuilderList() { + public java.util.List + getMysqlDatabasesOrBuilderList() { if (mysqlDatabasesBuilder_ != null) { return mysqlDatabasesBuilder_.getMessageOrBuilderList(); } else { @@ -854,8 +770,6 @@ public com.google.cloud.datastream.v1alpha1.MysqlDatabaseOrBuilder getMysqlDatab } } /** - * - * *
      * Mysql databases on the server
      * 
@@ -863,12 +777,10 @@ public com.google.cloud.datastream.v1alpha1.MysqlDatabaseOrBuilder getMysqlDatab * repeated .google.cloud.datastream.v1alpha1.MysqlDatabase mysql_databases = 1; */ public com.google.cloud.datastream.v1alpha1.MysqlDatabase.Builder addMysqlDatabasesBuilder() { - return getMysqlDatabasesFieldBuilder() - .addBuilder(com.google.cloud.datastream.v1alpha1.MysqlDatabase.getDefaultInstance()); + return getMysqlDatabasesFieldBuilder().addBuilder( + com.google.cloud.datastream.v1alpha1.MysqlDatabase.getDefaultInstance()); } /** - * - * *
      * Mysql databases on the server
      * 
@@ -877,35 +789,26 @@ public com.google.cloud.datastream.v1alpha1.MysqlDatabase.Builder addMysqlDataba */ public com.google.cloud.datastream.v1alpha1.MysqlDatabase.Builder addMysqlDatabasesBuilder( int index) { - return getMysqlDatabasesFieldBuilder() - .addBuilder( - index, com.google.cloud.datastream.v1alpha1.MysqlDatabase.getDefaultInstance()); + return getMysqlDatabasesFieldBuilder().addBuilder( + index, com.google.cloud.datastream.v1alpha1.MysqlDatabase.getDefaultInstance()); } /** - * - * *
      * Mysql databases on the server
      * 
* * repeated .google.cloud.datastream.v1alpha1.MysqlDatabase mysql_databases = 1; */ - public java.util.List - getMysqlDatabasesBuilderList() { + public java.util.List + getMysqlDatabasesBuilderList() { return getMysqlDatabasesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.MysqlDatabase, - com.google.cloud.datastream.v1alpha1.MysqlDatabase.Builder, - com.google.cloud.datastream.v1alpha1.MysqlDatabaseOrBuilder> + com.google.cloud.datastream.v1alpha1.MysqlDatabase, com.google.cloud.datastream.v1alpha1.MysqlDatabase.Builder, com.google.cloud.datastream.v1alpha1.MysqlDatabaseOrBuilder> getMysqlDatabasesFieldBuilder() { if (mysqlDatabasesBuilder_ == null) { - mysqlDatabasesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.MysqlDatabase, - com.google.cloud.datastream.v1alpha1.MysqlDatabase.Builder, - com.google.cloud.datastream.v1alpha1.MysqlDatabaseOrBuilder>( + mysqlDatabasesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datastream.v1alpha1.MysqlDatabase, com.google.cloud.datastream.v1alpha1.MysqlDatabase.Builder, com.google.cloud.datastream.v1alpha1.MysqlDatabaseOrBuilder>( mysqlDatabases_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -914,9 +817,9 @@ public com.google.cloud.datastream.v1alpha1.MysqlDatabase.Builder addMysqlDataba } return mysqlDatabasesBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -926,12 +829,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1alpha1.MysqlRdbms) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1alpha1.MysqlRdbms) private static final com.google.cloud.datastream.v1alpha1.MysqlRdbms DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1alpha1.MysqlRdbms(); } @@ -940,16 +843,16 @@ public static com.google.cloud.datastream.v1alpha1.MysqlRdbms getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MysqlRdbms parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MysqlRdbms(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MysqlRdbms parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MysqlRdbms(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -964,4 +867,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datastream.v1alpha1.MysqlRdbms getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlRdbmsOrBuilder.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlRdbmsOrBuilder.java similarity index 65% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlRdbmsOrBuilder.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlRdbmsOrBuilder.java index 57ea7c1a..a66f896a 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlRdbmsOrBuilder.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlRdbmsOrBuilder.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/datastream/v1alpha1/datastream_resources.proto package com.google.cloud.datastream.v1alpha1; -public interface MysqlRdbmsOrBuilder - extends +public interface MysqlRdbmsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1alpha1.MysqlRdbms) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Mysql databases on the server
    * 
* * repeated .google.cloud.datastream.v1alpha1.MysqlDatabase mysql_databases = 1; */ - java.util.List getMysqlDatabasesList(); + java.util.List + getMysqlDatabasesList(); /** - * - * *
    * Mysql databases on the server
    * 
@@ -44,8 +25,6 @@ public interface MysqlRdbmsOrBuilder */ com.google.cloud.datastream.v1alpha1.MysqlDatabase getMysqlDatabases(int index); /** - * - * *
    * Mysql databases on the server
    * 
@@ -54,24 +33,21 @@ public interface MysqlRdbmsOrBuilder */ int getMysqlDatabasesCount(); /** - * - * *
    * Mysql databases on the server
    * 
* * repeated .google.cloud.datastream.v1alpha1.MysqlDatabase mysql_databases = 1; */ - java.util.List + java.util.List getMysqlDatabasesOrBuilderList(); /** - * - * *
    * Mysql databases on the server
    * 
* * repeated .google.cloud.datastream.v1alpha1.MysqlDatabase mysql_databases = 1; */ - com.google.cloud.datastream.v1alpha1.MysqlDatabaseOrBuilder getMysqlDatabasesOrBuilder(int index); + com.google.cloud.datastream.v1alpha1.MysqlDatabaseOrBuilder getMysqlDatabasesOrBuilder( + int index); } diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlSourceConfig.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlSourceConfig.java similarity index 69% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlSourceConfig.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlSourceConfig.java index f6474bbd..a2f34f2e 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlSourceConfig.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlSourceConfig.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1alpha1/datastream_resources.proto package com.google.cloud.datastream.v1alpha1; /** - * - * *
  * MySQL source configuration
  * 
* * Protobuf type {@code google.cloud.datastream.v1alpha1.MysqlSourceConfig} */ -public final class MysqlSourceConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class MysqlSourceConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1alpha1.MysqlSourceConfig) MysqlSourceConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use MysqlSourceConfig.newBuilder() to construct. private MysqlSourceConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private MysqlSourceConfig() {} + private MysqlSourceConfig() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new MysqlSourceConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private MysqlSourceConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,45 +52,39 @@ private MysqlSourceConfig( case 0: done = true; break; - case 10: - { - com.google.cloud.datastream.v1alpha1.MysqlRdbms.Builder subBuilder = null; - if (allowlist_ != null) { - subBuilder = allowlist_.toBuilder(); - } - allowlist_ = - input.readMessage( - com.google.cloud.datastream.v1alpha1.MysqlRdbms.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(allowlist_); - allowlist_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.datastream.v1alpha1.MysqlRdbms.Builder subBuilder = null; + if (allowlist_ != null) { + subBuilder = allowlist_.toBuilder(); + } + allowlist_ = input.readMessage(com.google.cloud.datastream.v1alpha1.MysqlRdbms.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(allowlist_); + allowlist_ = subBuilder.buildPartial(); + } + + break; + } + case 18: { + com.google.cloud.datastream.v1alpha1.MysqlRdbms.Builder subBuilder = null; + if (rejectlist_ != null) { + subBuilder = rejectlist_.toBuilder(); } - case 18: - { - com.google.cloud.datastream.v1alpha1.MysqlRdbms.Builder subBuilder = null; - if (rejectlist_ != null) { - subBuilder = rejectlist_.toBuilder(); - } - rejectlist_ = - input.readMessage( - com.google.cloud.datastream.v1alpha1.MysqlRdbms.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(rejectlist_); - rejectlist_ = subBuilder.buildPartial(); - } - - break; + rejectlist_ = input.readMessage(com.google.cloud.datastream.v1alpha1.MysqlRdbms.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(rejectlist_); + rejectlist_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -114,39 +92,34 @@ private MysqlSourceConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_MysqlSourceConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_MysqlSourceConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_MysqlSourceConfig_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_MysqlSourceConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.MysqlSourceConfig.class, - com.google.cloud.datastream.v1alpha1.MysqlSourceConfig.Builder.class); + com.google.cloud.datastream.v1alpha1.MysqlSourceConfig.class, com.google.cloud.datastream.v1alpha1.MysqlSourceConfig.Builder.class); } public static final int ALLOWLIST_FIELD_NUMBER = 1; private com.google.cloud.datastream.v1alpha1.MysqlRdbms allowlist_; /** - * - * *
    * MySQL objects to retrieve from the source.
    * 
* * .google.cloud.datastream.v1alpha1.MysqlRdbms allowlist = 1; - * * @return Whether the allowlist field is set. */ @java.lang.Override @@ -154,25 +127,18 @@ public boolean hasAllowlist() { return allowlist_ != null; } /** - * - * *
    * MySQL objects to retrieve from the source.
    * 
* * .google.cloud.datastream.v1alpha1.MysqlRdbms allowlist = 1; - * * @return The allowlist. */ @java.lang.Override public com.google.cloud.datastream.v1alpha1.MysqlRdbms getAllowlist() { - return allowlist_ == null - ? com.google.cloud.datastream.v1alpha1.MysqlRdbms.getDefaultInstance() - : allowlist_; + return allowlist_ == null ? com.google.cloud.datastream.v1alpha1.MysqlRdbms.getDefaultInstance() : allowlist_; } /** - * - * *
    * MySQL objects to retrieve from the source.
    * 
@@ -187,14 +153,11 @@ public com.google.cloud.datastream.v1alpha1.MysqlRdbmsOrBuilder getAllowlistOrBu public static final int REJECTLIST_FIELD_NUMBER = 2; private com.google.cloud.datastream.v1alpha1.MysqlRdbms rejectlist_; /** - * - * *
    * MySQL objects to exclude from the stream.
    * 
* * .google.cloud.datastream.v1alpha1.MysqlRdbms rejectlist = 2; - * * @return Whether the rejectlist field is set. */ @java.lang.Override @@ -202,25 +165,18 @@ public boolean hasRejectlist() { return rejectlist_ != null; } /** - * - * *
    * MySQL objects to exclude from the stream.
    * 
* * .google.cloud.datastream.v1alpha1.MysqlRdbms rejectlist = 2; - * * @return The rejectlist. */ @java.lang.Override public com.google.cloud.datastream.v1alpha1.MysqlRdbms getRejectlist() { - return rejectlist_ == null - ? com.google.cloud.datastream.v1alpha1.MysqlRdbms.getDefaultInstance() - : rejectlist_; + return rejectlist_ == null ? com.google.cloud.datastream.v1alpha1.MysqlRdbms.getDefaultInstance() : rejectlist_; } /** - * - * *
    * MySQL objects to exclude from the stream.
    * 
@@ -233,7 +189,6 @@ public com.google.cloud.datastream.v1alpha1.MysqlRdbmsOrBuilder getRejectlistOrB } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -245,7 +200,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (allowlist_ != null) { output.writeMessage(1, getAllowlist()); } @@ -262,10 +218,12 @@ public int getSerializedSize() { size = 0; if (allowlist_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAllowlist()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getAllowlist()); } if (rejectlist_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getRejectlist()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getRejectlist()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -275,21 +233,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.datastream.v1alpha1.MysqlSourceConfig)) { return super.equals(obj); } - com.google.cloud.datastream.v1alpha1.MysqlSourceConfig other = - (com.google.cloud.datastream.v1alpha1.MysqlSourceConfig) obj; + com.google.cloud.datastream.v1alpha1.MysqlSourceConfig other = (com.google.cloud.datastream.v1alpha1.MysqlSourceConfig) obj; if (hasAllowlist() != other.hasAllowlist()) return false; if (hasAllowlist()) { - if (!getAllowlist().equals(other.getAllowlist())) return false; + if (!getAllowlist() + .equals(other.getAllowlist())) return false; } if (hasRejectlist() != other.hasRejectlist()) return false; if (hasRejectlist()) { - if (!getRejectlist().equals(other.getRejectlist())) return false; + if (!getRejectlist() + .equals(other.getRejectlist())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -316,127 +275,117 @@ public int hashCode() { } public static com.google.cloud.datastream.v1alpha1.MysqlSourceConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.MysqlSourceConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.MysqlSourceConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.MysqlSourceConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.MysqlSourceConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.MysqlSourceConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.MysqlSourceConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.MysqlSourceConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.MysqlSourceConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.MysqlSourceConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.MysqlSourceConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.MysqlSourceConfig 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.datastream.v1alpha1.MysqlSourceConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.MysqlSourceConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datastream.v1alpha1.MysqlSourceConfig prototype) { + public static Builder newBuilder(com.google.cloud.datastream.v1alpha1.MysqlSourceConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * MySQL source configuration
    * 
* * Protobuf type {@code google.cloud.datastream.v1alpha1.MysqlSourceConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1alpha1.MysqlSourceConfig) com.google.cloud.datastream.v1alpha1.MysqlSourceConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_MysqlSourceConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_MysqlSourceConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_MysqlSourceConfig_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_MysqlSourceConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.MysqlSourceConfig.class, - com.google.cloud.datastream.v1alpha1.MysqlSourceConfig.Builder.class); + com.google.cloud.datastream.v1alpha1.MysqlSourceConfig.class, com.google.cloud.datastream.v1alpha1.MysqlSourceConfig.Builder.class); } // Construct using com.google.cloud.datastream.v1alpha1.MysqlSourceConfig.newBuilder() @@ -444,15 +393,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -472,9 +422,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_MysqlSourceConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_MysqlSourceConfig_descriptor; } @java.lang.Override @@ -493,8 +443,7 @@ public com.google.cloud.datastream.v1alpha1.MysqlSourceConfig build() { @java.lang.Override public com.google.cloud.datastream.v1alpha1.MysqlSourceConfig buildPartial() { - com.google.cloud.datastream.v1alpha1.MysqlSourceConfig result = - new com.google.cloud.datastream.v1alpha1.MysqlSourceConfig(this); + com.google.cloud.datastream.v1alpha1.MysqlSourceConfig result = new com.google.cloud.datastream.v1alpha1.MysqlSourceConfig(this); if (allowlistBuilder_ == null) { result.allowlist_ = allowlist_; } else { @@ -513,39 +462,38 @@ public com.google.cloud.datastream.v1alpha1.MysqlSourceConfig buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1alpha1.MysqlSourceConfig) { - return mergeFrom((com.google.cloud.datastream.v1alpha1.MysqlSourceConfig) other); + return mergeFrom((com.google.cloud.datastream.v1alpha1.MysqlSourceConfig)other); } else { super.mergeFrom(other); return this; @@ -553,8 +501,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datastream.v1alpha1.MysqlSourceConfig other) { - if (other == com.google.cloud.datastream.v1alpha1.MysqlSourceConfig.getDefaultInstance()) - return this; + if (other == com.google.cloud.datastream.v1alpha1.MysqlSourceConfig.getDefaultInstance()) return this; if (other.hasAllowlist()) { mergeAllowlist(other.getAllowlist()); } @@ -580,8 +527,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datastream.v1alpha1.MysqlSourceConfig) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datastream.v1alpha1.MysqlSourceConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -593,47 +539,34 @@ public Builder mergeFrom( private com.google.cloud.datastream.v1alpha1.MysqlRdbms allowlist_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.MysqlRdbms, - com.google.cloud.datastream.v1alpha1.MysqlRdbms.Builder, - com.google.cloud.datastream.v1alpha1.MysqlRdbmsOrBuilder> - allowlistBuilder_; + com.google.cloud.datastream.v1alpha1.MysqlRdbms, com.google.cloud.datastream.v1alpha1.MysqlRdbms.Builder, com.google.cloud.datastream.v1alpha1.MysqlRdbmsOrBuilder> allowlistBuilder_; /** - * - * *
      * MySQL objects to retrieve from the source.
      * 
* * .google.cloud.datastream.v1alpha1.MysqlRdbms allowlist = 1; - * * @return Whether the allowlist field is set. */ public boolean hasAllowlist() { return allowlistBuilder_ != null || allowlist_ != null; } /** - * - * *
      * MySQL objects to retrieve from the source.
      * 
* * .google.cloud.datastream.v1alpha1.MysqlRdbms allowlist = 1; - * * @return The allowlist. */ public com.google.cloud.datastream.v1alpha1.MysqlRdbms getAllowlist() { if (allowlistBuilder_ == null) { - return allowlist_ == null - ? com.google.cloud.datastream.v1alpha1.MysqlRdbms.getDefaultInstance() - : allowlist_; + return allowlist_ == null ? com.google.cloud.datastream.v1alpha1.MysqlRdbms.getDefaultInstance() : allowlist_; } else { return allowlistBuilder_.getMessage(); } } /** - * - * *
      * MySQL objects to retrieve from the source.
      * 
@@ -654,8 +587,6 @@ public Builder setAllowlist(com.google.cloud.datastream.v1alpha1.MysqlRdbms valu return this; } /** - * - * *
      * MySQL objects to retrieve from the source.
      * 
@@ -674,8 +605,6 @@ public Builder setAllowlist( return this; } /** - * - * *
      * MySQL objects to retrieve from the source.
      * 
@@ -686,9 +615,7 @@ public Builder mergeAllowlist(com.google.cloud.datastream.v1alpha1.MysqlRdbms va if (allowlistBuilder_ == null) { if (allowlist_ != null) { allowlist_ = - com.google.cloud.datastream.v1alpha1.MysqlRdbms.newBuilder(allowlist_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.datastream.v1alpha1.MysqlRdbms.newBuilder(allowlist_).mergeFrom(value).buildPartial(); } else { allowlist_ = value; } @@ -700,8 +627,6 @@ public Builder mergeAllowlist(com.google.cloud.datastream.v1alpha1.MysqlRdbms va return this; } /** - * - * *
      * MySQL objects to retrieve from the source.
      * 
@@ -720,8 +645,6 @@ public Builder clearAllowlist() { return this; } /** - * - * *
      * MySQL objects to retrieve from the source.
      * 
@@ -729,13 +652,11 @@ public Builder clearAllowlist() { * .google.cloud.datastream.v1alpha1.MysqlRdbms allowlist = 1; */ public com.google.cloud.datastream.v1alpha1.MysqlRdbms.Builder getAllowlistBuilder() { - + onChanged(); return getAllowlistFieldBuilder().getBuilder(); } /** - * - * *
      * MySQL objects to retrieve from the source.
      * 
@@ -746,14 +667,11 @@ public com.google.cloud.datastream.v1alpha1.MysqlRdbmsOrBuilder getAllowlistOrBu if (allowlistBuilder_ != null) { return allowlistBuilder_.getMessageOrBuilder(); } else { - return allowlist_ == null - ? com.google.cloud.datastream.v1alpha1.MysqlRdbms.getDefaultInstance() - : allowlist_; + return allowlist_ == null ? + com.google.cloud.datastream.v1alpha1.MysqlRdbms.getDefaultInstance() : allowlist_; } } /** - * - * *
      * MySQL objects to retrieve from the source.
      * 
@@ -761,17 +679,14 @@ public com.google.cloud.datastream.v1alpha1.MysqlRdbmsOrBuilder getAllowlistOrBu * .google.cloud.datastream.v1alpha1.MysqlRdbms allowlist = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.MysqlRdbms, - com.google.cloud.datastream.v1alpha1.MysqlRdbms.Builder, - com.google.cloud.datastream.v1alpha1.MysqlRdbmsOrBuilder> + com.google.cloud.datastream.v1alpha1.MysqlRdbms, com.google.cloud.datastream.v1alpha1.MysqlRdbms.Builder, com.google.cloud.datastream.v1alpha1.MysqlRdbmsOrBuilder> getAllowlistFieldBuilder() { if (allowlistBuilder_ == null) { - allowlistBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.MysqlRdbms, - com.google.cloud.datastream.v1alpha1.MysqlRdbms.Builder, - com.google.cloud.datastream.v1alpha1.MysqlRdbmsOrBuilder>( - getAllowlist(), getParentForChildren(), isClean()); + allowlistBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1alpha1.MysqlRdbms, com.google.cloud.datastream.v1alpha1.MysqlRdbms.Builder, com.google.cloud.datastream.v1alpha1.MysqlRdbmsOrBuilder>( + getAllowlist(), + getParentForChildren(), + isClean()); allowlist_ = null; } return allowlistBuilder_; @@ -779,47 +694,34 @@ public com.google.cloud.datastream.v1alpha1.MysqlRdbmsOrBuilder getAllowlistOrBu private com.google.cloud.datastream.v1alpha1.MysqlRdbms rejectlist_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.MysqlRdbms, - com.google.cloud.datastream.v1alpha1.MysqlRdbms.Builder, - com.google.cloud.datastream.v1alpha1.MysqlRdbmsOrBuilder> - rejectlistBuilder_; + com.google.cloud.datastream.v1alpha1.MysqlRdbms, com.google.cloud.datastream.v1alpha1.MysqlRdbms.Builder, com.google.cloud.datastream.v1alpha1.MysqlRdbmsOrBuilder> rejectlistBuilder_; /** - * - * *
      * MySQL objects to exclude from the stream.
      * 
* * .google.cloud.datastream.v1alpha1.MysqlRdbms rejectlist = 2; - * * @return Whether the rejectlist field is set. */ public boolean hasRejectlist() { return rejectlistBuilder_ != null || rejectlist_ != null; } /** - * - * *
      * MySQL objects to exclude from the stream.
      * 
* * .google.cloud.datastream.v1alpha1.MysqlRdbms rejectlist = 2; - * * @return The rejectlist. */ public com.google.cloud.datastream.v1alpha1.MysqlRdbms getRejectlist() { if (rejectlistBuilder_ == null) { - return rejectlist_ == null - ? com.google.cloud.datastream.v1alpha1.MysqlRdbms.getDefaultInstance() - : rejectlist_; + return rejectlist_ == null ? com.google.cloud.datastream.v1alpha1.MysqlRdbms.getDefaultInstance() : rejectlist_; } else { return rejectlistBuilder_.getMessage(); } } /** - * - * *
      * MySQL objects to exclude from the stream.
      * 
@@ -840,8 +742,6 @@ public Builder setRejectlist(com.google.cloud.datastream.v1alpha1.MysqlRdbms val return this; } /** - * - * *
      * MySQL objects to exclude from the stream.
      * 
@@ -860,8 +760,6 @@ public Builder setRejectlist( return this; } /** - * - * *
      * MySQL objects to exclude from the stream.
      * 
@@ -872,9 +770,7 @@ public Builder mergeRejectlist(com.google.cloud.datastream.v1alpha1.MysqlRdbms v if (rejectlistBuilder_ == null) { if (rejectlist_ != null) { rejectlist_ = - com.google.cloud.datastream.v1alpha1.MysqlRdbms.newBuilder(rejectlist_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.datastream.v1alpha1.MysqlRdbms.newBuilder(rejectlist_).mergeFrom(value).buildPartial(); } else { rejectlist_ = value; } @@ -886,8 +782,6 @@ public Builder mergeRejectlist(com.google.cloud.datastream.v1alpha1.MysqlRdbms v return this; } /** - * - * *
      * MySQL objects to exclude from the stream.
      * 
@@ -906,8 +800,6 @@ public Builder clearRejectlist() { return this; } /** - * - * *
      * MySQL objects to exclude from the stream.
      * 
@@ -915,13 +807,11 @@ public Builder clearRejectlist() { * .google.cloud.datastream.v1alpha1.MysqlRdbms rejectlist = 2; */ public com.google.cloud.datastream.v1alpha1.MysqlRdbms.Builder getRejectlistBuilder() { - + onChanged(); return getRejectlistFieldBuilder().getBuilder(); } /** - * - * *
      * MySQL objects to exclude from the stream.
      * 
@@ -932,14 +822,11 @@ public com.google.cloud.datastream.v1alpha1.MysqlRdbmsOrBuilder getRejectlistOrB if (rejectlistBuilder_ != null) { return rejectlistBuilder_.getMessageOrBuilder(); } else { - return rejectlist_ == null - ? com.google.cloud.datastream.v1alpha1.MysqlRdbms.getDefaultInstance() - : rejectlist_; + return rejectlist_ == null ? + com.google.cloud.datastream.v1alpha1.MysqlRdbms.getDefaultInstance() : rejectlist_; } } /** - * - * *
      * MySQL objects to exclude from the stream.
      * 
@@ -947,24 +834,21 @@ public com.google.cloud.datastream.v1alpha1.MysqlRdbmsOrBuilder getRejectlistOrB * .google.cloud.datastream.v1alpha1.MysqlRdbms rejectlist = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.MysqlRdbms, - com.google.cloud.datastream.v1alpha1.MysqlRdbms.Builder, - com.google.cloud.datastream.v1alpha1.MysqlRdbmsOrBuilder> + com.google.cloud.datastream.v1alpha1.MysqlRdbms, com.google.cloud.datastream.v1alpha1.MysqlRdbms.Builder, com.google.cloud.datastream.v1alpha1.MysqlRdbmsOrBuilder> getRejectlistFieldBuilder() { if (rejectlistBuilder_ == null) { - rejectlistBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.MysqlRdbms, - com.google.cloud.datastream.v1alpha1.MysqlRdbms.Builder, - com.google.cloud.datastream.v1alpha1.MysqlRdbmsOrBuilder>( - getRejectlist(), getParentForChildren(), isClean()); + rejectlistBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1alpha1.MysqlRdbms, com.google.cloud.datastream.v1alpha1.MysqlRdbms.Builder, com.google.cloud.datastream.v1alpha1.MysqlRdbmsOrBuilder>( + getRejectlist(), + getParentForChildren(), + isClean()); rejectlist_ = null; } return rejectlistBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -974,12 +858,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1alpha1.MysqlSourceConfig) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1alpha1.MysqlSourceConfig) private static final com.google.cloud.datastream.v1alpha1.MysqlSourceConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1alpha1.MysqlSourceConfig(); } @@ -988,16 +872,16 @@ public static com.google.cloud.datastream.v1alpha1.MysqlSourceConfig getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MysqlSourceConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MysqlSourceConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MysqlSourceConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MysqlSourceConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1012,4 +896,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datastream.v1alpha1.MysqlSourceConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlSourceConfigOrBuilder.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlSourceConfigOrBuilder.java similarity index 71% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlSourceConfigOrBuilder.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlSourceConfigOrBuilder.java index f1a3bb82..c8c8491a 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlSourceConfigOrBuilder.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlSourceConfigOrBuilder.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/datastream/v1alpha1/datastream_resources.proto package com.google.cloud.datastream.v1alpha1; -public interface MysqlSourceConfigOrBuilder - extends +public interface MysqlSourceConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1alpha1.MysqlSourceConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * MySQL objects to retrieve from the source.
    * 
* * .google.cloud.datastream.v1alpha1.MysqlRdbms allowlist = 1; - * * @return Whether the allowlist field is set. */ boolean hasAllowlist(); /** - * - * *
    * MySQL objects to retrieve from the source.
    * 
* * .google.cloud.datastream.v1alpha1.MysqlRdbms allowlist = 1; - * * @return The allowlist. */ com.google.cloud.datastream.v1alpha1.MysqlRdbms getAllowlist(); /** - * - * *
    * MySQL objects to retrieve from the source.
    * 
@@ -59,32 +35,24 @@ public interface MysqlSourceConfigOrBuilder com.google.cloud.datastream.v1alpha1.MysqlRdbmsOrBuilder getAllowlistOrBuilder(); /** - * - * *
    * MySQL objects to exclude from the stream.
    * 
* * .google.cloud.datastream.v1alpha1.MysqlRdbms rejectlist = 2; - * * @return Whether the rejectlist field is set. */ boolean hasRejectlist(); /** - * - * *
    * MySQL objects to exclude from the stream.
    * 
* * .google.cloud.datastream.v1alpha1.MysqlRdbms rejectlist = 2; - * * @return The rejectlist. */ com.google.cloud.datastream.v1alpha1.MysqlRdbms getRejectlist(); /** - * - * *
    * MySQL objects to exclude from the stream.
    * 
diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlSslConfig.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlSslConfig.java similarity index 75% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlSslConfig.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlSslConfig.java index f4049405..f9c5b20f 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlSslConfig.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlSslConfig.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/datastream/v1alpha1/datastream_resources.proto package com.google.cloud.datastream.v1alpha1; /** - * - * *
  * MySQL SSL configuration information.
  * 
* * Protobuf type {@code google.cloud.datastream.v1alpha1.MysqlSslConfig} */ -public final class MysqlSslConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class MysqlSslConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1alpha1.MysqlSslConfig) MysqlSslConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use MysqlSslConfig.newBuilder() to construct. private MysqlSslConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private MysqlSslConfig() { clientKey_ = ""; clientCertificate_ = ""; @@ -45,15 +27,16 @@ private MysqlSslConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new MysqlSslConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private MysqlSslConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,49 +55,46 @@ private MysqlSslConfig( case 0: done = true; break; - case 90: - { - java.lang.String s = input.readStringRequireUtf8(); + case 90: { + java.lang.String s = input.readStringRequireUtf8(); - clientKey_ = s; - break; - } - case 96: - { - clientKeySet_ = input.readBool(); - break; - } - case 106: - { - java.lang.String s = input.readStringRequireUtf8(); + clientKey_ = s; + break; + } + case 96: { - clientCertificate_ = s; - break; - } - case 112: - { - clientCertificateSet_ = input.readBool(); - break; - } - case 122: - { - java.lang.String s = input.readStringRequireUtf8(); + clientKeySet_ = input.readBool(); + break; + } + case 106: { + java.lang.String s = input.readStringRequireUtf8(); - caCertificate_ = s; - break; - } - case 128: - { - caCertificateSet_ = input.readBool(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + clientCertificate_ = s; + break; + } + case 112: { + + clientCertificateSet_ = input.readBool(); + break; + } + case 122: { + java.lang.String s = input.readStringRequireUtf8(); + + caCertificate_ = s; + break; + } + case 128: { + + caCertificateSet_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -122,33 +102,29 @@ private MysqlSslConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_MysqlSslConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_MysqlSslConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_MysqlSslConfig_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_MysqlSslConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.MysqlSslConfig.class, - com.google.cloud.datastream.v1alpha1.MysqlSslConfig.Builder.class); + com.google.cloud.datastream.v1alpha1.MysqlSslConfig.class, com.google.cloud.datastream.v1alpha1.MysqlSslConfig.Builder.class); } public static final int CLIENT_KEY_FIELD_NUMBER = 11; private volatile java.lang.Object clientKey_; /** - * - * *
    * Input only. PEM-encoded private key associated with the Client Certificate.
    * If this field is used then the 'client_certificate' and the
@@ -156,7 +132,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string client_key = 11 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The clientKey. */ @java.lang.Override @@ -165,15 +140,14 @@ public java.lang.String getClientKey() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clientKey_ = s; return s; } } /** - * - * *
    * Input only. PEM-encoded private key associated with the Client Certificate.
    * If this field is used then the 'client_certificate' and the
@@ -181,15 +155,16 @@ public java.lang.String getClientKey() {
    * 
* * string client_key = 11 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The bytes for clientKey. */ @java.lang.Override - public com.google.protobuf.ByteString getClientKeyBytes() { + public com.google.protobuf.ByteString + getClientKeyBytes() { java.lang.Object ref = clientKey_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clientKey_ = b; return b; } else { @@ -200,14 +175,11 @@ public com.google.protobuf.ByteString getClientKeyBytes() { public static final int CLIENT_KEY_SET_FIELD_NUMBER = 12; private boolean clientKeySet_; /** - * - * *
    * Output only. Indicates whether the client_key field is set.
    * 
* * bool client_key_set = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The clientKeySet. */ @java.lang.Override @@ -218,8 +190,6 @@ public boolean getClientKeySet() { public static final int CLIENT_CERTIFICATE_FIELD_NUMBER = 13; private volatile java.lang.Object clientCertificate_; /** - * - * *
    * Input only. PEM-encoded certificate that will be used by the replica to
    * authenticate against the source database server. If this field is used
@@ -227,7 +197,6 @@ public boolean getClientKeySet() {
    * 
* * string client_certificate = 13 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The clientCertificate. */ @java.lang.Override @@ -236,15 +205,14 @@ public java.lang.String getClientCertificate() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clientCertificate_ = s; return s; } } /** - * - * *
    * Input only. PEM-encoded certificate that will be used by the replica to
    * authenticate against the source database server. If this field is used
@@ -252,15 +220,16 @@ public java.lang.String getClientCertificate() {
    * 
* * string client_certificate = 13 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The bytes for clientCertificate. */ @java.lang.Override - public com.google.protobuf.ByteString getClientCertificateBytes() { + public com.google.protobuf.ByteString + getClientCertificateBytes() { java.lang.Object ref = clientCertificate_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clientCertificate_ = b; return b; } else { @@ -271,14 +240,11 @@ public com.google.protobuf.ByteString getClientCertificateBytes() { public static final int CLIENT_CERTIFICATE_SET_FIELD_NUMBER = 14; private boolean clientCertificateSet_; /** - * - * *
    * Output only. Indicates whether the client_certificate field is set.
    * 
* * bool client_certificate_set = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The clientCertificateSet. */ @java.lang.Override @@ -289,15 +255,12 @@ public boolean getClientCertificateSet() { public static final int CA_CERTIFICATE_FIELD_NUMBER = 15; private volatile java.lang.Object caCertificate_; /** - * - * *
    * Input only. PEM-encoded certificate of the CA that signed the source database
    * server's certificate.
    * 
* * string ca_certificate = 15 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The caCertificate. */ @java.lang.Override @@ -306,30 +269,30 @@ public java.lang.String getCaCertificate() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); caCertificate_ = s; return s; } } /** - * - * *
    * Input only. PEM-encoded certificate of the CA that signed the source database
    * server's certificate.
    * 
* * string ca_certificate = 15 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The bytes for caCertificate. */ @java.lang.Override - public com.google.protobuf.ByteString getCaCertificateBytes() { + public com.google.protobuf.ByteString + getCaCertificateBytes() { java.lang.Object ref = caCertificate_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); caCertificate_ = b; return b; } else { @@ -340,14 +303,11 @@ public com.google.protobuf.ByteString getCaCertificateBytes() { public static final int CA_CERTIFICATE_SET_FIELD_NUMBER = 16; private boolean caCertificateSet_; /** - * - * *
    * Output only. Indicates whether the ca_certificate field is set.
    * 
* * bool ca_certificate_set = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The caCertificateSet. */ @java.lang.Override @@ -356,7 +316,6 @@ public boolean getCaCertificateSet() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -368,7 +327,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(clientKey_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 11, clientKey_); } @@ -400,19 +360,22 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, clientKey_); } if (clientKeySet_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(12, clientKeySet_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(12, clientKeySet_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clientCertificate_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, clientCertificate_); } if (clientCertificateSet_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(14, clientCertificateSet_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(14, clientCertificateSet_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(caCertificate_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, caCertificate_); } if (caCertificateSet_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(16, caCertificateSet_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(16, caCertificateSet_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -422,20 +385,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.datastream.v1alpha1.MysqlSslConfig)) { return super.equals(obj); } - com.google.cloud.datastream.v1alpha1.MysqlSslConfig other = - (com.google.cloud.datastream.v1alpha1.MysqlSslConfig) obj; - - if (!getClientKey().equals(other.getClientKey())) return false; - if (getClientKeySet() != other.getClientKeySet()) return false; - if (!getClientCertificate().equals(other.getClientCertificate())) return false; - if (getClientCertificateSet() != other.getClientCertificateSet()) return false; - if (!getCaCertificate().equals(other.getCaCertificate())) return false; - if (getCaCertificateSet() != other.getCaCertificateSet()) return false; + com.google.cloud.datastream.v1alpha1.MysqlSslConfig other = (com.google.cloud.datastream.v1alpha1.MysqlSslConfig) obj; + + if (!getClientKey() + .equals(other.getClientKey())) return false; + if (getClientKeySet() + != other.getClientKeySet()) return false; + if (!getClientCertificate() + .equals(other.getClientCertificate())) return false; + if (getClientCertificateSet() + != other.getClientCertificateSet()) return false; + if (!getCaCertificate() + .equals(other.getCaCertificate())) return false; + if (getCaCertificateSet() + != other.getCaCertificateSet()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -450,141 +418,135 @@ public int hashCode() { hash = (37 * hash) + CLIENT_KEY_FIELD_NUMBER; hash = (53 * hash) + getClientKey().hashCode(); hash = (37 * hash) + CLIENT_KEY_SET_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getClientKeySet()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getClientKeySet()); hash = (37 * hash) + CLIENT_CERTIFICATE_FIELD_NUMBER; hash = (53 * hash) + getClientCertificate().hashCode(); hash = (37 * hash) + CLIENT_CERTIFICATE_SET_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getClientCertificateSet()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getClientCertificateSet()); hash = (37 * hash) + CA_CERTIFICATE_FIELD_NUMBER; hash = (53 * hash) + getCaCertificate().hashCode(); hash = (37 * hash) + CA_CERTIFICATE_SET_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getCaCertificateSet()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getCaCertificateSet()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.datastream.v1alpha1.MysqlSslConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.MysqlSslConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.MysqlSslConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.MysqlSslConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.MysqlSslConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.MysqlSslConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.MysqlSslConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.MysqlSslConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.MysqlSslConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.MysqlSslConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.MysqlSslConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.MysqlSslConfig 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.datastream.v1alpha1.MysqlSslConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.MysqlSslConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datastream.v1alpha1.MysqlSslConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * MySQL SSL configuration information.
    * 
* * Protobuf type {@code google.cloud.datastream.v1alpha1.MysqlSslConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1alpha1.MysqlSslConfig) com.google.cloud.datastream.v1alpha1.MysqlSslConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_MysqlSslConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_MysqlSslConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_MysqlSslConfig_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_MysqlSslConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.MysqlSslConfig.class, - com.google.cloud.datastream.v1alpha1.MysqlSslConfig.Builder.class); + com.google.cloud.datastream.v1alpha1.MysqlSslConfig.class, com.google.cloud.datastream.v1alpha1.MysqlSslConfig.Builder.class); } // Construct using com.google.cloud.datastream.v1alpha1.MysqlSslConfig.newBuilder() @@ -592,15 +554,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -620,9 +583,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_MysqlSslConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_MysqlSslConfig_descriptor; } @java.lang.Override @@ -641,8 +604,7 @@ public com.google.cloud.datastream.v1alpha1.MysqlSslConfig build() { @java.lang.Override public com.google.cloud.datastream.v1alpha1.MysqlSslConfig buildPartial() { - com.google.cloud.datastream.v1alpha1.MysqlSslConfig result = - new com.google.cloud.datastream.v1alpha1.MysqlSslConfig(this); + com.google.cloud.datastream.v1alpha1.MysqlSslConfig result = new com.google.cloud.datastream.v1alpha1.MysqlSslConfig(this); result.clientKey_ = clientKey_; result.clientKeySet_ = clientKeySet_; result.clientCertificate_ = clientCertificate_; @@ -657,39 +619,38 @@ public com.google.cloud.datastream.v1alpha1.MysqlSslConfig buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1alpha1.MysqlSslConfig) { - return mergeFrom((com.google.cloud.datastream.v1alpha1.MysqlSslConfig) other); + return mergeFrom((com.google.cloud.datastream.v1alpha1.MysqlSslConfig)other); } else { super.mergeFrom(other); return this; @@ -697,8 +658,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datastream.v1alpha1.MysqlSslConfig other) { - if (other == com.google.cloud.datastream.v1alpha1.MysqlSslConfig.getDefaultInstance()) - return this; + if (other == com.google.cloud.datastream.v1alpha1.MysqlSslConfig.getDefaultInstance()) return this; if (!other.getClientKey().isEmpty()) { clientKey_ = other.clientKey_; onChanged(); @@ -739,8 +699,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datastream.v1alpha1.MysqlSslConfig) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datastream.v1alpha1.MysqlSslConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -752,8 +711,6 @@ public Builder mergeFrom( private java.lang.Object clientKey_ = ""; /** - * - * *
      * Input only. PEM-encoded private key associated with the Client Certificate.
      * If this field is used then the 'client_certificate' and the
@@ -761,13 +718,13 @@ public Builder mergeFrom(
      * 
* * string client_key = 11 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The clientKey. */ public java.lang.String getClientKey() { java.lang.Object ref = clientKey_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clientKey_ = s; return s; @@ -776,8 +733,6 @@ public java.lang.String getClientKey() { } } /** - * - * *
      * Input only. PEM-encoded private key associated with the Client Certificate.
      * If this field is used then the 'client_certificate' and the
@@ -785,14 +740,15 @@ public java.lang.String getClientKey() {
      * 
* * string client_key = 11 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The bytes for clientKey. */ - public com.google.protobuf.ByteString getClientKeyBytes() { + public com.google.protobuf.ByteString + getClientKeyBytes() { java.lang.Object ref = clientKey_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clientKey_ = b; return b; } else { @@ -800,8 +756,6 @@ public com.google.protobuf.ByteString getClientKeyBytes() { } } /** - * - * *
      * Input only. PEM-encoded private key associated with the Client Certificate.
      * If this field is used then the 'client_certificate' and the
@@ -809,22 +763,20 @@ public com.google.protobuf.ByteString getClientKeyBytes() {
      * 
* * string client_key = 11 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @param value The clientKey to set. * @return This builder for chaining. */ - public Builder setClientKey(java.lang.String value) { + public Builder setClientKey( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clientKey_ = value; onChanged(); return this; } /** - * - * *
      * Input only. PEM-encoded private key associated with the Client Certificate.
      * If this field is used then the 'client_certificate' and the
@@ -832,18 +784,15 @@ public Builder setClientKey(java.lang.String value) {
      * 
* * string client_key = 11 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearClientKey() { - + clientKey_ = getDefaultInstance().getClientKey(); onChanged(); return this; } /** - * - * *
      * Input only. PEM-encoded private key associated with the Client Certificate.
      * If this field is used then the 'client_certificate' and the
@@ -851,31 +800,28 @@ public Builder clearClientKey() {
      * 
* * string client_key = 11 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @param value The bytes for clientKey to set. * @return This builder for chaining. */ - public Builder setClientKeyBytes(com.google.protobuf.ByteString value) { + public Builder setClientKeyBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clientKey_ = value; onChanged(); return this; } - private boolean clientKeySet_; + private boolean clientKeySet_ ; /** - * - * *
      * Output only. Indicates whether the client_key field is set.
      * 
* * bool client_key_set = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The clientKeySet. */ @java.lang.Override @@ -883,36 +829,30 @@ public boolean getClientKeySet() { return clientKeySet_; } /** - * - * *
      * Output only. Indicates whether the client_key field is set.
      * 
* * bool client_key_set = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The clientKeySet to set. * @return This builder for chaining. */ public Builder setClientKeySet(boolean value) { - + clientKeySet_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Indicates whether the client_key field is set.
      * 
* * bool client_key_set = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearClientKeySet() { - + clientKeySet_ = false; onChanged(); return this; @@ -920,8 +860,6 @@ public Builder clearClientKeySet() { private java.lang.Object clientCertificate_ = ""; /** - * - * *
      * Input only. PEM-encoded certificate that will be used by the replica to
      * authenticate against the source database server. If this field is used
@@ -929,13 +867,13 @@ public Builder clearClientKeySet() {
      * 
* * string client_certificate = 13 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The clientCertificate. */ public java.lang.String getClientCertificate() { java.lang.Object ref = clientCertificate_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clientCertificate_ = s; return s; @@ -944,8 +882,6 @@ public java.lang.String getClientCertificate() { } } /** - * - * *
      * Input only. PEM-encoded certificate that will be used by the replica to
      * authenticate against the source database server. If this field is used
@@ -953,14 +889,15 @@ public java.lang.String getClientCertificate() {
      * 
* * string client_certificate = 13 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The bytes for clientCertificate. */ - public com.google.protobuf.ByteString getClientCertificateBytes() { + public com.google.protobuf.ByteString + getClientCertificateBytes() { java.lang.Object ref = clientCertificate_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clientCertificate_ = b; return b; } else { @@ -968,8 +905,6 @@ public com.google.protobuf.ByteString getClientCertificateBytes() { } } /** - * - * *
      * Input only. PEM-encoded certificate that will be used by the replica to
      * authenticate against the source database server. If this field is used
@@ -977,22 +912,20 @@ public com.google.protobuf.ByteString getClientCertificateBytes() {
      * 
* * string client_certificate = 13 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @param value The clientCertificate to set. * @return This builder for chaining. */ - public Builder setClientCertificate(java.lang.String value) { + public Builder setClientCertificate( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clientCertificate_ = value; onChanged(); return this; } /** - * - * *
      * Input only. PEM-encoded certificate that will be used by the replica to
      * authenticate against the source database server. If this field is used
@@ -1000,18 +933,15 @@ public Builder setClientCertificate(java.lang.String value) {
      * 
* * string client_certificate = 13 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearClientCertificate() { - + clientCertificate_ = getDefaultInstance().getClientCertificate(); onChanged(); return this; } /** - * - * *
      * Input only. PEM-encoded certificate that will be used by the replica to
      * authenticate against the source database server. If this field is used
@@ -1019,31 +949,28 @@ public Builder clearClientCertificate() {
      * 
* * string client_certificate = 13 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @param value The bytes for clientCertificate to set. * @return This builder for chaining. */ - public Builder setClientCertificateBytes(com.google.protobuf.ByteString value) { + public Builder setClientCertificateBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clientCertificate_ = value; onChanged(); return this; } - private boolean clientCertificateSet_; + private boolean clientCertificateSet_ ; /** - * - * *
      * Output only. Indicates whether the client_certificate field is set.
      * 
* * bool client_certificate_set = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The clientCertificateSet. */ @java.lang.Override @@ -1051,36 +978,30 @@ public boolean getClientCertificateSet() { return clientCertificateSet_; } /** - * - * *
      * Output only. Indicates whether the client_certificate field is set.
      * 
* * bool client_certificate_set = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The clientCertificateSet to set. * @return This builder for chaining. */ public Builder setClientCertificateSet(boolean value) { - + clientCertificateSet_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Indicates whether the client_certificate field is set.
      * 
* * bool client_certificate_set = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearClientCertificateSet() { - + clientCertificateSet_ = false; onChanged(); return this; @@ -1088,21 +1009,19 @@ public Builder clearClientCertificateSet() { private java.lang.Object caCertificate_ = ""; /** - * - * *
      * Input only. PEM-encoded certificate of the CA that signed the source database
      * server's certificate.
      * 
* * string ca_certificate = 15 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The caCertificate. */ public java.lang.String getCaCertificate() { java.lang.Object ref = caCertificate_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); caCertificate_ = s; return s; @@ -1111,22 +1030,21 @@ public java.lang.String getCaCertificate() { } } /** - * - * *
      * Input only. PEM-encoded certificate of the CA that signed the source database
      * server's certificate.
      * 
* * string ca_certificate = 15 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The bytes for caCertificate. */ - public com.google.protobuf.ByteString getCaCertificateBytes() { + public com.google.protobuf.ByteString + getCaCertificateBytes() { java.lang.Object ref = caCertificate_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); caCertificate_ = b; return b; } else { @@ -1134,79 +1052,69 @@ public com.google.protobuf.ByteString getCaCertificateBytes() { } } /** - * - * *
      * Input only. PEM-encoded certificate of the CA that signed the source database
      * server's certificate.
      * 
* * string ca_certificate = 15 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @param value The caCertificate to set. * @return This builder for chaining. */ - public Builder setCaCertificate(java.lang.String value) { + public Builder setCaCertificate( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + caCertificate_ = value; onChanged(); return this; } /** - * - * *
      * Input only. PEM-encoded certificate of the CA that signed the source database
      * server's certificate.
      * 
* * string ca_certificate = 15 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearCaCertificate() { - + caCertificate_ = getDefaultInstance().getCaCertificate(); onChanged(); return this; } /** - * - * *
      * Input only. PEM-encoded certificate of the CA that signed the source database
      * server's certificate.
      * 
* * string ca_certificate = 15 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @param value The bytes for caCertificate to set. * @return This builder for chaining. */ - public Builder setCaCertificateBytes(com.google.protobuf.ByteString value) { + public Builder setCaCertificateBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + caCertificate_ = value; onChanged(); return this; } - private boolean caCertificateSet_; + private boolean caCertificateSet_ ; /** - * - * *
      * Output only. Indicates whether the ca_certificate field is set.
      * 
* * bool ca_certificate_set = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The caCertificateSet. */ @java.lang.Override @@ -1214,43 +1122,37 @@ public boolean getCaCertificateSet() { return caCertificateSet_; } /** - * - * *
      * Output only. Indicates whether the ca_certificate field is set.
      * 
* * bool ca_certificate_set = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The caCertificateSet to set. * @return This builder for chaining. */ public Builder setCaCertificateSet(boolean value) { - + caCertificateSet_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Indicates whether the ca_certificate field is set.
      * 
* * bool ca_certificate_set = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearCaCertificateSet() { - + caCertificateSet_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1260,12 +1162,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1alpha1.MysqlSslConfig) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1alpha1.MysqlSslConfig) private static final com.google.cloud.datastream.v1alpha1.MysqlSslConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1alpha1.MysqlSslConfig(); } @@ -1274,16 +1176,16 @@ public static com.google.cloud.datastream.v1alpha1.MysqlSslConfig getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MysqlSslConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MysqlSslConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MysqlSslConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MysqlSslConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1298,4 +1200,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datastream.v1alpha1.MysqlSslConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlSslConfigOrBuilder.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlSslConfigOrBuilder.java similarity index 77% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlSslConfigOrBuilder.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlSslConfigOrBuilder.java index 2a4721fa..3cdea7e3 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlSslConfigOrBuilder.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlSslConfigOrBuilder.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/datastream/v1alpha1/datastream_resources.proto package com.google.cloud.datastream.v1alpha1; -public interface MysqlSslConfigOrBuilder - extends +public interface MysqlSslConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1alpha1.MysqlSslConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Input only. PEM-encoded private key associated with the Client Certificate.
    * If this field is used then the 'client_certificate' and the
@@ -33,13 +15,10 @@ public interface MysqlSslConfigOrBuilder
    * 
* * string client_key = 11 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The clientKey. */ java.lang.String getClientKey(); /** - * - * *
    * Input only. PEM-encoded private key associated with the Client Certificate.
    * If this field is used then the 'client_certificate' and the
@@ -47,27 +26,22 @@ public interface MysqlSslConfigOrBuilder
    * 
* * string client_key = 11 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The bytes for clientKey. */ - com.google.protobuf.ByteString getClientKeyBytes(); + com.google.protobuf.ByteString + getClientKeyBytes(); /** - * - * *
    * Output only. Indicates whether the client_key field is set.
    * 
* * bool client_key_set = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The clientKeySet. */ boolean getClientKeySet(); /** - * - * *
    * Input only. PEM-encoded certificate that will be used by the replica to
    * authenticate against the source database server. If this field is used
@@ -75,13 +49,10 @@ public interface MysqlSslConfigOrBuilder
    * 
* * string client_certificate = 13 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The clientCertificate. */ java.lang.String getClientCertificate(); /** - * - * *
    * Input only. PEM-encoded certificate that will be used by the replica to
    * authenticate against the source database server. If this field is used
@@ -89,60 +60,49 @@ public interface MysqlSslConfigOrBuilder
    * 
* * string client_certificate = 13 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The bytes for clientCertificate. */ - com.google.protobuf.ByteString getClientCertificateBytes(); + com.google.protobuf.ByteString + getClientCertificateBytes(); /** - * - * *
    * Output only. Indicates whether the client_certificate field is set.
    * 
* * bool client_certificate_set = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The clientCertificateSet. */ boolean getClientCertificateSet(); /** - * - * *
    * Input only. PEM-encoded certificate of the CA that signed the source database
    * server's certificate.
    * 
* * string ca_certificate = 15 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The caCertificate. */ java.lang.String getCaCertificate(); /** - * - * *
    * Input only. PEM-encoded certificate of the CA that signed the source database
    * server's certificate.
    * 
* * string ca_certificate = 15 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The bytes for caCertificate. */ - com.google.protobuf.ByteString getCaCertificateBytes(); + com.google.protobuf.ByteString + getCaCertificateBytes(); /** - * - * *
    * Output only. Indicates whether the ca_certificate field is set.
    * 
* * bool ca_certificate_set = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The caCertificateSet. */ boolean getCaCertificateSet(); diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlTable.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlTable.java similarity index 76% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlTable.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlTable.java index c1399380..46549ac5 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlTable.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlTable.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/datastream/v1alpha1/datastream_resources.proto package com.google.cloud.datastream.v1alpha1; /** - * - * *
  * MySQL table.
  * 
* * Protobuf type {@code google.cloud.datastream.v1alpha1.MysqlTable} */ -public final class MysqlTable extends com.google.protobuf.GeneratedMessageV3 - implements +public final class MysqlTable extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1alpha1.MysqlTable) MysqlTableOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use MysqlTable.newBuilder() to construct. private MysqlTable(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private MysqlTable() { tableName_ = ""; mysqlColumns_ = java.util.Collections.emptyList(); @@ -44,15 +26,16 @@ private MysqlTable() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new MysqlTable(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private MysqlTable( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,33 +55,28 @@ private MysqlTable( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - tableName_ = s; - break; - } - case 18: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - mysqlColumns_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - mysqlColumns_.add( - input.readMessage( - com.google.cloud.datastream.v1alpha1.MysqlColumn.parser(), - extensionRegistry)); - break; + tableName_ = s; + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + mysqlColumns_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + mysqlColumns_.add( + input.readMessage(com.google.cloud.datastream.v1alpha1.MysqlColumn.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -106,7 +84,8 @@ private MysqlTable( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { mysqlColumns_ = java.util.Collections.unmodifiableList(mysqlColumns_); @@ -115,33 +94,27 @@ private MysqlTable( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_MysqlTable_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_MysqlTable_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_MysqlTable_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_MysqlTable_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.MysqlTable.class, - com.google.cloud.datastream.v1alpha1.MysqlTable.Builder.class); + com.google.cloud.datastream.v1alpha1.MysqlTable.class, com.google.cloud.datastream.v1alpha1.MysqlTable.Builder.class); } public static final int TABLE_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object tableName_; /** - * - * *
    * Table name.
    * 
* * string table_name = 1; - * * @return The tableName. */ @java.lang.Override @@ -150,29 +123,29 @@ public java.lang.String getTableName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tableName_ = s; return s; } } /** - * - * *
    * Table name.
    * 
* * string table_name = 1; - * * @return The bytes for tableName. */ @java.lang.Override - public com.google.protobuf.ByteString getTableNameBytes() { + public com.google.protobuf.ByteString + getTableNameBytes() { java.lang.Object ref = tableName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tableName_ = b; return b; } else { @@ -183,8 +156,6 @@ public com.google.protobuf.ByteString getTableNameBytes() { public static final int MYSQL_COLUMNS_FIELD_NUMBER = 2; private java.util.List mysqlColumns_; /** - * - * *
    * MySQL columns in the database.
    * When unspecified as part of include/exclude lists, includes/excludes
@@ -198,8 +169,6 @@ public java.util.List getMysql
     return mysqlColumns_;
   }
   /**
-   *
-   *
    * 
    * MySQL columns in the database.
    * When unspecified as part of include/exclude lists, includes/excludes
@@ -209,13 +178,11 @@ public java.util.List getMysql
    * repeated .google.cloud.datastream.v1alpha1.MysqlColumn mysql_columns = 2;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getMysqlColumnsOrBuilderList() {
     return mysqlColumns_;
   }
   /**
-   *
-   *
    * 
    * MySQL columns in the database.
    * When unspecified as part of include/exclude lists, includes/excludes
@@ -229,8 +196,6 @@ public int getMysqlColumnsCount() {
     return mysqlColumns_.size();
   }
   /**
-   *
-   *
    * 
    * MySQL columns in the database.
    * When unspecified as part of include/exclude lists, includes/excludes
@@ -244,8 +209,6 @@ public com.google.cloud.datastream.v1alpha1.MysqlColumn getMysqlColumns(int inde
     return mysqlColumns_.get(index);
   }
   /**
-   *
-   *
    * 
    * MySQL columns in the database.
    * When unspecified as part of include/exclude lists, includes/excludes
@@ -261,7 +224,6 @@ public com.google.cloud.datastream.v1alpha1.MysqlColumnOrBuilder getMysqlColumns
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -273,7 +235,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tableName_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, tableName_);
     }
@@ -293,7 +256,8 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, tableName_);
     }
     for (int i = 0; i < mysqlColumns_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, mysqlColumns_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, mysqlColumns_.get(i));
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -303,16 +267,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.datastream.v1alpha1.MysqlTable)) {
       return super.equals(obj);
     }
-    com.google.cloud.datastream.v1alpha1.MysqlTable other =
-        (com.google.cloud.datastream.v1alpha1.MysqlTable) obj;
+    com.google.cloud.datastream.v1alpha1.MysqlTable other = (com.google.cloud.datastream.v1alpha1.MysqlTable) obj;
 
-    if (!getTableName().equals(other.getTableName())) return false;
-    if (!getMysqlColumnsList().equals(other.getMysqlColumnsList())) return false;
+    if (!getTableName()
+        .equals(other.getTableName())) return false;
+    if (!getMysqlColumnsList()
+        .equals(other.getMysqlColumnsList())) return false;
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
   }
@@ -335,127 +300,118 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.datastream.v1alpha1.MysqlTable parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.datastream.v1alpha1.MysqlTable parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.datastream.v1alpha1.MysqlTable parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.datastream.v1alpha1.MysqlTable parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.datastream.v1alpha1.MysqlTable parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.datastream.v1alpha1.MysqlTable parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.datastream.v1alpha1.MysqlTable parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.datastream.v1alpha1.MysqlTable 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.datastream.v1alpha1.MysqlTable parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.cloud.datastream.v1alpha1.MysqlTable parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.datastream.v1alpha1.MysqlTable parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.datastream.v1alpha1.MysqlTable 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.datastream.v1alpha1.MysqlTable parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.datastream.v1alpha1.MysqlTable parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.datastream.v1alpha1.MysqlTable prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * MySQL table.
    * 
* * Protobuf type {@code google.cloud.datastream.v1alpha1.MysqlTable} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1alpha1.MysqlTable) com.google.cloud.datastream.v1alpha1.MysqlTableOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_MysqlTable_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_MysqlTable_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_MysqlTable_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_MysqlTable_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.MysqlTable.class, - com.google.cloud.datastream.v1alpha1.MysqlTable.Builder.class); + com.google.cloud.datastream.v1alpha1.MysqlTable.class, com.google.cloud.datastream.v1alpha1.MysqlTable.Builder.class); } // Construct using com.google.cloud.datastream.v1alpha1.MysqlTable.newBuilder() @@ -463,17 +419,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getMysqlColumnsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -489,9 +445,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_MysqlTable_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_MysqlTable_descriptor; } @java.lang.Override @@ -510,8 +466,7 @@ public com.google.cloud.datastream.v1alpha1.MysqlTable build() { @java.lang.Override public com.google.cloud.datastream.v1alpha1.MysqlTable buildPartial() { - com.google.cloud.datastream.v1alpha1.MysqlTable result = - new com.google.cloud.datastream.v1alpha1.MysqlTable(this); + com.google.cloud.datastream.v1alpha1.MysqlTable result = new com.google.cloud.datastream.v1alpha1.MysqlTable(this); int from_bitField0_ = bitField0_; result.tableName_ = tableName_; if (mysqlColumnsBuilder_ == null) { @@ -531,39 +486,38 @@ public com.google.cloud.datastream.v1alpha1.MysqlTable buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1alpha1.MysqlTable) { - return mergeFrom((com.google.cloud.datastream.v1alpha1.MysqlTable) other); + return mergeFrom((com.google.cloud.datastream.v1alpha1.MysqlTable)other); } else { super.mergeFrom(other); return this; @@ -571,8 +525,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datastream.v1alpha1.MysqlTable other) { - if (other == com.google.cloud.datastream.v1alpha1.MysqlTable.getDefaultInstance()) - return this; + if (other == com.google.cloud.datastream.v1alpha1.MysqlTable.getDefaultInstance()) return this; if (!other.getTableName().isEmpty()) { tableName_ = other.tableName_; onChanged(); @@ -595,10 +548,9 @@ public Builder mergeFrom(com.google.cloud.datastream.v1alpha1.MysqlTable other) mysqlColumnsBuilder_ = null; mysqlColumns_ = other.mysqlColumns_; bitField0_ = (bitField0_ & ~0x00000001); - mysqlColumnsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getMysqlColumnsFieldBuilder() - : null; + mysqlColumnsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getMysqlColumnsFieldBuilder() : null; } else { mysqlColumnsBuilder_.addAllMessages(other.mysqlColumns_); } @@ -632,25 +584,22 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object tableName_ = ""; /** - * - * *
      * Table name.
      * 
* * string table_name = 1; - * * @return The tableName. */ public java.lang.String getTableName() { java.lang.Object ref = tableName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tableName_ = s; return s; @@ -659,21 +608,20 @@ public java.lang.String getTableName() { } } /** - * - * *
      * Table name.
      * 
* * string table_name = 1; - * * @return The bytes for tableName. */ - public com.google.protobuf.ByteString getTableNameBytes() { + public com.google.protobuf.ByteString + getTableNameBytes() { java.lang.Object ref = tableName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tableName_ = b; return b; } else { @@ -681,87 +629,72 @@ public com.google.protobuf.ByteString getTableNameBytes() { } } /** - * - * *
      * Table name.
      * 
* * string table_name = 1; - * * @param value The tableName to set. * @return This builder for chaining. */ - public Builder setTableName(java.lang.String value) { + public Builder setTableName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + tableName_ = value; onChanged(); return this; } /** - * - * *
      * Table name.
      * 
* * string table_name = 1; - * * @return This builder for chaining. */ public Builder clearTableName() { - + tableName_ = getDefaultInstance().getTableName(); onChanged(); return this; } /** - * - * *
      * Table name.
      * 
* * string table_name = 1; - * * @param value The bytes for tableName to set. * @return This builder for chaining. */ - public Builder setTableNameBytes(com.google.protobuf.ByteString value) { + public Builder setTableNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + tableName_ = value; onChanged(); return this; } private java.util.List mysqlColumns_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureMysqlColumnsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - mysqlColumns_ = - new java.util.ArrayList( - mysqlColumns_); + mysqlColumns_ = new java.util.ArrayList(mysqlColumns_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.MysqlColumn, - com.google.cloud.datastream.v1alpha1.MysqlColumn.Builder, - com.google.cloud.datastream.v1alpha1.MysqlColumnOrBuilder> - mysqlColumnsBuilder_; + com.google.cloud.datastream.v1alpha1.MysqlColumn, com.google.cloud.datastream.v1alpha1.MysqlColumn.Builder, com.google.cloud.datastream.v1alpha1.MysqlColumnOrBuilder> mysqlColumnsBuilder_; /** - * - * *
      * MySQL columns in the database.
      * When unspecified as part of include/exclude lists, includes/excludes
@@ -778,8 +711,6 @@ public java.util.List getMysql
       }
     }
     /**
-     *
-     *
      * 
      * MySQL columns in the database.
      * When unspecified as part of include/exclude lists, includes/excludes
@@ -796,8 +727,6 @@ public int getMysqlColumnsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * MySQL columns in the database.
      * When unspecified as part of include/exclude lists, includes/excludes
@@ -814,8 +743,6 @@ public com.google.cloud.datastream.v1alpha1.MysqlColumn getMysqlColumns(int inde
       }
     }
     /**
-     *
-     *
      * 
      * MySQL columns in the database.
      * When unspecified as part of include/exclude lists, includes/excludes
@@ -839,8 +766,6 @@ public Builder setMysqlColumns(
       return this;
     }
     /**
-     *
-     *
      * 
      * MySQL columns in the database.
      * When unspecified as part of include/exclude lists, includes/excludes
@@ -861,8 +786,6 @@ public Builder setMysqlColumns(
       return this;
     }
     /**
-     *
-     *
      * 
      * MySQL columns in the database.
      * When unspecified as part of include/exclude lists, includes/excludes
@@ -885,8 +808,6 @@ public Builder addMysqlColumns(com.google.cloud.datastream.v1alpha1.MysqlColumn
       return this;
     }
     /**
-     *
-     *
      * 
      * MySQL columns in the database.
      * When unspecified as part of include/exclude lists, includes/excludes
@@ -910,8 +831,6 @@ public Builder addMysqlColumns(
       return this;
     }
     /**
-     *
-     *
      * 
      * MySQL columns in the database.
      * When unspecified as part of include/exclude lists, includes/excludes
@@ -932,8 +851,6 @@ public Builder addMysqlColumns(
       return this;
     }
     /**
-     *
-     *
      * 
      * MySQL columns in the database.
      * When unspecified as part of include/exclude lists, includes/excludes
@@ -954,8 +871,6 @@ public Builder addMysqlColumns(
       return this;
     }
     /**
-     *
-     *
      * 
      * MySQL columns in the database.
      * When unspecified as part of include/exclude lists, includes/excludes
@@ -968,7 +883,8 @@ public Builder addAllMysqlColumns(
         java.lang.Iterable values) {
       if (mysqlColumnsBuilder_ == null) {
         ensureMysqlColumnsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, mysqlColumns_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, mysqlColumns_);
         onChanged();
       } else {
         mysqlColumnsBuilder_.addAllMessages(values);
@@ -976,8 +892,6 @@ public Builder addAllMysqlColumns(
       return this;
     }
     /**
-     *
-     *
      * 
      * MySQL columns in the database.
      * When unspecified as part of include/exclude lists, includes/excludes
@@ -997,8 +911,6 @@ public Builder clearMysqlColumns() {
       return this;
     }
     /**
-     *
-     *
      * 
      * MySQL columns in the database.
      * When unspecified as part of include/exclude lists, includes/excludes
@@ -1018,8 +930,6 @@ public Builder removeMysqlColumns(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * MySQL columns in the database.
      * When unspecified as part of include/exclude lists, includes/excludes
@@ -1033,8 +943,6 @@ public com.google.cloud.datastream.v1alpha1.MysqlColumn.Builder getMysqlColumnsB
       return getMysqlColumnsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * MySQL columns in the database.
      * When unspecified as part of include/exclude lists, includes/excludes
@@ -1046,14 +954,11 @@ public com.google.cloud.datastream.v1alpha1.MysqlColumn.Builder getMysqlColumnsB
     public com.google.cloud.datastream.v1alpha1.MysqlColumnOrBuilder getMysqlColumnsOrBuilder(
         int index) {
       if (mysqlColumnsBuilder_ == null) {
-        return mysqlColumns_.get(index);
-      } else {
+        return mysqlColumns_.get(index);  } else {
         return mysqlColumnsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * MySQL columns in the database.
      * When unspecified as part of include/exclude lists, includes/excludes
@@ -1062,8 +967,8 @@ public com.google.cloud.datastream.v1alpha1.MysqlColumnOrBuilder getMysqlColumns
      *
      * repeated .google.cloud.datastream.v1alpha1.MysqlColumn mysql_columns = 2;
      */
-    public java.util.List
-        getMysqlColumnsOrBuilderList() {
+    public java.util.List 
+         getMysqlColumnsOrBuilderList() {
       if (mysqlColumnsBuilder_ != null) {
         return mysqlColumnsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1071,8 +976,6 @@ public com.google.cloud.datastream.v1alpha1.MysqlColumnOrBuilder getMysqlColumns
       }
     }
     /**
-     *
-     *
      * 
      * MySQL columns in the database.
      * When unspecified as part of include/exclude lists, includes/excludes
@@ -1082,12 +985,10 @@ public com.google.cloud.datastream.v1alpha1.MysqlColumnOrBuilder getMysqlColumns
      * repeated .google.cloud.datastream.v1alpha1.MysqlColumn mysql_columns = 2;
      */
     public com.google.cloud.datastream.v1alpha1.MysqlColumn.Builder addMysqlColumnsBuilder() {
-      return getMysqlColumnsFieldBuilder()
-          .addBuilder(com.google.cloud.datastream.v1alpha1.MysqlColumn.getDefaultInstance());
+      return getMysqlColumnsFieldBuilder().addBuilder(
+          com.google.cloud.datastream.v1alpha1.MysqlColumn.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * MySQL columns in the database.
      * When unspecified as part of include/exclude lists, includes/excludes
@@ -1098,12 +999,10 @@ public com.google.cloud.datastream.v1alpha1.MysqlColumn.Builder addMysqlColumnsB
      */
     public com.google.cloud.datastream.v1alpha1.MysqlColumn.Builder addMysqlColumnsBuilder(
         int index) {
-      return getMysqlColumnsFieldBuilder()
-          .addBuilder(index, com.google.cloud.datastream.v1alpha1.MysqlColumn.getDefaultInstance());
+      return getMysqlColumnsFieldBuilder().addBuilder(
+          index, com.google.cloud.datastream.v1alpha1.MysqlColumn.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * MySQL columns in the database.
      * When unspecified as part of include/exclude lists, includes/excludes
@@ -1112,30 +1011,27 @@ public com.google.cloud.datastream.v1alpha1.MysqlColumn.Builder addMysqlColumnsB
      *
      * repeated .google.cloud.datastream.v1alpha1.MysqlColumn mysql_columns = 2;
      */
-    public java.util.List
-        getMysqlColumnsBuilderList() {
+    public java.util.List 
+         getMysqlColumnsBuilderList() {
       return getMysqlColumnsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.datastream.v1alpha1.MysqlColumn,
-            com.google.cloud.datastream.v1alpha1.MysqlColumn.Builder,
-            com.google.cloud.datastream.v1alpha1.MysqlColumnOrBuilder>
+        com.google.cloud.datastream.v1alpha1.MysqlColumn, com.google.cloud.datastream.v1alpha1.MysqlColumn.Builder, com.google.cloud.datastream.v1alpha1.MysqlColumnOrBuilder> 
         getMysqlColumnsFieldBuilder() {
       if (mysqlColumnsBuilder_ == null) {
-        mysqlColumnsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.cloud.datastream.v1alpha1.MysqlColumn,
-                com.google.cloud.datastream.v1alpha1.MysqlColumn.Builder,
-                com.google.cloud.datastream.v1alpha1.MysqlColumnOrBuilder>(
-                mysqlColumns_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        mysqlColumnsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.cloud.datastream.v1alpha1.MysqlColumn, com.google.cloud.datastream.v1alpha1.MysqlColumn.Builder, com.google.cloud.datastream.v1alpha1.MysqlColumnOrBuilder>(
+                mysqlColumns_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         mysqlColumns_ = null;
       }
       return mysqlColumnsBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1145,12 +1041,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1alpha1.MysqlTable)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1alpha1.MysqlTable)
   private static final com.google.cloud.datastream.v1alpha1.MysqlTable DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.datastream.v1alpha1.MysqlTable();
   }
@@ -1159,16 +1055,16 @@ public static com.google.cloud.datastream.v1alpha1.MysqlTable getDefaultInstance
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public MysqlTable parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new MysqlTable(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public MysqlTable parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new MysqlTable(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1183,4 +1079,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.datastream.v1alpha1.MysqlTable getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlTableOrBuilder.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlTableOrBuilder.java
similarity index 72%
rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlTableOrBuilder.java
rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlTableOrBuilder.java
index e8ed3fe4..e597ddda 100644
--- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlTableOrBuilder.java
+++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlTableOrBuilder.java
@@ -1,56 +1,33 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/datastream/v1alpha1/datastream_resources.proto
 
 package com.google.cloud.datastream.v1alpha1;
 
-public interface MysqlTableOrBuilder
-    extends
+public interface MysqlTableOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1alpha1.MysqlTable)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Table name.
    * 
* * string table_name = 1; - * * @return The tableName. */ java.lang.String getTableName(); /** - * - * *
    * Table name.
    * 
* * string table_name = 1; - * * @return The bytes for tableName. */ - com.google.protobuf.ByteString getTableNameBytes(); + com.google.protobuf.ByteString + getTableNameBytes(); /** - * - * *
    * MySQL columns in the database.
    * When unspecified as part of include/exclude lists, includes/excludes
@@ -59,10 +36,9 @@ public interface MysqlTableOrBuilder
    *
    * repeated .google.cloud.datastream.v1alpha1.MysqlColumn mysql_columns = 2;
    */
-  java.util.List getMysqlColumnsList();
+  java.util.List 
+      getMysqlColumnsList();
   /**
-   *
-   *
    * 
    * MySQL columns in the database.
    * When unspecified as part of include/exclude lists, includes/excludes
@@ -73,8 +49,6 @@ public interface MysqlTableOrBuilder
    */
   com.google.cloud.datastream.v1alpha1.MysqlColumn getMysqlColumns(int index);
   /**
-   *
-   *
    * 
    * MySQL columns in the database.
    * When unspecified as part of include/exclude lists, includes/excludes
@@ -85,8 +59,6 @@ public interface MysqlTableOrBuilder
    */
   int getMysqlColumnsCount();
   /**
-   *
-   *
    * 
    * MySQL columns in the database.
    * When unspecified as part of include/exclude lists, includes/excludes
@@ -95,11 +67,9 @@ public interface MysqlTableOrBuilder
    *
    * repeated .google.cloud.datastream.v1alpha1.MysqlColumn mysql_columns = 2;
    */
-  java.util.List
+  java.util.List 
       getMysqlColumnsOrBuilderList();
   /**
-   *
-   *
    * 
    * MySQL columns in the database.
    * When unspecified as part of include/exclude lists, includes/excludes
@@ -108,5 +78,6 @@ public interface MysqlTableOrBuilder
    *
    * repeated .google.cloud.datastream.v1alpha1.MysqlColumn mysql_columns = 2;
    */
-  com.google.cloud.datastream.v1alpha1.MysqlColumnOrBuilder getMysqlColumnsOrBuilder(int index);
+  com.google.cloud.datastream.v1alpha1.MysqlColumnOrBuilder getMysqlColumnsOrBuilder(
+      int index);
 }
diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/NoConnectivitySettings.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/NoConnectivitySettings.java
similarity index 67%
rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/NoConnectivitySettings.java
rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/NoConnectivitySettings.java
index b44f49d0..8e567c6a 100644
--- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/NoConnectivitySettings.java
+++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/NoConnectivitySettings.java
@@ -1,55 +1,39 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/datastream/v1alpha1/datastream_resources.proto
 
 package com.google.cloud.datastream.v1alpha1;
 
 /**
- *
- *
  * 
  * No connectivity settings.
  * 
* * Protobuf type {@code google.cloud.datastream.v1alpha1.NoConnectivitySettings} */ -public final class NoConnectivitySettings extends com.google.protobuf.GeneratedMessageV3 - implements +public final class NoConnectivitySettings extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1alpha1.NoConnectivitySettings) NoConnectivitySettingsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use NoConnectivitySettings.newBuilder() to construct. private NoConnectivitySettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private NoConnectivitySettings() {} + private NoConnectivitySettings() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new NoConnectivitySettings(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private NoConnectivitySettings( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,13 +52,13 @@ private NoConnectivitySettings( case 0: done = true; break; - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -82,30 +66,27 @@ private NoConnectivitySettings( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_NoConnectivitySettings_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_NoConnectivitySettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_NoConnectivitySettings_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_NoConnectivitySettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.NoConnectivitySettings.class, - com.google.cloud.datastream.v1alpha1.NoConnectivitySettings.Builder.class); + com.google.cloud.datastream.v1alpha1.NoConnectivitySettings.class, com.google.cloud.datastream.v1alpha1.NoConnectivitySettings.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -117,7 +98,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { unknownFields.writeTo(output); } @@ -135,13 +117,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datastream.v1alpha1.NoConnectivitySettings)) { return super.equals(obj); } - com.google.cloud.datastream.v1alpha1.NoConnectivitySettings other = - (com.google.cloud.datastream.v1alpha1.NoConnectivitySettings) obj; + com.google.cloud.datastream.v1alpha1.NoConnectivitySettings other = (com.google.cloud.datastream.v1alpha1.NoConnectivitySettings) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -160,127 +141,117 @@ public int hashCode() { } public static com.google.cloud.datastream.v1alpha1.NoConnectivitySettings parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.NoConnectivitySettings parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.NoConnectivitySettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.NoConnectivitySettings parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.NoConnectivitySettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.NoConnectivitySettings parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.NoConnectivitySettings parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.NoConnectivitySettings parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.NoConnectivitySettings parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.NoConnectivitySettings parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.NoConnectivitySettings parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.NoConnectivitySettings 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.datastream.v1alpha1.NoConnectivitySettings parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.NoConnectivitySettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datastream.v1alpha1.NoConnectivitySettings prototype) { + public static Builder newBuilder(com.google.cloud.datastream.v1alpha1.NoConnectivitySettings prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * No connectivity settings.
    * 
* * Protobuf type {@code google.cloud.datastream.v1alpha1.NoConnectivitySettings} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1alpha1.NoConnectivitySettings) com.google.cloud.datastream.v1alpha1.NoConnectivitySettingsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_NoConnectivitySettings_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_NoConnectivitySettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_NoConnectivitySettings_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_NoConnectivitySettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.NoConnectivitySettings.class, - com.google.cloud.datastream.v1alpha1.NoConnectivitySettings.Builder.class); + com.google.cloud.datastream.v1alpha1.NoConnectivitySettings.class, com.google.cloud.datastream.v1alpha1.NoConnectivitySettings.Builder.class); } // Construct using com.google.cloud.datastream.v1alpha1.NoConnectivitySettings.newBuilder() @@ -288,15 +259,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -304,9 +276,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_NoConnectivitySettings_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_NoConnectivitySettings_descriptor; } @java.lang.Override @@ -325,8 +297,7 @@ public com.google.cloud.datastream.v1alpha1.NoConnectivitySettings build() { @java.lang.Override public com.google.cloud.datastream.v1alpha1.NoConnectivitySettings buildPartial() { - com.google.cloud.datastream.v1alpha1.NoConnectivitySettings result = - new com.google.cloud.datastream.v1alpha1.NoConnectivitySettings(this); + com.google.cloud.datastream.v1alpha1.NoConnectivitySettings result = new com.google.cloud.datastream.v1alpha1.NoConnectivitySettings(this); onBuilt(); return result; } @@ -335,39 +306,38 @@ public com.google.cloud.datastream.v1alpha1.NoConnectivitySettings buildPartial( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1alpha1.NoConnectivitySettings) { - return mergeFrom((com.google.cloud.datastream.v1alpha1.NoConnectivitySettings) other); + return mergeFrom((com.google.cloud.datastream.v1alpha1.NoConnectivitySettings)other); } else { super.mergeFrom(other); return this; @@ -375,8 +345,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datastream.v1alpha1.NoConnectivitySettings other) { - if (other == com.google.cloud.datastream.v1alpha1.NoConnectivitySettings.getDefaultInstance()) - return this; + if (other == com.google.cloud.datastream.v1alpha1.NoConnectivitySettings.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -396,8 +365,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datastream.v1alpha1.NoConnectivitySettings) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datastream.v1alpha1.NoConnectivitySettings) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -406,9 +374,9 @@ public Builder mergeFrom( } return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -418,12 +386,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1alpha1.NoConnectivitySettings) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1alpha1.NoConnectivitySettings) private static final com.google.cloud.datastream.v1alpha1.NoConnectivitySettings DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1alpha1.NoConnectivitySettings(); } @@ -432,16 +400,16 @@ public static com.google.cloud.datastream.v1alpha1.NoConnectivitySettings getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NoConnectivitySettings parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new NoConnectivitySettings(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NoConnectivitySettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new NoConnectivitySettings(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -456,4 +424,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datastream.v1alpha1.NoConnectivitySettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/NoConnectivitySettingsOrBuilder.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/NoConnectivitySettingsOrBuilder.java new file mode 100644 index 00000000..fe72f9f2 --- /dev/null +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/NoConnectivitySettingsOrBuilder.java @@ -0,0 +1,9 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datastream/v1alpha1/datastream_resources.proto + +package com.google.cloud.datastream.v1alpha1; + +public interface NoConnectivitySettingsOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1alpha1.NoConnectivitySettings) + com.google.protobuf.MessageOrBuilder { +} diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/OperationMetadata.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/OperationMetadata.java similarity index 69% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/OperationMetadata.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/OperationMetadata.java index 8637f5cf..a3a2d843 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/OperationMetadata.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/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/datastream/v1alpha1/datastream.proto package com.google.cloud.datastream.v1alpha1; /** - * - * *
  * Represents the metadata of the long-running operation.
  * 
* * Protobuf type {@code google.cloud.datastream.v1alpha1.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.datastream.v1alpha1.OperationMetadata) OperationMetadataOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use OperationMetadata.newBuilder() to construct. private OperationMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private OperationMetadata() { target_ = ""; verb_ = ""; @@ -46,15 +28,16 @@ private OperationMetadata() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new OperationMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private OperationMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,93 +56,81 @@ private OperationMetadata( case 0: done = true; break; - case 10: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); } - case 18: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (endTime_ != null) { - subBuilder = endTime_.toBuilder(); - } - endTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(endTime_); - endTime_ = subBuilder.buildPartial(); - } - - break; + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - target_ = s; - break; + break; + } + case 18: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (endTime_ != null) { + subBuilder = endTime_.toBuilder(); } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - - verb_ = s; - break; + endTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(endTime_); + endTime_ = subBuilder.buildPartial(); } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); - statusMessage_ = s; - break; - } - case 48: - { - requestedCancellation_ = input.readBool(); - break; - } - case 58: - { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + target_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + verb_ = s; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + statusMessage_ = s; + break; + } + case 48: { - apiVersion_ = s; - break; + requestedCancellation_ = input.readBool(); + break; + } + case 58: { + java.lang.String s = input.readStringRequireUtf8(); + + apiVersion_ = s; + break; + } + case 66: { + com.google.cloud.datastream.v1alpha1.ValidationResult.Builder subBuilder = null; + if (validationResult_ != null) { + subBuilder = validationResult_.toBuilder(); } - case 66: - { - com.google.cloud.datastream.v1alpha1.ValidationResult.Builder subBuilder = null; - if (validationResult_ != null) { - subBuilder = validationResult_.toBuilder(); - } - validationResult_ = - input.readMessage( - com.google.cloud.datastream.v1alpha1.ValidationResult.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(validationResult_); - validationResult_ = subBuilder.buildPartial(); - } - - break; + validationResult_ = input.readMessage(com.google.cloud.datastream.v1alpha1.ValidationResult.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(validationResult_); + validationResult_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -167,40 +138,34 @@ private OperationMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_OperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_OperationMetadata_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.OperationMetadata.class, - com.google.cloud.datastream.v1alpha1.OperationMetadata.Builder.class); + com.google.cloud.datastream.v1alpha1.OperationMetadata.class, com.google.cloud.datastream.v1alpha1.OperationMetadata.Builder.class); } public static final int CREATE_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -208,15 +173,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -224,14 +185,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -241,15 +199,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp endTime_; /** - * - * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the endTime field is set. */ @java.lang.Override @@ -257,15 +211,11 @@ public boolean hasEndTime() { return endTime_ != null; } /** - * - * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The endTime. */ @java.lang.Override @@ -273,14 +223,11 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { @@ -290,14 +237,11 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { public static final int TARGET_FIELD_NUMBER = 3; private volatile java.lang.Object target_; /** - * - * *
    * Output only. Server-defined resource path for the target of the operation.
    * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The target. */ @java.lang.Override @@ -306,29 +250,29 @@ public java.lang.String getTarget() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); target_ = s; return s; } } /** - * - * *
    * Output only. Server-defined resource path for the target of the operation.
    * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for target. */ @java.lang.Override - public com.google.protobuf.ByteString getTargetBytes() { + public com.google.protobuf.ByteString + getTargetBytes() { java.lang.Object ref = target_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); target_ = b; return b; } else { @@ -339,14 +283,11 @@ public com.google.protobuf.ByteString getTargetBytes() { public static final int VERB_FIELD_NUMBER = 4; private volatile java.lang.Object verb_; /** - * - * *
    * Output only. Name of the verb executed by the operation.
    * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The verb. */ @java.lang.Override @@ -355,29 +296,29 @@ public java.lang.String getVerb() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); verb_ = s; return s; } } /** - * - * *
    * Output only. Name of the verb executed by the operation.
    * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for verb. */ @java.lang.Override - public com.google.protobuf.ByteString getVerbBytes() { + public com.google.protobuf.ByteString + getVerbBytes() { java.lang.Object ref = verb_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); verb_ = b; return b; } else { @@ -388,14 +329,11 @@ public com.google.protobuf.ByteString getVerbBytes() { public static final int STATUS_MESSAGE_FIELD_NUMBER = 5; private volatile java.lang.Object statusMessage_; /** - * - * *
    * Output only. Human-readable status of the operation, if any.
    * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The statusMessage. */ @java.lang.Override @@ -404,29 +342,29 @@ public java.lang.String getStatusMessage() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); statusMessage_ = s; return s; } } /** - * - * *
    * Output only. Human-readable status of the operation, if any.
    * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for statusMessage. */ @java.lang.Override - public com.google.protobuf.ByteString getStatusMessageBytes() { + public com.google.protobuf.ByteString + getStatusMessageBytes() { java.lang.Object ref = statusMessage_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); statusMessage_ = b; return b; } else { @@ -437,8 +375,6 @@ public com.google.protobuf.ByteString getStatusMessageBytes() { public static final int REQUESTED_CANCELLATION_FIELD_NUMBER = 6; private boolean requestedCancellation_; /** - * - * *
    * Output only. Identifies whether the user has requested cancellation
    * of the operation. Operations that have successfully been cancelled
@@ -447,7 +383,6 @@ public com.google.protobuf.ByteString getStatusMessageBytes() {
    * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The requestedCancellation. */ @java.lang.Override @@ -458,14 +393,11 @@ public boolean getRequestedCancellation() { public static final int API_VERSION_FIELD_NUMBER = 7; private volatile java.lang.Object apiVersion_; /** - * - * *
    * Output only. API version used to start the operation.
    * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The apiVersion. */ @java.lang.Override @@ -474,29 +406,29 @@ public java.lang.String getApiVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); apiVersion_ = s; return s; } } /** - * - * *
    * Output only. API version used to start the operation.
    * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for apiVersion. */ @java.lang.Override - public com.google.protobuf.ByteString getApiVersionBytes() { + public com.google.protobuf.ByteString + getApiVersionBytes() { java.lang.Object ref = apiVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); apiVersion_ = b; return b; } else { @@ -507,16 +439,11 @@ public com.google.protobuf.ByteString getApiVersionBytes() { public static final int VALIDATION_RESULT_FIELD_NUMBER = 8; private com.google.cloud.datastream.v1alpha1.ValidationResult validationResult_; /** - * - * *
    * Output only. Results of executed validations if there are any.
    * 
* - * - * .google.cloud.datastream.v1alpha1.ValidationResult validation_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datastream.v1alpha1.ValidationResult validation_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the validationResult field is set. */ @java.lang.Override @@ -524,43 +451,30 @@ public boolean hasValidationResult() { return validationResult_ != null; } /** - * - * *
    * Output only. Results of executed validations if there are any.
    * 
* - * - * .google.cloud.datastream.v1alpha1.ValidationResult validation_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datastream.v1alpha1.ValidationResult validation_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The validationResult. */ @java.lang.Override public com.google.cloud.datastream.v1alpha1.ValidationResult getValidationResult() { - return validationResult_ == null - ? com.google.cloud.datastream.v1alpha1.ValidationResult.getDefaultInstance() - : validationResult_; + return validationResult_ == null ? com.google.cloud.datastream.v1alpha1.ValidationResult.getDefaultInstance() : validationResult_; } /** - * - * *
    * Output only. Results of executed validations if there are any.
    * 
* - * - * .google.cloud.datastream.v1alpha1.ValidationResult validation_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datastream.v1alpha1.ValidationResult validation_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.datastream.v1alpha1.ValidationResultOrBuilder - getValidationResultOrBuilder() { + public com.google.cloud.datastream.v1alpha1.ValidationResultOrBuilder getValidationResultOrBuilder() { return getValidationResult(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -572,7 +486,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()); } @@ -607,10 +522,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_); @@ -622,13 +539,15 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, statusMessage_); } if (requestedCancellation_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, requestedCancellation_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(6, requestedCancellation_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(apiVersion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, apiVersion_); } if (validationResult_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getValidationResult()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, getValidationResult()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -638,30 +557,37 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datastream.v1alpha1.OperationMetadata)) { return super.equals(obj); } - com.google.cloud.datastream.v1alpha1.OperationMetadata other = - (com.google.cloud.datastream.v1alpha1.OperationMetadata) obj; + com.google.cloud.datastream.v1alpha1.OperationMetadata other = (com.google.cloud.datastream.v1alpha1.OperationMetadata) obj; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime().equals(other.getEndTime())) return false; - } - if (!getTarget().equals(other.getTarget())) return false; - if (!getVerb().equals(other.getVerb())) return false; - if (!getStatusMessage().equals(other.getStatusMessage())) return false; - if (getRequestedCancellation() != other.getRequestedCancellation()) return false; - if (!getApiVersion().equals(other.getApiVersion())) return false; + if (!getEndTime() + .equals(other.getEndTime())) return false; + } + if (!getTarget() + .equals(other.getTarget())) return false; + if (!getVerb() + .equals(other.getVerb())) return false; + if (!getStatusMessage() + .equals(other.getStatusMessage())) return false; + if (getRequestedCancellation() + != other.getRequestedCancellation()) return false; + if (!getApiVersion() + .equals(other.getApiVersion())) return false; if (hasValidationResult() != other.hasValidationResult()) return false; if (hasValidationResult()) { - if (!getValidationResult().equals(other.getValidationResult())) return false; + if (!getValidationResult() + .equals(other.getValidationResult())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -689,7 +615,8 @@ public int hashCode() { hash = (37 * hash) + STATUS_MESSAGE_FIELD_NUMBER; hash = (53 * hash) + getStatusMessage().hashCode(); hash = (37 * hash) + REQUESTED_CANCELLATION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRequestedCancellation()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getRequestedCancellation()); hash = (37 * hash) + API_VERSION_FIELD_NUMBER; hash = (53 * hash) + getApiVersion().hashCode(); if (hasValidationResult()) { @@ -702,127 +629,117 @@ public int hashCode() { } public static com.google.cloud.datastream.v1alpha1.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.datastream.v1alpha1.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.datastream.v1alpha1.OperationMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.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.datastream.v1alpha1.OperationMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.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.datastream.v1alpha1.OperationMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.OperationMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.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.datastream.v1alpha1.OperationMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.OperationMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.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.datastream.v1alpha1.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.datastream.v1alpha1.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.datastream.v1alpha1.OperationMetadata prototype) { + public static Builder newBuilder(com.google.cloud.datastream.v1alpha1.OperationMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Represents the metadata of the long-running operation.
    * 
* * Protobuf type {@code google.cloud.datastream.v1alpha1.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.datastream.v1alpha1.OperationMetadata) com.google.cloud.datastream.v1alpha1.OperationMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_OperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_OperationMetadata_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.OperationMetadata.class, - com.google.cloud.datastream.v1alpha1.OperationMetadata.Builder.class); + com.google.cloud.datastream.v1alpha1.OperationMetadata.class, com.google.cloud.datastream.v1alpha1.OperationMetadata.Builder.class); } // Construct using com.google.cloud.datastream.v1alpha1.OperationMetadata.newBuilder() @@ -830,15 +747,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -874,9 +792,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_OperationMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_OperationMetadata_descriptor; } @java.lang.Override @@ -895,8 +813,7 @@ public com.google.cloud.datastream.v1alpha1.OperationMetadata build() { @java.lang.Override public com.google.cloud.datastream.v1alpha1.OperationMetadata buildPartial() { - com.google.cloud.datastream.v1alpha1.OperationMetadata result = - new com.google.cloud.datastream.v1alpha1.OperationMetadata(this); + com.google.cloud.datastream.v1alpha1.OperationMetadata result = new com.google.cloud.datastream.v1alpha1.OperationMetadata(this); if (createTimeBuilder_ == null) { result.createTime_ = createTime_; } else { @@ -925,39 +842,38 @@ public com.google.cloud.datastream.v1alpha1.OperationMetadata buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1alpha1.OperationMetadata) { - return mergeFrom((com.google.cloud.datastream.v1alpha1.OperationMetadata) other); + return mergeFrom((com.google.cloud.datastream.v1alpha1.OperationMetadata)other); } else { super.mergeFrom(other); return this; @@ -965,8 +881,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datastream.v1alpha1.OperationMetadata other) { - if (other == com.google.cloud.datastream.v1alpha1.OperationMetadata.getDefaultInstance()) - return this; + if (other == com.google.cloud.datastream.v1alpha1.OperationMetadata.getDefaultInstance()) return this; if (other.hasCreateTime()) { mergeCreateTime(other.getCreateTime()); } @@ -1014,8 +929,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datastream.v1alpha1.OperationMetadata) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datastream.v1alpha1.OperationMetadata) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1027,58 +941,39 @@ public Builder mergeFrom( private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -1094,17 +989,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -1115,21 +1007,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1141,15 +1029,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -1163,64 +1047,48 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; @@ -1228,35 +1096,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_; /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the endTime field is set. */ public boolean hasEndTime() { return endTimeBuilder_ != null || endTime_ != null; } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1267,14 +1124,11 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { @@ -1290,16 +1144,14 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); onChanged(); @@ -1310,20 +1162,17 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) return this; } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { if (endTime_ != null) { endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } @@ -1335,14 +1184,11 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearEndTime() { if (endTimeBuilder_ == null) { @@ -1356,59 +1202,48 @@ public Builder clearEndTime() { return this; } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { - + onChanged(); return getEndTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { - endTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getEndTime(), getParentForChildren(), isClean()); + endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getEndTime(), + getParentForChildren(), + isClean()); endTime_ = null; } return endTimeBuilder_; @@ -1416,20 +1251,18 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { private java.lang.Object target_ = ""; /** - * - * *
      * Output only. Server-defined resource path for the target of the operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The target. */ public java.lang.String getTarget() { java.lang.Object ref = target_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); target_ = s; return s; @@ -1438,21 +1271,20 @@ public java.lang.String getTarget() { } } /** - * - * *
      * Output only. Server-defined resource path for the target of the operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for target. */ - public com.google.protobuf.ByteString getTargetBytes() { + public com.google.protobuf.ByteString + getTargetBytes() { java.lang.Object ref = target_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); target_ = b; return b; } else { @@ -1460,61 +1292,54 @@ public com.google.protobuf.ByteString getTargetBytes() { } } /** - * - * *
      * Output only. Server-defined resource path for the target of the operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The target to set. * @return This builder for chaining. */ - public Builder setTarget(java.lang.String value) { + public Builder setTarget( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + target_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Server-defined resource path for the target of the operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearTarget() { - + target_ = getDefaultInstance().getTarget(); onChanged(); return this; } /** - * - * *
      * Output only. Server-defined resource path for the target of the operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for target to set. * @return This builder for chaining. */ - public Builder setTargetBytes(com.google.protobuf.ByteString value) { + public Builder setTargetBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + target_ = value; onChanged(); return this; @@ -1522,20 +1347,18 @@ public Builder setTargetBytes(com.google.protobuf.ByteString value) { private java.lang.Object verb_ = ""; /** - * - * *
      * Output only. Name of the verb executed by the operation.
      * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The verb. */ public java.lang.String getVerb() { java.lang.Object ref = verb_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); verb_ = s; return s; @@ -1544,21 +1367,20 @@ public java.lang.String getVerb() { } } /** - * - * *
      * Output only. Name of the verb executed by the operation.
      * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for verb. */ - public com.google.protobuf.ByteString getVerbBytes() { + public com.google.protobuf.ByteString + getVerbBytes() { java.lang.Object ref = verb_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); verb_ = b; return b; } else { @@ -1566,61 +1388,54 @@ public com.google.protobuf.ByteString getVerbBytes() { } } /** - * - * *
      * Output only. Name of the verb executed by the operation.
      * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The verb to set. * @return This builder for chaining. */ - public Builder setVerb(java.lang.String value) { + public Builder setVerb( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + verb_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Name of the verb executed by the operation.
      * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearVerb() { - + verb_ = getDefaultInstance().getVerb(); onChanged(); return this; } /** - * - * *
      * Output only. Name of the verb executed by the operation.
      * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for verb to set. * @return This builder for chaining. */ - public Builder setVerbBytes(com.google.protobuf.ByteString value) { + public Builder setVerbBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + verb_ = value; onChanged(); return this; @@ -1628,20 +1443,18 @@ public Builder setVerbBytes(com.google.protobuf.ByteString value) { private java.lang.Object statusMessage_ = ""; /** - * - * *
      * Output only. Human-readable status of the operation, if any.
      * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The statusMessage. */ public java.lang.String getStatusMessage() { java.lang.Object ref = statusMessage_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); statusMessage_ = s; return s; @@ -1650,21 +1463,20 @@ public java.lang.String getStatusMessage() { } } /** - * - * *
      * Output only. Human-readable status of the operation, if any.
      * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for statusMessage. */ - public com.google.protobuf.ByteString getStatusMessageBytes() { + public com.google.protobuf.ByteString + getStatusMessageBytes() { java.lang.Object ref = statusMessage_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); statusMessage_ = b; return b; } else { @@ -1672,70 +1484,61 @@ public com.google.protobuf.ByteString getStatusMessageBytes() { } } /** - * - * *
      * Output only. Human-readable status of the operation, if any.
      * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The statusMessage to set. * @return This builder for chaining. */ - public Builder setStatusMessage(java.lang.String value) { + public Builder setStatusMessage( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + statusMessage_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Human-readable status of the operation, if any.
      * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearStatusMessage() { - + statusMessage_ = getDefaultInstance().getStatusMessage(); onChanged(); return this; } /** - * - * *
      * Output only. Human-readable status of the operation, if any.
      * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for statusMessage to set. * @return This builder for chaining. */ - public Builder setStatusMessageBytes(com.google.protobuf.ByteString value) { + public Builder setStatusMessageBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + statusMessage_ = value; onChanged(); return this; } - private boolean requestedCancellation_; + private boolean requestedCancellation_ ; /** - * - * *
      * Output only. Identifies whether the user has requested cancellation
      * of the operation. Operations that have successfully been cancelled
@@ -1744,7 +1547,6 @@ public Builder setStatusMessageBytes(com.google.protobuf.ByteString value) {
      * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The requestedCancellation. */ @java.lang.Override @@ -1752,8 +1554,6 @@ public boolean getRequestedCancellation() { return requestedCancellation_; } /** - * - * *
      * Output only. Identifies whether the user has requested cancellation
      * of the operation. Operations that have successfully been cancelled
@@ -1762,19 +1562,16 @@ public boolean getRequestedCancellation() {
      * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The requestedCancellation to set. * @return This builder for chaining. */ public Builder setRequestedCancellation(boolean value) { - + requestedCancellation_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Identifies whether the user has requested cancellation
      * of the operation. Operations that have successfully been cancelled
@@ -1783,11 +1580,10 @@ public Builder setRequestedCancellation(boolean value) {
      * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearRequestedCancellation() { - + requestedCancellation_ = false; onChanged(); return this; @@ -1795,20 +1591,18 @@ public Builder clearRequestedCancellation() { private java.lang.Object apiVersion_ = ""; /** - * - * *
      * Output only. API version used to start the operation.
      * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The apiVersion. */ public java.lang.String getApiVersion() { java.lang.Object ref = apiVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); apiVersion_ = s; return s; @@ -1817,21 +1611,20 @@ public java.lang.String getApiVersion() { } } /** - * - * *
      * Output only. API version used to start the operation.
      * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for apiVersion. */ - public com.google.protobuf.ByteString getApiVersionBytes() { + public com.google.protobuf.ByteString + getApiVersionBytes() { java.lang.Object ref = apiVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); apiVersion_ = b; return b; } else { @@ -1839,61 +1632,54 @@ public com.google.protobuf.ByteString getApiVersionBytes() { } } /** - * - * *
      * Output only. API version used to start the operation.
      * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The apiVersion to set. * @return This builder for chaining. */ - public Builder setApiVersion(java.lang.String value) { + public Builder setApiVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + apiVersion_ = value; onChanged(); return this; } /** - * - * *
      * Output only. API version used to start the operation.
      * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearApiVersion() { - + apiVersion_ = getDefaultInstance().getApiVersion(); onChanged(); return this; } /** - * - * *
      * Output only. API version used to start the operation.
      * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for apiVersion to set. * @return This builder for chaining. */ - public Builder setApiVersionBytes(com.google.protobuf.ByteString value) { + public Builder setApiVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + apiVersion_ = value; onChanged(); return this; @@ -1901,61 +1687,41 @@ public Builder setApiVersionBytes(com.google.protobuf.ByteString value) { private com.google.cloud.datastream.v1alpha1.ValidationResult validationResult_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.ValidationResult, - com.google.cloud.datastream.v1alpha1.ValidationResult.Builder, - com.google.cloud.datastream.v1alpha1.ValidationResultOrBuilder> - validationResultBuilder_; + com.google.cloud.datastream.v1alpha1.ValidationResult, com.google.cloud.datastream.v1alpha1.ValidationResult.Builder, com.google.cloud.datastream.v1alpha1.ValidationResultOrBuilder> validationResultBuilder_; /** - * - * *
      * Output only. Results of executed validations if there are any.
      * 
* - * - * .google.cloud.datastream.v1alpha1.ValidationResult validation_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datastream.v1alpha1.ValidationResult validation_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the validationResult field is set. */ public boolean hasValidationResult() { return validationResultBuilder_ != null || validationResult_ != null; } /** - * - * *
      * Output only. Results of executed validations if there are any.
      * 
* - * - * .google.cloud.datastream.v1alpha1.ValidationResult validation_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datastream.v1alpha1.ValidationResult validation_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The validationResult. */ public com.google.cloud.datastream.v1alpha1.ValidationResult getValidationResult() { if (validationResultBuilder_ == null) { - return validationResult_ == null - ? com.google.cloud.datastream.v1alpha1.ValidationResult.getDefaultInstance() - : validationResult_; + return validationResult_ == null ? com.google.cloud.datastream.v1alpha1.ValidationResult.getDefaultInstance() : validationResult_; } else { return validationResultBuilder_.getMessage(); } } /** - * - * *
      * Output only. Results of executed validations if there are any.
      * 
* - * - * .google.cloud.datastream.v1alpha1.ValidationResult validation_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datastream.v1alpha1.ValidationResult validation_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setValidationResult( - com.google.cloud.datastream.v1alpha1.ValidationResult value) { + public Builder setValidationResult(com.google.cloud.datastream.v1alpha1.ValidationResult value) { if (validationResultBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1969,15 +1735,11 @@ public Builder setValidationResult( return this; } /** - * - * *
      * Output only. Results of executed validations if there are any.
      * 
* - * - * .google.cloud.datastream.v1alpha1.ValidationResult validation_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datastream.v1alpha1.ValidationResult validation_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setValidationResult( com.google.cloud.datastream.v1alpha1.ValidationResult.Builder builderForValue) { @@ -1991,24 +1753,17 @@ public Builder setValidationResult( return this; } /** - * - * *
      * Output only. Results of executed validations if there are any.
      * 
* - * - * .google.cloud.datastream.v1alpha1.ValidationResult validation_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datastream.v1alpha1.ValidationResult validation_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder mergeValidationResult( - com.google.cloud.datastream.v1alpha1.ValidationResult value) { + public Builder mergeValidationResult(com.google.cloud.datastream.v1alpha1.ValidationResult value) { if (validationResultBuilder_ == null) { if (validationResult_ != null) { validationResult_ = - com.google.cloud.datastream.v1alpha1.ValidationResult.newBuilder(validationResult_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.datastream.v1alpha1.ValidationResult.newBuilder(validationResult_).mergeFrom(value).buildPartial(); } else { validationResult_ = value; } @@ -2020,15 +1775,11 @@ public Builder mergeValidationResult( return this; } /** - * - * *
      * Output only. Results of executed validations if there are any.
      * 
* - * - * .google.cloud.datastream.v1alpha1.ValidationResult validation_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datastream.v1alpha1.ValidationResult validation_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearValidationResult() { if (validationResultBuilder_ == null) { @@ -2042,73 +1793,55 @@ public Builder clearValidationResult() { return this; } /** - * - * *
      * Output only. Results of executed validations if there are any.
      * 
* - * - * .google.cloud.datastream.v1alpha1.ValidationResult validation_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datastream.v1alpha1.ValidationResult validation_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.datastream.v1alpha1.ValidationResult.Builder - getValidationResultBuilder() { - + public com.google.cloud.datastream.v1alpha1.ValidationResult.Builder getValidationResultBuilder() { + onChanged(); return getValidationResultFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Results of executed validations if there are any.
      * 
* - * - * .google.cloud.datastream.v1alpha1.ValidationResult validation_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datastream.v1alpha1.ValidationResult validation_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.datastream.v1alpha1.ValidationResultOrBuilder - getValidationResultOrBuilder() { + public com.google.cloud.datastream.v1alpha1.ValidationResultOrBuilder getValidationResultOrBuilder() { if (validationResultBuilder_ != null) { return validationResultBuilder_.getMessageOrBuilder(); } else { - return validationResult_ == null - ? com.google.cloud.datastream.v1alpha1.ValidationResult.getDefaultInstance() - : validationResult_; + return validationResult_ == null ? + com.google.cloud.datastream.v1alpha1.ValidationResult.getDefaultInstance() : validationResult_; } } /** - * - * *
      * Output only. Results of executed validations if there are any.
      * 
* - * - * .google.cloud.datastream.v1alpha1.ValidationResult validation_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datastream.v1alpha1.ValidationResult validation_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.ValidationResult, - com.google.cloud.datastream.v1alpha1.ValidationResult.Builder, - com.google.cloud.datastream.v1alpha1.ValidationResultOrBuilder> + com.google.cloud.datastream.v1alpha1.ValidationResult, com.google.cloud.datastream.v1alpha1.ValidationResult.Builder, com.google.cloud.datastream.v1alpha1.ValidationResultOrBuilder> getValidationResultFieldBuilder() { if (validationResultBuilder_ == null) { - validationResultBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.ValidationResult, - com.google.cloud.datastream.v1alpha1.ValidationResult.Builder, - com.google.cloud.datastream.v1alpha1.ValidationResultOrBuilder>( - getValidationResult(), getParentForChildren(), isClean()); + validationResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1alpha1.ValidationResult, com.google.cloud.datastream.v1alpha1.ValidationResult.Builder, com.google.cloud.datastream.v1alpha1.ValidationResultOrBuilder>( + getValidationResult(), + getParentForChildren(), + isClean()); validationResult_ = null; } return validationResultBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2118,12 +1851,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1alpha1.OperationMetadata) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1alpha1.OperationMetadata) private static final com.google.cloud.datastream.v1alpha1.OperationMetadata DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1alpha1.OperationMetadata(); } @@ -2132,16 +1865,16 @@ public static com.google.cloud.datastream.v1alpha1.OperationMetadata getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OperationMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OperationMetadata(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OperationMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OperationMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2156,4 +1889,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datastream.v1alpha1.OperationMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/OperationMetadataOrBuilder.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/OperationMetadataOrBuilder.java similarity index 72% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/OperationMetadataOrBuilder.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/OperationMetadataOrBuilder.java index 8edd8553..af066741 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/OperationMetadataOrBuilder.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/OperationMetadataOrBuilder.java @@ -1,182 +1,127 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1alpha1/datastream.proto package com.google.cloud.datastream.v1alpha1; -public interface OperationMetadataOrBuilder - extends +public interface OperationMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1alpha1.OperationMetadata) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); /** - * - * *
    * Output only. Server-defined resource path for the target of the operation.
    * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The target. */ java.lang.String getTarget(); /** - * - * *
    * Output only. Server-defined resource path for the target of the operation.
    * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for target. */ - com.google.protobuf.ByteString getTargetBytes(); + com.google.protobuf.ByteString + getTargetBytes(); /** - * - * *
    * Output only. Name of the verb executed by the operation.
    * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The verb. */ java.lang.String getVerb(); /** - * - * *
    * Output only. Name of the verb executed by the operation.
    * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for verb. */ - com.google.protobuf.ByteString getVerbBytes(); + com.google.protobuf.ByteString + getVerbBytes(); /** - * - * *
    * Output only. Human-readable status of the operation, if any.
    * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The statusMessage. */ java.lang.String getStatusMessage(); /** - * - * *
    * Output only. Human-readable status of the operation, if any.
    * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for statusMessage. */ - com.google.protobuf.ByteString getStatusMessageBytes(); + com.google.protobuf.ByteString + getStatusMessageBytes(); /** - * - * *
    * Output only. Identifies whether the user has requested cancellation
    * of the operation. Operations that have successfully been cancelled
@@ -185,74 +130,54 @@ public interface OperationMetadataOrBuilder
    * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The requestedCancellation. */ boolean getRequestedCancellation(); /** - * - * *
    * Output only. API version used to start the operation.
    * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The apiVersion. */ java.lang.String getApiVersion(); /** - * - * *
    * Output only. API version used to start the operation.
    * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for apiVersion. */ - com.google.protobuf.ByteString getApiVersionBytes(); + com.google.protobuf.ByteString + getApiVersionBytes(); /** - * - * *
    * Output only. Results of executed validations if there are any.
    * 
* - * - * .google.cloud.datastream.v1alpha1.ValidationResult validation_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datastream.v1alpha1.ValidationResult validation_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the validationResult field is set. */ boolean hasValidationResult(); /** - * - * *
    * Output only. Results of executed validations if there are any.
    * 
* - * - * .google.cloud.datastream.v1alpha1.ValidationResult validation_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datastream.v1alpha1.ValidationResult validation_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The validationResult. */ com.google.cloud.datastream.v1alpha1.ValidationResult getValidationResult(); /** - * - * *
    * Output only. Results of executed validations if there are any.
    * 
* - * - * .google.cloud.datastream.v1alpha1.ValidationResult validation_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datastream.v1alpha1.ValidationResult validation_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.datastream.v1alpha1.ValidationResultOrBuilder getValidationResultOrBuilder(); } diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/OracleColumn.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/OracleColumn.java similarity index 73% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/OracleColumn.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/OracleColumn.java index c230964f..1eda7e84 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/OracleColumn.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/OracleColumn.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/datastream/v1alpha1/datastream_resources.proto package com.google.cloud.datastream.v1alpha1; /** - * - * *
  * Oracle Column.
  * 
* * Protobuf type {@code google.cloud.datastream.v1alpha1.OracleColumn} */ -public final class OracleColumn extends com.google.protobuf.GeneratedMessageV3 - implements +public final class OracleColumn extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1alpha1.OracleColumn) OracleColumnOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use OracleColumn.newBuilder() to construct. private OracleColumn(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private OracleColumn() { columnName_ = ""; dataType_ = ""; @@ -45,15 +27,16 @@ private OracleColumn() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new OracleColumn(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private OracleColumn( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,64 +55,61 @@ private OracleColumn( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - columnName_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + columnName_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - dataType_ = s; - break; - } - case 24: - { - length_ = input.readInt32(); - break; - } - case 32: - { - precision_ = input.readInt32(); - break; - } - case 40: - { - scale_ = input.readInt32(); - break; - } - case 50: - { - java.lang.String s = input.readStringRequireUtf8(); + dataType_ = s; + break; + } + case 24: { - encoding_ = s; - break; - } - case 56: - { - primaryKey_ = input.readBool(); - break; - } - case 64: - { - nullable_ = input.readBool(); - break; - } - case 72: - { - ordinalPosition_ = input.readInt32(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + length_ = input.readInt32(); + break; + } + case 32: { + + precision_ = input.readInt32(); + break; + } + case 40: { + + scale_ = input.readInt32(); + break; + } + case 50: { + java.lang.String s = input.readStringRequireUtf8(); + + encoding_ = s; + break; + } + case 56: { + + primaryKey_ = input.readBool(); + break; + } + case 64: { + + nullable_ = input.readBool(); + break; + } + case 72: { + + ordinalPosition_ = input.readInt32(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -137,39 +117,34 @@ private OracleColumn( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_OracleColumn_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_OracleColumn_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_OracleColumn_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_OracleColumn_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.OracleColumn.class, - com.google.cloud.datastream.v1alpha1.OracleColumn.Builder.class); + com.google.cloud.datastream.v1alpha1.OracleColumn.class, com.google.cloud.datastream.v1alpha1.OracleColumn.Builder.class); } public static final int COLUMN_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object columnName_; /** - * - * *
    * Column name.
    * 
* * string column_name = 1; - * * @return The columnName. */ @java.lang.Override @@ -178,29 +153,29 @@ public java.lang.String getColumnName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); columnName_ = s; return s; } } /** - * - * *
    * Column name.
    * 
* * string column_name = 1; - * * @return The bytes for columnName. */ @java.lang.Override - public com.google.protobuf.ByteString getColumnNameBytes() { + public com.google.protobuf.ByteString + getColumnNameBytes() { java.lang.Object ref = columnName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); columnName_ = b; return b; } else { @@ -211,14 +186,11 @@ public com.google.protobuf.ByteString getColumnNameBytes() { public static final int DATA_TYPE_FIELD_NUMBER = 2; private volatile java.lang.Object dataType_; /** - * - * *
    * The Oracle data type.
    * 
* * string data_type = 2; - * * @return The dataType. */ @java.lang.Override @@ -227,29 +199,29 @@ public java.lang.String getDataType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dataType_ = s; return s; } } /** - * - * *
    * The Oracle data type.
    * 
* * string data_type = 2; - * * @return The bytes for dataType. */ @java.lang.Override - public com.google.protobuf.ByteString getDataTypeBytes() { + public com.google.protobuf.ByteString + getDataTypeBytes() { java.lang.Object ref = dataType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); dataType_ = b; return b; } else { @@ -260,14 +232,11 @@ public com.google.protobuf.ByteString getDataTypeBytes() { public static final int LENGTH_FIELD_NUMBER = 3; private int length_; /** - * - * *
    * Column length.
    * 
* * int32 length = 3; - * * @return The length. */ @java.lang.Override @@ -278,14 +247,11 @@ public int getLength() { public static final int PRECISION_FIELD_NUMBER = 4; private int precision_; /** - * - * *
    * Column precision.
    * 
* * int32 precision = 4; - * * @return The precision. */ @java.lang.Override @@ -296,14 +262,11 @@ public int getPrecision() { public static final int SCALE_FIELD_NUMBER = 5; private int scale_; /** - * - * *
    * Column scale.
    * 
* * int32 scale = 5; - * * @return The scale. */ @java.lang.Override @@ -314,14 +277,11 @@ public int getScale() { public static final int ENCODING_FIELD_NUMBER = 6; private volatile java.lang.Object encoding_; /** - * - * *
    * Column encoding.
    * 
* * string encoding = 6; - * * @return The encoding. */ @java.lang.Override @@ -330,29 +290,29 @@ public java.lang.String getEncoding() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); encoding_ = s; return s; } } /** - * - * *
    * Column encoding.
    * 
* * string encoding = 6; - * * @return The bytes for encoding. */ @java.lang.Override - public com.google.protobuf.ByteString getEncodingBytes() { + public com.google.protobuf.ByteString + getEncodingBytes() { java.lang.Object ref = encoding_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); encoding_ = b; return b; } else { @@ -363,14 +323,11 @@ public com.google.protobuf.ByteString getEncodingBytes() { public static final int PRIMARY_KEY_FIELD_NUMBER = 7; private boolean primaryKey_; /** - * - * *
    * Whether or not the column represents a primary key.
    * 
* * bool primary_key = 7; - * * @return The primaryKey. */ @java.lang.Override @@ -381,14 +338,11 @@ public boolean getPrimaryKey() { public static final int NULLABLE_FIELD_NUMBER = 8; private boolean nullable_; /** - * - * *
    * Whether or not the column can accept a null value.
    * 
* * bool nullable = 8; - * * @return The nullable. */ @java.lang.Override @@ -399,14 +353,11 @@ public boolean getNullable() { public static final int ORDINAL_POSITION_FIELD_NUMBER = 9; private int ordinalPosition_; /** - * - * *
    * The ordinal position of the column in the table.
    * 
* * int32 ordinal_position = 9; - * * @return The ordinalPosition. */ @java.lang.Override @@ -415,7 +366,6 @@ public int getOrdinalPosition() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -427,7 +377,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(columnName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, columnName_); } @@ -471,25 +422,31 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, dataType_); } if (length_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, length_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, length_); } if (precision_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, precision_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, precision_); } if (scale_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, scale_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(5, scale_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(encoding_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, encoding_); } if (primaryKey_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(7, primaryKey_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(7, primaryKey_); } if (nullable_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(8, nullable_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(8, nullable_); } if (ordinalPosition_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(9, ordinalPosition_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(9, ordinalPosition_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -499,23 +456,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.datastream.v1alpha1.OracleColumn)) { return super.equals(obj); } - com.google.cloud.datastream.v1alpha1.OracleColumn other = - (com.google.cloud.datastream.v1alpha1.OracleColumn) obj; - - if (!getColumnName().equals(other.getColumnName())) return false; - if (!getDataType().equals(other.getDataType())) return false; - if (getLength() != other.getLength()) return false; - if (getPrecision() != other.getPrecision()) return false; - if (getScale() != other.getScale()) return false; - if (!getEncoding().equals(other.getEncoding())) return false; - if (getPrimaryKey() != other.getPrimaryKey()) return false; - if (getNullable() != other.getNullable()) return false; - if (getOrdinalPosition() != other.getOrdinalPosition()) return false; + com.google.cloud.datastream.v1alpha1.OracleColumn other = (com.google.cloud.datastream.v1alpha1.OracleColumn) obj; + + if (!getColumnName() + .equals(other.getColumnName())) return false; + if (!getDataType() + .equals(other.getDataType())) return false; + if (getLength() + != other.getLength()) return false; + if (getPrecision() + != other.getPrecision()) return false; + if (getScale() + != other.getScale()) return false; + if (!getEncoding() + .equals(other.getEncoding())) return false; + if (getPrimaryKey() + != other.getPrimaryKey()) return false; + if (getNullable() + != other.getNullable()) return false; + if (getOrdinalPosition() + != other.getOrdinalPosition()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -540,9 +505,11 @@ public int hashCode() { hash = (37 * hash) + ENCODING_FIELD_NUMBER; hash = (53 * hash) + getEncoding().hashCode(); hash = (37 * hash) + PRIMARY_KEY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getPrimaryKey()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getPrimaryKey()); hash = (37 * hash) + NULLABLE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getNullable()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getNullable()); hash = (37 * hash) + ORDINAL_POSITION_FIELD_NUMBER; hash = (53 * hash) + getOrdinalPosition(); hash = (29 * hash) + unknownFields.hashCode(); @@ -551,126 +518,117 @@ public int hashCode() { } public static com.google.cloud.datastream.v1alpha1.OracleColumn parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.OracleColumn parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.OracleColumn parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.OracleColumn parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.OracleColumn parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.OracleColumn parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.OracleColumn parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.OracleColumn parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.OracleColumn parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.OracleColumn parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.OracleColumn parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.OracleColumn 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.datastream.v1alpha1.OracleColumn parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.OracleColumn parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datastream.v1alpha1.OracleColumn prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Oracle Column.
    * 
* * Protobuf type {@code google.cloud.datastream.v1alpha1.OracleColumn} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1alpha1.OracleColumn) com.google.cloud.datastream.v1alpha1.OracleColumnOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_OracleColumn_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_OracleColumn_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_OracleColumn_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_OracleColumn_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.OracleColumn.class, - com.google.cloud.datastream.v1alpha1.OracleColumn.Builder.class); + com.google.cloud.datastream.v1alpha1.OracleColumn.class, com.google.cloud.datastream.v1alpha1.OracleColumn.Builder.class); } // Construct using com.google.cloud.datastream.v1alpha1.OracleColumn.newBuilder() @@ -678,15 +636,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -712,9 +671,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_OracleColumn_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_OracleColumn_descriptor; } @java.lang.Override @@ -733,8 +692,7 @@ public com.google.cloud.datastream.v1alpha1.OracleColumn build() { @java.lang.Override public com.google.cloud.datastream.v1alpha1.OracleColumn buildPartial() { - com.google.cloud.datastream.v1alpha1.OracleColumn result = - new com.google.cloud.datastream.v1alpha1.OracleColumn(this); + com.google.cloud.datastream.v1alpha1.OracleColumn result = new com.google.cloud.datastream.v1alpha1.OracleColumn(this); result.columnName_ = columnName_; result.dataType_ = dataType_; result.length_ = length_; @@ -752,39 +710,38 @@ public com.google.cloud.datastream.v1alpha1.OracleColumn buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1alpha1.OracleColumn) { - return mergeFrom((com.google.cloud.datastream.v1alpha1.OracleColumn) other); + return mergeFrom((com.google.cloud.datastream.v1alpha1.OracleColumn)other); } else { super.mergeFrom(other); return this; @@ -792,8 +749,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datastream.v1alpha1.OracleColumn other) { - if (other == com.google.cloud.datastream.v1alpha1.OracleColumn.getDefaultInstance()) - return this; + if (other == com.google.cloud.datastream.v1alpha1.OracleColumn.getDefaultInstance()) return this; if (!other.getColumnName().isEmpty()) { columnName_ = other.columnName_; onChanged(); @@ -843,8 +799,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datastream.v1alpha1.OracleColumn) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datastream.v1alpha1.OracleColumn) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -856,20 +811,18 @@ public Builder mergeFrom( private java.lang.Object columnName_ = ""; /** - * - * *
      * Column name.
      * 
* * string column_name = 1; - * * @return The columnName. */ public java.lang.String getColumnName() { java.lang.Object ref = columnName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); columnName_ = s; return s; @@ -878,21 +831,20 @@ public java.lang.String getColumnName() { } } /** - * - * *
      * Column name.
      * 
* * string column_name = 1; - * * @return The bytes for columnName. */ - public com.google.protobuf.ByteString getColumnNameBytes() { + public com.google.protobuf.ByteString + getColumnNameBytes() { java.lang.Object ref = columnName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); columnName_ = b; return b; } else { @@ -900,61 +852,54 @@ public com.google.protobuf.ByteString getColumnNameBytes() { } } /** - * - * *
      * Column name.
      * 
* * string column_name = 1; - * * @param value The columnName to set. * @return This builder for chaining. */ - public Builder setColumnName(java.lang.String value) { + public Builder setColumnName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + columnName_ = value; onChanged(); return this; } /** - * - * *
      * Column name.
      * 
* * string column_name = 1; - * * @return This builder for chaining. */ public Builder clearColumnName() { - + columnName_ = getDefaultInstance().getColumnName(); onChanged(); return this; } /** - * - * *
      * Column name.
      * 
* * string column_name = 1; - * * @param value The bytes for columnName to set. * @return This builder for chaining. */ - public Builder setColumnNameBytes(com.google.protobuf.ByteString value) { + public Builder setColumnNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + columnName_ = value; onChanged(); return this; @@ -962,20 +907,18 @@ public Builder setColumnNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object dataType_ = ""; /** - * - * *
      * The Oracle data type.
      * 
* * string data_type = 2; - * * @return The dataType. */ public java.lang.String getDataType() { java.lang.Object ref = dataType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dataType_ = s; return s; @@ -984,21 +927,20 @@ public java.lang.String getDataType() { } } /** - * - * *
      * The Oracle data type.
      * 
* * string data_type = 2; - * * @return The bytes for dataType. */ - public com.google.protobuf.ByteString getDataTypeBytes() { + public com.google.protobuf.ByteString + getDataTypeBytes() { java.lang.Object ref = dataType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); dataType_ = b; return b; } else { @@ -1006,76 +948,66 @@ public com.google.protobuf.ByteString getDataTypeBytes() { } } /** - * - * *
      * The Oracle data type.
      * 
* * string data_type = 2; - * * @param value The dataType to set. * @return This builder for chaining. */ - public Builder setDataType(java.lang.String value) { + public Builder setDataType( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + dataType_ = value; onChanged(); return this; } /** - * - * *
      * The Oracle data type.
      * 
* * string data_type = 2; - * * @return This builder for chaining. */ public Builder clearDataType() { - + dataType_ = getDefaultInstance().getDataType(); onChanged(); return this; } /** - * - * *
      * The Oracle data type.
      * 
* * string data_type = 2; - * * @param value The bytes for dataType to set. * @return This builder for chaining. */ - public Builder setDataTypeBytes(com.google.protobuf.ByteString value) { + public Builder setDataTypeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + dataType_ = value; onChanged(); return this; } - private int length_; + private int length_ ; /** - * - * *
      * Column length.
      * 
* * int32 length = 3; - * * @return The length. */ @java.lang.Override @@ -1083,51 +1015,42 @@ public int getLength() { return length_; } /** - * - * *
      * Column length.
      * 
* * int32 length = 3; - * * @param value The length to set. * @return This builder for chaining. */ public Builder setLength(int value) { - + length_ = value; onChanged(); return this; } /** - * - * *
      * Column length.
      * 
* * int32 length = 3; - * * @return This builder for chaining. */ public Builder clearLength() { - + length_ = 0; onChanged(); return this; } - private int precision_; + private int precision_ ; /** - * - * *
      * Column precision.
      * 
* * int32 precision = 4; - * * @return The precision. */ @java.lang.Override @@ -1135,51 +1058,42 @@ public int getPrecision() { return precision_; } /** - * - * *
      * Column precision.
      * 
* * int32 precision = 4; - * * @param value The precision to set. * @return This builder for chaining. */ public Builder setPrecision(int value) { - + precision_ = value; onChanged(); return this; } /** - * - * *
      * Column precision.
      * 
* * int32 precision = 4; - * * @return This builder for chaining. */ public Builder clearPrecision() { - + precision_ = 0; onChanged(); return this; } - private int scale_; + private int scale_ ; /** - * - * *
      * Column scale.
      * 
* * int32 scale = 5; - * * @return The scale. */ @java.lang.Override @@ -1187,36 +1101,30 @@ public int getScale() { return scale_; } /** - * - * *
      * Column scale.
      * 
* * int32 scale = 5; - * * @param value The scale to set. * @return This builder for chaining. */ public Builder setScale(int value) { - + scale_ = value; onChanged(); return this; } /** - * - * *
      * Column scale.
      * 
* * int32 scale = 5; - * * @return This builder for chaining. */ public Builder clearScale() { - + scale_ = 0; onChanged(); return this; @@ -1224,20 +1132,18 @@ public Builder clearScale() { private java.lang.Object encoding_ = ""; /** - * - * *
      * Column encoding.
      * 
* * string encoding = 6; - * * @return The encoding. */ public java.lang.String getEncoding() { java.lang.Object ref = encoding_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); encoding_ = s; return s; @@ -1246,21 +1152,20 @@ public java.lang.String getEncoding() { } } /** - * - * *
      * Column encoding.
      * 
* * string encoding = 6; - * * @return The bytes for encoding. */ - public com.google.protobuf.ByteString getEncodingBytes() { + public com.google.protobuf.ByteString + getEncodingBytes() { java.lang.Object ref = encoding_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); encoding_ = b; return b; } else { @@ -1268,76 +1173,66 @@ public com.google.protobuf.ByteString getEncodingBytes() { } } /** - * - * *
      * Column encoding.
      * 
* * string encoding = 6; - * * @param value The encoding to set. * @return This builder for chaining. */ - public Builder setEncoding(java.lang.String value) { + public Builder setEncoding( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + encoding_ = value; onChanged(); return this; } /** - * - * *
      * Column encoding.
      * 
* * string encoding = 6; - * * @return This builder for chaining. */ public Builder clearEncoding() { - + encoding_ = getDefaultInstance().getEncoding(); onChanged(); return this; } /** - * - * *
      * Column encoding.
      * 
* * string encoding = 6; - * * @param value The bytes for encoding to set. * @return This builder for chaining. */ - public Builder setEncodingBytes(com.google.protobuf.ByteString value) { + public Builder setEncodingBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + encoding_ = value; onChanged(); return this; } - private boolean primaryKey_; + private boolean primaryKey_ ; /** - * - * *
      * Whether or not the column represents a primary key.
      * 
* * bool primary_key = 7; - * * @return The primaryKey. */ @java.lang.Override @@ -1345,51 +1240,42 @@ public boolean getPrimaryKey() { return primaryKey_; } /** - * - * *
      * Whether or not the column represents a primary key.
      * 
* * bool primary_key = 7; - * * @param value The primaryKey to set. * @return This builder for chaining. */ public Builder setPrimaryKey(boolean value) { - + primaryKey_ = value; onChanged(); return this; } /** - * - * *
      * Whether or not the column represents a primary key.
      * 
* * bool primary_key = 7; - * * @return This builder for chaining. */ public Builder clearPrimaryKey() { - + primaryKey_ = false; onChanged(); return this; } - private boolean nullable_; + private boolean nullable_ ; /** - * - * *
      * Whether or not the column can accept a null value.
      * 
* * bool nullable = 8; - * * @return The nullable. */ @java.lang.Override @@ -1397,51 +1283,42 @@ public boolean getNullable() { return nullable_; } /** - * - * *
      * Whether or not the column can accept a null value.
      * 
* * bool nullable = 8; - * * @param value The nullable to set. * @return This builder for chaining. */ public Builder setNullable(boolean value) { - + nullable_ = value; onChanged(); return this; } /** - * - * *
      * Whether or not the column can accept a null value.
      * 
* * bool nullable = 8; - * * @return This builder for chaining. */ public Builder clearNullable() { - + nullable_ = false; onChanged(); return this; } - private int ordinalPosition_; + private int ordinalPosition_ ; /** - * - * *
      * The ordinal position of the column in the table.
      * 
* * int32 ordinal_position = 9; - * * @return The ordinalPosition. */ @java.lang.Override @@ -1449,43 +1326,37 @@ public int getOrdinalPosition() { return ordinalPosition_; } /** - * - * *
      * The ordinal position of the column in the table.
      * 
* * int32 ordinal_position = 9; - * * @param value The ordinalPosition to set. * @return This builder for chaining. */ public Builder setOrdinalPosition(int value) { - + ordinalPosition_ = value; onChanged(); return this; } /** - * - * *
      * The ordinal position of the column in the table.
      * 
* * int32 ordinal_position = 9; - * * @return This builder for chaining. */ public Builder clearOrdinalPosition() { - + ordinalPosition_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1495,12 +1366,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1alpha1.OracleColumn) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1alpha1.OracleColumn) private static final com.google.cloud.datastream.v1alpha1.OracleColumn DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1alpha1.OracleColumn(); } @@ -1509,16 +1380,16 @@ public static com.google.cloud.datastream.v1alpha1.OracleColumn getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OracleColumn parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OracleColumn(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OracleColumn parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OracleColumn(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1533,4 +1404,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datastream.v1alpha1.OracleColumn getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/OracleColumnOrBuilder.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/OracleColumnOrBuilder.java similarity index 69% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/OracleColumnOrBuilder.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/OracleColumnOrBuilder.java index 7d1e8da8..b338d0ba 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/OracleColumnOrBuilder.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/OracleColumnOrBuilder.java @@ -1,177 +1,128 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1alpha1/datastream_resources.proto package com.google.cloud.datastream.v1alpha1; -public interface OracleColumnOrBuilder - extends +public interface OracleColumnOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1alpha1.OracleColumn) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Column name.
    * 
* * string column_name = 1; - * * @return The columnName. */ java.lang.String getColumnName(); /** - * - * *
    * Column name.
    * 
* * string column_name = 1; - * * @return The bytes for columnName. */ - com.google.protobuf.ByteString getColumnNameBytes(); + com.google.protobuf.ByteString + getColumnNameBytes(); /** - * - * *
    * The Oracle data type.
    * 
* * string data_type = 2; - * * @return The dataType. */ java.lang.String getDataType(); /** - * - * *
    * The Oracle data type.
    * 
* * string data_type = 2; - * * @return The bytes for dataType. */ - com.google.protobuf.ByteString getDataTypeBytes(); + com.google.protobuf.ByteString + getDataTypeBytes(); /** - * - * *
    * Column length.
    * 
* * int32 length = 3; - * * @return The length. */ int getLength(); /** - * - * *
    * Column precision.
    * 
* * int32 precision = 4; - * * @return The precision. */ int getPrecision(); /** - * - * *
    * Column scale.
    * 
* * int32 scale = 5; - * * @return The scale. */ int getScale(); /** - * - * *
    * Column encoding.
    * 
* * string encoding = 6; - * * @return The encoding. */ java.lang.String getEncoding(); /** - * - * *
    * Column encoding.
    * 
* * string encoding = 6; - * * @return The bytes for encoding. */ - com.google.protobuf.ByteString getEncodingBytes(); + com.google.protobuf.ByteString + getEncodingBytes(); /** - * - * *
    * Whether or not the column represents a primary key.
    * 
* * bool primary_key = 7; - * * @return The primaryKey. */ boolean getPrimaryKey(); /** - * - * *
    * Whether or not the column can accept a null value.
    * 
* * bool nullable = 8; - * * @return The nullable. */ boolean getNullable(); /** - * - * *
    * The ordinal position of the column in the table.
    * 
* * int32 ordinal_position = 9; - * * @return The ordinalPosition. */ int getOrdinalPosition(); diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/OracleProfile.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/OracleProfile.java similarity index 69% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/OracleProfile.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/OracleProfile.java index 87f9d012..19f4e197 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/OracleProfile.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/OracleProfile.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/datastream/v1alpha1/datastream_resources.proto package com.google.cloud.datastream.v1alpha1; /** - * - * *
  * Oracle database profile.
  * 
* * Protobuf type {@code google.cloud.datastream.v1alpha1.OracleProfile} */ -public final class OracleProfile extends com.google.protobuf.GeneratedMessageV3 - implements +public final class OracleProfile extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1alpha1.OracleProfile) OracleProfileOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use OracleProfile.newBuilder() to construct. private OracleProfile(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private OracleProfile() { hostname_ = ""; username_ = ""; @@ -46,15 +28,16 @@ private OracleProfile() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new OracleProfile(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private OracleProfile( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -74,64 +57,55 @@ private OracleProfile( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - hostname_ = s; - break; - } - case 16: - { - port_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + hostname_ = s; + break; + } + case 16: { - username_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + port_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - password_ = s; - break; - } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + username_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - databaseService_ = s; - break; - } - case 50: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - connectionAttributes_ = - com.google.protobuf.MapField.newMapField( - ConnectionAttributesDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; - } - com.google.protobuf.MapEntry - connectionAttributes__ = - input.readMessage( - ConnectionAttributesDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - connectionAttributes_ - .getMutableMap() - .put(connectionAttributes__.getKey(), connectionAttributes__.getValue()); - break; + password_ = s; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + databaseService_ = s; + break; + } + case 50: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + connectionAttributes_ = com.google.protobuf.MapField.newMapField( + ConnectionAttributesDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + com.google.protobuf.MapEntry + connectionAttributes__ = input.readMessage( + ConnectionAttributesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + connectionAttributes_.getMutableMap().put( + connectionAttributes__.getKey(), connectionAttributes__.getValue()); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -139,50 +113,46 @@ private OracleProfile( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_OracleProfile_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_OracleProfile_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 6: return internalGetConnectionAttributes(); 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.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_OracleProfile_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_OracleProfile_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.OracleProfile.class, - com.google.cloud.datastream.v1alpha1.OracleProfile.Builder.class); + com.google.cloud.datastream.v1alpha1.OracleProfile.class, com.google.cloud.datastream.v1alpha1.OracleProfile.Builder.class); } public static final int HOSTNAME_FIELD_NUMBER = 1; private volatile java.lang.Object hostname_; /** - * - * *
    * Required. Hostname for the Oracle connection.
    * 
* * string hostname = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The hostname. */ @java.lang.Override @@ -191,29 +161,29 @@ public java.lang.String getHostname() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); hostname_ = s; return s; } } /** - * - * *
    * Required. Hostname for the Oracle connection.
    * 
* * string hostname = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for hostname. */ @java.lang.Override - public com.google.protobuf.ByteString getHostnameBytes() { + public com.google.protobuf.ByteString + getHostnameBytes() { java.lang.Object ref = hostname_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); hostname_ = b; return b; } else { @@ -224,14 +194,11 @@ public com.google.protobuf.ByteString getHostnameBytes() { public static final int PORT_FIELD_NUMBER = 2; private int port_; /** - * - * *
    * Port for the Oracle connection, default value is 1521.
    * 
* * int32 port = 2; - * * @return The port. */ @java.lang.Override @@ -242,14 +209,11 @@ public int getPort() { public static final int USERNAME_FIELD_NUMBER = 3; private volatile java.lang.Object username_; /** - * - * *
    * Required. Username for the Oracle connection.
    * 
* * string username = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The username. */ @java.lang.Override @@ -258,29 +222,29 @@ public java.lang.String getUsername() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); username_ = s; return s; } } /** - * - * *
    * Required. Username for the Oracle connection.
    * 
* * string username = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for username. */ @java.lang.Override - public com.google.protobuf.ByteString getUsernameBytes() { + public com.google.protobuf.ByteString + getUsernameBytes() { java.lang.Object ref = username_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); username_ = b; return b; } else { @@ -291,14 +255,11 @@ public com.google.protobuf.ByteString getUsernameBytes() { public static final int PASSWORD_FIELD_NUMBER = 4; private volatile java.lang.Object password_; /** - * - * *
    * Required. Password for the Oracle connection.
    * 
* * string password = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The password. */ @java.lang.Override @@ -307,29 +268,29 @@ public java.lang.String getPassword() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); password_ = s; return s; } } /** - * - * *
    * Required. Password for the Oracle connection.
    * 
* * string password = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for password. */ @java.lang.Override - public com.google.protobuf.ByteString getPasswordBytes() { + public com.google.protobuf.ByteString + getPasswordBytes() { java.lang.Object ref = password_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); password_ = b; return b; } else { @@ -340,14 +301,11 @@ public com.google.protobuf.ByteString getPasswordBytes() { public static final int DATABASE_SERVICE_FIELD_NUMBER = 5; private volatile java.lang.Object databaseService_; /** - * - * *
    * Required. Database for the Oracle connection.
    * 
* * string database_service = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The databaseService. */ @java.lang.Override @@ -356,29 +314,29 @@ public java.lang.String getDatabaseService() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); databaseService_ = s; return s; } } /** - * - * *
    * Required. Database for the Oracle connection.
    * 
* * string database_service = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for databaseService. */ @java.lang.Override - public com.google.protobuf.ByteString getDatabaseServiceBytes() { + public com.google.protobuf.ByteString + getDatabaseServiceBytes() { java.lang.Object ref = databaseService_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); databaseService_ = b; return b; } else { @@ -387,22 +345,21 @@ public com.google.protobuf.ByteString getDatabaseServiceBytes() { } public static final int CONNECTION_ATTRIBUTES_FIELD_NUMBER = 6; - private static final class ConnectionAttributesDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_OracleProfile_ConnectionAttributesEntry_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.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_OracleProfile_ConnectionAttributesEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - - private com.google.protobuf.MapField connectionAttributes_; - + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> connectionAttributes_; private com.google.protobuf.MapField - internalGetConnectionAttributes() { + internalGetConnectionAttributes() { if (connectionAttributes_ == null) { return com.google.protobuf.MapField.emptyMapField( ConnectionAttributesDefaultEntryHolder.defaultEntry); @@ -414,30 +371,28 @@ public int getConnectionAttributesCount() { return internalGetConnectionAttributes().getMap().size(); } /** - * - * *
    * Connection string attributes
    * 
* * map<string, string> connection_attributes = 6; */ + @java.lang.Override - public boolean containsConnectionAttributes(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsConnectionAttributes( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetConnectionAttributes().getMap().containsKey(key); } - /** Use {@link #getConnectionAttributesMap()} instead. */ + /** + * Use {@link #getConnectionAttributesMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getConnectionAttributes() { return getConnectionAttributesMap(); } /** - * - * *
    * Connection string attributes
    * 
@@ -445,12 +400,11 @@ public java.util.Map getConnectionAttributes * map<string, string> connection_attributes = 6; */ @java.lang.Override + public java.util.Map getConnectionAttributesMap() { return internalGetConnectionAttributes().getMap(); } /** - * - * *
    * Connection string attributes
    * 
@@ -458,18 +412,16 @@ public java.util.Map getConnectionAttributes * map<string, string> connection_attributes = 6; */ @java.lang.Override + public java.lang.String getConnectionAttributesOrDefault( - java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetConnectionAttributes().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * Connection string attributes
    * 
@@ -477,10 +429,10 @@ public java.lang.String getConnectionAttributesOrDefault( * map<string, string> connection_attributes = 6; */ @java.lang.Override - public java.lang.String getConnectionAttributesOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + + public java.lang.String getConnectionAttributesOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetConnectionAttributes().getMap(); if (!map.containsKey(key)) { @@ -490,7 +442,6 @@ public java.lang.String getConnectionAttributesOrThrow(java.lang.String key) { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -502,7 +453,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(hostname_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, hostname_); } @@ -518,7 +470,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(databaseService_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, databaseService_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( output, internalGetConnectionAttributes(), ConnectionAttributesDefaultEntryHolder.defaultEntry, @@ -536,7 +489,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, hostname_); } 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(username_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, username_); @@ -547,15 +501,15 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(databaseService_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, databaseService_); } - for (java.util.Map.Entry entry : - internalGetConnectionAttributes().getMap().entrySet()) { - com.google.protobuf.MapEntry connectionAttributes__ = - ConnectionAttributesDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, connectionAttributes__); + for (java.util.Map.Entry entry + : internalGetConnectionAttributes().getMap().entrySet()) { + com.google.protobuf.MapEntry + connectionAttributes__ = ConnectionAttributesDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, connectionAttributes__); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -565,21 +519,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.datastream.v1alpha1.OracleProfile)) { return super.equals(obj); } - com.google.cloud.datastream.v1alpha1.OracleProfile other = - (com.google.cloud.datastream.v1alpha1.OracleProfile) obj; - - if (!getHostname().equals(other.getHostname())) return false; - if (getPort() != other.getPort()) return false; - if (!getUsername().equals(other.getUsername())) return false; - if (!getPassword().equals(other.getPassword())) return false; - if (!getDatabaseService().equals(other.getDatabaseService())) return false; - if (!internalGetConnectionAttributes().equals(other.internalGetConnectionAttributes())) - return false; + com.google.cloud.datastream.v1alpha1.OracleProfile other = (com.google.cloud.datastream.v1alpha1.OracleProfile) obj; + + if (!getHostname() + .equals(other.getHostname())) return false; + if (getPort() + != other.getPort()) return false; + if (!getUsername() + .equals(other.getUsername())) return false; + if (!getPassword() + .equals(other.getPassword())) return false; + if (!getDatabaseService() + .equals(other.getDatabaseService())) return false; + if (!internalGetConnectionAttributes().equals( + other.internalGetConnectionAttributes())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -611,146 +569,139 @@ public int hashCode() { } public static com.google.cloud.datastream.v1alpha1.OracleProfile parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.OracleProfile parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.OracleProfile parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.OracleProfile parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.OracleProfile parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.OracleProfile parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.OracleProfile parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.OracleProfile parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.OracleProfile parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.OracleProfile parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.OracleProfile parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.OracleProfile 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.datastream.v1alpha1.OracleProfile parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.OracleProfile parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datastream.v1alpha1.OracleProfile prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Oracle database profile.
    * 
* * Protobuf type {@code google.cloud.datastream.v1alpha1.OracleProfile} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1alpha1.OracleProfile) com.google.cloud.datastream.v1alpha1.OracleProfileOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_OracleProfile_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_OracleProfile_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 6: return internalGetConnectionAttributes(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField(int number) { + protected com.google.protobuf.MapField internalGetMutableMapField( + int number) { switch (number) { case 6: return internalGetMutableConnectionAttributes(); 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.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_OracleProfile_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_OracleProfile_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.OracleProfile.class, - com.google.cloud.datastream.v1alpha1.OracleProfile.Builder.class); + com.google.cloud.datastream.v1alpha1.OracleProfile.class, com.google.cloud.datastream.v1alpha1.OracleProfile.Builder.class); } // Construct using com.google.cloud.datastream.v1alpha1.OracleProfile.newBuilder() @@ -758,15 +709,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -785,9 +737,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_OracleProfile_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_OracleProfile_descriptor; } @java.lang.Override @@ -806,8 +758,7 @@ public com.google.cloud.datastream.v1alpha1.OracleProfile build() { @java.lang.Override public com.google.cloud.datastream.v1alpha1.OracleProfile buildPartial() { - com.google.cloud.datastream.v1alpha1.OracleProfile result = - new com.google.cloud.datastream.v1alpha1.OracleProfile(this); + com.google.cloud.datastream.v1alpha1.OracleProfile result = new com.google.cloud.datastream.v1alpha1.OracleProfile(this); int from_bitField0_ = bitField0_; result.hostname_ = hostname_; result.port_ = port_; @@ -824,39 +775,38 @@ public com.google.cloud.datastream.v1alpha1.OracleProfile buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1alpha1.OracleProfile) { - return mergeFrom((com.google.cloud.datastream.v1alpha1.OracleProfile) other); + return mergeFrom((com.google.cloud.datastream.v1alpha1.OracleProfile)other); } else { super.mergeFrom(other); return this; @@ -864,8 +814,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datastream.v1alpha1.OracleProfile other) { - if (other == com.google.cloud.datastream.v1alpha1.OracleProfile.getDefaultInstance()) - return this; + if (other == com.google.cloud.datastream.v1alpha1.OracleProfile.getDefaultInstance()) return this; if (!other.getHostname().isEmpty()) { hostname_ = other.hostname_; onChanged(); @@ -885,7 +834,8 @@ public Builder mergeFrom(com.google.cloud.datastream.v1alpha1.OracleProfile othe databaseService_ = other.databaseService_; onChanged(); } - internalGetMutableConnectionAttributes().mergeFrom(other.internalGetConnectionAttributes()); + internalGetMutableConnectionAttributes().mergeFrom( + other.internalGetConnectionAttributes()); this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -905,8 +855,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datastream.v1alpha1.OracleProfile) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datastream.v1alpha1.OracleProfile) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -915,25 +864,22 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object hostname_ = ""; /** - * - * *
      * Required. Hostname for the Oracle connection.
      * 
* * string hostname = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The hostname. */ public java.lang.String getHostname() { java.lang.Object ref = hostname_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); hostname_ = s; return s; @@ -942,21 +888,20 @@ public java.lang.String getHostname() { } } /** - * - * *
      * Required. Hostname for the Oracle connection.
      * 
* * string hostname = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for hostname. */ - public com.google.protobuf.ByteString getHostnameBytes() { + public com.google.protobuf.ByteString + getHostnameBytes() { java.lang.Object ref = hostname_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); hostname_ = b; return b; } else { @@ -964,76 +909,66 @@ public com.google.protobuf.ByteString getHostnameBytes() { } } /** - * - * *
      * Required. Hostname for the Oracle connection.
      * 
* * string hostname = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The hostname to set. * @return This builder for chaining. */ - public Builder setHostname(java.lang.String value) { + public Builder setHostname( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + hostname_ = value; onChanged(); return this; } /** - * - * *
      * Required. Hostname for the Oracle connection.
      * 
* * string hostname = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearHostname() { - + hostname_ = getDefaultInstance().getHostname(); onChanged(); return this; } /** - * - * *
      * Required. Hostname for the Oracle connection.
      * 
* * string hostname = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for hostname to set. * @return This builder for chaining. */ - public Builder setHostnameBytes(com.google.protobuf.ByteString value) { + public Builder setHostnameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + hostname_ = value; onChanged(); return this; } - private int port_; + private int port_ ; /** - * - * *
      * Port for the Oracle connection, default value is 1521.
      * 
* * int32 port = 2; - * * @return The port. */ @java.lang.Override @@ -1041,36 +976,30 @@ public int getPort() { return port_; } /** - * - * *
      * Port for the Oracle connection, default value is 1521.
      * 
* * int32 port = 2; - * * @param value The port to set. * @return This builder for chaining. */ public Builder setPort(int value) { - + port_ = value; onChanged(); return this; } /** - * - * *
      * Port for the Oracle connection, default value is 1521.
      * 
* * int32 port = 2; - * * @return This builder for chaining. */ public Builder clearPort() { - + port_ = 0; onChanged(); return this; @@ -1078,20 +1007,18 @@ public Builder clearPort() { private java.lang.Object username_ = ""; /** - * - * *
      * Required. Username for the Oracle connection.
      * 
* * string username = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The username. */ public java.lang.String getUsername() { java.lang.Object ref = username_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); username_ = s; return s; @@ -1100,21 +1027,20 @@ public java.lang.String getUsername() { } } /** - * - * *
      * Required. Username for the Oracle connection.
      * 
* * string username = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for username. */ - public com.google.protobuf.ByteString getUsernameBytes() { + public com.google.protobuf.ByteString + getUsernameBytes() { java.lang.Object ref = username_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); username_ = b; return b; } else { @@ -1122,61 +1048,54 @@ public com.google.protobuf.ByteString getUsernameBytes() { } } /** - * - * *
      * Required. Username for the Oracle connection.
      * 
* * string username = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The username to set. * @return This builder for chaining. */ - public Builder setUsername(java.lang.String value) { + public Builder setUsername( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + username_ = value; onChanged(); return this; } /** - * - * *
      * Required. Username for the Oracle connection.
      * 
* * string username = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearUsername() { - + username_ = getDefaultInstance().getUsername(); onChanged(); return this; } /** - * - * *
      * Required. Username for the Oracle connection.
      * 
* * string username = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for username to set. * @return This builder for chaining. */ - public Builder setUsernameBytes(com.google.protobuf.ByteString value) { + public Builder setUsernameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + username_ = value; onChanged(); return this; @@ -1184,20 +1103,18 @@ public Builder setUsernameBytes(com.google.protobuf.ByteString value) { private java.lang.Object password_ = ""; /** - * - * *
      * Required. Password for the Oracle connection.
      * 
* * string password = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The password. */ public java.lang.String getPassword() { java.lang.Object ref = password_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); password_ = s; return s; @@ -1206,21 +1123,20 @@ public java.lang.String getPassword() { } } /** - * - * *
      * Required. Password for the Oracle connection.
      * 
* * string password = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for password. */ - public com.google.protobuf.ByteString getPasswordBytes() { + public com.google.protobuf.ByteString + getPasswordBytes() { java.lang.Object ref = password_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); password_ = b; return b; } else { @@ -1228,61 +1144,54 @@ public com.google.protobuf.ByteString getPasswordBytes() { } } /** - * - * *
      * Required. Password for the Oracle connection.
      * 
* * string password = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The password to set. * @return This builder for chaining. */ - public Builder setPassword(java.lang.String value) { + public Builder setPassword( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + password_ = value; onChanged(); return this; } /** - * - * *
      * Required. Password for the Oracle connection.
      * 
* * string password = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearPassword() { - + password_ = getDefaultInstance().getPassword(); onChanged(); return this; } /** - * - * *
      * Required. Password for the Oracle connection.
      * 
* * string password = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for password to set. * @return This builder for chaining. */ - public Builder setPasswordBytes(com.google.protobuf.ByteString value) { + public Builder setPasswordBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + password_ = value; onChanged(); return this; @@ -1290,20 +1199,18 @@ public Builder setPasswordBytes(com.google.protobuf.ByteString value) { private java.lang.Object databaseService_ = ""; /** - * - * *
      * Required. Database for the Oracle connection.
      * 
* * string database_service = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The databaseService. */ public java.lang.String getDatabaseService() { java.lang.Object ref = databaseService_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); databaseService_ = s; return s; @@ -1312,21 +1219,20 @@ public java.lang.String getDatabaseService() { } } /** - * - * *
      * Required. Database for the Oracle connection.
      * 
* * string database_service = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for databaseService. */ - public com.google.protobuf.ByteString getDatabaseServiceBytes() { + public com.google.protobuf.ByteString + getDatabaseServiceBytes() { java.lang.Object ref = databaseService_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); databaseService_ = b; return b; } else { @@ -1334,85 +1240,75 @@ public com.google.protobuf.ByteString getDatabaseServiceBytes() { } } /** - * - * *
      * Required. Database for the Oracle connection.
      * 
* * string database_service = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The databaseService to set. * @return This builder for chaining. */ - public Builder setDatabaseService(java.lang.String value) { + public Builder setDatabaseService( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + databaseService_ = value; onChanged(); return this; } /** - * - * *
      * Required. Database for the Oracle connection.
      * 
* * string database_service = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearDatabaseService() { - + databaseService_ = getDefaultInstance().getDatabaseService(); onChanged(); return this; } /** - * - * *
      * Required. Database for the Oracle connection.
      * 
* * string database_service = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for databaseService to set. * @return This builder for chaining. */ - public Builder setDatabaseServiceBytes(com.google.protobuf.ByteString value) { + public Builder setDatabaseServiceBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + databaseService_ = value; onChanged(); return this; } - private com.google.protobuf.MapField connectionAttributes_; - + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> connectionAttributes_; private com.google.protobuf.MapField - internalGetConnectionAttributes() { + internalGetConnectionAttributes() { if (connectionAttributes_ == null) { return com.google.protobuf.MapField.emptyMapField( ConnectionAttributesDefaultEntryHolder.defaultEntry); } return connectionAttributes_; } - private com.google.protobuf.MapField - internalGetMutableConnectionAttributes() { - onChanged(); - ; + internalGetMutableConnectionAttributes() { + onChanged();; if (connectionAttributes_ == null) { - connectionAttributes_ = - com.google.protobuf.MapField.newMapField( - ConnectionAttributesDefaultEntryHolder.defaultEntry); + connectionAttributes_ = com.google.protobuf.MapField.newMapField( + ConnectionAttributesDefaultEntryHolder.defaultEntry); } if (!connectionAttributes_.isMutable()) { connectionAttributes_ = connectionAttributes_.copy(); @@ -1424,30 +1320,28 @@ public int getConnectionAttributesCount() { return internalGetConnectionAttributes().getMap().size(); } /** - * - * *
      * Connection string attributes
      * 
* * map<string, string> connection_attributes = 6; */ + @java.lang.Override - public boolean containsConnectionAttributes(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsConnectionAttributes( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetConnectionAttributes().getMap().containsKey(key); } - /** Use {@link #getConnectionAttributesMap()} instead. */ + /** + * Use {@link #getConnectionAttributesMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getConnectionAttributes() { return getConnectionAttributesMap(); } /** - * - * *
      * Connection string attributes
      * 
@@ -1455,12 +1349,11 @@ public java.util.Map getConnectionAttributes * map<string, string> connection_attributes = 6; */ @java.lang.Override + public java.util.Map getConnectionAttributesMap() { return internalGetConnectionAttributes().getMap(); } /** - * - * *
      * Connection string attributes
      * 
@@ -1468,18 +1361,16 @@ public java.util.Map getConnectionAttributes * map<string, string> connection_attributes = 6; */ @java.lang.Override + public java.lang.String getConnectionAttributesOrDefault( - java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetConnectionAttributes().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * Connection string attributes
      * 
@@ -1487,10 +1378,10 @@ public java.lang.String getConnectionAttributesOrDefault( * map<string, string> connection_attributes = 6; */ @java.lang.Override - public java.lang.String getConnectionAttributesOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + + public java.lang.String getConnectionAttributesOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetConnectionAttributes().getMap(); if (!map.containsKey(key)) { @@ -1500,67 +1391,69 @@ public java.lang.String getConnectionAttributesOrThrow(java.lang.String key) { } public Builder clearConnectionAttributes() { - internalGetMutableConnectionAttributes().getMutableMap().clear(); + internalGetMutableConnectionAttributes().getMutableMap() + .clear(); return this; } /** - * - * *
      * Connection string attributes
      * 
* * map<string, string> connection_attributes = 6; */ - public Builder removeConnectionAttributes(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableConnectionAttributes().getMutableMap().remove(key); + + public Builder removeConnectionAttributes( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableConnectionAttributes().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map getMutableConnectionAttributes() { + public java.util.Map + getMutableConnectionAttributes() { return internalGetMutableConnectionAttributes().getMutableMap(); } /** - * - * *
      * Connection string attributes
      * 
* * map<string, string> connection_attributes = 6; */ - public Builder putConnectionAttributes(java.lang.String key, java.lang.String value) { - if (key == null) { - throw new NullPointerException("map key"); - } + public Builder putConnectionAttributes( + java.lang.String key, + java.lang.String value) { + if (key == null) { throw new NullPointerException("map key"); } if (value == null) { - throw new NullPointerException("map value"); - } + throw new NullPointerException("map value"); +} - internalGetMutableConnectionAttributes().getMutableMap().put(key, value); + internalGetMutableConnectionAttributes().getMutableMap() + .put(key, value); return this; } /** - * - * *
      * Connection string attributes
      * 
* * map<string, string> connection_attributes = 6; */ + public Builder putAllConnectionAttributes( java.util.Map values) { - internalGetMutableConnectionAttributes().getMutableMap().putAll(values); + internalGetMutableConnectionAttributes().getMutableMap() + .putAll(values); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1570,12 +1463,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1alpha1.OracleProfile) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1alpha1.OracleProfile) private static final com.google.cloud.datastream.v1alpha1.OracleProfile DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1alpha1.OracleProfile(); } @@ -1584,16 +1477,16 @@ public static com.google.cloud.datastream.v1alpha1.OracleProfile getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OracleProfile parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OracleProfile(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OracleProfile parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OracleProfile(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1608,4 +1501,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datastream.v1alpha1.OracleProfile getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/OracleProfileOrBuilder.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/OracleProfileOrBuilder.java similarity index 67% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/OracleProfileOrBuilder.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/OracleProfileOrBuilder.java index 7243c5f4..0c2f75cd 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/OracleProfileOrBuilder.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/OracleProfileOrBuilder.java @@ -1,144 +1,103 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1alpha1/datastream_resources.proto package com.google.cloud.datastream.v1alpha1; -public interface OracleProfileOrBuilder - extends +public interface OracleProfileOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1alpha1.OracleProfile) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Hostname for the Oracle connection.
    * 
* * string hostname = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The hostname. */ java.lang.String getHostname(); /** - * - * *
    * Required. Hostname for the Oracle connection.
    * 
* * string hostname = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for hostname. */ - com.google.protobuf.ByteString getHostnameBytes(); + com.google.protobuf.ByteString + getHostnameBytes(); /** - * - * *
    * Port for the Oracle connection, default value is 1521.
    * 
* * int32 port = 2; - * * @return The port. */ int getPort(); /** - * - * *
    * Required. Username for the Oracle connection.
    * 
* * string username = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The username. */ java.lang.String getUsername(); /** - * - * *
    * Required. Username for the Oracle connection.
    * 
* * string username = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for username. */ - com.google.protobuf.ByteString getUsernameBytes(); + com.google.protobuf.ByteString + getUsernameBytes(); /** - * - * *
    * Required. Password for the Oracle connection.
    * 
* * string password = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The password. */ java.lang.String getPassword(); /** - * - * *
    * Required. Password for the Oracle connection.
    * 
* * string password = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for password. */ - com.google.protobuf.ByteString getPasswordBytes(); + com.google.protobuf.ByteString + getPasswordBytes(); /** - * - * *
    * Required. Database for the Oracle connection.
    * 
* * string database_service = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The databaseService. */ java.lang.String getDatabaseService(); /** - * - * *
    * Required. Database for the Oracle connection.
    * 
* * string database_service = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for databaseService. */ - com.google.protobuf.ByteString getDatabaseServiceBytes(); + com.google.protobuf.ByteString + getDatabaseServiceBytes(); /** - * - * *
    * Connection string attributes
    * 
@@ -147,31 +106,30 @@ public interface OracleProfileOrBuilder */ int getConnectionAttributesCount(); /** - * - * *
    * Connection string attributes
    * 
* * map<string, string> connection_attributes = 6; */ - boolean containsConnectionAttributes(java.lang.String key); - /** Use {@link #getConnectionAttributesMap()} instead. */ + boolean containsConnectionAttributes( + java.lang.String key); + /** + * Use {@link #getConnectionAttributesMap()} instead. + */ @java.lang.Deprecated - java.util.Map getConnectionAttributes(); + java.util.Map + getConnectionAttributes(); /** - * - * *
    * Connection string attributes
    * 
* * map<string, string> connection_attributes = 6; */ - java.util.Map getConnectionAttributesMap(); + java.util.Map + getConnectionAttributesMap(); /** - * - * *
    * Connection string attributes
    * 
@@ -180,18 +138,18 @@ public interface OracleProfileOrBuilder */ /* nullable */ - java.lang.String getConnectionAttributesOrDefault( +java.lang.String getConnectionAttributesOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue); +java.lang.String defaultValue); /** - * - * *
    * Connection string attributes
    * 
* * map<string, string> connection_attributes = 6; */ - java.lang.String getConnectionAttributesOrThrow(java.lang.String key); + + java.lang.String getConnectionAttributesOrThrow( + java.lang.String key); } diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/OracleRdbms.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/OracleRdbms.java similarity index 75% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/OracleRdbms.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/OracleRdbms.java index e7f3dbb0..fcad3d1e 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/OracleRdbms.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/OracleRdbms.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1alpha1/datastream_resources.proto package com.google.cloud.datastream.v1alpha1; /** - * - * *
  * Oracle database structure.
  * 
* * Protobuf type {@code google.cloud.datastream.v1alpha1.OracleRdbms} */ -public final class OracleRdbms extends com.google.protobuf.GeneratedMessageV3 - implements +public final class OracleRdbms extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1alpha1.OracleRdbms) OracleRdbmsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use OracleRdbms.newBuilder() to construct. private OracleRdbms(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private OracleRdbms() { oracleSchemas_ = 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 OracleRdbms(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private OracleRdbms( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,26 +54,22 @@ private OracleRdbms( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - oracleSchemas_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - oracleSchemas_.add( - input.readMessage( - com.google.cloud.datastream.v1alpha1.OracleSchema.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + oracleSchemas_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + oracleSchemas_.add( + input.readMessage(com.google.cloud.datastream.v1alpha1.OracleSchema.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -98,7 +77,8 @@ private OracleRdbms( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { oracleSchemas_ = java.util.Collections.unmodifiableList(oracleSchemas_); @@ -107,27 +87,22 @@ private OracleRdbms( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_OracleRdbms_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_OracleRdbms_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_OracleRdbms_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_OracleRdbms_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.OracleRdbms.class, - com.google.cloud.datastream.v1alpha1.OracleRdbms.Builder.class); + com.google.cloud.datastream.v1alpha1.OracleRdbms.class, com.google.cloud.datastream.v1alpha1.OracleRdbms.Builder.class); } public static final int ORACLE_SCHEMAS_FIELD_NUMBER = 1; private java.util.List oracleSchemas_; /** - * - * *
    * Oracle schemas/databases in the database server.
    * 
@@ -139,8 +114,6 @@ public java.util.List getOrac return oracleSchemas_; } /** - * - * *
    * Oracle schemas/databases in the database server.
    * 
@@ -148,13 +121,11 @@ public java.util.List getOrac * repeated .google.cloud.datastream.v1alpha1.OracleSchema oracle_schemas = 1; */ @java.lang.Override - public java.util.List + public java.util.List getOracleSchemasOrBuilderList() { return oracleSchemas_; } /** - * - * *
    * Oracle schemas/databases in the database server.
    * 
@@ -166,8 +137,6 @@ public int getOracleSchemasCount() { return oracleSchemas_.size(); } /** - * - * *
    * Oracle schemas/databases in the database server.
    * 
@@ -179,8 +148,6 @@ public com.google.cloud.datastream.v1alpha1.OracleSchema getOracleSchemas(int in return oracleSchemas_.get(index); } /** - * - * *
    * Oracle schemas/databases in the database server.
    * 
@@ -194,7 +161,6 @@ public com.google.cloud.datastream.v1alpha1.OracleSchemaOrBuilder getOracleSchem } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -206,7 +172,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 < oracleSchemas_.size(); i++) { output.writeMessage(1, oracleSchemas_.get(i)); } @@ -220,7 +187,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < oracleSchemas_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, oracleSchemas_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, oracleSchemas_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -230,15 +198,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.datastream.v1alpha1.OracleRdbms)) { return super.equals(obj); } - com.google.cloud.datastream.v1alpha1.OracleRdbms other = - (com.google.cloud.datastream.v1alpha1.OracleRdbms) obj; + com.google.cloud.datastream.v1alpha1.OracleRdbms other = (com.google.cloud.datastream.v1alpha1.OracleRdbms) obj; - if (!getOracleSchemasList().equals(other.getOracleSchemasList())) return false; + if (!getOracleSchemasList() + .equals(other.getOracleSchemasList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -259,127 +227,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.datastream.v1alpha1.OracleRdbms parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.datastream.v1alpha1.OracleRdbms parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.OracleRdbms parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.OracleRdbms parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.OracleRdbms parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.OracleRdbms parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.OracleRdbms parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.OracleRdbms parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.OracleRdbms parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.OracleRdbms parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.OracleRdbms parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.OracleRdbms parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.OracleRdbms 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.datastream.v1alpha1.OracleRdbms parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.OracleRdbms parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datastream.v1alpha1.OracleRdbms prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Oracle database structure.
    * 
* * Protobuf type {@code google.cloud.datastream.v1alpha1.OracleRdbms} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1alpha1.OracleRdbms) com.google.cloud.datastream.v1alpha1.OracleRdbmsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_OracleRdbms_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_OracleRdbms_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_OracleRdbms_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_OracleRdbms_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.OracleRdbms.class, - com.google.cloud.datastream.v1alpha1.OracleRdbms.Builder.class); + com.google.cloud.datastream.v1alpha1.OracleRdbms.class, com.google.cloud.datastream.v1alpha1.OracleRdbms.Builder.class); } // Construct using com.google.cloud.datastream.v1alpha1.OracleRdbms.newBuilder() @@ -387,17 +346,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getOracleSchemasFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -411,9 +370,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_OracleRdbms_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_OracleRdbms_descriptor; } @java.lang.Override @@ -432,8 +391,7 @@ public com.google.cloud.datastream.v1alpha1.OracleRdbms build() { @java.lang.Override public com.google.cloud.datastream.v1alpha1.OracleRdbms buildPartial() { - com.google.cloud.datastream.v1alpha1.OracleRdbms result = - new com.google.cloud.datastream.v1alpha1.OracleRdbms(this); + com.google.cloud.datastream.v1alpha1.OracleRdbms result = new com.google.cloud.datastream.v1alpha1.OracleRdbms(this); int from_bitField0_ = bitField0_; if (oracleSchemasBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -452,39 +410,38 @@ public com.google.cloud.datastream.v1alpha1.OracleRdbms buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1alpha1.OracleRdbms) { - return mergeFrom((com.google.cloud.datastream.v1alpha1.OracleRdbms) other); + return mergeFrom((com.google.cloud.datastream.v1alpha1.OracleRdbms)other); } else { super.mergeFrom(other); return this; @@ -492,8 +449,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datastream.v1alpha1.OracleRdbms other) { - if (other == com.google.cloud.datastream.v1alpha1.OracleRdbms.getDefaultInstance()) - return this; + if (other == com.google.cloud.datastream.v1alpha1.OracleRdbms.getDefaultInstance()) return this; if (oracleSchemasBuilder_ == null) { if (!other.oracleSchemas_.isEmpty()) { if (oracleSchemas_.isEmpty()) { @@ -512,10 +468,9 @@ public Builder mergeFrom(com.google.cloud.datastream.v1alpha1.OracleRdbms other) oracleSchemasBuilder_ = null; oracleSchemas_ = other.oracleSchemas_; bitField0_ = (bitField0_ & ~0x00000001); - oracleSchemasBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getOracleSchemasFieldBuilder() - : null; + oracleSchemasBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getOracleSchemasFieldBuilder() : null; } else { oracleSchemasBuilder_.addAllMessages(other.oracleSchemas_); } @@ -549,38 +504,28 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List oracleSchemas_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureOracleSchemasIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - oracleSchemas_ = - new java.util.ArrayList( - oracleSchemas_); + oracleSchemas_ = new java.util.ArrayList(oracleSchemas_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.OracleSchema, - com.google.cloud.datastream.v1alpha1.OracleSchema.Builder, - com.google.cloud.datastream.v1alpha1.OracleSchemaOrBuilder> - oracleSchemasBuilder_; + com.google.cloud.datastream.v1alpha1.OracleSchema, com.google.cloud.datastream.v1alpha1.OracleSchema.Builder, com.google.cloud.datastream.v1alpha1.OracleSchemaOrBuilder> oracleSchemasBuilder_; /** - * - * *
      * Oracle schemas/databases in the database server.
      * 
* * repeated .google.cloud.datastream.v1alpha1.OracleSchema oracle_schemas = 1; */ - public java.util.List - getOracleSchemasList() { + public java.util.List getOracleSchemasList() { if (oracleSchemasBuilder_ == null) { return java.util.Collections.unmodifiableList(oracleSchemas_); } else { @@ -588,8 +533,6 @@ private void ensureOracleSchemasIsMutable() { } } /** - * - * *
      * Oracle schemas/databases in the database server.
      * 
@@ -604,8 +547,6 @@ public int getOracleSchemasCount() { } } /** - * - * *
      * Oracle schemas/databases in the database server.
      * 
@@ -620,8 +561,6 @@ public com.google.cloud.datastream.v1alpha1.OracleSchema getOracleSchemas(int in } } /** - * - * *
      * Oracle schemas/databases in the database server.
      * 
@@ -643,8 +582,6 @@ public Builder setOracleSchemas( return this; } /** - * - * *
      * Oracle schemas/databases in the database server.
      * 
@@ -663,8 +600,6 @@ public Builder setOracleSchemas( return this; } /** - * - * *
      * Oracle schemas/databases in the database server.
      * 
@@ -685,8 +620,6 @@ public Builder addOracleSchemas(com.google.cloud.datastream.v1alpha1.OracleSchem return this; } /** - * - * *
      * Oracle schemas/databases in the database server.
      * 
@@ -708,8 +641,6 @@ public Builder addOracleSchemas( return this; } /** - * - * *
      * Oracle schemas/databases in the database server.
      * 
@@ -728,8 +659,6 @@ public Builder addOracleSchemas( return this; } /** - * - * *
      * Oracle schemas/databases in the database server.
      * 
@@ -748,8 +677,6 @@ public Builder addOracleSchemas( return this; } /** - * - * *
      * Oracle schemas/databases in the database server.
      * 
@@ -760,7 +687,8 @@ public Builder addAllOracleSchemas( java.lang.Iterable values) { if (oracleSchemasBuilder_ == null) { ensureOracleSchemasIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, oracleSchemas_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, oracleSchemas_); onChanged(); } else { oracleSchemasBuilder_.addAllMessages(values); @@ -768,8 +696,6 @@ public Builder addAllOracleSchemas( return this; } /** - * - * *
      * Oracle schemas/databases in the database server.
      * 
@@ -787,8 +713,6 @@ public Builder clearOracleSchemas() { return this; } /** - * - * *
      * Oracle schemas/databases in the database server.
      * 
@@ -806,8 +730,6 @@ public Builder removeOracleSchemas(int index) { return this; } /** - * - * *
      * Oracle schemas/databases in the database server.
      * 
@@ -819,8 +741,6 @@ public com.google.cloud.datastream.v1alpha1.OracleSchema.Builder getOracleSchema return getOracleSchemasFieldBuilder().getBuilder(index); } /** - * - * *
      * Oracle schemas/databases in the database server.
      * 
@@ -830,22 +750,19 @@ public com.google.cloud.datastream.v1alpha1.OracleSchema.Builder getOracleSchema public com.google.cloud.datastream.v1alpha1.OracleSchemaOrBuilder getOracleSchemasOrBuilder( int index) { if (oracleSchemasBuilder_ == null) { - return oracleSchemas_.get(index); - } else { + return oracleSchemas_.get(index); } else { return oracleSchemasBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Oracle schemas/databases in the database server.
      * 
* * repeated .google.cloud.datastream.v1alpha1.OracleSchema oracle_schemas = 1; */ - public java.util.List - getOracleSchemasOrBuilderList() { + public java.util.List + getOracleSchemasOrBuilderList() { if (oracleSchemasBuilder_ != null) { return oracleSchemasBuilder_.getMessageOrBuilderList(); } else { @@ -853,8 +770,6 @@ public com.google.cloud.datastream.v1alpha1.OracleSchemaOrBuilder getOracleSchem } } /** - * - * *
      * Oracle schemas/databases in the database server.
      * 
@@ -862,12 +777,10 @@ public com.google.cloud.datastream.v1alpha1.OracleSchemaOrBuilder getOracleSchem * repeated .google.cloud.datastream.v1alpha1.OracleSchema oracle_schemas = 1; */ public com.google.cloud.datastream.v1alpha1.OracleSchema.Builder addOracleSchemasBuilder() { - return getOracleSchemasFieldBuilder() - .addBuilder(com.google.cloud.datastream.v1alpha1.OracleSchema.getDefaultInstance()); + return getOracleSchemasFieldBuilder().addBuilder( + com.google.cloud.datastream.v1alpha1.OracleSchema.getDefaultInstance()); } /** - * - * *
      * Oracle schemas/databases in the database server.
      * 
@@ -876,35 +789,26 @@ public com.google.cloud.datastream.v1alpha1.OracleSchema.Builder addOracleSchema */ public com.google.cloud.datastream.v1alpha1.OracleSchema.Builder addOracleSchemasBuilder( int index) { - return getOracleSchemasFieldBuilder() - .addBuilder( - index, com.google.cloud.datastream.v1alpha1.OracleSchema.getDefaultInstance()); + return getOracleSchemasFieldBuilder().addBuilder( + index, com.google.cloud.datastream.v1alpha1.OracleSchema.getDefaultInstance()); } /** - * - * *
      * Oracle schemas/databases in the database server.
      * 
* * repeated .google.cloud.datastream.v1alpha1.OracleSchema oracle_schemas = 1; */ - public java.util.List - getOracleSchemasBuilderList() { + public java.util.List + getOracleSchemasBuilderList() { return getOracleSchemasFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.OracleSchema, - com.google.cloud.datastream.v1alpha1.OracleSchema.Builder, - com.google.cloud.datastream.v1alpha1.OracleSchemaOrBuilder> + com.google.cloud.datastream.v1alpha1.OracleSchema, com.google.cloud.datastream.v1alpha1.OracleSchema.Builder, com.google.cloud.datastream.v1alpha1.OracleSchemaOrBuilder> getOracleSchemasFieldBuilder() { if (oracleSchemasBuilder_ == null) { - oracleSchemasBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.OracleSchema, - com.google.cloud.datastream.v1alpha1.OracleSchema.Builder, - com.google.cloud.datastream.v1alpha1.OracleSchemaOrBuilder>( + oracleSchemasBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datastream.v1alpha1.OracleSchema, com.google.cloud.datastream.v1alpha1.OracleSchema.Builder, com.google.cloud.datastream.v1alpha1.OracleSchemaOrBuilder>( oracleSchemas_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -913,9 +817,9 @@ public com.google.cloud.datastream.v1alpha1.OracleSchema.Builder addOracleSchema } return oracleSchemasBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -925,12 +829,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1alpha1.OracleRdbms) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1alpha1.OracleRdbms) private static final com.google.cloud.datastream.v1alpha1.OracleRdbms DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1alpha1.OracleRdbms(); } @@ -939,16 +843,16 @@ public static com.google.cloud.datastream.v1alpha1.OracleRdbms getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OracleRdbms parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OracleRdbms(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OracleRdbms parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OracleRdbms(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -963,4 +867,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datastream.v1alpha1.OracleRdbms getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/OracleRdbmsOrBuilder.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/OracleRdbmsOrBuilder.java similarity index 67% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/OracleRdbmsOrBuilder.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/OracleRdbmsOrBuilder.java index 289431c5..82b3cf95 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/OracleRdbmsOrBuilder.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/OracleRdbmsOrBuilder.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/datastream/v1alpha1/datastream_resources.proto package com.google.cloud.datastream.v1alpha1; -public interface OracleRdbmsOrBuilder - extends +public interface OracleRdbmsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1alpha1.OracleRdbms) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Oracle schemas/databases in the database server.
    * 
* * repeated .google.cloud.datastream.v1alpha1.OracleSchema oracle_schemas = 1; */ - java.util.List getOracleSchemasList(); + java.util.List + getOracleSchemasList(); /** - * - * *
    * Oracle schemas/databases in the database server.
    * 
@@ -44,8 +25,6 @@ public interface OracleRdbmsOrBuilder */ com.google.cloud.datastream.v1alpha1.OracleSchema getOracleSchemas(int index); /** - * - * *
    * Oracle schemas/databases in the database server.
    * 
@@ -54,24 +33,21 @@ public interface OracleRdbmsOrBuilder */ int getOracleSchemasCount(); /** - * - * *
    * Oracle schemas/databases in the database server.
    * 
* * repeated .google.cloud.datastream.v1alpha1.OracleSchema oracle_schemas = 1; */ - java.util.List + java.util.List getOracleSchemasOrBuilderList(); /** - * - * *
    * Oracle schemas/databases in the database server.
    * 
* * repeated .google.cloud.datastream.v1alpha1.OracleSchema oracle_schemas = 1; */ - com.google.cloud.datastream.v1alpha1.OracleSchemaOrBuilder getOracleSchemasOrBuilder(int index); + com.google.cloud.datastream.v1alpha1.OracleSchemaOrBuilder getOracleSchemasOrBuilder( + int index); } diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/OracleSchema.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/OracleSchema.java similarity index 74% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/OracleSchema.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/OracleSchema.java index 221d96fb..0330a888 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/OracleSchema.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/OracleSchema.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/datastream/v1alpha1/datastream_resources.proto package com.google.cloud.datastream.v1alpha1; /** - * - * *
  * Oracle schema.
  * 
* * Protobuf type {@code google.cloud.datastream.v1alpha1.OracleSchema} */ -public final class OracleSchema extends com.google.protobuf.GeneratedMessageV3 - implements +public final class OracleSchema extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1alpha1.OracleSchema) OracleSchemaOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use OracleSchema.newBuilder() to construct. private OracleSchema(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private OracleSchema() { schemaName_ = ""; oracleTables_ = java.util.Collections.emptyList(); @@ -44,15 +26,16 @@ private OracleSchema() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new OracleSchema(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private OracleSchema( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,33 +55,28 @@ private OracleSchema( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - schemaName_ = s; - break; - } - case 18: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - oracleTables_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - oracleTables_.add( - input.readMessage( - com.google.cloud.datastream.v1alpha1.OracleTable.parser(), - extensionRegistry)); - break; + schemaName_ = s; + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + oracleTables_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + oracleTables_.add( + input.readMessage(com.google.cloud.datastream.v1alpha1.OracleTable.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -106,7 +84,8 @@ private OracleSchema( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { oracleTables_ = java.util.Collections.unmodifiableList(oracleTables_); @@ -115,33 +94,27 @@ private OracleSchema( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_OracleSchema_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_OracleSchema_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_OracleSchema_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_OracleSchema_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.OracleSchema.class, - com.google.cloud.datastream.v1alpha1.OracleSchema.Builder.class); + com.google.cloud.datastream.v1alpha1.OracleSchema.class, com.google.cloud.datastream.v1alpha1.OracleSchema.Builder.class); } public static final int SCHEMA_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object schemaName_; /** - * - * *
    * Schema name.
    * 
* * string schema_name = 1; - * * @return The schemaName. */ @java.lang.Override @@ -150,29 +123,29 @@ public java.lang.String getSchemaName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); schemaName_ = s; return s; } } /** - * - * *
    * Schema name.
    * 
* * string schema_name = 1; - * * @return The bytes for schemaName. */ @java.lang.Override - public com.google.protobuf.ByteString getSchemaNameBytes() { + public com.google.protobuf.ByteString + getSchemaNameBytes() { java.lang.Object ref = schemaName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); schemaName_ = b; return b; } else { @@ -183,8 +156,6 @@ public com.google.protobuf.ByteString getSchemaNameBytes() { public static final int ORACLE_TABLES_FIELD_NUMBER = 2; private java.util.List oracleTables_; /** - * - * *
    * Tables in the schema.
    * 
@@ -196,8 +167,6 @@ public java.util.List getOracl return oracleTables_; } /** - * - * *
    * Tables in the schema.
    * 
@@ -205,13 +174,11 @@ public java.util.List getOracl * repeated .google.cloud.datastream.v1alpha1.OracleTable oracle_tables = 2; */ @java.lang.Override - public java.util.List + public java.util.List getOracleTablesOrBuilderList() { return oracleTables_; } /** - * - * *
    * Tables in the schema.
    * 
@@ -223,8 +190,6 @@ public int getOracleTablesCount() { return oracleTables_.size(); } /** - * - * *
    * Tables in the schema.
    * 
@@ -236,8 +201,6 @@ public com.google.cloud.datastream.v1alpha1.OracleTable getOracleTables(int inde return oracleTables_.get(index); } /** - * - * *
    * Tables in the schema.
    * 
@@ -251,7 +214,6 @@ public com.google.cloud.datastream.v1alpha1.OracleTableOrBuilder getOracleTables } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -263,7 +225,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schemaName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, schemaName_); } @@ -283,7 +246,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, schemaName_); } for (int i = 0; i < oracleTables_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, oracleTables_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, oracleTables_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -293,16 +257,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datastream.v1alpha1.OracleSchema)) { return super.equals(obj); } - com.google.cloud.datastream.v1alpha1.OracleSchema other = - (com.google.cloud.datastream.v1alpha1.OracleSchema) obj; + com.google.cloud.datastream.v1alpha1.OracleSchema other = (com.google.cloud.datastream.v1alpha1.OracleSchema) obj; - if (!getSchemaName().equals(other.getSchemaName())) return false; - if (!getOracleTablesList().equals(other.getOracleTablesList())) return false; + if (!getSchemaName() + .equals(other.getSchemaName())) return false; + if (!getOracleTablesList() + .equals(other.getOracleTablesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -326,126 +291,117 @@ public int hashCode() { } public static com.google.cloud.datastream.v1alpha1.OracleSchema parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.OracleSchema parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.OracleSchema parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.OracleSchema parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.OracleSchema parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.OracleSchema parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.OracleSchema parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.OracleSchema parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.OracleSchema parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.OracleSchema parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.OracleSchema parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.OracleSchema 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.datastream.v1alpha1.OracleSchema parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.OracleSchema parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datastream.v1alpha1.OracleSchema prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Oracle schema.
    * 
* * Protobuf type {@code google.cloud.datastream.v1alpha1.OracleSchema} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1alpha1.OracleSchema) com.google.cloud.datastream.v1alpha1.OracleSchemaOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_OracleSchema_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_OracleSchema_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_OracleSchema_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_OracleSchema_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.OracleSchema.class, - com.google.cloud.datastream.v1alpha1.OracleSchema.Builder.class); + com.google.cloud.datastream.v1alpha1.OracleSchema.class, com.google.cloud.datastream.v1alpha1.OracleSchema.Builder.class); } // Construct using com.google.cloud.datastream.v1alpha1.OracleSchema.newBuilder() @@ -453,17 +409,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getOracleTablesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -479,9 +435,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_OracleSchema_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_OracleSchema_descriptor; } @java.lang.Override @@ -500,8 +456,7 @@ public com.google.cloud.datastream.v1alpha1.OracleSchema build() { @java.lang.Override public com.google.cloud.datastream.v1alpha1.OracleSchema buildPartial() { - com.google.cloud.datastream.v1alpha1.OracleSchema result = - new com.google.cloud.datastream.v1alpha1.OracleSchema(this); + com.google.cloud.datastream.v1alpha1.OracleSchema result = new com.google.cloud.datastream.v1alpha1.OracleSchema(this); int from_bitField0_ = bitField0_; result.schemaName_ = schemaName_; if (oracleTablesBuilder_ == null) { @@ -521,39 +476,38 @@ public com.google.cloud.datastream.v1alpha1.OracleSchema buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1alpha1.OracleSchema) { - return mergeFrom((com.google.cloud.datastream.v1alpha1.OracleSchema) other); + return mergeFrom((com.google.cloud.datastream.v1alpha1.OracleSchema)other); } else { super.mergeFrom(other); return this; @@ -561,8 +515,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datastream.v1alpha1.OracleSchema other) { - if (other == com.google.cloud.datastream.v1alpha1.OracleSchema.getDefaultInstance()) - return this; + if (other == com.google.cloud.datastream.v1alpha1.OracleSchema.getDefaultInstance()) return this; if (!other.getSchemaName().isEmpty()) { schemaName_ = other.schemaName_; onChanged(); @@ -585,10 +538,9 @@ public Builder mergeFrom(com.google.cloud.datastream.v1alpha1.OracleSchema other oracleTablesBuilder_ = null; oracleTables_ = other.oracleTables_; bitField0_ = (bitField0_ & ~0x00000001); - oracleTablesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getOracleTablesFieldBuilder() - : null; + oracleTablesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getOracleTablesFieldBuilder() : null; } else { oracleTablesBuilder_.addAllMessages(other.oracleTables_); } @@ -613,8 +565,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datastream.v1alpha1.OracleSchema) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datastream.v1alpha1.OracleSchema) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -623,25 +574,22 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object schemaName_ = ""; /** - * - * *
      * Schema name.
      * 
* * string schema_name = 1; - * * @return The schemaName. */ public java.lang.String getSchemaName() { java.lang.Object ref = schemaName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); schemaName_ = s; return s; @@ -650,21 +598,20 @@ public java.lang.String getSchemaName() { } } /** - * - * *
      * Schema name.
      * 
* * string schema_name = 1; - * * @return The bytes for schemaName. */ - public com.google.protobuf.ByteString getSchemaNameBytes() { + public com.google.protobuf.ByteString + getSchemaNameBytes() { java.lang.Object ref = schemaName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); schemaName_ = b; return b; } else { @@ -672,87 +619,72 @@ public com.google.protobuf.ByteString getSchemaNameBytes() { } } /** - * - * *
      * Schema name.
      * 
* * string schema_name = 1; - * * @param value The schemaName to set. * @return This builder for chaining. */ - public Builder setSchemaName(java.lang.String value) { + public Builder setSchemaName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + schemaName_ = value; onChanged(); return this; } /** - * - * *
      * Schema name.
      * 
* * string schema_name = 1; - * * @return This builder for chaining. */ public Builder clearSchemaName() { - + schemaName_ = getDefaultInstance().getSchemaName(); onChanged(); return this; } /** - * - * *
      * Schema name.
      * 
* * string schema_name = 1; - * * @param value The bytes for schemaName to set. * @return This builder for chaining. */ - public Builder setSchemaNameBytes(com.google.protobuf.ByteString value) { + public Builder setSchemaNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + schemaName_ = value; onChanged(); return this; } private java.util.List oracleTables_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureOracleTablesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - oracleTables_ = - new java.util.ArrayList( - oracleTables_); + oracleTables_ = new java.util.ArrayList(oracleTables_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.OracleTable, - com.google.cloud.datastream.v1alpha1.OracleTable.Builder, - com.google.cloud.datastream.v1alpha1.OracleTableOrBuilder> - oracleTablesBuilder_; + com.google.cloud.datastream.v1alpha1.OracleTable, com.google.cloud.datastream.v1alpha1.OracleTable.Builder, com.google.cloud.datastream.v1alpha1.OracleTableOrBuilder> oracleTablesBuilder_; /** - * - * *
      * Tables in the schema.
      * 
@@ -767,8 +699,6 @@ public java.util.List getOracl } } /** - * - * *
      * Tables in the schema.
      * 
@@ -783,8 +713,6 @@ public int getOracleTablesCount() { } } /** - * - * *
      * Tables in the schema.
      * 
@@ -799,8 +727,6 @@ public com.google.cloud.datastream.v1alpha1.OracleTable getOracleTables(int inde } } /** - * - * *
      * Tables in the schema.
      * 
@@ -822,8 +748,6 @@ public Builder setOracleTables( return this; } /** - * - * *
      * Tables in the schema.
      * 
@@ -842,8 +766,6 @@ public Builder setOracleTables( return this; } /** - * - * *
      * Tables in the schema.
      * 
@@ -864,8 +786,6 @@ public Builder addOracleTables(com.google.cloud.datastream.v1alpha1.OracleTable return this; } /** - * - * *
      * Tables in the schema.
      * 
@@ -887,8 +807,6 @@ public Builder addOracleTables( return this; } /** - * - * *
      * Tables in the schema.
      * 
@@ -907,8 +825,6 @@ public Builder addOracleTables( return this; } /** - * - * *
      * Tables in the schema.
      * 
@@ -927,8 +843,6 @@ public Builder addOracleTables( return this; } /** - * - * *
      * Tables in the schema.
      * 
@@ -939,7 +853,8 @@ public Builder addAllOracleTables( java.lang.Iterable values) { if (oracleTablesBuilder_ == null) { ensureOracleTablesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, oracleTables_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, oracleTables_); onChanged(); } else { oracleTablesBuilder_.addAllMessages(values); @@ -947,8 +862,6 @@ public Builder addAllOracleTables( return this; } /** - * - * *
      * Tables in the schema.
      * 
@@ -966,8 +879,6 @@ public Builder clearOracleTables() { return this; } /** - * - * *
      * Tables in the schema.
      * 
@@ -985,8 +896,6 @@ public Builder removeOracleTables(int index) { return this; } /** - * - * *
      * Tables in the schema.
      * 
@@ -998,8 +907,6 @@ public com.google.cloud.datastream.v1alpha1.OracleTable.Builder getOracleTablesB return getOracleTablesFieldBuilder().getBuilder(index); } /** - * - * *
      * Tables in the schema.
      * 
@@ -1009,22 +916,19 @@ public com.google.cloud.datastream.v1alpha1.OracleTable.Builder getOracleTablesB public com.google.cloud.datastream.v1alpha1.OracleTableOrBuilder getOracleTablesOrBuilder( int index) { if (oracleTablesBuilder_ == null) { - return oracleTables_.get(index); - } else { + return oracleTables_.get(index); } else { return oracleTablesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Tables in the schema.
      * 
* * repeated .google.cloud.datastream.v1alpha1.OracleTable oracle_tables = 2; */ - public java.util.List - getOracleTablesOrBuilderList() { + public java.util.List + getOracleTablesOrBuilderList() { if (oracleTablesBuilder_ != null) { return oracleTablesBuilder_.getMessageOrBuilderList(); } else { @@ -1032,8 +936,6 @@ public com.google.cloud.datastream.v1alpha1.OracleTableOrBuilder getOracleTables } } /** - * - * *
      * Tables in the schema.
      * 
@@ -1041,12 +943,10 @@ public com.google.cloud.datastream.v1alpha1.OracleTableOrBuilder getOracleTables * repeated .google.cloud.datastream.v1alpha1.OracleTable oracle_tables = 2; */ public com.google.cloud.datastream.v1alpha1.OracleTable.Builder addOracleTablesBuilder() { - return getOracleTablesFieldBuilder() - .addBuilder(com.google.cloud.datastream.v1alpha1.OracleTable.getDefaultInstance()); + return getOracleTablesFieldBuilder().addBuilder( + com.google.cloud.datastream.v1alpha1.OracleTable.getDefaultInstance()); } /** - * - * *
      * Tables in the schema.
      * 
@@ -1055,42 +955,37 @@ public com.google.cloud.datastream.v1alpha1.OracleTable.Builder addOracleTablesB */ public com.google.cloud.datastream.v1alpha1.OracleTable.Builder addOracleTablesBuilder( int index) { - return getOracleTablesFieldBuilder() - .addBuilder(index, com.google.cloud.datastream.v1alpha1.OracleTable.getDefaultInstance()); + return getOracleTablesFieldBuilder().addBuilder( + index, com.google.cloud.datastream.v1alpha1.OracleTable.getDefaultInstance()); } /** - * - * *
      * Tables in the schema.
      * 
* * repeated .google.cloud.datastream.v1alpha1.OracleTable oracle_tables = 2; */ - public java.util.List - getOracleTablesBuilderList() { + public java.util.List + getOracleTablesBuilderList() { return getOracleTablesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.OracleTable, - com.google.cloud.datastream.v1alpha1.OracleTable.Builder, - com.google.cloud.datastream.v1alpha1.OracleTableOrBuilder> + com.google.cloud.datastream.v1alpha1.OracleTable, com.google.cloud.datastream.v1alpha1.OracleTable.Builder, com.google.cloud.datastream.v1alpha1.OracleTableOrBuilder> getOracleTablesFieldBuilder() { if (oracleTablesBuilder_ == null) { - oracleTablesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.OracleTable, - com.google.cloud.datastream.v1alpha1.OracleTable.Builder, - com.google.cloud.datastream.v1alpha1.OracleTableOrBuilder>( - oracleTables_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + oracleTablesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datastream.v1alpha1.OracleTable, com.google.cloud.datastream.v1alpha1.OracleTable.Builder, com.google.cloud.datastream.v1alpha1.OracleTableOrBuilder>( + oracleTables_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); oracleTables_ = null; } return oracleTablesBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1100,12 +995,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1alpha1.OracleSchema) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1alpha1.OracleSchema) private static final com.google.cloud.datastream.v1alpha1.OracleSchema DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1alpha1.OracleSchema(); } @@ -1114,16 +1009,16 @@ public static com.google.cloud.datastream.v1alpha1.OracleSchema getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OracleSchema parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OracleSchema(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OracleSchema parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OracleSchema(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1138,4 +1033,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datastream.v1alpha1.OracleSchema getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/OracleSchemaOrBuilder.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/OracleSchemaOrBuilder.java similarity index 67% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/OracleSchemaOrBuilder.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/OracleSchemaOrBuilder.java index b102cf53..639a404f 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/OracleSchemaOrBuilder.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/OracleSchemaOrBuilder.java @@ -1,66 +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/datastream/v1alpha1/datastream_resources.proto package com.google.cloud.datastream.v1alpha1; -public interface OracleSchemaOrBuilder - extends +public interface OracleSchemaOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1alpha1.OracleSchema) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Schema name.
    * 
* * string schema_name = 1; - * * @return The schemaName. */ java.lang.String getSchemaName(); /** - * - * *
    * Schema name.
    * 
* * string schema_name = 1; - * * @return The bytes for schemaName. */ - com.google.protobuf.ByteString getSchemaNameBytes(); + com.google.protobuf.ByteString + getSchemaNameBytes(); /** - * - * *
    * Tables in the schema.
    * 
* * repeated .google.cloud.datastream.v1alpha1.OracleTable oracle_tables = 2; */ - java.util.List getOracleTablesList(); + java.util.List + getOracleTablesList(); /** - * - * *
    * Tables in the schema.
    * 
@@ -69,8 +45,6 @@ public interface OracleSchemaOrBuilder */ com.google.cloud.datastream.v1alpha1.OracleTable getOracleTables(int index); /** - * - * *
    * Tables in the schema.
    * 
@@ -79,24 +53,21 @@ public interface OracleSchemaOrBuilder */ int getOracleTablesCount(); /** - * - * *
    * Tables in the schema.
    * 
* * repeated .google.cloud.datastream.v1alpha1.OracleTable oracle_tables = 2; */ - java.util.List + java.util.List getOracleTablesOrBuilderList(); /** - * - * *
    * Tables in the schema.
    * 
* * repeated .google.cloud.datastream.v1alpha1.OracleTable oracle_tables = 2; */ - com.google.cloud.datastream.v1alpha1.OracleTableOrBuilder getOracleTablesOrBuilder(int index); + com.google.cloud.datastream.v1alpha1.OracleTableOrBuilder getOracleTablesOrBuilder( + int index); } diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/OracleSourceConfig.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/OracleSourceConfig.java similarity index 69% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/OracleSourceConfig.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/OracleSourceConfig.java index f87c784f..f5bfc34d 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/OracleSourceConfig.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/OracleSourceConfig.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1alpha1/datastream_resources.proto package com.google.cloud.datastream.v1alpha1; /** - * - * *
  * Oracle data source configuration
  * 
* * Protobuf type {@code google.cloud.datastream.v1alpha1.OracleSourceConfig} */ -public final class OracleSourceConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class OracleSourceConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1alpha1.OracleSourceConfig) OracleSourceConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use OracleSourceConfig.newBuilder() to construct. private OracleSourceConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private OracleSourceConfig() {} + private OracleSourceConfig() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new OracleSourceConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private OracleSourceConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,45 +52,39 @@ private OracleSourceConfig( case 0: done = true; break; - case 10: - { - com.google.cloud.datastream.v1alpha1.OracleRdbms.Builder subBuilder = null; - if (allowlist_ != null) { - subBuilder = allowlist_.toBuilder(); - } - allowlist_ = - input.readMessage( - com.google.cloud.datastream.v1alpha1.OracleRdbms.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(allowlist_); - allowlist_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.datastream.v1alpha1.OracleRdbms.Builder subBuilder = null; + if (allowlist_ != null) { + subBuilder = allowlist_.toBuilder(); + } + allowlist_ = input.readMessage(com.google.cloud.datastream.v1alpha1.OracleRdbms.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(allowlist_); + allowlist_ = subBuilder.buildPartial(); + } + + break; + } + case 18: { + com.google.cloud.datastream.v1alpha1.OracleRdbms.Builder subBuilder = null; + if (rejectlist_ != null) { + subBuilder = rejectlist_.toBuilder(); } - case 18: - { - com.google.cloud.datastream.v1alpha1.OracleRdbms.Builder subBuilder = null; - if (rejectlist_ != null) { - subBuilder = rejectlist_.toBuilder(); - } - rejectlist_ = - input.readMessage( - com.google.cloud.datastream.v1alpha1.OracleRdbms.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(rejectlist_); - rejectlist_ = subBuilder.buildPartial(); - } - - break; + rejectlist_ = input.readMessage(com.google.cloud.datastream.v1alpha1.OracleRdbms.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(rejectlist_); + rejectlist_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -114,39 +92,34 @@ private OracleSourceConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_OracleSourceConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_OracleSourceConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_OracleSourceConfig_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_OracleSourceConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.OracleSourceConfig.class, - com.google.cloud.datastream.v1alpha1.OracleSourceConfig.Builder.class); + com.google.cloud.datastream.v1alpha1.OracleSourceConfig.class, com.google.cloud.datastream.v1alpha1.OracleSourceConfig.Builder.class); } public static final int ALLOWLIST_FIELD_NUMBER = 1; private com.google.cloud.datastream.v1alpha1.OracleRdbms allowlist_; /** - * - * *
    * Oracle objects to include in the stream.
    * 
* * .google.cloud.datastream.v1alpha1.OracleRdbms allowlist = 1; - * * @return Whether the allowlist field is set. */ @java.lang.Override @@ -154,25 +127,18 @@ public boolean hasAllowlist() { return allowlist_ != null; } /** - * - * *
    * Oracle objects to include in the stream.
    * 
* * .google.cloud.datastream.v1alpha1.OracleRdbms allowlist = 1; - * * @return The allowlist. */ @java.lang.Override public com.google.cloud.datastream.v1alpha1.OracleRdbms getAllowlist() { - return allowlist_ == null - ? com.google.cloud.datastream.v1alpha1.OracleRdbms.getDefaultInstance() - : allowlist_; + return allowlist_ == null ? com.google.cloud.datastream.v1alpha1.OracleRdbms.getDefaultInstance() : allowlist_; } /** - * - * *
    * Oracle objects to include in the stream.
    * 
@@ -187,14 +153,11 @@ public com.google.cloud.datastream.v1alpha1.OracleRdbmsOrBuilder getAllowlistOrB public static final int REJECTLIST_FIELD_NUMBER = 2; private com.google.cloud.datastream.v1alpha1.OracleRdbms rejectlist_; /** - * - * *
    * Oracle objects to exclude from the stream.
    * 
* * .google.cloud.datastream.v1alpha1.OracleRdbms rejectlist = 2; - * * @return Whether the rejectlist field is set. */ @java.lang.Override @@ -202,25 +165,18 @@ public boolean hasRejectlist() { return rejectlist_ != null; } /** - * - * *
    * Oracle objects to exclude from the stream.
    * 
* * .google.cloud.datastream.v1alpha1.OracleRdbms rejectlist = 2; - * * @return The rejectlist. */ @java.lang.Override public com.google.cloud.datastream.v1alpha1.OracleRdbms getRejectlist() { - return rejectlist_ == null - ? com.google.cloud.datastream.v1alpha1.OracleRdbms.getDefaultInstance() - : rejectlist_; + return rejectlist_ == null ? com.google.cloud.datastream.v1alpha1.OracleRdbms.getDefaultInstance() : rejectlist_; } /** - * - * *
    * Oracle objects to exclude from the stream.
    * 
@@ -233,7 +189,6 @@ public com.google.cloud.datastream.v1alpha1.OracleRdbmsOrBuilder getRejectlistOr } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -245,7 +200,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (allowlist_ != null) { output.writeMessage(1, getAllowlist()); } @@ -262,10 +218,12 @@ public int getSerializedSize() { size = 0; if (allowlist_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAllowlist()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getAllowlist()); } if (rejectlist_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getRejectlist()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getRejectlist()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -275,21 +233,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.datastream.v1alpha1.OracleSourceConfig)) { return super.equals(obj); } - com.google.cloud.datastream.v1alpha1.OracleSourceConfig other = - (com.google.cloud.datastream.v1alpha1.OracleSourceConfig) obj; + com.google.cloud.datastream.v1alpha1.OracleSourceConfig other = (com.google.cloud.datastream.v1alpha1.OracleSourceConfig) obj; if (hasAllowlist() != other.hasAllowlist()) return false; if (hasAllowlist()) { - if (!getAllowlist().equals(other.getAllowlist())) return false; + if (!getAllowlist() + .equals(other.getAllowlist())) return false; } if (hasRejectlist() != other.hasRejectlist()) return false; if (hasRejectlist()) { - if (!getRejectlist().equals(other.getRejectlist())) return false; + if (!getRejectlist() + .equals(other.getRejectlist())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -316,127 +275,117 @@ public int hashCode() { } public static com.google.cloud.datastream.v1alpha1.OracleSourceConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.OracleSourceConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.OracleSourceConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.OracleSourceConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.OracleSourceConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.OracleSourceConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.OracleSourceConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.OracleSourceConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.OracleSourceConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.OracleSourceConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.OracleSourceConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.OracleSourceConfig 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.datastream.v1alpha1.OracleSourceConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.OracleSourceConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datastream.v1alpha1.OracleSourceConfig prototype) { + public static Builder newBuilder(com.google.cloud.datastream.v1alpha1.OracleSourceConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Oracle data source configuration
    * 
* * Protobuf type {@code google.cloud.datastream.v1alpha1.OracleSourceConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1alpha1.OracleSourceConfig) com.google.cloud.datastream.v1alpha1.OracleSourceConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_OracleSourceConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_OracleSourceConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_OracleSourceConfig_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_OracleSourceConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.OracleSourceConfig.class, - com.google.cloud.datastream.v1alpha1.OracleSourceConfig.Builder.class); + com.google.cloud.datastream.v1alpha1.OracleSourceConfig.class, com.google.cloud.datastream.v1alpha1.OracleSourceConfig.Builder.class); } // Construct using com.google.cloud.datastream.v1alpha1.OracleSourceConfig.newBuilder() @@ -444,15 +393,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -472,9 +422,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_OracleSourceConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_OracleSourceConfig_descriptor; } @java.lang.Override @@ -493,8 +443,7 @@ public com.google.cloud.datastream.v1alpha1.OracleSourceConfig build() { @java.lang.Override public com.google.cloud.datastream.v1alpha1.OracleSourceConfig buildPartial() { - com.google.cloud.datastream.v1alpha1.OracleSourceConfig result = - new com.google.cloud.datastream.v1alpha1.OracleSourceConfig(this); + com.google.cloud.datastream.v1alpha1.OracleSourceConfig result = new com.google.cloud.datastream.v1alpha1.OracleSourceConfig(this); if (allowlistBuilder_ == null) { result.allowlist_ = allowlist_; } else { @@ -513,39 +462,38 @@ public com.google.cloud.datastream.v1alpha1.OracleSourceConfig buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1alpha1.OracleSourceConfig) { - return mergeFrom((com.google.cloud.datastream.v1alpha1.OracleSourceConfig) other); + return mergeFrom((com.google.cloud.datastream.v1alpha1.OracleSourceConfig)other); } else { super.mergeFrom(other); return this; @@ -553,8 +501,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datastream.v1alpha1.OracleSourceConfig other) { - if (other == com.google.cloud.datastream.v1alpha1.OracleSourceConfig.getDefaultInstance()) - return this; + if (other == com.google.cloud.datastream.v1alpha1.OracleSourceConfig.getDefaultInstance()) return this; if (other.hasAllowlist()) { mergeAllowlist(other.getAllowlist()); } @@ -580,8 +527,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datastream.v1alpha1.OracleSourceConfig) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datastream.v1alpha1.OracleSourceConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -593,47 +539,34 @@ public Builder mergeFrom( private com.google.cloud.datastream.v1alpha1.OracleRdbms allowlist_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.OracleRdbms, - com.google.cloud.datastream.v1alpha1.OracleRdbms.Builder, - com.google.cloud.datastream.v1alpha1.OracleRdbmsOrBuilder> - allowlistBuilder_; + com.google.cloud.datastream.v1alpha1.OracleRdbms, com.google.cloud.datastream.v1alpha1.OracleRdbms.Builder, com.google.cloud.datastream.v1alpha1.OracleRdbmsOrBuilder> allowlistBuilder_; /** - * - * *
      * Oracle objects to include in the stream.
      * 
* * .google.cloud.datastream.v1alpha1.OracleRdbms allowlist = 1; - * * @return Whether the allowlist field is set. */ public boolean hasAllowlist() { return allowlistBuilder_ != null || allowlist_ != null; } /** - * - * *
      * Oracle objects to include in the stream.
      * 
* * .google.cloud.datastream.v1alpha1.OracleRdbms allowlist = 1; - * * @return The allowlist. */ public com.google.cloud.datastream.v1alpha1.OracleRdbms getAllowlist() { if (allowlistBuilder_ == null) { - return allowlist_ == null - ? com.google.cloud.datastream.v1alpha1.OracleRdbms.getDefaultInstance() - : allowlist_; + return allowlist_ == null ? com.google.cloud.datastream.v1alpha1.OracleRdbms.getDefaultInstance() : allowlist_; } else { return allowlistBuilder_.getMessage(); } } /** - * - * *
      * Oracle objects to include in the stream.
      * 
@@ -654,8 +587,6 @@ public Builder setAllowlist(com.google.cloud.datastream.v1alpha1.OracleRdbms val return this; } /** - * - * *
      * Oracle objects to include in the stream.
      * 
@@ -674,8 +605,6 @@ public Builder setAllowlist( return this; } /** - * - * *
      * Oracle objects to include in the stream.
      * 
@@ -686,9 +615,7 @@ public Builder mergeAllowlist(com.google.cloud.datastream.v1alpha1.OracleRdbms v if (allowlistBuilder_ == null) { if (allowlist_ != null) { allowlist_ = - com.google.cloud.datastream.v1alpha1.OracleRdbms.newBuilder(allowlist_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.datastream.v1alpha1.OracleRdbms.newBuilder(allowlist_).mergeFrom(value).buildPartial(); } else { allowlist_ = value; } @@ -700,8 +627,6 @@ public Builder mergeAllowlist(com.google.cloud.datastream.v1alpha1.OracleRdbms v return this; } /** - * - * *
      * Oracle objects to include in the stream.
      * 
@@ -720,8 +645,6 @@ public Builder clearAllowlist() { return this; } /** - * - * *
      * Oracle objects to include in the stream.
      * 
@@ -729,13 +652,11 @@ public Builder clearAllowlist() { * .google.cloud.datastream.v1alpha1.OracleRdbms allowlist = 1; */ public com.google.cloud.datastream.v1alpha1.OracleRdbms.Builder getAllowlistBuilder() { - + onChanged(); return getAllowlistFieldBuilder().getBuilder(); } /** - * - * *
      * Oracle objects to include in the stream.
      * 
@@ -746,14 +667,11 @@ public com.google.cloud.datastream.v1alpha1.OracleRdbmsOrBuilder getAllowlistOrB if (allowlistBuilder_ != null) { return allowlistBuilder_.getMessageOrBuilder(); } else { - return allowlist_ == null - ? com.google.cloud.datastream.v1alpha1.OracleRdbms.getDefaultInstance() - : allowlist_; + return allowlist_ == null ? + com.google.cloud.datastream.v1alpha1.OracleRdbms.getDefaultInstance() : allowlist_; } } /** - * - * *
      * Oracle objects to include in the stream.
      * 
@@ -761,17 +679,14 @@ public com.google.cloud.datastream.v1alpha1.OracleRdbmsOrBuilder getAllowlistOrB * .google.cloud.datastream.v1alpha1.OracleRdbms allowlist = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.OracleRdbms, - com.google.cloud.datastream.v1alpha1.OracleRdbms.Builder, - com.google.cloud.datastream.v1alpha1.OracleRdbmsOrBuilder> + com.google.cloud.datastream.v1alpha1.OracleRdbms, com.google.cloud.datastream.v1alpha1.OracleRdbms.Builder, com.google.cloud.datastream.v1alpha1.OracleRdbmsOrBuilder> getAllowlistFieldBuilder() { if (allowlistBuilder_ == null) { - allowlistBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.OracleRdbms, - com.google.cloud.datastream.v1alpha1.OracleRdbms.Builder, - com.google.cloud.datastream.v1alpha1.OracleRdbmsOrBuilder>( - getAllowlist(), getParentForChildren(), isClean()); + allowlistBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1alpha1.OracleRdbms, com.google.cloud.datastream.v1alpha1.OracleRdbms.Builder, com.google.cloud.datastream.v1alpha1.OracleRdbmsOrBuilder>( + getAllowlist(), + getParentForChildren(), + isClean()); allowlist_ = null; } return allowlistBuilder_; @@ -779,47 +694,34 @@ public com.google.cloud.datastream.v1alpha1.OracleRdbmsOrBuilder getAllowlistOrB private com.google.cloud.datastream.v1alpha1.OracleRdbms rejectlist_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.OracleRdbms, - com.google.cloud.datastream.v1alpha1.OracleRdbms.Builder, - com.google.cloud.datastream.v1alpha1.OracleRdbmsOrBuilder> - rejectlistBuilder_; + com.google.cloud.datastream.v1alpha1.OracleRdbms, com.google.cloud.datastream.v1alpha1.OracleRdbms.Builder, com.google.cloud.datastream.v1alpha1.OracleRdbmsOrBuilder> rejectlistBuilder_; /** - * - * *
      * Oracle objects to exclude from the stream.
      * 
* * .google.cloud.datastream.v1alpha1.OracleRdbms rejectlist = 2; - * * @return Whether the rejectlist field is set. */ public boolean hasRejectlist() { return rejectlistBuilder_ != null || rejectlist_ != null; } /** - * - * *
      * Oracle objects to exclude from the stream.
      * 
* * .google.cloud.datastream.v1alpha1.OracleRdbms rejectlist = 2; - * * @return The rejectlist. */ public com.google.cloud.datastream.v1alpha1.OracleRdbms getRejectlist() { if (rejectlistBuilder_ == null) { - return rejectlist_ == null - ? com.google.cloud.datastream.v1alpha1.OracleRdbms.getDefaultInstance() - : rejectlist_; + return rejectlist_ == null ? com.google.cloud.datastream.v1alpha1.OracleRdbms.getDefaultInstance() : rejectlist_; } else { return rejectlistBuilder_.getMessage(); } } /** - * - * *
      * Oracle objects to exclude from the stream.
      * 
@@ -840,8 +742,6 @@ public Builder setRejectlist(com.google.cloud.datastream.v1alpha1.OracleRdbms va return this; } /** - * - * *
      * Oracle objects to exclude from the stream.
      * 
@@ -860,8 +760,6 @@ public Builder setRejectlist( return this; } /** - * - * *
      * Oracle objects to exclude from the stream.
      * 
@@ -872,9 +770,7 @@ public Builder mergeRejectlist(com.google.cloud.datastream.v1alpha1.OracleRdbms if (rejectlistBuilder_ == null) { if (rejectlist_ != null) { rejectlist_ = - com.google.cloud.datastream.v1alpha1.OracleRdbms.newBuilder(rejectlist_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.datastream.v1alpha1.OracleRdbms.newBuilder(rejectlist_).mergeFrom(value).buildPartial(); } else { rejectlist_ = value; } @@ -886,8 +782,6 @@ public Builder mergeRejectlist(com.google.cloud.datastream.v1alpha1.OracleRdbms return this; } /** - * - * *
      * Oracle objects to exclude from the stream.
      * 
@@ -906,8 +800,6 @@ public Builder clearRejectlist() { return this; } /** - * - * *
      * Oracle objects to exclude from the stream.
      * 
@@ -915,13 +807,11 @@ public Builder clearRejectlist() { * .google.cloud.datastream.v1alpha1.OracleRdbms rejectlist = 2; */ public com.google.cloud.datastream.v1alpha1.OracleRdbms.Builder getRejectlistBuilder() { - + onChanged(); return getRejectlistFieldBuilder().getBuilder(); } /** - * - * *
      * Oracle objects to exclude from the stream.
      * 
@@ -932,14 +822,11 @@ public com.google.cloud.datastream.v1alpha1.OracleRdbmsOrBuilder getRejectlistOr if (rejectlistBuilder_ != null) { return rejectlistBuilder_.getMessageOrBuilder(); } else { - return rejectlist_ == null - ? com.google.cloud.datastream.v1alpha1.OracleRdbms.getDefaultInstance() - : rejectlist_; + return rejectlist_ == null ? + com.google.cloud.datastream.v1alpha1.OracleRdbms.getDefaultInstance() : rejectlist_; } } /** - * - * *
      * Oracle objects to exclude from the stream.
      * 
@@ -947,24 +834,21 @@ public com.google.cloud.datastream.v1alpha1.OracleRdbmsOrBuilder getRejectlistOr * .google.cloud.datastream.v1alpha1.OracleRdbms rejectlist = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.OracleRdbms, - com.google.cloud.datastream.v1alpha1.OracleRdbms.Builder, - com.google.cloud.datastream.v1alpha1.OracleRdbmsOrBuilder> + com.google.cloud.datastream.v1alpha1.OracleRdbms, com.google.cloud.datastream.v1alpha1.OracleRdbms.Builder, com.google.cloud.datastream.v1alpha1.OracleRdbmsOrBuilder> getRejectlistFieldBuilder() { if (rejectlistBuilder_ == null) { - rejectlistBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.OracleRdbms, - com.google.cloud.datastream.v1alpha1.OracleRdbms.Builder, - com.google.cloud.datastream.v1alpha1.OracleRdbmsOrBuilder>( - getRejectlist(), getParentForChildren(), isClean()); + rejectlistBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1alpha1.OracleRdbms, com.google.cloud.datastream.v1alpha1.OracleRdbms.Builder, com.google.cloud.datastream.v1alpha1.OracleRdbmsOrBuilder>( + getRejectlist(), + getParentForChildren(), + isClean()); rejectlist_ = null; } return rejectlistBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -974,12 +858,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1alpha1.OracleSourceConfig) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1alpha1.OracleSourceConfig) private static final com.google.cloud.datastream.v1alpha1.OracleSourceConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1alpha1.OracleSourceConfig(); } @@ -988,16 +872,16 @@ public static com.google.cloud.datastream.v1alpha1.OracleSourceConfig getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OracleSourceConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OracleSourceConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OracleSourceConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OracleSourceConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1012,4 +896,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datastream.v1alpha1.OracleSourceConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/OracleSourceConfigOrBuilder.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/OracleSourceConfigOrBuilder.java similarity index 71% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/OracleSourceConfigOrBuilder.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/OracleSourceConfigOrBuilder.java index 2a8dd4e1..351b94f3 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/OracleSourceConfigOrBuilder.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/OracleSourceConfigOrBuilder.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/datastream/v1alpha1/datastream_resources.proto package com.google.cloud.datastream.v1alpha1; -public interface OracleSourceConfigOrBuilder - extends +public interface OracleSourceConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1alpha1.OracleSourceConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Oracle objects to include in the stream.
    * 
* * .google.cloud.datastream.v1alpha1.OracleRdbms allowlist = 1; - * * @return Whether the allowlist field is set. */ boolean hasAllowlist(); /** - * - * *
    * Oracle objects to include in the stream.
    * 
* * .google.cloud.datastream.v1alpha1.OracleRdbms allowlist = 1; - * * @return The allowlist. */ com.google.cloud.datastream.v1alpha1.OracleRdbms getAllowlist(); /** - * - * *
    * Oracle objects to include in the stream.
    * 
@@ -59,32 +35,24 @@ public interface OracleSourceConfigOrBuilder com.google.cloud.datastream.v1alpha1.OracleRdbmsOrBuilder getAllowlistOrBuilder(); /** - * - * *
    * Oracle objects to exclude from the stream.
    * 
* * .google.cloud.datastream.v1alpha1.OracleRdbms rejectlist = 2; - * * @return Whether the rejectlist field is set. */ boolean hasRejectlist(); /** - * - * *
    * Oracle objects to exclude from the stream.
    * 
* * .google.cloud.datastream.v1alpha1.OracleRdbms rejectlist = 2; - * * @return The rejectlist. */ com.google.cloud.datastream.v1alpha1.OracleRdbms getRejectlist(); /** - * - * *
    * Oracle objects to exclude from the stream.
    * 
diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/OracleTable.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/OracleTable.java similarity index 76% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/OracleTable.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/OracleTable.java index ac0e2ed7..14e48641 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/OracleTable.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/OracleTable.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/datastream/v1alpha1/datastream_resources.proto package com.google.cloud.datastream.v1alpha1; /** - * - * *
  * Oracle table.
  * 
* * Protobuf type {@code google.cloud.datastream.v1alpha1.OracleTable} */ -public final class OracleTable extends com.google.protobuf.GeneratedMessageV3 - implements +public final class OracleTable extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1alpha1.OracleTable) OracleTableOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use OracleTable.newBuilder() to construct. private OracleTable(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private OracleTable() { tableName_ = ""; oracleColumns_ = java.util.Collections.emptyList(); @@ -44,15 +26,16 @@ private OracleTable() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new OracleTable(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private OracleTable( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,33 +55,28 @@ private OracleTable( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - tableName_ = s; - break; - } - case 18: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - oracleColumns_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - oracleColumns_.add( - input.readMessage( - com.google.cloud.datastream.v1alpha1.OracleColumn.parser(), - extensionRegistry)); - break; + tableName_ = s; + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + oracleColumns_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + oracleColumns_.add( + input.readMessage(com.google.cloud.datastream.v1alpha1.OracleColumn.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -106,7 +84,8 @@ private OracleTable( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { oracleColumns_ = java.util.Collections.unmodifiableList(oracleColumns_); @@ -115,33 +94,27 @@ private OracleTable( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_OracleTable_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_OracleTable_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_OracleTable_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_OracleTable_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.OracleTable.class, - com.google.cloud.datastream.v1alpha1.OracleTable.Builder.class); + com.google.cloud.datastream.v1alpha1.OracleTable.class, com.google.cloud.datastream.v1alpha1.OracleTable.Builder.class); } public static final int TABLE_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object tableName_; /** - * - * *
    * Table name.
    * 
* * string table_name = 1; - * * @return The tableName. */ @java.lang.Override @@ -150,29 +123,29 @@ public java.lang.String getTableName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tableName_ = s; return s; } } /** - * - * *
    * Table name.
    * 
* * string table_name = 1; - * * @return The bytes for tableName. */ @java.lang.Override - public com.google.protobuf.ByteString getTableNameBytes() { + public com.google.protobuf.ByteString + getTableNameBytes() { java.lang.Object ref = tableName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tableName_ = b; return b; } else { @@ -183,8 +156,6 @@ public com.google.protobuf.ByteString getTableNameBytes() { public static final int ORACLE_COLUMNS_FIELD_NUMBER = 2; private java.util.List oracleColumns_; /** - * - * *
    * Oracle columns in the schema.
    * When unspecified as part of inclue/exclude lists, includes/excludes
@@ -198,8 +169,6 @@ public java.util.List getOrac
     return oracleColumns_;
   }
   /**
-   *
-   *
    * 
    * Oracle columns in the schema.
    * When unspecified as part of inclue/exclude lists, includes/excludes
@@ -209,13 +178,11 @@ public java.util.List getOrac
    * repeated .google.cloud.datastream.v1alpha1.OracleColumn oracle_columns = 2;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getOracleColumnsOrBuilderList() {
     return oracleColumns_;
   }
   /**
-   *
-   *
    * 
    * Oracle columns in the schema.
    * When unspecified as part of inclue/exclude lists, includes/excludes
@@ -229,8 +196,6 @@ public int getOracleColumnsCount() {
     return oracleColumns_.size();
   }
   /**
-   *
-   *
    * 
    * Oracle columns in the schema.
    * When unspecified as part of inclue/exclude lists, includes/excludes
@@ -244,8 +209,6 @@ public com.google.cloud.datastream.v1alpha1.OracleColumn getOracleColumns(int in
     return oracleColumns_.get(index);
   }
   /**
-   *
-   *
    * 
    * Oracle columns in the schema.
    * When unspecified as part of inclue/exclude lists, includes/excludes
@@ -261,7 +224,6 @@ public com.google.cloud.datastream.v1alpha1.OracleColumnOrBuilder getOracleColum
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -273,7 +235,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tableName_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, tableName_);
     }
@@ -293,7 +256,8 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, tableName_);
     }
     for (int i = 0; i < oracleColumns_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, oracleColumns_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, oracleColumns_.get(i));
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -303,16 +267,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.datastream.v1alpha1.OracleTable)) {
       return super.equals(obj);
     }
-    com.google.cloud.datastream.v1alpha1.OracleTable other =
-        (com.google.cloud.datastream.v1alpha1.OracleTable) obj;
+    com.google.cloud.datastream.v1alpha1.OracleTable other = (com.google.cloud.datastream.v1alpha1.OracleTable) obj;
 
-    if (!getTableName().equals(other.getTableName())) return false;
-    if (!getOracleColumnsList().equals(other.getOracleColumnsList())) return false;
+    if (!getTableName()
+        .equals(other.getTableName())) return false;
+    if (!getOracleColumnsList()
+        .equals(other.getOracleColumnsList())) return false;
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
   }
@@ -335,127 +300,118 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.datastream.v1alpha1.OracleTable parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.datastream.v1alpha1.OracleTable parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.datastream.v1alpha1.OracleTable parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.datastream.v1alpha1.OracleTable parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.datastream.v1alpha1.OracleTable parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.datastream.v1alpha1.OracleTable parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.datastream.v1alpha1.OracleTable parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.cloud.datastream.v1alpha1.OracleTable parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.datastream.v1alpha1.OracleTable parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.datastream.v1alpha1.OracleTable parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.cloud.datastream.v1alpha1.OracleTable parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.datastream.v1alpha1.OracleTable parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.datastream.v1alpha1.OracleTable 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.datastream.v1alpha1.OracleTable parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.datastream.v1alpha1.OracleTable parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.datastream.v1alpha1.OracleTable prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Oracle table.
    * 
* * Protobuf type {@code google.cloud.datastream.v1alpha1.OracleTable} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1alpha1.OracleTable) com.google.cloud.datastream.v1alpha1.OracleTableOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_OracleTable_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_OracleTable_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_OracleTable_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_OracleTable_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.OracleTable.class, - com.google.cloud.datastream.v1alpha1.OracleTable.Builder.class); + com.google.cloud.datastream.v1alpha1.OracleTable.class, com.google.cloud.datastream.v1alpha1.OracleTable.Builder.class); } // Construct using com.google.cloud.datastream.v1alpha1.OracleTable.newBuilder() @@ -463,17 +419,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getOracleColumnsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -489,9 +445,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_OracleTable_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_OracleTable_descriptor; } @java.lang.Override @@ -510,8 +466,7 @@ public com.google.cloud.datastream.v1alpha1.OracleTable build() { @java.lang.Override public com.google.cloud.datastream.v1alpha1.OracleTable buildPartial() { - com.google.cloud.datastream.v1alpha1.OracleTable result = - new com.google.cloud.datastream.v1alpha1.OracleTable(this); + com.google.cloud.datastream.v1alpha1.OracleTable result = new com.google.cloud.datastream.v1alpha1.OracleTable(this); int from_bitField0_ = bitField0_; result.tableName_ = tableName_; if (oracleColumnsBuilder_ == null) { @@ -531,39 +486,38 @@ public com.google.cloud.datastream.v1alpha1.OracleTable buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1alpha1.OracleTable) { - return mergeFrom((com.google.cloud.datastream.v1alpha1.OracleTable) other); + return mergeFrom((com.google.cloud.datastream.v1alpha1.OracleTable)other); } else { super.mergeFrom(other); return this; @@ -571,8 +525,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datastream.v1alpha1.OracleTable other) { - if (other == com.google.cloud.datastream.v1alpha1.OracleTable.getDefaultInstance()) - return this; + if (other == com.google.cloud.datastream.v1alpha1.OracleTable.getDefaultInstance()) return this; if (!other.getTableName().isEmpty()) { tableName_ = other.tableName_; onChanged(); @@ -595,10 +548,9 @@ public Builder mergeFrom(com.google.cloud.datastream.v1alpha1.OracleTable other) oracleColumnsBuilder_ = null; oracleColumns_ = other.oracleColumns_; bitField0_ = (bitField0_ & ~0x00000001); - oracleColumnsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getOracleColumnsFieldBuilder() - : null; + oracleColumnsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getOracleColumnsFieldBuilder() : null; } else { oracleColumnsBuilder_.addAllMessages(other.oracleColumns_); } @@ -632,25 +584,22 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object tableName_ = ""; /** - * - * *
      * Table name.
      * 
* * string table_name = 1; - * * @return The tableName. */ public java.lang.String getTableName() { java.lang.Object ref = tableName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tableName_ = s; return s; @@ -659,21 +608,20 @@ public java.lang.String getTableName() { } } /** - * - * *
      * Table name.
      * 
* * string table_name = 1; - * * @return The bytes for tableName. */ - public com.google.protobuf.ByteString getTableNameBytes() { + public com.google.protobuf.ByteString + getTableNameBytes() { java.lang.Object ref = tableName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tableName_ = b; return b; } else { @@ -681,87 +629,72 @@ public com.google.protobuf.ByteString getTableNameBytes() { } } /** - * - * *
      * Table name.
      * 
* * string table_name = 1; - * * @param value The tableName to set. * @return This builder for chaining. */ - public Builder setTableName(java.lang.String value) { + public Builder setTableName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + tableName_ = value; onChanged(); return this; } /** - * - * *
      * Table name.
      * 
* * string table_name = 1; - * * @return This builder for chaining. */ public Builder clearTableName() { - + tableName_ = getDefaultInstance().getTableName(); onChanged(); return this; } /** - * - * *
      * Table name.
      * 
* * string table_name = 1; - * * @param value The bytes for tableName to set. * @return This builder for chaining. */ - public Builder setTableNameBytes(com.google.protobuf.ByteString value) { + public Builder setTableNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + tableName_ = value; onChanged(); return this; } private java.util.List oracleColumns_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureOracleColumnsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - oracleColumns_ = - new java.util.ArrayList( - oracleColumns_); + oracleColumns_ = new java.util.ArrayList(oracleColumns_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.OracleColumn, - com.google.cloud.datastream.v1alpha1.OracleColumn.Builder, - com.google.cloud.datastream.v1alpha1.OracleColumnOrBuilder> - oracleColumnsBuilder_; + com.google.cloud.datastream.v1alpha1.OracleColumn, com.google.cloud.datastream.v1alpha1.OracleColumn.Builder, com.google.cloud.datastream.v1alpha1.OracleColumnOrBuilder> oracleColumnsBuilder_; /** - * - * *
      * Oracle columns in the schema.
      * When unspecified as part of inclue/exclude lists, includes/excludes
@@ -770,8 +703,7 @@ private void ensureOracleColumnsIsMutable() {
      *
      * repeated .google.cloud.datastream.v1alpha1.OracleColumn oracle_columns = 2;
      */
-    public java.util.List
-        getOracleColumnsList() {
+    public java.util.List getOracleColumnsList() {
       if (oracleColumnsBuilder_ == null) {
         return java.util.Collections.unmodifiableList(oracleColumns_);
       } else {
@@ -779,8 +711,6 @@ private void ensureOracleColumnsIsMutable() {
       }
     }
     /**
-     *
-     *
      * 
      * Oracle columns in the schema.
      * When unspecified as part of inclue/exclude lists, includes/excludes
@@ -797,8 +727,6 @@ public int getOracleColumnsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Oracle columns in the schema.
      * When unspecified as part of inclue/exclude lists, includes/excludes
@@ -815,8 +743,6 @@ public com.google.cloud.datastream.v1alpha1.OracleColumn getOracleColumns(int in
       }
     }
     /**
-     *
-     *
      * 
      * Oracle columns in the schema.
      * When unspecified as part of inclue/exclude lists, includes/excludes
@@ -840,8 +766,6 @@ public Builder setOracleColumns(
       return this;
     }
     /**
-     *
-     *
      * 
      * Oracle columns in the schema.
      * When unspecified as part of inclue/exclude lists, includes/excludes
@@ -862,8 +786,6 @@ public Builder setOracleColumns(
       return this;
     }
     /**
-     *
-     *
      * 
      * Oracle columns in the schema.
      * When unspecified as part of inclue/exclude lists, includes/excludes
@@ -886,8 +808,6 @@ public Builder addOracleColumns(com.google.cloud.datastream.v1alpha1.OracleColum
       return this;
     }
     /**
-     *
-     *
      * 
      * Oracle columns in the schema.
      * When unspecified as part of inclue/exclude lists, includes/excludes
@@ -911,8 +831,6 @@ public Builder addOracleColumns(
       return this;
     }
     /**
-     *
-     *
      * 
      * Oracle columns in the schema.
      * When unspecified as part of inclue/exclude lists, includes/excludes
@@ -933,8 +851,6 @@ public Builder addOracleColumns(
       return this;
     }
     /**
-     *
-     *
      * 
      * Oracle columns in the schema.
      * When unspecified as part of inclue/exclude lists, includes/excludes
@@ -955,8 +871,6 @@ public Builder addOracleColumns(
       return this;
     }
     /**
-     *
-     *
      * 
      * Oracle columns in the schema.
      * When unspecified as part of inclue/exclude lists, includes/excludes
@@ -969,7 +883,8 @@ public Builder addAllOracleColumns(
         java.lang.Iterable values) {
       if (oracleColumnsBuilder_ == null) {
         ensureOracleColumnsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, oracleColumns_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, oracleColumns_);
         onChanged();
       } else {
         oracleColumnsBuilder_.addAllMessages(values);
@@ -977,8 +892,6 @@ public Builder addAllOracleColumns(
       return this;
     }
     /**
-     *
-     *
      * 
      * Oracle columns in the schema.
      * When unspecified as part of inclue/exclude lists, includes/excludes
@@ -998,8 +911,6 @@ public Builder clearOracleColumns() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Oracle columns in the schema.
      * When unspecified as part of inclue/exclude lists, includes/excludes
@@ -1019,8 +930,6 @@ public Builder removeOracleColumns(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Oracle columns in the schema.
      * When unspecified as part of inclue/exclude lists, includes/excludes
@@ -1034,8 +943,6 @@ public com.google.cloud.datastream.v1alpha1.OracleColumn.Builder getOracleColumn
       return getOracleColumnsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * Oracle columns in the schema.
      * When unspecified as part of inclue/exclude lists, includes/excludes
@@ -1047,14 +954,11 @@ public com.google.cloud.datastream.v1alpha1.OracleColumn.Builder getOracleColumn
     public com.google.cloud.datastream.v1alpha1.OracleColumnOrBuilder getOracleColumnsOrBuilder(
         int index) {
       if (oracleColumnsBuilder_ == null) {
-        return oracleColumns_.get(index);
-      } else {
+        return oracleColumns_.get(index);  } else {
         return oracleColumnsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * Oracle columns in the schema.
      * When unspecified as part of inclue/exclude lists, includes/excludes
@@ -1063,8 +967,8 @@ public com.google.cloud.datastream.v1alpha1.OracleColumnOrBuilder getOracleColum
      *
      * repeated .google.cloud.datastream.v1alpha1.OracleColumn oracle_columns = 2;
      */
-    public java.util.List
-        getOracleColumnsOrBuilderList() {
+    public java.util.List 
+         getOracleColumnsOrBuilderList() {
       if (oracleColumnsBuilder_ != null) {
         return oracleColumnsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1072,8 +976,6 @@ public com.google.cloud.datastream.v1alpha1.OracleColumnOrBuilder getOracleColum
       }
     }
     /**
-     *
-     *
      * 
      * Oracle columns in the schema.
      * When unspecified as part of inclue/exclude lists, includes/excludes
@@ -1083,12 +985,10 @@ public com.google.cloud.datastream.v1alpha1.OracleColumnOrBuilder getOracleColum
      * repeated .google.cloud.datastream.v1alpha1.OracleColumn oracle_columns = 2;
      */
     public com.google.cloud.datastream.v1alpha1.OracleColumn.Builder addOracleColumnsBuilder() {
-      return getOracleColumnsFieldBuilder()
-          .addBuilder(com.google.cloud.datastream.v1alpha1.OracleColumn.getDefaultInstance());
+      return getOracleColumnsFieldBuilder().addBuilder(
+          com.google.cloud.datastream.v1alpha1.OracleColumn.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Oracle columns in the schema.
      * When unspecified as part of inclue/exclude lists, includes/excludes
@@ -1099,13 +999,10 @@ public com.google.cloud.datastream.v1alpha1.OracleColumn.Builder addOracleColumn
      */
     public com.google.cloud.datastream.v1alpha1.OracleColumn.Builder addOracleColumnsBuilder(
         int index) {
-      return getOracleColumnsFieldBuilder()
-          .addBuilder(
-              index, com.google.cloud.datastream.v1alpha1.OracleColumn.getDefaultInstance());
+      return getOracleColumnsFieldBuilder().addBuilder(
+          index, com.google.cloud.datastream.v1alpha1.OracleColumn.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Oracle columns in the schema.
      * When unspecified as part of inclue/exclude lists, includes/excludes
@@ -1114,22 +1011,16 @@ public com.google.cloud.datastream.v1alpha1.OracleColumn.Builder addOracleColumn
      *
      * repeated .google.cloud.datastream.v1alpha1.OracleColumn oracle_columns = 2;
      */
-    public java.util.List
-        getOracleColumnsBuilderList() {
+    public java.util.List 
+         getOracleColumnsBuilderList() {
       return getOracleColumnsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.datastream.v1alpha1.OracleColumn,
-            com.google.cloud.datastream.v1alpha1.OracleColumn.Builder,
-            com.google.cloud.datastream.v1alpha1.OracleColumnOrBuilder>
+        com.google.cloud.datastream.v1alpha1.OracleColumn, com.google.cloud.datastream.v1alpha1.OracleColumn.Builder, com.google.cloud.datastream.v1alpha1.OracleColumnOrBuilder> 
         getOracleColumnsFieldBuilder() {
       if (oracleColumnsBuilder_ == null) {
-        oracleColumnsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.cloud.datastream.v1alpha1.OracleColumn,
-                com.google.cloud.datastream.v1alpha1.OracleColumn.Builder,
-                com.google.cloud.datastream.v1alpha1.OracleColumnOrBuilder>(
+        oracleColumnsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.cloud.datastream.v1alpha1.OracleColumn, com.google.cloud.datastream.v1alpha1.OracleColumn.Builder, com.google.cloud.datastream.v1alpha1.OracleColumnOrBuilder>(
                 oracleColumns_,
                 ((bitField0_ & 0x00000001) != 0),
                 getParentForChildren(),
@@ -1138,9 +1029,9 @@ public com.google.cloud.datastream.v1alpha1.OracleColumn.Builder addOracleColumn
       }
       return oracleColumnsBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1150,12 +1041,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1alpha1.OracleTable)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1alpha1.OracleTable)
   private static final com.google.cloud.datastream.v1alpha1.OracleTable DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.datastream.v1alpha1.OracleTable();
   }
@@ -1164,16 +1055,16 @@ public static com.google.cloud.datastream.v1alpha1.OracleTable getDefaultInstanc
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public OracleTable parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new OracleTable(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public OracleTable parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new OracleTable(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1188,4 +1079,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.datastream.v1alpha1.OracleTable getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/OracleTableOrBuilder.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/OracleTableOrBuilder.java
similarity index 72%
rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/OracleTableOrBuilder.java
rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/OracleTableOrBuilder.java
index effd7072..f47acc07 100644
--- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/OracleTableOrBuilder.java
+++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/OracleTableOrBuilder.java
@@ -1,56 +1,33 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/datastream/v1alpha1/datastream_resources.proto
 
 package com.google.cloud.datastream.v1alpha1;
 
-public interface OracleTableOrBuilder
-    extends
+public interface OracleTableOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1alpha1.OracleTable)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Table name.
    * 
* * string table_name = 1; - * * @return The tableName. */ java.lang.String getTableName(); /** - * - * *
    * Table name.
    * 
* * string table_name = 1; - * * @return The bytes for tableName. */ - com.google.protobuf.ByteString getTableNameBytes(); + com.google.protobuf.ByteString + getTableNameBytes(); /** - * - * *
    * Oracle columns in the schema.
    * When unspecified as part of inclue/exclude lists, includes/excludes
@@ -59,10 +36,9 @@ public interface OracleTableOrBuilder
    *
    * repeated .google.cloud.datastream.v1alpha1.OracleColumn oracle_columns = 2;
    */
-  java.util.List getOracleColumnsList();
+  java.util.List 
+      getOracleColumnsList();
   /**
-   *
-   *
    * 
    * Oracle columns in the schema.
    * When unspecified as part of inclue/exclude lists, includes/excludes
@@ -73,8 +49,6 @@ public interface OracleTableOrBuilder
    */
   com.google.cloud.datastream.v1alpha1.OracleColumn getOracleColumns(int index);
   /**
-   *
-   *
    * 
    * Oracle columns in the schema.
    * When unspecified as part of inclue/exclude lists, includes/excludes
@@ -85,8 +59,6 @@ public interface OracleTableOrBuilder
    */
   int getOracleColumnsCount();
   /**
-   *
-   *
    * 
    * Oracle columns in the schema.
    * When unspecified as part of inclue/exclude lists, includes/excludes
@@ -95,11 +67,9 @@ public interface OracleTableOrBuilder
    *
    * repeated .google.cloud.datastream.v1alpha1.OracleColumn oracle_columns = 2;
    */
-  java.util.List
+  java.util.List 
       getOracleColumnsOrBuilderList();
   /**
-   *
-   *
    * 
    * Oracle columns in the schema.
    * When unspecified as part of inclue/exclude lists, includes/excludes
@@ -108,5 +78,6 @@ public interface OracleTableOrBuilder
    *
    * repeated .google.cloud.datastream.v1alpha1.OracleColumn oracle_columns = 2;
    */
-  com.google.cloud.datastream.v1alpha1.OracleColumnOrBuilder getOracleColumnsOrBuilder(int index);
+  com.google.cloud.datastream.v1alpha1.OracleColumnOrBuilder getOracleColumnsOrBuilder(
+      int index);
 }
diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/PrivateConnection.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/PrivateConnection.java
similarity index 63%
rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/PrivateConnection.java
rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/PrivateConnection.java
index e957ac43..d0b59970 100644
--- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/PrivateConnection.java
+++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/PrivateConnection.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/datastream/v1alpha1/datastream_resources.proto
 
 package com.google.cloud.datastream.v1alpha1;
 
 /**
- *
- *
  * 
  * The PrivateConnection resource is used to establish private connectivity
  * between Datastream and a customer's network.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.datastream.v1alpha1.PrivateConnection}
  */
-public final class PrivateConnection extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class PrivateConnection extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1alpha1.PrivateConnection)
     PrivateConnectionOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use PrivateConnection.newBuilder() to construct.
   private PrivateConnection(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private PrivateConnection() {
     name_ = "";
     displayName_ = "";
@@ -46,15 +28,16 @@ private PrivateConnection() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new PrivateConnection();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private PrivateConnection(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -74,110 +57,96 @@ private PrivateConnection(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
+            name_ = s;
+            break;
+          }
+          case 18: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (createTime_ != null) {
+              subBuilder = createTime_.toBuilder();
             }
-          case 18:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (createTime_ != null) {
-                subBuilder = createTime_.toBuilder();
-              }
-              createTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(createTime_);
-                createTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+            createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(createTime_);
+              createTime_ = subBuilder.buildPartial();
             }
-          case 26:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (updateTime_ != null) {
-                subBuilder = updateTime_.toBuilder();
-              }
-              updateTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(updateTime_);
-                updateTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+
+            break;
+          }
+          case 26: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (updateTime_ != null) {
+              subBuilder = updateTime_.toBuilder();
             }
-          case 34:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                labels_ =
-                    com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry);
-                mutable_bitField0_ |= 0x00000001;
-              }
-              com.google.protobuf.MapEntry labels__ =
-                  input.readMessage(
-                      LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              labels_.getMutableMap().put(labels__.getKey(), labels__.getValue());
-              break;
+            updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(updateTime_);
+              updateTime_ = subBuilder.buildPartial();
             }
-          case 42:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
 
-              displayName_ = s;
-              break;
+            break;
+          }
+          case 34: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              labels_ = com.google.protobuf.MapField.newMapField(
+                  LabelsDefaultEntryHolder.defaultEntry);
+              mutable_bitField0_ |= 0x00000001;
             }
-          case 48:
-            {
-              int rawValue = input.readEnum();
+            com.google.protobuf.MapEntry
+            labels__ = input.readMessage(
+                LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+            labels_.getMutableMap().put(
+                labels__.getKey(), labels__.getValue());
+            break;
+          }
+          case 42: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            displayName_ = s;
+            break;
+          }
+          case 48: {
+            int rawValue = input.readEnum();
 
-              state_ = rawValue;
-              break;
+            state_ = rawValue;
+            break;
+          }
+          case 58: {
+            com.google.cloud.datastream.v1alpha1.Error.Builder subBuilder = null;
+            if (error_ != null) {
+              subBuilder = error_.toBuilder();
             }
-          case 58:
-            {
-              com.google.cloud.datastream.v1alpha1.Error.Builder subBuilder = null;
-              if (error_ != null) {
-                subBuilder = error_.toBuilder();
-              }
-              error_ =
-                  input.readMessage(
-                      com.google.cloud.datastream.v1alpha1.Error.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(error_);
-                error_ = subBuilder.buildPartial();
-              }
-
-              break;
+            error_ = input.readMessage(com.google.cloud.datastream.v1alpha1.Error.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(error_);
+              error_ = subBuilder.buildPartial();
             }
-          case 802:
-            {
-              com.google.cloud.datastream.v1alpha1.VpcPeeringConfig.Builder subBuilder = null;
-              if (vpcPeeringConfig_ != null) {
-                subBuilder = vpcPeeringConfig_.toBuilder();
-              }
-              vpcPeeringConfig_ =
-                  input.readMessage(
-                      com.google.cloud.datastream.v1alpha1.VpcPeeringConfig.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(vpcPeeringConfig_);
-                vpcPeeringConfig_ = subBuilder.buildPartial();
-              }
-
-              break;
+
+            break;
+          }
+          case 802: {
+            com.google.cloud.datastream.v1alpha1.VpcPeeringConfig.Builder subBuilder = null;
+            if (vpcPeeringConfig_ != null) {
+              subBuilder = vpcPeeringConfig_.toBuilder();
+            }
+            vpcPeeringConfig_ = input.readMessage(com.google.cloud.datastream.v1alpha1.VpcPeeringConfig.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(vpcPeeringConfig_);
+              vpcPeeringConfig_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -185,54 +154,52 @@ private PrivateConnection(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto
-        .internal_static_google_cloud_datastream_v1alpha1_PrivateConnection_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_PrivateConnection_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 4:
         return internalGetLabels();
       default:
-        throw new RuntimeException("Invalid map field number: " + number);
+        throw new RuntimeException(
+            "Invalid map field number: " + number);
     }
   }
-
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto
-        .internal_static_google_cloud_datastream_v1alpha1_PrivateConnection_fieldAccessorTable
+    return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_PrivateConnection_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datastream.v1alpha1.PrivateConnection.class,
-            com.google.cloud.datastream.v1alpha1.PrivateConnection.Builder.class);
+            com.google.cloud.datastream.v1alpha1.PrivateConnection.class, com.google.cloud.datastream.v1alpha1.PrivateConnection.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * Private Connection state.
    * 
* * Protobuf enum {@code google.cloud.datastream.v1alpha1.PrivateConnection.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { - /** STATE_UNSPECIFIED = 0; */ + public enum State + implements com.google.protobuf.ProtocolMessageEnum { + /** + * STATE_UNSPECIFIED = 0; + */ STATE_UNSPECIFIED(0), /** - * - * *
      * The private connection is in creation state - creating resources.
      * 
@@ -241,8 +208,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ CREATING(1), /** - * - * *
      * The private connection has been created with all of it's resources.
      * 
@@ -251,8 +216,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ CREATED(2), /** - * - * *
      * The private connection creation has failed.
      * 
@@ -263,11 +226,11 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { UNRECOGNIZED(-1), ; - /** STATE_UNSPECIFIED = 0; */ + /** + * STATE_UNSPECIFIED = 0; + */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The private connection is in creation state - creating resources.
      * 
@@ -276,8 +239,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CREATING_VALUE = 1; /** - * - * *
      * The private connection has been created with all of it's resources.
      * 
@@ -286,8 +247,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CREATED_VALUE = 2; /** - * - * *
      * The private connection creation has failed.
      * 
@@ -296,6 +255,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FAILED_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -320,53 +280,50 @@ public static State valueOf(int value) { */ public static State forNumber(int value) { switch (value) { - case 0: - return STATE_UNSPECIFIED; - case 1: - return CREATING; - case 2: - return CREATED; - case 3: - return FAILED; - default: - return null; + case 0: return STATE_UNSPECIFIED; + case 1: return CREATING; + case 2: return CREATED; + case 3: return FAILED; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + State> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public State findValueByNumber(int number) { + return State.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public State findValueByNumber(int number) { - return State.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.PrivateConnection.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.PrivateConnection.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; @@ -386,14 +343,11 @@ private State(int value) { public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Output only. The resource's name.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -402,29 +356,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Output only. The resource's name.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -435,15 +389,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Output only. The create time of the resource.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -451,15 +401,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. The create time of the resource.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -467,14 +413,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. The create time of the resource.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -484,15 +427,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * Output only. The update time of the resource.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ @java.lang.Override @@ -500,15 +439,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * Output only. The update time of the resource.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ @java.lang.Override @@ -516,14 +451,11 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * Output only. The update time of the resource.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -531,23 +463,24 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } public static final int LABELS_FIELD_NUMBER = 4; - private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_PrivateConnection_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.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_PrivateConnection_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } @@ -556,30 +489,28 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
    * Labels.
    * 
* * map<string, string> labels = 4; */ + @java.lang.Override - public boolean containsLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } - /** Use {@link #getLabelsMap()} instead. */ + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** - * - * *
    * Labels.
    * 
@@ -587,12 +518,11 @@ public java.util.Map getLabels() { * map<string, string> labels = 4; */ @java.lang.Override + public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
    * Labels.
    * 
@@ -600,16 +530,16 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 4; */ @java.lang.Override - public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + + public java.lang.String getLabelsOrDefault( + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * Labels.
    * 
@@ -617,11 +547,12 @@ public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.Strin * map<string, string> labels = 4; */ @java.lang.Override - public java.lang.String getLabelsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + + public java.lang.String getLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -631,14 +562,11 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { public static final int DISPLAY_NAME_FIELD_NUMBER = 5; private volatile java.lang.Object displayName_; /** - * - * *
    * Required. Display name.
    * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The displayName. */ @java.lang.Override @@ -647,29 +575,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; } } /** - * - * *
    * Required. Display name.
    * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @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,58 +608,38 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int STATE_FIELD_NUMBER = 6; private int state_; /** - * - * *
    * Output only. The state of the Private Connection.
    * 
* - * - * .google.cloud.datastream.v1alpha1.PrivateConnection.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datastream.v1alpha1.PrivateConnection.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
    * Output only. The state of the Private Connection.
    * 
* - * - * .google.cloud.datastream.v1alpha1.PrivateConnection.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datastream.v1alpha1.PrivateConnection.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ - @java.lang.Override - public com.google.cloud.datastream.v1alpha1.PrivateConnection.State getState() { + @java.lang.Override public com.google.cloud.datastream.v1alpha1.PrivateConnection.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.datastream.v1alpha1.PrivateConnection.State result = - com.google.cloud.datastream.v1alpha1.PrivateConnection.State.valueOf(state_); - return result == null - ? com.google.cloud.datastream.v1alpha1.PrivateConnection.State.UNRECOGNIZED - : result; + com.google.cloud.datastream.v1alpha1.PrivateConnection.State result = com.google.cloud.datastream.v1alpha1.PrivateConnection.State.valueOf(state_); + return result == null ? com.google.cloud.datastream.v1alpha1.PrivateConnection.State.UNRECOGNIZED : result; } public static final int ERROR_FIELD_NUMBER = 7; private com.google.cloud.datastream.v1alpha1.Error error_; /** - * - * *
    * Output only. In case of error, the details of the error in a user-friendly format.
    * 
* - * - * .google.cloud.datastream.v1alpha1.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datastream.v1alpha1.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the error field is set. */ @java.lang.Override @@ -739,34 +647,23 @@ public boolean hasError() { return error_ != null; } /** - * - * *
    * Output only. In case of error, the details of the error in a user-friendly format.
    * 
* - * - * .google.cloud.datastream.v1alpha1.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datastream.v1alpha1.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The error. */ @java.lang.Override public com.google.cloud.datastream.v1alpha1.Error getError() { - return error_ == null - ? com.google.cloud.datastream.v1alpha1.Error.getDefaultInstance() - : error_; + return error_ == null ? com.google.cloud.datastream.v1alpha1.Error.getDefaultInstance() : error_; } /** - * - * *
    * Output only. In case of error, the details of the error in a user-friendly format.
    * 
* - * - * .google.cloud.datastream.v1alpha1.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datastream.v1alpha1.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.datastream.v1alpha1.ErrorOrBuilder getErrorOrBuilder() { @@ -776,14 +673,11 @@ public com.google.cloud.datastream.v1alpha1.ErrorOrBuilder getErrorOrBuilder() { public static final int VPC_PEERING_CONFIG_FIELD_NUMBER = 100; private com.google.cloud.datastream.v1alpha1.VpcPeeringConfig vpcPeeringConfig_; /** - * - * *
    * VPC Peering Config
    * 
* * .google.cloud.datastream.v1alpha1.VpcPeeringConfig vpc_peering_config = 100; - * * @return Whether the vpcPeeringConfig field is set. */ @java.lang.Override @@ -791,25 +685,18 @@ public boolean hasVpcPeeringConfig() { return vpcPeeringConfig_ != null; } /** - * - * *
    * VPC Peering Config
    * 
* * .google.cloud.datastream.v1alpha1.VpcPeeringConfig vpc_peering_config = 100; - * * @return The vpcPeeringConfig. */ @java.lang.Override public com.google.cloud.datastream.v1alpha1.VpcPeeringConfig getVpcPeeringConfig() { - return vpcPeeringConfig_ == null - ? com.google.cloud.datastream.v1alpha1.VpcPeeringConfig.getDefaultInstance() - : vpcPeeringConfig_; + return vpcPeeringConfig_ == null ? com.google.cloud.datastream.v1alpha1.VpcPeeringConfig.getDefaultInstance() : vpcPeeringConfig_; } /** - * - * *
    * VPC Peering Config
    * 
@@ -817,13 +704,11 @@ public com.google.cloud.datastream.v1alpha1.VpcPeeringConfig getVpcPeeringConfig * .google.cloud.datastream.v1alpha1.VpcPeeringConfig vpc_peering_config = 100; */ @java.lang.Override - public com.google.cloud.datastream.v1alpha1.VpcPeeringConfigOrBuilder - getVpcPeeringConfigOrBuilder() { + public com.google.cloud.datastream.v1alpha1.VpcPeeringConfigOrBuilder getVpcPeeringConfigOrBuilder() { return getVpcPeeringConfig(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -835,7 +720,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_); } @@ -845,14 +731,16 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (updateTime_ != null) { output.writeMessage(3, getUpdateTime()); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 4); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetLabels(), + LabelsDefaultEntryHolder.defaultEntry, + 4); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, displayName_); } - if (state_ - != com.google.cloud.datastream.v1alpha1.PrivateConnection.State.STATE_UNSPECIFIED - .getNumber()) { + if (state_ != com.google.cloud.datastream.v1alpha1.PrivateConnection.State.STATE_UNSPECIFIED.getNumber()) { output.writeEnum(6, state_); } if (error_ != null) { @@ -874,34 +762,37 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateTime()); - } - for (java.util.Map.Entry entry : - internalGetLabels().getMap().entrySet()) { - com.google.protobuf.MapEntry labels__ = - LabelsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, labels__); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getUpdateTime()); + } + for (java.util.Map.Entry entry + : internalGetLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry + labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, labels__); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, displayName_); } - if (state_ - != com.google.cloud.datastream.v1alpha1.PrivateConnection.State.STATE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, state_); + if (state_ != com.google.cloud.datastream.v1alpha1.PrivateConnection.State.STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(6, state_); } if (error_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getError()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getError()); } if (vpcPeeringConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(100, getVpcPeeringConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(100, getVpcPeeringConfig()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -911,33 +802,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.datastream.v1alpha1.PrivateConnection)) { return super.equals(obj); } - com.google.cloud.datastream.v1alpha1.PrivateConnection other = - (com.google.cloud.datastream.v1alpha1.PrivateConnection) obj; + com.google.cloud.datastream.v1alpha1.PrivateConnection other = (com.google.cloud.datastream.v1alpha1.PrivateConnection) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime().equals(other.getUpdateTime())) return false; + if (!getUpdateTime() + .equals(other.getUpdateTime())) return false; } - if (!internalGetLabels().equals(other.internalGetLabels())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!internalGetLabels().equals( + other.internalGetLabels())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; if (state_ != other.state_) 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 (hasVpcPeeringConfig() != other.hasVpcPeeringConfig()) return false; if (hasVpcPeeringConfig()) { - if (!getVpcPeeringConfig().equals(other.getVpcPeeringConfig())) return false; + if (!getVpcPeeringConfig() + .equals(other.getVpcPeeringConfig())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -982,104 +879,96 @@ public int hashCode() { } public static com.google.cloud.datastream.v1alpha1.PrivateConnection parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.PrivateConnection parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.PrivateConnection parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.PrivateConnection parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.PrivateConnection parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.PrivateConnection parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.PrivateConnection parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.PrivateConnection parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.PrivateConnection parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.PrivateConnection parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.PrivateConnection parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.PrivateConnection 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.datastream.v1alpha1.PrivateConnection parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.PrivateConnection parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datastream.v1alpha1.PrivateConnection prototype) { + public static Builder newBuilder(com.google.cloud.datastream.v1alpha1.PrivateConnection prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The PrivateConnection resource is used to establish private connectivity
    * between Datastream and a customer's network.
@@ -1087,43 +976,43 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datastream.v1alpha1.PrivateConnection}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1alpha1.PrivateConnection)
       com.google.cloud.datastream.v1alpha1.PrivateConnectionOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto
-          .internal_static_google_cloud_datastream_v1alpha1_PrivateConnection_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_PrivateConnection_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMapField(
+        int number) {
       switch (number) {
         case 4:
           return internalGetLabels();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(
+        int number) {
       switch (number) {
         case 4:
           return internalGetMutableLabels();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto
-          .internal_static_google_cloud_datastream_v1alpha1_PrivateConnection_fieldAccessorTable
+      return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_PrivateConnection_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datastream.v1alpha1.PrivateConnection.class,
-              com.google.cloud.datastream.v1alpha1.PrivateConnection.Builder.class);
+              com.google.cloud.datastream.v1alpha1.PrivateConnection.class, com.google.cloud.datastream.v1alpha1.PrivateConnection.Builder.class);
     }
 
     // Construct using com.google.cloud.datastream.v1alpha1.PrivateConnection.newBuilder()
@@ -1131,15 +1020,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1178,9 +1068,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto
-          .internal_static_google_cloud_datastream_v1alpha1_PrivateConnection_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_PrivateConnection_descriptor;
     }
 
     @java.lang.Override
@@ -1199,8 +1089,7 @@ public com.google.cloud.datastream.v1alpha1.PrivateConnection build() {
 
     @java.lang.Override
     public com.google.cloud.datastream.v1alpha1.PrivateConnection buildPartial() {
-      com.google.cloud.datastream.v1alpha1.PrivateConnection result =
-          new com.google.cloud.datastream.v1alpha1.PrivateConnection(this);
+      com.google.cloud.datastream.v1alpha1.PrivateConnection result = new com.google.cloud.datastream.v1alpha1.PrivateConnection(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       if (createTimeBuilder_ == null) {
@@ -1235,39 +1124,38 @@ public com.google.cloud.datastream.v1alpha1.PrivateConnection buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datastream.v1alpha1.PrivateConnection) {
-        return mergeFrom((com.google.cloud.datastream.v1alpha1.PrivateConnection) other);
+        return mergeFrom((com.google.cloud.datastream.v1alpha1.PrivateConnection)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1275,8 +1163,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datastream.v1alpha1.PrivateConnection other) {
-      if (other == com.google.cloud.datastream.v1alpha1.PrivateConnection.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datastream.v1alpha1.PrivateConnection.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -1287,7 +1174,8 @@ public Builder mergeFrom(com.google.cloud.datastream.v1alpha1.PrivateConnection
       if (other.hasUpdateTime()) {
         mergeUpdateTime(other.getUpdateTime());
       }
-      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(
+          other.internalGetLabels());
       if (!other.getDisplayName().isEmpty()) {
         displayName_ = other.displayName_;
         onChanged();
@@ -1320,8 +1208,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.datastream.v1alpha1.PrivateConnection) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.datastream.v1alpha1.PrivateConnection) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -1330,25 +1217,22 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Output only. The resource's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1357,21 +1241,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. The resource's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1379,61 +1262,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. The resource's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The resource's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Output only. The resource's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1441,58 +1317,39 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
      * Output only. The create time of the resource.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * Output only. The create time of the resource.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The create time of the resource.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -1508,17 +1365,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The create time of the resource.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -1529,21 +1383,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The create time of the resource.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1555,15 +1405,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The create time of the resource.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -1577,64 +1423,48 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. The create time of the resource.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The create time of the resource.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * Output only. The create time of the resource.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; @@ -1642,58 +1472,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 update time of the resource.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
      * Output only. The update time of the resource.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The update time of the resource.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -1709,17 +1520,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The update time of the resource.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -1730,21 +1538,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The update time of the resource.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -1756,15 +1560,11 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The update time of the resource.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearUpdateTime() { if (updateTimeBuilder_ == null) { @@ -1778,84 +1578,69 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * Output only. The update time of the resource.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The update time of the resource.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } } /** - * - * *
      * Output only. The update time of the resource.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), getParentForChildren(), isClean()); + updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), + getParentForChildren(), + isClean()); updateTime_ = null; } return updateTimeBuilder_; } - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - private com.google.protobuf.MapField - internalGetMutableLabels() { - onChanged(); - ; + internalGetMutableLabels() { + onChanged();; if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -1867,30 +1652,28 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
      * Labels.
      * 
* * map<string, string> labels = 4; */ + @java.lang.Override - public boolean containsLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } - /** Use {@link #getLabelsMap()} instead. */ + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** - * - * *
      * Labels.
      * 
@@ -1898,12 +1681,11 @@ public java.util.Map getLabels() { * map<string, string> labels = 4; */ @java.lang.Override + public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
      * Labels.
      * 
@@ -1911,17 +1693,16 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 4; */ @java.lang.Override + public java.lang.String getLabelsOrDefault( - java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * Labels.
      * 
@@ -1929,11 +1710,12 @@ public java.lang.String getLabelsOrDefault( * map<string, string> labels = 4; */ @java.lang.Override - public java.lang.String getLabelsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + + public java.lang.String getLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -1941,80 +1723,81 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { } public Builder clearLabels() { - internalGetMutableLabels().getMutableMap().clear(); + internalGetMutableLabels().getMutableMap() + .clear(); return this; } /** - * - * *
      * Labels.
      * 
* * map<string, string> labels = 4; */ - public Builder removeLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableLabels().getMutableMap().remove(key); + + public Builder removeLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableLabels().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map getMutableLabels() { + public java.util.Map + getMutableLabels() { return internalGetMutableLabels().getMutableMap(); } /** - * - * *
      * Labels.
      * 
* * map<string, string> labels = 4; */ - public Builder putLabels(java.lang.String key, java.lang.String value) { - if (key == null) { - throw new NullPointerException("map key"); - } + public Builder putLabels( + java.lang.String key, + java.lang.String value) { + if (key == null) { throw new NullPointerException("map key"); } if (value == null) { - throw new NullPointerException("map value"); - } + throw new NullPointerException("map value"); +} - internalGetMutableLabels().getMutableMap().put(key, value); + internalGetMutableLabels().getMutableMap() + .put(key, value); return this; } /** - * - * *
      * Labels.
      * 
* * map<string, string> labels = 4; */ - public Builder putAllLabels(java.util.Map values) { - internalGetMutableLabels().getMutableMap().putAll(values); + + public Builder putAllLabels( + java.util.Map values) { + internalGetMutableLabels().getMutableMap() + .putAll(values); return this; } private java.lang.Object displayName_ = ""; /** - * - * *
      * Required. Display name.
      * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @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; @@ -2023,21 +1806,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * Required. Display name.
      * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -2045,61 +1827,54 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * Required. Display name.
      * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** - * - * *
      * Required. Display name.
      * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** - * - * *
      * Required. Display name.
      * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -2107,75 +1882,51 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private int state_ = 0; /** - * - * *
      * Output only. The state of the Private Connection.
      * 
* - * - * .google.cloud.datastream.v1alpha1.PrivateConnection.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datastream.v1alpha1.PrivateConnection.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * Output only. The state of the Private Connection.
      * 
* - * - * .google.cloud.datastream.v1alpha1.PrivateConnection.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datastream.v1alpha1.PrivateConnection.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The state of the Private Connection.
      * 
* - * - * .google.cloud.datastream.v1alpha1.PrivateConnection.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datastream.v1alpha1.PrivateConnection.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ @java.lang.Override public com.google.cloud.datastream.v1alpha1.PrivateConnection.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.datastream.v1alpha1.PrivateConnection.State result = - com.google.cloud.datastream.v1alpha1.PrivateConnection.State.valueOf(state_); - return result == null - ? com.google.cloud.datastream.v1alpha1.PrivateConnection.State.UNRECOGNIZED - : result; + com.google.cloud.datastream.v1alpha1.PrivateConnection.State result = com.google.cloud.datastream.v1alpha1.PrivateConnection.State.valueOf(state_); + return result == null ? com.google.cloud.datastream.v1alpha1.PrivateConnection.State.UNRECOGNIZED : result; } /** - * - * *
      * Output only. The state of the Private Connection.
      * 
* - * - * .google.cloud.datastream.v1alpha1.PrivateConnection.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datastream.v1alpha1.PrivateConnection.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The state to set. * @return This builder for chaining. */ @@ -2183,26 +1934,21 @@ public Builder setState(com.google.cloud.datastream.v1alpha1.PrivateConnection.S if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Output only. The state of the Private Connection.
      * 
* - * - * .google.cloud.datastream.v1alpha1.PrivateConnection.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datastream.v1alpha1.PrivateConnection.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -2210,58 +1956,39 @@ public Builder clearState() { private com.google.cloud.datastream.v1alpha1.Error error_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.Error, - com.google.cloud.datastream.v1alpha1.Error.Builder, - com.google.cloud.datastream.v1alpha1.ErrorOrBuilder> - errorBuilder_; + com.google.cloud.datastream.v1alpha1.Error, com.google.cloud.datastream.v1alpha1.Error.Builder, com.google.cloud.datastream.v1alpha1.ErrorOrBuilder> errorBuilder_; /** - * - * *
      * Output only. In case of error, the details of the error in a user-friendly format.
      * 
* - * - * .google.cloud.datastream.v1alpha1.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datastream.v1alpha1.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the error field is set. */ public boolean hasError() { return errorBuilder_ != null || error_ != null; } /** - * - * *
      * Output only. In case of error, the details of the error in a user-friendly format.
      * 
* - * - * .google.cloud.datastream.v1alpha1.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datastream.v1alpha1.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The error. */ public com.google.cloud.datastream.v1alpha1.Error getError() { if (errorBuilder_ == null) { - return error_ == null - ? com.google.cloud.datastream.v1alpha1.Error.getDefaultInstance() - : error_; + return error_ == null ? com.google.cloud.datastream.v1alpha1.Error.getDefaultInstance() : error_; } else { return errorBuilder_.getMessage(); } } /** - * - * *
      * Output only. In case of error, the details of the error in a user-friendly format.
      * 
* - * - * .google.cloud.datastream.v1alpha1.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datastream.v1alpha1.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setError(com.google.cloud.datastream.v1alpha1.Error value) { if (errorBuilder_ == null) { @@ -2277,17 +2004,14 @@ public Builder setError(com.google.cloud.datastream.v1alpha1.Error value) { return this; } /** - * - * *
      * Output only. In case of error, the details of the error in a user-friendly format.
      * 
* - * - * .google.cloud.datastream.v1alpha1.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datastream.v1alpha1.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setError(com.google.cloud.datastream.v1alpha1.Error.Builder builderForValue) { + public Builder setError( + com.google.cloud.datastream.v1alpha1.Error.Builder builderForValue) { if (errorBuilder_ == null) { error_ = builderForValue.build(); onChanged(); @@ -2298,23 +2022,17 @@ public Builder setError(com.google.cloud.datastream.v1alpha1.Error.Builder build return this; } /** - * - * *
      * Output only. In case of error, the details of the error in a user-friendly format.
      * 
* - * - * .google.cloud.datastream.v1alpha1.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datastream.v1alpha1.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeError(com.google.cloud.datastream.v1alpha1.Error value) { if (errorBuilder_ == null) { if (error_ != null) { error_ = - com.google.cloud.datastream.v1alpha1.Error.newBuilder(error_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.datastream.v1alpha1.Error.newBuilder(error_).mergeFrom(value).buildPartial(); } else { error_ = value; } @@ -2326,15 +2044,11 @@ public Builder mergeError(com.google.cloud.datastream.v1alpha1.Error value) { return this; } /** - * - * *
      * Output only. In case of error, the details of the error in a user-friendly format.
      * 
* - * - * .google.cloud.datastream.v1alpha1.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datastream.v1alpha1.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearError() { if (errorBuilder_ == null) { @@ -2348,64 +2062,48 @@ public Builder clearError() { return this; } /** - * - * *
      * Output only. In case of error, the details of the error in a user-friendly format.
      * 
* - * - * .google.cloud.datastream.v1alpha1.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datastream.v1alpha1.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.datastream.v1alpha1.Error.Builder getErrorBuilder() { - + onChanged(); return getErrorFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. In case of error, the details of the error in a user-friendly format.
      * 
* - * - * .google.cloud.datastream.v1alpha1.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datastream.v1alpha1.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.datastream.v1alpha1.ErrorOrBuilder getErrorOrBuilder() { if (errorBuilder_ != null) { return errorBuilder_.getMessageOrBuilder(); } else { - return error_ == null - ? com.google.cloud.datastream.v1alpha1.Error.getDefaultInstance() - : error_; + return error_ == null ? + com.google.cloud.datastream.v1alpha1.Error.getDefaultInstance() : error_; } } /** - * - * *
      * Output only. In case of error, the details of the error in a user-friendly format.
      * 
* - * - * .google.cloud.datastream.v1alpha1.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datastream.v1alpha1.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.Error, - com.google.cloud.datastream.v1alpha1.Error.Builder, - com.google.cloud.datastream.v1alpha1.ErrorOrBuilder> + com.google.cloud.datastream.v1alpha1.Error, com.google.cloud.datastream.v1alpha1.Error.Builder, com.google.cloud.datastream.v1alpha1.ErrorOrBuilder> getErrorFieldBuilder() { if (errorBuilder_ == null) { - errorBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.Error, - com.google.cloud.datastream.v1alpha1.Error.Builder, - com.google.cloud.datastream.v1alpha1.ErrorOrBuilder>( - getError(), getParentForChildren(), isClean()); + errorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1alpha1.Error, com.google.cloud.datastream.v1alpha1.Error.Builder, com.google.cloud.datastream.v1alpha1.ErrorOrBuilder>( + getError(), + getParentForChildren(), + isClean()); error_ = null; } return errorBuilder_; @@ -2413,55 +2111,41 @@ public com.google.cloud.datastream.v1alpha1.ErrorOrBuilder getErrorOrBuilder() { private com.google.cloud.datastream.v1alpha1.VpcPeeringConfig vpcPeeringConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.VpcPeeringConfig, - com.google.cloud.datastream.v1alpha1.VpcPeeringConfig.Builder, - com.google.cloud.datastream.v1alpha1.VpcPeeringConfigOrBuilder> - vpcPeeringConfigBuilder_; + com.google.cloud.datastream.v1alpha1.VpcPeeringConfig, com.google.cloud.datastream.v1alpha1.VpcPeeringConfig.Builder, com.google.cloud.datastream.v1alpha1.VpcPeeringConfigOrBuilder> vpcPeeringConfigBuilder_; /** - * - * *
      * VPC Peering Config
      * 
* * .google.cloud.datastream.v1alpha1.VpcPeeringConfig vpc_peering_config = 100; - * * @return Whether the vpcPeeringConfig field is set. */ public boolean hasVpcPeeringConfig() { return vpcPeeringConfigBuilder_ != null || vpcPeeringConfig_ != null; } /** - * - * *
      * VPC Peering Config
      * 
* * .google.cloud.datastream.v1alpha1.VpcPeeringConfig vpc_peering_config = 100; - * * @return The vpcPeeringConfig. */ public com.google.cloud.datastream.v1alpha1.VpcPeeringConfig getVpcPeeringConfig() { if (vpcPeeringConfigBuilder_ == null) { - return vpcPeeringConfig_ == null - ? com.google.cloud.datastream.v1alpha1.VpcPeeringConfig.getDefaultInstance() - : vpcPeeringConfig_; + return vpcPeeringConfig_ == null ? com.google.cloud.datastream.v1alpha1.VpcPeeringConfig.getDefaultInstance() : vpcPeeringConfig_; } else { return vpcPeeringConfigBuilder_.getMessage(); } } /** - * - * *
      * VPC Peering Config
      * 
* * .google.cloud.datastream.v1alpha1.VpcPeeringConfig vpc_peering_config = 100; */ - public Builder setVpcPeeringConfig( - com.google.cloud.datastream.v1alpha1.VpcPeeringConfig value) { + public Builder setVpcPeeringConfig(com.google.cloud.datastream.v1alpha1.VpcPeeringConfig value) { if (vpcPeeringConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2475,8 +2159,6 @@ public Builder setVpcPeeringConfig( return this; } /** - * - * *
      * VPC Peering Config
      * 
@@ -2495,22 +2177,17 @@ public Builder setVpcPeeringConfig( return this; } /** - * - * *
      * VPC Peering Config
      * 
* * .google.cloud.datastream.v1alpha1.VpcPeeringConfig vpc_peering_config = 100; */ - public Builder mergeVpcPeeringConfig( - com.google.cloud.datastream.v1alpha1.VpcPeeringConfig value) { + public Builder mergeVpcPeeringConfig(com.google.cloud.datastream.v1alpha1.VpcPeeringConfig value) { if (vpcPeeringConfigBuilder_ == null) { if (vpcPeeringConfig_ != null) { vpcPeeringConfig_ = - com.google.cloud.datastream.v1alpha1.VpcPeeringConfig.newBuilder(vpcPeeringConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.datastream.v1alpha1.VpcPeeringConfig.newBuilder(vpcPeeringConfig_).mergeFrom(value).buildPartial(); } else { vpcPeeringConfig_ = value; } @@ -2522,8 +2199,6 @@ public Builder mergeVpcPeeringConfig( return this; } /** - * - * *
      * VPC Peering Config
      * 
@@ -2542,42 +2217,33 @@ public Builder clearVpcPeeringConfig() { return this; } /** - * - * *
      * VPC Peering Config
      * 
* * .google.cloud.datastream.v1alpha1.VpcPeeringConfig vpc_peering_config = 100; */ - public com.google.cloud.datastream.v1alpha1.VpcPeeringConfig.Builder - getVpcPeeringConfigBuilder() { - + public com.google.cloud.datastream.v1alpha1.VpcPeeringConfig.Builder getVpcPeeringConfigBuilder() { + onChanged(); return getVpcPeeringConfigFieldBuilder().getBuilder(); } /** - * - * *
      * VPC Peering Config
      * 
* * .google.cloud.datastream.v1alpha1.VpcPeeringConfig vpc_peering_config = 100; */ - public com.google.cloud.datastream.v1alpha1.VpcPeeringConfigOrBuilder - getVpcPeeringConfigOrBuilder() { + public com.google.cloud.datastream.v1alpha1.VpcPeeringConfigOrBuilder getVpcPeeringConfigOrBuilder() { if (vpcPeeringConfigBuilder_ != null) { return vpcPeeringConfigBuilder_.getMessageOrBuilder(); } else { - return vpcPeeringConfig_ == null - ? com.google.cloud.datastream.v1alpha1.VpcPeeringConfig.getDefaultInstance() - : vpcPeeringConfig_; + return vpcPeeringConfig_ == null ? + com.google.cloud.datastream.v1alpha1.VpcPeeringConfig.getDefaultInstance() : vpcPeeringConfig_; } } /** - * - * *
      * VPC Peering Config
      * 
@@ -2585,24 +2251,21 @@ public Builder clearVpcPeeringConfig() { * .google.cloud.datastream.v1alpha1.VpcPeeringConfig vpc_peering_config = 100; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.VpcPeeringConfig, - com.google.cloud.datastream.v1alpha1.VpcPeeringConfig.Builder, - com.google.cloud.datastream.v1alpha1.VpcPeeringConfigOrBuilder> + com.google.cloud.datastream.v1alpha1.VpcPeeringConfig, com.google.cloud.datastream.v1alpha1.VpcPeeringConfig.Builder, com.google.cloud.datastream.v1alpha1.VpcPeeringConfigOrBuilder> getVpcPeeringConfigFieldBuilder() { if (vpcPeeringConfigBuilder_ == null) { - vpcPeeringConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.VpcPeeringConfig, - com.google.cloud.datastream.v1alpha1.VpcPeeringConfig.Builder, - com.google.cloud.datastream.v1alpha1.VpcPeeringConfigOrBuilder>( - getVpcPeeringConfig(), getParentForChildren(), isClean()); + vpcPeeringConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1alpha1.VpcPeeringConfig, com.google.cloud.datastream.v1alpha1.VpcPeeringConfig.Builder, com.google.cloud.datastream.v1alpha1.VpcPeeringConfigOrBuilder>( + getVpcPeeringConfig(), + getParentForChildren(), + isClean()); vpcPeeringConfig_ = null; } return vpcPeeringConfigBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2612,12 +2275,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1alpha1.PrivateConnection) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1alpha1.PrivateConnection) private static final com.google.cloud.datastream.v1alpha1.PrivateConnection DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1alpha1.PrivateConnection(); } @@ -2626,16 +2289,16 @@ public static com.google.cloud.datastream.v1alpha1.PrivateConnection getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PrivateConnection parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PrivateConnection(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PrivateConnection parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PrivateConnection(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2650,4 +2313,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datastream.v1alpha1.PrivateConnection getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/PrivateConnectionName.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/PrivateConnectionName.java similarity index 100% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/PrivateConnectionName.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/PrivateConnectionName.java diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/PrivateConnectionOrBuilder.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/PrivateConnectionOrBuilder.java similarity index 67% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/PrivateConnectionOrBuilder.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/PrivateConnectionOrBuilder.java index b0b0d4da..26f21dc9 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/PrivateConnectionOrBuilder.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/PrivateConnectionOrBuilder.java @@ -1,132 +1,87 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1alpha1/datastream_resources.proto package com.google.cloud.datastream.v1alpha1; -public interface PrivateConnectionOrBuilder - extends +public interface PrivateConnectionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1alpha1.PrivateConnection) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The resource's name.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. The resource's name.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Output only. The create time of the resource.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Output only. The create time of the resource.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Output only. The create time of the resource.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * Output only. The update time of the resource.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * Output only. The update time of the resource.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * Output only. The update time of the resource.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
    * Labels.
    * 
@@ -135,31 +90,30 @@ public interface PrivateConnectionOrBuilder */ int getLabelsCount(); /** - * - * *
    * Labels.
    * 
* * map<string, string> labels = 4; */ - boolean containsLabels(java.lang.String key); - /** Use {@link #getLabelsMap()} instead. */ + boolean containsLabels( + java.lang.String key); + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Deprecated - java.util.Map getLabels(); + java.util.Map + getLabels(); /** - * - * *
    * Labels.
    * 
* * map<string, string> labels = 4; */ - java.util.Map getLabelsMap(); + java.util.Map + getLabelsMap(); /** - * - * *
    * Labels.
    * 
@@ -168,143 +122,106 @@ public interface PrivateConnectionOrBuilder */ /* nullable */ - java.lang.String getLabelsOrDefault( +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue); +java.lang.String defaultValue); /** - * - * *
    * Labels.
    * 
* * map<string, string> labels = 4; */ - java.lang.String getLabelsOrThrow(java.lang.String key); + + java.lang.String getLabelsOrThrow( + java.lang.String key); /** - * - * *
    * Required. Display name.
    * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * Required. Display name.
    * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * Output only. The state of the Private Connection.
    * 
* - * - * .google.cloud.datastream.v1alpha1.PrivateConnection.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datastream.v1alpha1.PrivateConnection.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * Output only. The state of the Private Connection.
    * 
* - * - * .google.cloud.datastream.v1alpha1.PrivateConnection.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datastream.v1alpha1.PrivateConnection.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ com.google.cloud.datastream.v1alpha1.PrivateConnection.State getState(); /** - * - * *
    * Output only. In case of error, the details of the error in a user-friendly format.
    * 
* - * - * .google.cloud.datastream.v1alpha1.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datastream.v1alpha1.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the error field is set. */ boolean hasError(); /** - * - * *
    * Output only. In case of error, the details of the error in a user-friendly format.
    * 
* - * - * .google.cloud.datastream.v1alpha1.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datastream.v1alpha1.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The error. */ com.google.cloud.datastream.v1alpha1.Error getError(); /** - * - * *
    * Output only. In case of error, the details of the error in a user-friendly format.
    * 
* - * - * .google.cloud.datastream.v1alpha1.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datastream.v1alpha1.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.datastream.v1alpha1.ErrorOrBuilder getErrorOrBuilder(); /** - * - * *
    * VPC Peering Config
    * 
* * .google.cloud.datastream.v1alpha1.VpcPeeringConfig vpc_peering_config = 100; - * * @return Whether the vpcPeeringConfig field is set. */ boolean hasVpcPeeringConfig(); /** - * - * *
    * VPC Peering Config
    * 
* * .google.cloud.datastream.v1alpha1.VpcPeeringConfig vpc_peering_config = 100; - * * @return The vpcPeeringConfig. */ com.google.cloud.datastream.v1alpha1.VpcPeeringConfig getVpcPeeringConfig(); /** - * - * *
    * VPC Peering Config
    * 
diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/PrivateConnectivity.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/PrivateConnectivity.java similarity index 69% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/PrivateConnectivity.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/PrivateConnectivity.java index 77fa9aff..40d3ab2b 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/PrivateConnectivity.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/PrivateConnectivity.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1alpha1/datastream_resources.proto package com.google.cloud.datastream.v1alpha1; /** - * - * *
  * Private Connectivity
  * 
* * Protobuf type {@code google.cloud.datastream.v1alpha1.PrivateConnectivity} */ -public final class PrivateConnectivity extends com.google.protobuf.GeneratedMessageV3 - implements +public final class PrivateConnectivity extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1alpha1.PrivateConnectivity) PrivateConnectivityOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use PrivateConnectivity.newBuilder() to construct. private PrivateConnectivity(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private PrivateConnectivity() { privateConnectionName_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PrivateConnectivity(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private PrivateConnectivity( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private PrivateConnectivity( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - privateConnectionName_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + privateConnectionName_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,33 +73,30 @@ private PrivateConnectivity( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_PrivateConnectivity_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_PrivateConnectivity_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_PrivateConnectivity_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_PrivateConnectivity_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.PrivateConnectivity.class, - com.google.cloud.datastream.v1alpha1.PrivateConnectivity.Builder.class); + com.google.cloud.datastream.v1alpha1.PrivateConnectivity.class, com.google.cloud.datastream.v1alpha1.PrivateConnectivity.Builder.class); } public static final int PRIVATE_CONNECTION_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object privateConnectionName_; /** * string private_connection_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The privateConnectionName. */ @java.lang.Override @@ -126,7 +105,8 @@ public java.lang.String getPrivateConnectionName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); privateConnectionName_ = s; return s; @@ -134,15 +114,16 @@ public java.lang.String getPrivateConnectionName() { } /** * string private_connection_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for privateConnectionName. */ @java.lang.Override - public com.google.protobuf.ByteString getPrivateConnectionNameBytes() { + public com.google.protobuf.ByteString + getPrivateConnectionNameBytes() { java.lang.Object ref = privateConnectionName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); privateConnectionName_ = b; return b; } else { @@ -151,7 +132,6 @@ public com.google.protobuf.ByteString getPrivateConnectionNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -163,7 +143,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(privateConnectionName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, privateConnectionName_); } @@ -187,15 +168,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.datastream.v1alpha1.PrivateConnectivity)) { return super.equals(obj); } - com.google.cloud.datastream.v1alpha1.PrivateConnectivity other = - (com.google.cloud.datastream.v1alpha1.PrivateConnectivity) obj; + com.google.cloud.datastream.v1alpha1.PrivateConnectivity other = (com.google.cloud.datastream.v1alpha1.PrivateConnectivity) obj; - if (!getPrivateConnectionName().equals(other.getPrivateConnectionName())) return false; + if (!getPrivateConnectionName() + .equals(other.getPrivateConnectionName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -215,127 +196,117 @@ public int hashCode() { } public static com.google.cloud.datastream.v1alpha1.PrivateConnectivity parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.PrivateConnectivity parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.PrivateConnectivity parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.PrivateConnectivity parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.PrivateConnectivity parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.PrivateConnectivity parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.PrivateConnectivity parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.PrivateConnectivity parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.PrivateConnectivity parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.PrivateConnectivity parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.PrivateConnectivity parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.PrivateConnectivity 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.datastream.v1alpha1.PrivateConnectivity parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.PrivateConnectivity parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datastream.v1alpha1.PrivateConnectivity prototype) { + public static Builder newBuilder(com.google.cloud.datastream.v1alpha1.PrivateConnectivity prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Private Connectivity
    * 
* * Protobuf type {@code google.cloud.datastream.v1alpha1.PrivateConnectivity} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1alpha1.PrivateConnectivity) com.google.cloud.datastream.v1alpha1.PrivateConnectivityOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_PrivateConnectivity_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_PrivateConnectivity_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_PrivateConnectivity_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_PrivateConnectivity_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.PrivateConnectivity.class, - com.google.cloud.datastream.v1alpha1.PrivateConnectivity.Builder.class); + com.google.cloud.datastream.v1alpha1.PrivateConnectivity.class, com.google.cloud.datastream.v1alpha1.PrivateConnectivity.Builder.class); } // Construct using com.google.cloud.datastream.v1alpha1.PrivateConnectivity.newBuilder() @@ -343,15 +314,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -361,9 +333,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_PrivateConnectivity_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_PrivateConnectivity_descriptor; } @java.lang.Override @@ -382,8 +354,7 @@ public com.google.cloud.datastream.v1alpha1.PrivateConnectivity build() { @java.lang.Override public com.google.cloud.datastream.v1alpha1.PrivateConnectivity buildPartial() { - com.google.cloud.datastream.v1alpha1.PrivateConnectivity result = - new com.google.cloud.datastream.v1alpha1.PrivateConnectivity(this); + com.google.cloud.datastream.v1alpha1.PrivateConnectivity result = new com.google.cloud.datastream.v1alpha1.PrivateConnectivity(this); result.privateConnectionName_ = privateConnectionName_; onBuilt(); return result; @@ -393,39 +364,38 @@ public com.google.cloud.datastream.v1alpha1.PrivateConnectivity buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1alpha1.PrivateConnectivity) { - return mergeFrom((com.google.cloud.datastream.v1alpha1.PrivateConnectivity) other); + return mergeFrom((com.google.cloud.datastream.v1alpha1.PrivateConnectivity)other); } else { super.mergeFrom(other); return this; @@ -433,8 +403,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datastream.v1alpha1.PrivateConnectivity other) { - if (other == com.google.cloud.datastream.v1alpha1.PrivateConnectivity.getDefaultInstance()) - return this; + if (other == com.google.cloud.datastream.v1alpha1.PrivateConnectivity.getDefaultInstance()) return this; if (!other.getPrivateConnectionName().isEmpty()) { privateConnectionName_ = other.privateConnectionName_; onChanged(); @@ -458,8 +427,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datastream.v1alpha1.PrivateConnectivity) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datastream.v1alpha1.PrivateConnectivity) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -472,13 +440,13 @@ public Builder mergeFrom( private java.lang.Object privateConnectionName_ = ""; /** * string private_connection_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The privateConnectionName. */ public java.lang.String getPrivateConnectionName() { java.lang.Object ref = privateConnectionName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); privateConnectionName_ = s; return s; @@ -488,14 +456,15 @@ public java.lang.String getPrivateConnectionName() { } /** * string private_connection_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for privateConnectionName. */ - public com.google.protobuf.ByteString getPrivateConnectionNameBytes() { + public com.google.protobuf.ByteString + getPrivateConnectionNameBytes() { java.lang.Object ref = privateConnectionName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); privateConnectionName_ = b; return b; } else { @@ -504,49 +473,48 @@ public com.google.protobuf.ByteString getPrivateConnectionNameBytes() { } /** * string private_connection_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The privateConnectionName to set. * @return This builder for chaining. */ - public Builder setPrivateConnectionName(java.lang.String value) { + public Builder setPrivateConnectionName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + privateConnectionName_ = value; onChanged(); return this; } /** * string private_connection_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearPrivateConnectionName() { - + privateConnectionName_ = getDefaultInstance().getPrivateConnectionName(); onChanged(); return this; } /** * string private_connection_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for privateConnectionName to set. * @return This builder for chaining. */ - public Builder setPrivateConnectionNameBytes(com.google.protobuf.ByteString value) { + public Builder setPrivateConnectionNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + privateConnectionName_ = 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); } @@ -556,12 +524,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1alpha1.PrivateConnectivity) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1alpha1.PrivateConnectivity) private static final com.google.cloud.datastream.v1alpha1.PrivateConnectivity DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1alpha1.PrivateConnectivity(); } @@ -570,16 +538,16 @@ public static com.google.cloud.datastream.v1alpha1.PrivateConnectivity getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PrivateConnectivity parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PrivateConnectivity(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PrivateConnectivity parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PrivateConnectivity(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -594,4 +562,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datastream.v1alpha1.PrivateConnectivity getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/PrivateConnectivityOrBuilder.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/PrivateConnectivityOrBuilder.java new file mode 100644 index 00000000..fcc6ed47 --- /dev/null +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/PrivateConnectivityOrBuilder.java @@ -0,0 +1,21 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datastream/v1alpha1/datastream_resources.proto + +package com.google.cloud.datastream.v1alpha1; + +public interface PrivateConnectivityOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1alpha1.PrivateConnectivity) + com.google.protobuf.MessageOrBuilder { + + /** + * string private_connection_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return The privateConnectionName. + */ + java.lang.String getPrivateConnectionName(); + /** + * string private_connection_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for privateConnectionName. + */ + com.google.protobuf.ByteString + getPrivateConnectionNameBytes(); +} diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/Route.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/Route.java similarity index 65% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/Route.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/Route.java index a43f558e..d57d7832 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/Route.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/Route.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/datastream/v1alpha1/datastream_resources.proto package com.google.cloud.datastream.v1alpha1; /** - * - * *
  * The Route resource is the child of the PrivateConnection resource.
  * It used to define a route for a PrivateConnection setup.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.datastream.v1alpha1.Route}
  */
-public final class Route extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Route extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1alpha1.Route)
     RouteOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Route.newBuilder() to construct.
   private Route(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Route() {
     name_ = "";
     displayName_ = "";
@@ -46,15 +28,16 @@ private Route() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Route();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private Route(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -74,82 +57,75 @@ private Route(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
+            name_ = s;
+            break;
+          }
+          case 18: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (createTime_ != null) {
+              subBuilder = createTime_.toBuilder();
             }
-          case 18:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (createTime_ != null) {
-                subBuilder = createTime_.toBuilder();
-              }
-              createTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(createTime_);
-                createTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+            createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(createTime_);
+              createTime_ = subBuilder.buildPartial();
             }
-          case 26:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (updateTime_ != null) {
-                subBuilder = updateTime_.toBuilder();
-              }
-              updateTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(updateTime_);
-                updateTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+
+            break;
+          }
+          case 26: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (updateTime_ != null) {
+              subBuilder = updateTime_.toBuilder();
             }
-          case 34:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                labels_ =
-                    com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry);
-                mutable_bitField0_ |= 0x00000001;
-              }
-              com.google.protobuf.MapEntry labels__ =
-                  input.readMessage(
-                      LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              labels_.getMutableMap().put(labels__.getKey(), labels__.getValue());
-              break;
+            updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(updateTime_);
+              updateTime_ = subBuilder.buildPartial();
             }
-          case 42:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
 
-              displayName_ = s;
-              break;
+            break;
+          }
+          case 34: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              labels_ = com.google.protobuf.MapField.newMapField(
+                  LabelsDefaultEntryHolder.defaultEntry);
+              mutable_bitField0_ |= 0x00000001;
             }
-          case 50:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            com.google.protobuf.MapEntry
+            labels__ = input.readMessage(
+                LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+            labels_.getMutableMap().put(
+                labels__.getKey(), labels__.getValue());
+            break;
+          }
+          case 42: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              destinationAddress_ = s;
-              break;
-            }
-          case 56:
-            {
-              destinationPort_ = input.readInt32();
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            displayName_ = s;
+            break;
+          }
+          case 50: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            destinationAddress_ = s;
+            break;
+          }
+          case 56: {
+
+            destinationPort_ = input.readInt32();
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -157,50 +133,46 @@ private Route(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto
-        .internal_static_google_cloud_datastream_v1alpha1_Route_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_Route_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 4:
         return internalGetLabels();
       default:
-        throw new RuntimeException("Invalid map field number: " + number);
+        throw new RuntimeException(
+            "Invalid map field number: " + number);
     }
   }
-
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto
-        .internal_static_google_cloud_datastream_v1alpha1_Route_fieldAccessorTable
+    return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_Route_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datastream.v1alpha1.Route.class,
-            com.google.cloud.datastream.v1alpha1.Route.Builder.class);
+            com.google.cloud.datastream.v1alpha1.Route.class, com.google.cloud.datastream.v1alpha1.Route.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Output only. The resource's name.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -209,29 +181,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Output only. The resource's name.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -242,15 +214,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Output only. The create time of the resource.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -258,15 +226,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. The create time of the resource.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -274,14 +238,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. The create time of the resource.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -291,15 +252,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * Output only. The update time of the resource.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ @java.lang.Override @@ -307,15 +264,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * Output only. The update time of the resource.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ @java.lang.Override @@ -323,14 +276,11 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * Output only. The update time of the resource.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -338,23 +288,24 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } public static final int LABELS_FIELD_NUMBER = 4; - private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_Route_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.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_Route_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } @@ -363,30 +314,28 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
    * Labels.
    * 
* * map<string, string> labels = 4; */ + @java.lang.Override - public boolean containsLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } - /** Use {@link #getLabelsMap()} instead. */ + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** - * - * *
    * Labels.
    * 
@@ -394,12 +343,11 @@ public java.util.Map getLabels() { * map<string, string> labels = 4; */ @java.lang.Override + public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
    * Labels.
    * 
@@ -407,16 +355,16 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 4; */ @java.lang.Override - public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + + public java.lang.String getLabelsOrDefault( + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * Labels.
    * 
@@ -424,11 +372,12 @@ public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.Strin * map<string, string> labels = 4; */ @java.lang.Override - public java.lang.String getLabelsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + + public java.lang.String getLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -438,14 +387,11 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { public static final int DISPLAY_NAME_FIELD_NUMBER = 5; private volatile java.lang.Object displayName_; /** - * - * *
    * Required. Display name.
    * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The displayName. */ @java.lang.Override @@ -454,29 +400,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; } } /** - * - * *
    * Required. Display name.
    * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -487,14 +433,11 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int DESTINATION_ADDRESS_FIELD_NUMBER = 6; private volatile java.lang.Object destinationAddress_; /** - * - * *
    * Required. Destination address for connection
    * 
* * string destination_address = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return The destinationAddress. */ @java.lang.Override @@ -503,29 +446,29 @@ public java.lang.String getDestinationAddress() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); destinationAddress_ = s; return s; } } /** - * - * *
    * Required. Destination address for connection
    * 
* * string destination_address = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for destinationAddress. */ @java.lang.Override - public com.google.protobuf.ByteString getDestinationAddressBytes() { + public com.google.protobuf.ByteString + getDestinationAddressBytes() { java.lang.Object ref = destinationAddress_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); destinationAddress_ = b; return b; } else { @@ -536,14 +479,11 @@ public com.google.protobuf.ByteString getDestinationAddressBytes() { public static final int DESTINATION_PORT_FIELD_NUMBER = 7; private int destinationPort_; /** - * - * *
    * Destination port for connection
    * 
* * int32 destination_port = 7; - * * @return The destinationPort. */ @java.lang.Override @@ -552,7 +492,6 @@ public int getDestinationPort() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -564,7 +503,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_); } @@ -574,8 +514,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (updateTime_ != null) { output.writeMessage(3, getUpdateTime()); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 4); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetLabels(), + LabelsDefaultEntryHolder.defaultEntry, + 4); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, displayName_); } @@ -598,20 +542,22 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateTime()); - } - for (java.util.Map.Entry entry : - internalGetLabels().getMap().entrySet()) { - com.google.protobuf.MapEntry labels__ = - LabelsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, labels__); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getUpdateTime()); + } + for (java.util.Map.Entry entry + : internalGetLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry + labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, labels__); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, displayName_); @@ -620,7 +566,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, destinationAddress_); } if (destinationPort_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(7, destinationPort_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(7, destinationPort_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -630,27 +577,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.datastream.v1alpha1.Route)) { return super.equals(obj); } - com.google.cloud.datastream.v1alpha1.Route other = - (com.google.cloud.datastream.v1alpha1.Route) obj; + com.google.cloud.datastream.v1alpha1.Route other = (com.google.cloud.datastream.v1alpha1.Route) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime().equals(other.getUpdateTime())) return false; - } - if (!internalGetLabels().equals(other.internalGetLabels())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!getDestinationAddress().equals(other.getDestinationAddress())) return false; - if (getDestinationPort() != other.getDestinationPort()) return false; + if (!getUpdateTime() + .equals(other.getUpdateTime())) return false; + } + if (!internalGetLabels().equals( + other.internalGetLabels())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!getDestinationAddress() + .equals(other.getDestinationAddress())) return false; + if (getDestinationPort() + != other.getDestinationPort()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -687,104 +640,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.datastream.v1alpha1.Route parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.datastream.v1alpha1.Route parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.Route parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.Route parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.Route parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.Route parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.Route parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.Route 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.datastream.v1alpha1.Route parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.Route parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.Route parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.Route 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.datastream.v1alpha1.Route parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.Route parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datastream.v1alpha1.Route prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The Route resource is the child of the PrivateConnection resource.
    * It used to define a route for a PrivateConnection setup.
@@ -792,43 +738,43 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datastream.v1alpha1.Route}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1alpha1.Route)
       com.google.cloud.datastream.v1alpha1.RouteOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto
-          .internal_static_google_cloud_datastream_v1alpha1_Route_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_Route_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMapField(
+        int number) {
       switch (number) {
         case 4:
           return internalGetLabels();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(
+        int number) {
       switch (number) {
         case 4:
           return internalGetMutableLabels();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto
-          .internal_static_google_cloud_datastream_v1alpha1_Route_fieldAccessorTable
+      return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_Route_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datastream.v1alpha1.Route.class,
-              com.google.cloud.datastream.v1alpha1.Route.Builder.class);
+              com.google.cloud.datastream.v1alpha1.Route.class, com.google.cloud.datastream.v1alpha1.Route.Builder.class);
     }
 
     // Construct using com.google.cloud.datastream.v1alpha1.Route.newBuilder()
@@ -836,15 +782,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -873,9 +820,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto
-          .internal_static_google_cloud_datastream_v1alpha1_Route_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_Route_descriptor;
     }
 
     @java.lang.Override
@@ -894,8 +841,7 @@ public com.google.cloud.datastream.v1alpha1.Route build() {
 
     @java.lang.Override
     public com.google.cloud.datastream.v1alpha1.Route buildPartial() {
-      com.google.cloud.datastream.v1alpha1.Route result =
-          new com.google.cloud.datastream.v1alpha1.Route(this);
+      com.google.cloud.datastream.v1alpha1.Route result = new com.google.cloud.datastream.v1alpha1.Route(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       if (createTimeBuilder_ == null) {
@@ -921,39 +867,38 @@ public com.google.cloud.datastream.v1alpha1.Route buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datastream.v1alpha1.Route) {
-        return mergeFrom((com.google.cloud.datastream.v1alpha1.Route) other);
+        return mergeFrom((com.google.cloud.datastream.v1alpha1.Route)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -972,7 +917,8 @@ public Builder mergeFrom(com.google.cloud.datastream.v1alpha1.Route other) {
       if (other.hasUpdateTime()) {
         mergeUpdateTime(other.getUpdateTime());
       }
-      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(
+          other.internalGetLabels());
       if (!other.getDisplayName().isEmpty()) {
         displayName_ = other.displayName_;
         onChanged();
@@ -1012,25 +958,22 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Output only. The resource's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1039,21 +982,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. The resource's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1061,61 +1003,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. The resource's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The resource's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Output only. The resource's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1123,58 +1058,39 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
      * Output only. The create time of the resource.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * Output only. The create time of the resource.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The create time of the resource.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -1190,17 +1106,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The create time of the resource.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -1211,21 +1124,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The create time of the resource.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1237,15 +1146,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The create time of the resource.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -1259,64 +1164,48 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. The create time of the resource.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The create time of the resource.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * Output only. The create time of the resource.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; @@ -1324,58 +1213,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 update time of the resource.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
      * Output only. The update time of the resource.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The update time of the resource.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -1391,17 +1261,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The update time of the resource.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -1412,21 +1279,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The update time of the resource.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -1438,15 +1301,11 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The update time of the resource.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearUpdateTime() { if (updateTimeBuilder_ == null) { @@ -1460,84 +1319,69 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * Output only. The update time of the resource.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The update time of the resource.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } } /** - * - * *
      * Output only. The update time of the resource.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), getParentForChildren(), isClean()); + updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), + getParentForChildren(), + isClean()); updateTime_ = null; } return updateTimeBuilder_; } - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - private com.google.protobuf.MapField - internalGetMutableLabels() { - onChanged(); - ; + internalGetMutableLabels() { + onChanged();; if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -1549,30 +1393,28 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
      * Labels.
      * 
* * map<string, string> labels = 4; */ + @java.lang.Override - public boolean containsLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } - /** Use {@link #getLabelsMap()} instead. */ + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** - * - * *
      * Labels.
      * 
@@ -1580,12 +1422,11 @@ public java.util.Map getLabels() { * map<string, string> labels = 4; */ @java.lang.Override + public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
      * Labels.
      * 
@@ -1593,17 +1434,16 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 4; */ @java.lang.Override + public java.lang.String getLabelsOrDefault( - java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * Labels.
      * 
@@ -1611,11 +1451,12 @@ public java.lang.String getLabelsOrDefault( * map<string, string> labels = 4; */ @java.lang.Override - public java.lang.String getLabelsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + + public java.lang.String getLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -1623,80 +1464,81 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { } public Builder clearLabels() { - internalGetMutableLabels().getMutableMap().clear(); + internalGetMutableLabels().getMutableMap() + .clear(); return this; } /** - * - * *
      * Labels.
      * 
* * map<string, string> labels = 4; */ - public Builder removeLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableLabels().getMutableMap().remove(key); + + public Builder removeLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableLabels().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map getMutableLabels() { + public java.util.Map + getMutableLabels() { return internalGetMutableLabels().getMutableMap(); } /** - * - * *
      * Labels.
      * 
* * map<string, string> labels = 4; */ - public Builder putLabels(java.lang.String key, java.lang.String value) { - if (key == null) { - throw new NullPointerException("map key"); - } + public Builder putLabels( + java.lang.String key, + java.lang.String value) { + if (key == null) { throw new NullPointerException("map key"); } if (value == null) { - throw new NullPointerException("map value"); - } + throw new NullPointerException("map value"); +} - internalGetMutableLabels().getMutableMap().put(key, value); + internalGetMutableLabels().getMutableMap() + .put(key, value); return this; } /** - * - * *
      * Labels.
      * 
* * map<string, string> labels = 4; */ - public Builder putAllLabels(java.util.Map values) { - internalGetMutableLabels().getMutableMap().putAll(values); + + public Builder putAllLabels( + java.util.Map values) { + internalGetMutableLabels().getMutableMap() + .putAll(values); return this; } private java.lang.Object displayName_ = ""; /** - * - * *
      * Required. Display name.
      * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @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; @@ -1705,21 +1547,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * Required. Display name.
      * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -1727,61 +1568,54 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * Required. Display name.
      * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** - * - * *
      * Required. Display name.
      * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** - * - * *
      * Required. Display name.
      * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -1789,20 +1623,18 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object destinationAddress_ = ""; /** - * - * *
      * Required. Destination address for connection
      * 
* * string destination_address = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return The destinationAddress. */ public java.lang.String getDestinationAddress() { java.lang.Object ref = destinationAddress_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); destinationAddress_ = s; return s; @@ -1811,21 +1643,20 @@ public java.lang.String getDestinationAddress() { } } /** - * - * *
      * Required. Destination address for connection
      * 
* * string destination_address = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for destinationAddress. */ - public com.google.protobuf.ByteString getDestinationAddressBytes() { + public com.google.protobuf.ByteString + getDestinationAddressBytes() { java.lang.Object ref = destinationAddress_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); destinationAddress_ = b; return b; } else { @@ -1833,76 +1664,66 @@ public com.google.protobuf.ByteString getDestinationAddressBytes() { } } /** - * - * *
      * Required. Destination address for connection
      * 
* * string destination_address = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The destinationAddress to set. * @return This builder for chaining. */ - public Builder setDestinationAddress(java.lang.String value) { + public Builder setDestinationAddress( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + destinationAddress_ = value; onChanged(); return this; } /** - * - * *
      * Required. Destination address for connection
      * 
* * string destination_address = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearDestinationAddress() { - + destinationAddress_ = getDefaultInstance().getDestinationAddress(); onChanged(); return this; } /** - * - * *
      * Required. Destination address for connection
      * 
* * string destination_address = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for destinationAddress to set. * @return This builder for chaining. */ - public Builder setDestinationAddressBytes(com.google.protobuf.ByteString value) { + public Builder setDestinationAddressBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + destinationAddress_ = value; onChanged(); return this; } - private int destinationPort_; + private int destinationPort_ ; /** - * - * *
      * Destination port for connection
      * 
* * int32 destination_port = 7; - * * @return The destinationPort. */ @java.lang.Override @@ -1910,43 +1731,37 @@ public int getDestinationPort() { return destinationPort_; } /** - * - * *
      * Destination port for connection
      * 
* * int32 destination_port = 7; - * * @param value The destinationPort to set. * @return This builder for chaining. */ public Builder setDestinationPort(int value) { - + destinationPort_ = value; onChanged(); return this; } /** - * - * *
      * Destination port for connection
      * 
* * int32 destination_port = 7; - * * @return This builder for chaining. */ public Builder clearDestinationPort() { - + destinationPort_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1956,12 +1771,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1alpha1.Route) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1alpha1.Route) private static final com.google.cloud.datastream.v1alpha1.Route DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1alpha1.Route(); } @@ -1970,16 +1785,16 @@ public static com.google.cloud.datastream.v1alpha1.Route getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Route parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Route(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Route parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Route(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1994,4 +1809,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datastream.v1alpha1.Route getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/RouteName.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/RouteName.java similarity index 100% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/RouteName.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/RouteName.java diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/RouteOrBuilder.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/RouteOrBuilder.java similarity index 69% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/RouteOrBuilder.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/RouteOrBuilder.java index ea7286db..33068b2f 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/RouteOrBuilder.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/RouteOrBuilder.java @@ -1,132 +1,87 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1alpha1/datastream_resources.proto package com.google.cloud.datastream.v1alpha1; -public interface RouteOrBuilder - extends +public interface RouteOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1alpha1.Route) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The resource's name.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. The resource's name.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Output only. The create time of the resource.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Output only. The create time of the resource.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Output only. The create time of the resource.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * Output only. The update time of the resource.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * Output only. The update time of the resource.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * Output only. The update time of the resource.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
    * Labels.
    * 
@@ -135,31 +90,30 @@ public interface RouteOrBuilder */ int getLabelsCount(); /** - * - * *
    * Labels.
    * 
* * map<string, string> labels = 4; */ - boolean containsLabels(java.lang.String key); - /** Use {@link #getLabelsMap()} instead. */ + boolean containsLabels( + java.lang.String key); + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Deprecated - java.util.Map getLabels(); + java.util.Map + getLabels(); /** - * - * *
    * Labels.
    * 
* * map<string, string> labels = 4; */ - java.util.Map getLabelsMap(); + java.util.Map + getLabelsMap(); /** - * - * *
    * Labels.
    * 
@@ -168,80 +122,67 @@ public interface RouteOrBuilder */ /* nullable */ - java.lang.String getLabelsOrDefault( +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue); +java.lang.String defaultValue); /** - * - * *
    * Labels.
    * 
* * map<string, string> labels = 4; */ - java.lang.String getLabelsOrThrow(java.lang.String key); + + java.lang.String getLabelsOrThrow( + java.lang.String key); /** - * - * *
    * Required. Display name.
    * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * Required. Display name.
    * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * Required. Destination address for connection
    * 
* * string destination_address = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return The destinationAddress. */ java.lang.String getDestinationAddress(); /** - * - * *
    * Required. Destination address for connection
    * 
* * string destination_address = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for destinationAddress. */ - com.google.protobuf.ByteString getDestinationAddressBytes(); + com.google.protobuf.ByteString + getDestinationAddressBytes(); /** - * - * *
    * Destination port for connection
    * 
* * int32 destination_port = 7; - * * @return The destinationPort. */ int getDestinationPort(); diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/SchemaFileFormat.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/SchemaFileFormat.java similarity index 65% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/SchemaFileFormat.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/SchemaFileFormat.java index 42be3f0d..c2b5caf8 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/SchemaFileFormat.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/SchemaFileFormat.java @@ -1,36 +1,18 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1alpha1/datastream_resources.proto package com.google.cloud.datastream.v1alpha1; /** - * - * *
  * Schema file format.
  * 
* * Protobuf enum {@code google.cloud.datastream.v1alpha1.SchemaFileFormat} */ -public enum SchemaFileFormat implements com.google.protobuf.ProtocolMessageEnum { +public enum SchemaFileFormat + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * Unspecified schema file format.
    * 
@@ -39,8 +21,6 @@ public enum SchemaFileFormat implements com.google.protobuf.ProtocolMessageEnum */ SCHEMA_FILE_FORMAT_UNSPECIFIED(0), /** - * - * *
    * Do not attach schema file.
    * 
@@ -49,8 +29,6 @@ public enum SchemaFileFormat implements com.google.protobuf.ProtocolMessageEnum */ NO_SCHEMA_FILE(1), /** - * - * *
    * Avro schema format.
    * 
@@ -62,8 +40,6 @@ public enum SchemaFileFormat implements com.google.protobuf.ProtocolMessageEnum ; /** - * - * *
    * Unspecified schema file format.
    * 
@@ -72,8 +48,6 @@ public enum SchemaFileFormat implements com.google.protobuf.ProtocolMessageEnum */ public static final int SCHEMA_FILE_FORMAT_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Do not attach schema file.
    * 
@@ -82,8 +56,6 @@ public enum SchemaFileFormat implements com.google.protobuf.ProtocolMessageEnum */ public static final int NO_SCHEMA_FILE_VALUE = 1; /** - * - * *
    * Avro schema format.
    * 
@@ -92,6 +64,7 @@ public enum SchemaFileFormat implements com.google.protobuf.ProtocolMessageEnum */ public static final int AVRO_SCHEMA_FILE_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -116,51 +89,49 @@ public static SchemaFileFormat valueOf(int value) { */ public static SchemaFileFormat forNumber(int value) { switch (value) { - case 0: - return SCHEMA_FILE_FORMAT_UNSPECIFIED; - case 1: - return NO_SCHEMA_FILE; - case 2: - return AVRO_SCHEMA_FILE; - default: - return null; + case 0: return SCHEMA_FILE_FORMAT_UNSPECIFIED; + case 1: return NO_SCHEMA_FILE; + case 2: return AVRO_SCHEMA_FILE; + 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 SchemaFileFormat findValueByNumber(int number) { - return SchemaFileFormat.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + SchemaFileFormat> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public SchemaFileFormat findValueByNumber(int number) { + return SchemaFileFormat.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.datastream.v1alpha1.CloudDatastreamResourcesProto.getDescriptor() - .getEnumTypes() - .get(1); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.getDescriptor().getEnumTypes().get(1); } private static final SchemaFileFormat[] VALUES = values(); - public static SchemaFileFormat valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static SchemaFileFormat 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; @@ -176,3 +147,4 @@ private SchemaFileFormat(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.datastream.v1alpha1.SchemaFileFormat) } + diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/SourceConfig.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/SourceConfig.java similarity index 68% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/SourceConfig.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/SourceConfig.java index c15827f5..9a0b5813 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/SourceConfig.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/SourceConfig.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1alpha1/datastream_resources.proto package com.google.cloud.datastream.v1alpha1; /** - * - * *
  * The configuration of the stream source.
  * 
* * Protobuf type {@code google.cloud.datastream.v1alpha1.SourceConfig} */ -public final class SourceConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class SourceConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1alpha1.SourceConfig) SourceConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use SourceConfig.newBuilder() to construct. private SourceConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SourceConfig() { sourceConnectionProfileName_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SourceConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private SourceConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,60 +53,47 @@ private SourceConfig( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - sourceConnectionProfileName_ = s; - break; + sourceConnectionProfileName_ = s; + break; + } + case 802: { + com.google.cloud.datastream.v1alpha1.OracleSourceConfig.Builder subBuilder = null; + if (sourceStreamConfigCase_ == 100) { + subBuilder = ((com.google.cloud.datastream.v1alpha1.OracleSourceConfig) sourceStreamConfig_).toBuilder(); + } + sourceStreamConfig_ = + input.readMessage(com.google.cloud.datastream.v1alpha1.OracleSourceConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.datastream.v1alpha1.OracleSourceConfig) sourceStreamConfig_); + sourceStreamConfig_ = subBuilder.buildPartial(); } - case 802: - { - com.google.cloud.datastream.v1alpha1.OracleSourceConfig.Builder subBuilder = null; - if (sourceStreamConfigCase_ == 100) { - subBuilder = - ((com.google.cloud.datastream.v1alpha1.OracleSourceConfig) sourceStreamConfig_) - .toBuilder(); - } - sourceStreamConfig_ = - input.readMessage( - com.google.cloud.datastream.v1alpha1.OracleSourceConfig.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.datastream.v1alpha1.OracleSourceConfig) sourceStreamConfig_); - sourceStreamConfig_ = subBuilder.buildPartial(); - } - sourceStreamConfigCase_ = 100; - break; + sourceStreamConfigCase_ = 100; + break; + } + case 810: { + com.google.cloud.datastream.v1alpha1.MysqlSourceConfig.Builder subBuilder = null; + if (sourceStreamConfigCase_ == 101) { + subBuilder = ((com.google.cloud.datastream.v1alpha1.MysqlSourceConfig) sourceStreamConfig_).toBuilder(); } - case 810: - { - com.google.cloud.datastream.v1alpha1.MysqlSourceConfig.Builder subBuilder = null; - if (sourceStreamConfigCase_ == 101) { - subBuilder = - ((com.google.cloud.datastream.v1alpha1.MysqlSourceConfig) sourceStreamConfig_) - .toBuilder(); - } - sourceStreamConfig_ = - input.readMessage( - com.google.cloud.datastream.v1alpha1.MysqlSourceConfig.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.datastream.v1alpha1.MysqlSourceConfig) sourceStreamConfig_); - sourceStreamConfig_ = subBuilder.buildPartial(); - } - sourceStreamConfigCase_ = 101; - break; + sourceStreamConfig_ = + input.readMessage(com.google.cloud.datastream.v1alpha1.MysqlSourceConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.datastream.v1alpha1.MysqlSourceConfig) sourceStreamConfig_); + sourceStreamConfig_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + sourceStreamConfigCase_ = 101; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -131,40 +101,35 @@ private SourceConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_SourceConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_SourceConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_SourceConfig_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_SourceConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.SourceConfig.class, - com.google.cloud.datastream.v1alpha1.SourceConfig.Builder.class); + com.google.cloud.datastream.v1alpha1.SourceConfig.class, com.google.cloud.datastream.v1alpha1.SourceConfig.Builder.class); } private int sourceStreamConfigCase_ = 0; private java.lang.Object sourceStreamConfig_; - public enum SourceStreamConfigCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { ORACLE_SOURCE_CONFIG(100), MYSQL_SOURCE_CONFIG(101), SOURCESTREAMCONFIG_NOT_SET(0); private final int value; - private SourceStreamConfigCase(int value) { this.value = value; } @@ -180,38 +145,31 @@ public static SourceStreamConfigCase valueOf(int value) { public static SourceStreamConfigCase forNumber(int value) { switch (value) { - case 100: - return ORACLE_SOURCE_CONFIG; - case 101: - return MYSQL_SOURCE_CONFIG; - case 0: - return SOURCESTREAMCONFIG_NOT_SET; - default: - return null; + case 100: return ORACLE_SOURCE_CONFIG; + case 101: return MYSQL_SOURCE_CONFIG; + case 0: return SOURCESTREAMCONFIG_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public SourceStreamConfigCase getSourceStreamConfigCase() { - return SourceStreamConfigCase.forNumber(sourceStreamConfigCase_); + public SourceStreamConfigCase + getSourceStreamConfigCase() { + return SourceStreamConfigCase.forNumber( + sourceStreamConfigCase_); } public static final int SOURCE_CONNECTION_PROFILE_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object sourceConnectionProfileName_; /** - * - * *
    * Required. Source connection profile identifier.
    * 
* - * string source_connection_profile_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * string source_connection_profile_name = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The sourceConnectionProfileName. */ @java.lang.Override @@ -220,30 +178,29 @@ public java.lang.String getSourceConnectionProfileName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceConnectionProfileName_ = s; return s; } } /** - * - * *
    * Required. Source connection profile identifier.
    * 
* - * string source_connection_profile_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * string source_connection_profile_name = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The bytes for sourceConnectionProfileName. */ @java.lang.Override - public com.google.protobuf.ByteString getSourceConnectionProfileNameBytes() { + public com.google.protobuf.ByteString + getSourceConnectionProfileNameBytes() { java.lang.Object ref = sourceConnectionProfileName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sourceConnectionProfileName_ = b; return b; } else { @@ -253,14 +210,11 @@ public com.google.protobuf.ByteString getSourceConnectionProfileNameBytes() { public static final int ORACLE_SOURCE_CONFIG_FIELD_NUMBER = 100; /** - * - * *
    * Oracle data source configuration
    * 
* * .google.cloud.datastream.v1alpha1.OracleSourceConfig oracle_source_config = 100; - * * @return Whether the oracleSourceConfig field is set. */ @java.lang.Override @@ -268,26 +222,21 @@ public boolean hasOracleSourceConfig() { return sourceStreamConfigCase_ == 100; } /** - * - * *
    * Oracle data source configuration
    * 
* * .google.cloud.datastream.v1alpha1.OracleSourceConfig oracle_source_config = 100; - * * @return The oracleSourceConfig. */ @java.lang.Override public com.google.cloud.datastream.v1alpha1.OracleSourceConfig getOracleSourceConfig() { if (sourceStreamConfigCase_ == 100) { - return (com.google.cloud.datastream.v1alpha1.OracleSourceConfig) sourceStreamConfig_; + return (com.google.cloud.datastream.v1alpha1.OracleSourceConfig) sourceStreamConfig_; } return com.google.cloud.datastream.v1alpha1.OracleSourceConfig.getDefaultInstance(); } /** - * - * *
    * Oracle data source configuration
    * 
@@ -295,24 +244,20 @@ public com.google.cloud.datastream.v1alpha1.OracleSourceConfig getOracleSourceCo * .google.cloud.datastream.v1alpha1.OracleSourceConfig oracle_source_config = 100; */ @java.lang.Override - public com.google.cloud.datastream.v1alpha1.OracleSourceConfigOrBuilder - getOracleSourceConfigOrBuilder() { + public com.google.cloud.datastream.v1alpha1.OracleSourceConfigOrBuilder getOracleSourceConfigOrBuilder() { if (sourceStreamConfigCase_ == 100) { - return (com.google.cloud.datastream.v1alpha1.OracleSourceConfig) sourceStreamConfig_; + return (com.google.cloud.datastream.v1alpha1.OracleSourceConfig) sourceStreamConfig_; } return com.google.cloud.datastream.v1alpha1.OracleSourceConfig.getDefaultInstance(); } public static final int MYSQL_SOURCE_CONFIG_FIELD_NUMBER = 101; /** - * - * *
    * MySQL data source configuration
    * 
* * .google.cloud.datastream.v1alpha1.MysqlSourceConfig mysql_source_config = 101; - * * @return Whether the mysqlSourceConfig field is set. */ @java.lang.Override @@ -320,26 +265,21 @@ public boolean hasMysqlSourceConfig() { return sourceStreamConfigCase_ == 101; } /** - * - * *
    * MySQL data source configuration
    * 
* * .google.cloud.datastream.v1alpha1.MysqlSourceConfig mysql_source_config = 101; - * * @return The mysqlSourceConfig. */ @java.lang.Override public com.google.cloud.datastream.v1alpha1.MysqlSourceConfig getMysqlSourceConfig() { if (sourceStreamConfigCase_ == 101) { - return (com.google.cloud.datastream.v1alpha1.MysqlSourceConfig) sourceStreamConfig_; + return (com.google.cloud.datastream.v1alpha1.MysqlSourceConfig) sourceStreamConfig_; } return com.google.cloud.datastream.v1alpha1.MysqlSourceConfig.getDefaultInstance(); } /** - * - * *
    * MySQL data source configuration
    * 
@@ -347,16 +287,14 @@ public com.google.cloud.datastream.v1alpha1.MysqlSourceConfig getMysqlSourceConf * .google.cloud.datastream.v1alpha1.MysqlSourceConfig mysql_source_config = 101; */ @java.lang.Override - public com.google.cloud.datastream.v1alpha1.MysqlSourceConfigOrBuilder - getMysqlSourceConfigOrBuilder() { + public com.google.cloud.datastream.v1alpha1.MysqlSourceConfigOrBuilder getMysqlSourceConfigOrBuilder() { if (sourceStreamConfigCase_ == 101) { - return (com.google.cloud.datastream.v1alpha1.MysqlSourceConfig) sourceStreamConfig_; + return (com.google.cloud.datastream.v1alpha1.MysqlSourceConfig) sourceStreamConfig_; } return com.google.cloud.datastream.v1alpha1.MysqlSourceConfig.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -368,17 +306,16 @@ public final boolean isInitialized() { } @java.lang.Override - public 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(sourceConnectionProfileName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, sourceConnectionProfileName_); } if (sourceStreamConfigCase_ == 100) { - output.writeMessage( - 100, (com.google.cloud.datastream.v1alpha1.OracleSourceConfig) sourceStreamConfig_); + output.writeMessage(100, (com.google.cloud.datastream.v1alpha1.OracleSourceConfig) sourceStreamConfig_); } if (sourceStreamConfigCase_ == 101) { - output.writeMessage( - 101, (com.google.cloud.datastream.v1alpha1.MysqlSourceConfig) sourceStreamConfig_); + output.writeMessage(101, (com.google.cloud.datastream.v1alpha1.MysqlSourceConfig) sourceStreamConfig_); } unknownFields.writeTo(output); } @@ -390,18 +327,15 @@ public int getSerializedSize() { size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sourceConnectionProfileName_)) { - size += - com.google.protobuf.GeneratedMessageV3.computeStringSize(1, sourceConnectionProfileName_); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, sourceConnectionProfileName_); } if (sourceStreamConfigCase_ == 100) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 100, (com.google.cloud.datastream.v1alpha1.OracleSourceConfig) sourceStreamConfig_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(100, (com.google.cloud.datastream.v1alpha1.OracleSourceConfig) sourceStreamConfig_); } if (sourceStreamConfigCase_ == 101) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 101, (com.google.cloud.datastream.v1alpha1.MysqlSourceConfig) sourceStreamConfig_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(101, (com.google.cloud.datastream.v1alpha1.MysqlSourceConfig) sourceStreamConfig_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -411,23 +345,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.datastream.v1alpha1.SourceConfig)) { return super.equals(obj); } - com.google.cloud.datastream.v1alpha1.SourceConfig other = - (com.google.cloud.datastream.v1alpha1.SourceConfig) obj; + com.google.cloud.datastream.v1alpha1.SourceConfig other = (com.google.cloud.datastream.v1alpha1.SourceConfig) obj; - if (!getSourceConnectionProfileName().equals(other.getSourceConnectionProfileName())) - return false; + if (!getSourceConnectionProfileName() + .equals(other.getSourceConnectionProfileName())) return false; if (!getSourceStreamConfigCase().equals(other.getSourceStreamConfigCase())) return false; switch (sourceStreamConfigCase_) { case 100: - if (!getOracleSourceConfig().equals(other.getOracleSourceConfig())) return false; + if (!getOracleSourceConfig() + .equals(other.getOracleSourceConfig())) return false; break; case 101: - if (!getMysqlSourceConfig().equals(other.getMysqlSourceConfig())) return false; + if (!getMysqlSourceConfig() + .equals(other.getMysqlSourceConfig())) return false; break; case 0: default: @@ -463,126 +398,117 @@ public int hashCode() { } public static com.google.cloud.datastream.v1alpha1.SourceConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.SourceConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.SourceConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.SourceConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.SourceConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.SourceConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.SourceConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.SourceConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.SourceConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.SourceConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.SourceConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.SourceConfig 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.datastream.v1alpha1.SourceConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.SourceConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datastream.v1alpha1.SourceConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The configuration of the stream source.
    * 
* * Protobuf type {@code google.cloud.datastream.v1alpha1.SourceConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1alpha1.SourceConfig) com.google.cloud.datastream.v1alpha1.SourceConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_SourceConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_SourceConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_SourceConfig_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_SourceConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.SourceConfig.class, - com.google.cloud.datastream.v1alpha1.SourceConfig.Builder.class); + com.google.cloud.datastream.v1alpha1.SourceConfig.class, com.google.cloud.datastream.v1alpha1.SourceConfig.Builder.class); } // Construct using com.google.cloud.datastream.v1alpha1.SourceConfig.newBuilder() @@ -590,15 +516,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -610,9 +537,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_SourceConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_SourceConfig_descriptor; } @java.lang.Override @@ -631,8 +558,7 @@ public com.google.cloud.datastream.v1alpha1.SourceConfig build() { @java.lang.Override public com.google.cloud.datastream.v1alpha1.SourceConfig buildPartial() { - com.google.cloud.datastream.v1alpha1.SourceConfig result = - new com.google.cloud.datastream.v1alpha1.SourceConfig(this); + com.google.cloud.datastream.v1alpha1.SourceConfig result = new com.google.cloud.datastream.v1alpha1.SourceConfig(this); result.sourceConnectionProfileName_ = sourceConnectionProfileName_; if (sourceStreamConfigCase_ == 100) { if (oracleSourceConfigBuilder_ == null) { @@ -657,39 +583,38 @@ public com.google.cloud.datastream.v1alpha1.SourceConfig buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1alpha1.SourceConfig) { - return mergeFrom((com.google.cloud.datastream.v1alpha1.SourceConfig) other); + return mergeFrom((com.google.cloud.datastream.v1alpha1.SourceConfig)other); } else { super.mergeFrom(other); return this; @@ -697,27 +622,23 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datastream.v1alpha1.SourceConfig other) { - if (other == com.google.cloud.datastream.v1alpha1.SourceConfig.getDefaultInstance()) - return this; + if (other == com.google.cloud.datastream.v1alpha1.SourceConfig.getDefaultInstance()) return this; if (!other.getSourceConnectionProfileName().isEmpty()) { sourceConnectionProfileName_ = other.sourceConnectionProfileName_; onChanged(); } switch (other.getSourceStreamConfigCase()) { - case ORACLE_SOURCE_CONFIG: - { - mergeOracleSourceConfig(other.getOracleSourceConfig()); - break; - } - case MYSQL_SOURCE_CONFIG: - { - mergeMysqlSourceConfig(other.getMysqlSourceConfig()); - break; - } - case SOURCESTREAMCONFIG_NOT_SET: - { - break; - } + case ORACLE_SOURCE_CONFIG: { + mergeOracleSourceConfig(other.getOracleSourceConfig()); + break; + } + case MYSQL_SOURCE_CONFIG: { + mergeMysqlSourceConfig(other.getMysqlSourceConfig()); + break; + } + case SOURCESTREAMCONFIG_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -738,8 +659,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datastream.v1alpha1.SourceConfig) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datastream.v1alpha1.SourceConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -748,12 +668,12 @@ public Builder mergeFrom( } return this; } - private int sourceStreamConfigCase_ = 0; private java.lang.Object sourceStreamConfig_; - - public SourceStreamConfigCase getSourceStreamConfigCase() { - return SourceStreamConfigCase.forNumber(sourceStreamConfigCase_); + public SourceStreamConfigCase + getSourceStreamConfigCase() { + return SourceStreamConfigCase.forNumber( + sourceStreamConfigCase_); } public Builder clearSourceStreamConfig() { @@ -763,23 +683,21 @@ public Builder clearSourceStreamConfig() { return this; } + private java.lang.Object sourceConnectionProfileName_ = ""; /** - * - * *
      * Required. Source connection profile identifier.
      * 
* - * string source_connection_profile_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * string source_connection_profile_name = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The sourceConnectionProfileName. */ public java.lang.String getSourceConnectionProfileName() { java.lang.Object ref = sourceConnectionProfileName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceConnectionProfileName_ = s; return s; @@ -788,22 +706,20 @@ public java.lang.String getSourceConnectionProfileName() { } } /** - * - * *
      * Required. Source connection profile identifier.
      * 
* - * string source_connection_profile_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * string source_connection_profile_name = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The bytes for sourceConnectionProfileName. */ - public com.google.protobuf.ByteString getSourceConnectionProfileNameBytes() { + public com.google.protobuf.ByteString + getSourceConnectionProfileNameBytes() { java.lang.Object ref = sourceConnectionProfileName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sourceConnectionProfileName_ = b; return b; } else { @@ -811,83 +727,67 @@ public com.google.protobuf.ByteString getSourceConnectionProfileNameBytes() { } } /** - * - * *
      * Required. Source connection profile identifier.
      * 
* - * string source_connection_profile_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * string source_connection_profile_name = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The sourceConnectionProfileName to set. * @return This builder for chaining. */ - public Builder setSourceConnectionProfileName(java.lang.String value) { + public Builder setSourceConnectionProfileName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + sourceConnectionProfileName_ = value; onChanged(); return this; } /** - * - * *
      * Required. Source connection profile identifier.
      * 
* - * string source_connection_profile_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * string source_connection_profile_name = 1 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearSourceConnectionProfileName() { - + sourceConnectionProfileName_ = getDefaultInstance().getSourceConnectionProfileName(); onChanged(); return this; } /** - * - * *
      * Required. Source connection profile identifier.
      * 
* - * string source_connection_profile_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * string source_connection_profile_name = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The bytes for sourceConnectionProfileName to set. * @return This builder for chaining. */ - public Builder setSourceConnectionProfileNameBytes(com.google.protobuf.ByteString value) { + public Builder setSourceConnectionProfileNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + sourceConnectionProfileName_ = value; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.OracleSourceConfig, - com.google.cloud.datastream.v1alpha1.OracleSourceConfig.Builder, - com.google.cloud.datastream.v1alpha1.OracleSourceConfigOrBuilder> - oracleSourceConfigBuilder_; + com.google.cloud.datastream.v1alpha1.OracleSourceConfig, com.google.cloud.datastream.v1alpha1.OracleSourceConfig.Builder, com.google.cloud.datastream.v1alpha1.OracleSourceConfigOrBuilder> oracleSourceConfigBuilder_; /** - * - * *
      * Oracle data source configuration
      * 
* * .google.cloud.datastream.v1alpha1.OracleSourceConfig oracle_source_config = 100; - * * @return Whether the oracleSourceConfig field is set. */ @java.lang.Override @@ -895,14 +795,11 @@ public boolean hasOracleSourceConfig() { return sourceStreamConfigCase_ == 100; } /** - * - * *
      * Oracle data source configuration
      * 
* * .google.cloud.datastream.v1alpha1.OracleSourceConfig oracle_source_config = 100; - * * @return The oracleSourceConfig. */ @java.lang.Override @@ -920,16 +817,13 @@ public com.google.cloud.datastream.v1alpha1.OracleSourceConfig getOracleSourceCo } } /** - * - * *
      * Oracle data source configuration
      * 
* * .google.cloud.datastream.v1alpha1.OracleSourceConfig oracle_source_config = 100; */ - public Builder setOracleSourceConfig( - com.google.cloud.datastream.v1alpha1.OracleSourceConfig value) { + public Builder setOracleSourceConfig(com.google.cloud.datastream.v1alpha1.OracleSourceConfig value) { if (oracleSourceConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -943,8 +837,6 @@ public Builder setOracleSourceConfig( return this; } /** - * - * *
      * Oracle data source configuration
      * 
@@ -963,25 +855,18 @@ public Builder setOracleSourceConfig( return this; } /** - * - * *
      * Oracle data source configuration
      * 
* * .google.cloud.datastream.v1alpha1.OracleSourceConfig oracle_source_config = 100; */ - public Builder mergeOracleSourceConfig( - com.google.cloud.datastream.v1alpha1.OracleSourceConfig value) { + public Builder mergeOracleSourceConfig(com.google.cloud.datastream.v1alpha1.OracleSourceConfig value) { if (oracleSourceConfigBuilder_ == null) { - if (sourceStreamConfigCase_ == 100 - && sourceStreamConfig_ - != com.google.cloud.datastream.v1alpha1.OracleSourceConfig.getDefaultInstance()) { - sourceStreamConfig_ = - com.google.cloud.datastream.v1alpha1.OracleSourceConfig.newBuilder( - (com.google.cloud.datastream.v1alpha1.OracleSourceConfig) sourceStreamConfig_) - .mergeFrom(value) - .buildPartial(); + if (sourceStreamConfigCase_ == 100 && + sourceStreamConfig_ != com.google.cloud.datastream.v1alpha1.OracleSourceConfig.getDefaultInstance()) { + sourceStreamConfig_ = com.google.cloud.datastream.v1alpha1.OracleSourceConfig.newBuilder((com.google.cloud.datastream.v1alpha1.OracleSourceConfig) sourceStreamConfig_) + .mergeFrom(value).buildPartial(); } else { sourceStreamConfig_ = value; } @@ -997,8 +882,6 @@ public Builder mergeOracleSourceConfig( return this; } /** - * - * *
      * Oracle data source configuration
      * 
@@ -1022,21 +905,16 @@ public Builder clearOracleSourceConfig() { return this; } /** - * - * *
      * Oracle data source configuration
      * 
* * .google.cloud.datastream.v1alpha1.OracleSourceConfig oracle_source_config = 100; */ - public com.google.cloud.datastream.v1alpha1.OracleSourceConfig.Builder - getOracleSourceConfigBuilder() { + public com.google.cloud.datastream.v1alpha1.OracleSourceConfig.Builder getOracleSourceConfigBuilder() { return getOracleSourceConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Oracle data source configuration
      * 
@@ -1044,8 +922,7 @@ public Builder clearOracleSourceConfig() { * .google.cloud.datastream.v1alpha1.OracleSourceConfig oracle_source_config = 100; */ @java.lang.Override - public com.google.cloud.datastream.v1alpha1.OracleSourceConfigOrBuilder - getOracleSourceConfigOrBuilder() { + public com.google.cloud.datastream.v1alpha1.OracleSourceConfigOrBuilder getOracleSourceConfigOrBuilder() { if ((sourceStreamConfigCase_ == 100) && (oracleSourceConfigBuilder_ != null)) { return oracleSourceConfigBuilder_.getMessageOrBuilder(); } else { @@ -1056,8 +933,6 @@ public Builder clearOracleSourceConfig() { } } /** - * - * *
      * Oracle data source configuration
      * 
@@ -1065,45 +940,32 @@ public Builder clearOracleSourceConfig() { * .google.cloud.datastream.v1alpha1.OracleSourceConfig oracle_source_config = 100; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.OracleSourceConfig, - com.google.cloud.datastream.v1alpha1.OracleSourceConfig.Builder, - com.google.cloud.datastream.v1alpha1.OracleSourceConfigOrBuilder> + com.google.cloud.datastream.v1alpha1.OracleSourceConfig, com.google.cloud.datastream.v1alpha1.OracleSourceConfig.Builder, com.google.cloud.datastream.v1alpha1.OracleSourceConfigOrBuilder> getOracleSourceConfigFieldBuilder() { if (oracleSourceConfigBuilder_ == null) { if (!(sourceStreamConfigCase_ == 100)) { - sourceStreamConfig_ = - com.google.cloud.datastream.v1alpha1.OracleSourceConfig.getDefaultInstance(); + sourceStreamConfig_ = com.google.cloud.datastream.v1alpha1.OracleSourceConfig.getDefaultInstance(); } - oracleSourceConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.OracleSourceConfig, - com.google.cloud.datastream.v1alpha1.OracleSourceConfig.Builder, - com.google.cloud.datastream.v1alpha1.OracleSourceConfigOrBuilder>( + oracleSourceConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1alpha1.OracleSourceConfig, com.google.cloud.datastream.v1alpha1.OracleSourceConfig.Builder, com.google.cloud.datastream.v1alpha1.OracleSourceConfigOrBuilder>( (com.google.cloud.datastream.v1alpha1.OracleSourceConfig) sourceStreamConfig_, getParentForChildren(), isClean()); sourceStreamConfig_ = null; } sourceStreamConfigCase_ = 100; - onChanged(); - ; + onChanged();; return oracleSourceConfigBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.MysqlSourceConfig, - com.google.cloud.datastream.v1alpha1.MysqlSourceConfig.Builder, - com.google.cloud.datastream.v1alpha1.MysqlSourceConfigOrBuilder> - mysqlSourceConfigBuilder_; + com.google.cloud.datastream.v1alpha1.MysqlSourceConfig, com.google.cloud.datastream.v1alpha1.MysqlSourceConfig.Builder, com.google.cloud.datastream.v1alpha1.MysqlSourceConfigOrBuilder> mysqlSourceConfigBuilder_; /** - * - * *
      * MySQL data source configuration
      * 
* * .google.cloud.datastream.v1alpha1.MysqlSourceConfig mysql_source_config = 101; - * * @return Whether the mysqlSourceConfig field is set. */ @java.lang.Override @@ -1111,14 +973,11 @@ public boolean hasMysqlSourceConfig() { return sourceStreamConfigCase_ == 101; } /** - * - * *
      * MySQL data source configuration
      * 
* * .google.cloud.datastream.v1alpha1.MysqlSourceConfig mysql_source_config = 101; - * * @return The mysqlSourceConfig. */ @java.lang.Override @@ -1136,16 +995,13 @@ public com.google.cloud.datastream.v1alpha1.MysqlSourceConfig getMysqlSourceConf } } /** - * - * *
      * MySQL data source configuration
      * 
* * .google.cloud.datastream.v1alpha1.MysqlSourceConfig mysql_source_config = 101; */ - public Builder setMysqlSourceConfig( - com.google.cloud.datastream.v1alpha1.MysqlSourceConfig value) { + public Builder setMysqlSourceConfig(com.google.cloud.datastream.v1alpha1.MysqlSourceConfig value) { if (mysqlSourceConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1159,8 +1015,6 @@ public Builder setMysqlSourceConfig( return this; } /** - * - * *
      * MySQL data source configuration
      * 
@@ -1179,25 +1033,18 @@ public Builder setMysqlSourceConfig( return this; } /** - * - * *
      * MySQL data source configuration
      * 
* * .google.cloud.datastream.v1alpha1.MysqlSourceConfig mysql_source_config = 101; */ - public Builder mergeMysqlSourceConfig( - com.google.cloud.datastream.v1alpha1.MysqlSourceConfig value) { + public Builder mergeMysqlSourceConfig(com.google.cloud.datastream.v1alpha1.MysqlSourceConfig value) { if (mysqlSourceConfigBuilder_ == null) { - if (sourceStreamConfigCase_ == 101 - && sourceStreamConfig_ - != com.google.cloud.datastream.v1alpha1.MysqlSourceConfig.getDefaultInstance()) { - sourceStreamConfig_ = - com.google.cloud.datastream.v1alpha1.MysqlSourceConfig.newBuilder( - (com.google.cloud.datastream.v1alpha1.MysqlSourceConfig) sourceStreamConfig_) - .mergeFrom(value) - .buildPartial(); + if (sourceStreamConfigCase_ == 101 && + sourceStreamConfig_ != com.google.cloud.datastream.v1alpha1.MysqlSourceConfig.getDefaultInstance()) { + sourceStreamConfig_ = com.google.cloud.datastream.v1alpha1.MysqlSourceConfig.newBuilder((com.google.cloud.datastream.v1alpha1.MysqlSourceConfig) sourceStreamConfig_) + .mergeFrom(value).buildPartial(); } else { sourceStreamConfig_ = value; } @@ -1213,8 +1060,6 @@ public Builder mergeMysqlSourceConfig( return this; } /** - * - * *
      * MySQL data source configuration
      * 
@@ -1238,21 +1083,16 @@ public Builder clearMysqlSourceConfig() { return this; } /** - * - * *
      * MySQL data source configuration
      * 
* * .google.cloud.datastream.v1alpha1.MysqlSourceConfig mysql_source_config = 101; */ - public com.google.cloud.datastream.v1alpha1.MysqlSourceConfig.Builder - getMysqlSourceConfigBuilder() { + public com.google.cloud.datastream.v1alpha1.MysqlSourceConfig.Builder getMysqlSourceConfigBuilder() { return getMysqlSourceConfigFieldBuilder().getBuilder(); } /** - * - * *
      * MySQL data source configuration
      * 
@@ -1260,8 +1100,7 @@ public Builder clearMysqlSourceConfig() { * .google.cloud.datastream.v1alpha1.MysqlSourceConfig mysql_source_config = 101; */ @java.lang.Override - public com.google.cloud.datastream.v1alpha1.MysqlSourceConfigOrBuilder - getMysqlSourceConfigOrBuilder() { + public com.google.cloud.datastream.v1alpha1.MysqlSourceConfigOrBuilder getMysqlSourceConfigOrBuilder() { if ((sourceStreamConfigCase_ == 101) && (mysqlSourceConfigBuilder_ != null)) { return mysqlSourceConfigBuilder_.getMessageOrBuilder(); } else { @@ -1272,8 +1111,6 @@ public Builder clearMysqlSourceConfig() { } } /** - * - * *
      * MySQL data source configuration
      * 
@@ -1281,33 +1118,26 @@ public Builder clearMysqlSourceConfig() { * .google.cloud.datastream.v1alpha1.MysqlSourceConfig mysql_source_config = 101; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.MysqlSourceConfig, - com.google.cloud.datastream.v1alpha1.MysqlSourceConfig.Builder, - com.google.cloud.datastream.v1alpha1.MysqlSourceConfigOrBuilder> + com.google.cloud.datastream.v1alpha1.MysqlSourceConfig, com.google.cloud.datastream.v1alpha1.MysqlSourceConfig.Builder, com.google.cloud.datastream.v1alpha1.MysqlSourceConfigOrBuilder> getMysqlSourceConfigFieldBuilder() { if (mysqlSourceConfigBuilder_ == null) { if (!(sourceStreamConfigCase_ == 101)) { - sourceStreamConfig_ = - com.google.cloud.datastream.v1alpha1.MysqlSourceConfig.getDefaultInstance(); + sourceStreamConfig_ = com.google.cloud.datastream.v1alpha1.MysqlSourceConfig.getDefaultInstance(); } - mysqlSourceConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.MysqlSourceConfig, - com.google.cloud.datastream.v1alpha1.MysqlSourceConfig.Builder, - com.google.cloud.datastream.v1alpha1.MysqlSourceConfigOrBuilder>( + mysqlSourceConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1alpha1.MysqlSourceConfig, com.google.cloud.datastream.v1alpha1.MysqlSourceConfig.Builder, com.google.cloud.datastream.v1alpha1.MysqlSourceConfigOrBuilder>( (com.google.cloud.datastream.v1alpha1.MysqlSourceConfig) sourceStreamConfig_, getParentForChildren(), isClean()); sourceStreamConfig_ = null; } sourceStreamConfigCase_ = 101; - onChanged(); - ; + onChanged();; return mysqlSourceConfigBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1317,12 +1147,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1alpha1.SourceConfig) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1alpha1.SourceConfig) private static final com.google.cloud.datastream.v1alpha1.SourceConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1alpha1.SourceConfig(); } @@ -1331,16 +1161,16 @@ public static com.google.cloud.datastream.v1alpha1.SourceConfig getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SourceConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SourceConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SourceConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SourceConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1355,4 +1185,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datastream.v1alpha1.SourceConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/SourceConfigOrBuilder.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/SourceConfigOrBuilder.java similarity index 72% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/SourceConfigOrBuilder.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/SourceConfigOrBuilder.java index 561e3858..158bed90 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/SourceConfigOrBuilder.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/SourceConfigOrBuilder.java @@ -1,82 +1,51 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1alpha1/datastream_resources.proto package com.google.cloud.datastream.v1alpha1; -public interface SourceConfigOrBuilder - extends +public interface SourceConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1alpha1.SourceConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Source connection profile identifier.
    * 
* - * string source_connection_profile_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * string source_connection_profile_name = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The sourceConnectionProfileName. */ java.lang.String getSourceConnectionProfileName(); /** - * - * *
    * Required. Source connection profile identifier.
    * 
* - * string source_connection_profile_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * string source_connection_profile_name = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The bytes for sourceConnectionProfileName. */ - com.google.protobuf.ByteString getSourceConnectionProfileNameBytes(); + com.google.protobuf.ByteString + getSourceConnectionProfileNameBytes(); /** - * - * *
    * Oracle data source configuration
    * 
* * .google.cloud.datastream.v1alpha1.OracleSourceConfig oracle_source_config = 100; - * * @return Whether the oracleSourceConfig field is set. */ boolean hasOracleSourceConfig(); /** - * - * *
    * Oracle data source configuration
    * 
* * .google.cloud.datastream.v1alpha1.OracleSourceConfig oracle_source_config = 100; - * * @return The oracleSourceConfig. */ com.google.cloud.datastream.v1alpha1.OracleSourceConfig getOracleSourceConfig(); /** - * - * *
    * Oracle data source configuration
    * 
@@ -86,32 +55,24 @@ public interface SourceConfigOrBuilder com.google.cloud.datastream.v1alpha1.OracleSourceConfigOrBuilder getOracleSourceConfigOrBuilder(); /** - * - * *
    * MySQL data source configuration
    * 
* * .google.cloud.datastream.v1alpha1.MysqlSourceConfig mysql_source_config = 101; - * * @return Whether the mysqlSourceConfig field is set. */ boolean hasMysqlSourceConfig(); /** - * - * *
    * MySQL data source configuration
    * 
* * .google.cloud.datastream.v1alpha1.MysqlSourceConfig mysql_source_config = 101; - * * @return The mysqlSourceConfig. */ com.google.cloud.datastream.v1alpha1.MysqlSourceConfig getMysqlSourceConfig(); /** - * - * *
    * MySQL data source configuration
    * 
@@ -120,6 +81,5 @@ public interface SourceConfigOrBuilder */ com.google.cloud.datastream.v1alpha1.MysqlSourceConfigOrBuilder getMysqlSourceConfigOrBuilder(); - public com.google.cloud.datastream.v1alpha1.SourceConfig.SourceStreamConfigCase - getSourceStreamConfigCase(); + public com.google.cloud.datastream.v1alpha1.SourceConfig.SourceStreamConfigCase getSourceStreamConfigCase(); } diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/StaticServiceIpConnectivity.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/StaticServiceIpConnectivity.java similarity index 64% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/StaticServiceIpConnectivity.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/StaticServiceIpConnectivity.java index f2a97451..b33caa7c 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/StaticServiceIpConnectivity.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/StaticServiceIpConnectivity.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1alpha1/datastream_resources.proto package com.google.cloud.datastream.v1alpha1; /** - * - * *
  * Static IP address connectivity.
  * 
* * Protobuf type {@code google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity} */ -public final class StaticServiceIpConnectivity extends com.google.protobuf.GeneratedMessageV3 - implements +public final class StaticServiceIpConnectivity extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity) StaticServiceIpConnectivityOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use StaticServiceIpConnectivity.newBuilder() to construct. private StaticServiceIpConnectivity(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private StaticServiceIpConnectivity() {} + private StaticServiceIpConnectivity() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new StaticServiceIpConnectivity(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private StaticServiceIpConnectivity( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,13 +52,13 @@ private StaticServiceIpConnectivity( case 0: done = true; break; - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -82,30 +66,27 @@ private StaticServiceIpConnectivity( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_StaticServiceIpConnectivity_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_StaticServiceIpConnectivity_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_StaticServiceIpConnectivity_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_StaticServiceIpConnectivity_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity.class, - com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity.Builder.class); + com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity.class, com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -117,7 +98,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { unknownFields.writeTo(output); } @@ -135,13 +117,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity)) { return super.equals(obj); } - com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity other = - (com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity) obj; + com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity other = (com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -160,127 +141,117 @@ public int hashCode() { } public static com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity 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.datastream.v1alpha1.StaticServiceIpConnectivity parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity prototype) { + public static Builder newBuilder(com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Static IP address connectivity.
    * 
* * Protobuf type {@code google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity) com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivityOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_StaticServiceIpConnectivity_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_StaticServiceIpConnectivity_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_StaticServiceIpConnectivity_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_StaticServiceIpConnectivity_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity.class, - com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity.Builder.class); + com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity.class, com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity.Builder.class); } // Construct using com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity.newBuilder() @@ -288,15 +259,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -304,14 +276,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_StaticServiceIpConnectivity_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_StaticServiceIpConnectivity_descriptor; } @java.lang.Override - public com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity - getDefaultInstanceForType() { + public com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity getDefaultInstanceForType() { return com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity.getDefaultInstance(); } @@ -326,8 +297,7 @@ public com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity build() @java.lang.Override public com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity buildPartial() { - com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity result = - new com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity(this); + com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity result = new com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity(this); onBuilt(); return result; } @@ -336,50 +306,46 @@ public com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity buildPar public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity) { - return mergeFrom((com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity) other); + return mergeFrom((com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity other) { - if (other - == com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity other) { + if (other == com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -399,9 +365,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -410,9 +374,9 @@ public Builder mergeFrom( } return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -422,32 +386,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity) - private static final com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity - DEFAULT_INSTANCE; - + private static final com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity(); } - public static com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity - getDefaultInstance() { + public static com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StaticServiceIpConnectivity parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new StaticServiceIpConnectivity(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StaticServiceIpConnectivity parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StaticServiceIpConnectivity(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -459,8 +421,9 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity - getDefaultInstanceForType() { + public com.google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/StaticServiceIpConnectivityOrBuilder.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/StaticServiceIpConnectivityOrBuilder.java new file mode 100644 index 00000000..70408cec --- /dev/null +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/StaticServiceIpConnectivityOrBuilder.java @@ -0,0 +1,9 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/datastream/v1alpha1/datastream_resources.proto + +package com.google.cloud.datastream.v1alpha1; + +public interface StaticServiceIpConnectivityOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity) + com.google.protobuf.MessageOrBuilder { +} diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/Stream.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/Stream.java similarity index 65% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/Stream.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/Stream.java index ab9bd544..58ae4739 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/Stream.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/Stream.java @@ -1,34 +1,20 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1alpha1/datastream_resources.proto package com.google.cloud.datastream.v1alpha1; -/** Protobuf type {@code google.cloud.datastream.v1alpha1.Stream} */ -public final class Stream extends com.google.protobuf.GeneratedMessageV3 - implements +/** + * Protobuf type {@code google.cloud.datastream.v1alpha1.Stream} + */ +public final class Stream extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1alpha1.Stream) StreamOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Stream.newBuilder() to construct. private Stream(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Stream() { name_ = ""; displayName_ = ""; @@ -38,15 +24,16 @@ private Stream() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Stream(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Stream( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -66,168 +53,133 @@ private Stream( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; + name_ = s; + break; + } + case 18: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); } - case 18: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } - - break; + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 26: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); - } - updateTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); - } - break; + break; + } + case 26: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); } - case 34: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - labels_ = - com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; - } - com.google.protobuf.MapEntry labels__ = - input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - labels_.getMutableMap().put(labels__.getKey(), labels__.getValue()); - break; + updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); - displayName_ = s; - break; + break; + } + case 34: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; } - case 50: - { - com.google.cloud.datastream.v1alpha1.SourceConfig.Builder subBuilder = null; - if (sourceConfig_ != null) { - subBuilder = sourceConfig_.toBuilder(); - } - sourceConfig_ = - input.readMessage( - com.google.cloud.datastream.v1alpha1.SourceConfig.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(sourceConfig_); - sourceConfig_ = subBuilder.buildPartial(); - } + com.google.protobuf.MapEntry + labels__ = input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + labels_.getMutableMap().put( + labels__.getKey(), labels__.getValue()); + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); - break; + displayName_ = s; + break; + } + case 50: { + com.google.cloud.datastream.v1alpha1.SourceConfig.Builder subBuilder = null; + if (sourceConfig_ != null) { + subBuilder = sourceConfig_.toBuilder(); + } + sourceConfig_ = input.readMessage(com.google.cloud.datastream.v1alpha1.SourceConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(sourceConfig_); + sourceConfig_ = subBuilder.buildPartial(); } - case 58: - { - com.google.cloud.datastream.v1alpha1.DestinationConfig.Builder subBuilder = null; - if (destinationConfig_ != null) { - subBuilder = destinationConfig_.toBuilder(); - } - destinationConfig_ = - input.readMessage( - com.google.cloud.datastream.v1alpha1.DestinationConfig.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(destinationConfig_); - destinationConfig_ = subBuilder.buildPartial(); - } - break; + break; + } + case 58: { + com.google.cloud.datastream.v1alpha1.DestinationConfig.Builder subBuilder = null; + if (destinationConfig_ != null) { + subBuilder = destinationConfig_.toBuilder(); + } + destinationConfig_ = input.readMessage(com.google.cloud.datastream.v1alpha1.DestinationConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(destinationConfig_); + destinationConfig_ = subBuilder.buildPartial(); } - case 64: - { - int rawValue = input.readEnum(); - state_ = rawValue; - break; + break; + } + case 64: { + int rawValue = input.readEnum(); + + state_ = rawValue; + break; + } + case 74: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + errors_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; } - case 74: - { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - errors_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; - } - errors_.add( - input.readMessage( - com.google.cloud.datastream.v1alpha1.Error.parser(), extensionRegistry)); - break; + errors_.add( + input.readMessage(com.google.cloud.datastream.v1alpha1.Error.parser(), extensionRegistry)); + break; + } + case 810: { + com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy.Builder subBuilder = null; + if (backfillStrategyCase_ == 101) { + subBuilder = ((com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy) backfillStrategy_).toBuilder(); } - case 810: - { - com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy.Builder subBuilder = - null; - if (backfillStrategyCase_ == 101) { - subBuilder = - ((com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy) - backfillStrategy_) - .toBuilder(); - } - backfillStrategy_ = - input.readMessage( - com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy) - backfillStrategy_); - backfillStrategy_ = subBuilder.buildPartial(); - } - backfillStrategyCase_ = 101; - break; + backfillStrategy_ = + input.readMessage(com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy) backfillStrategy_); + backfillStrategy_ = subBuilder.buildPartial(); } - case 818: - { - com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy.Builder subBuilder = - null; - if (backfillStrategyCase_ == 102) { - subBuilder = - ((com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy) - backfillStrategy_) - .toBuilder(); - } - backfillStrategy_ = - input.readMessage( - com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy) - backfillStrategy_); - backfillStrategy_ = subBuilder.buildPartial(); - } - backfillStrategyCase_ = 102; - break; + backfillStrategyCase_ = 101; + break; + } + case 818: { + com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy.Builder subBuilder = null; + if (backfillStrategyCase_ == 102) { + subBuilder = ((com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy) backfillStrategy_).toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + backfillStrategy_ = + input.readMessage(com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy) backfillStrategy_); + backfillStrategy_ = subBuilder.buildPartial(); + } + backfillStrategyCase_ = 102; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -235,7 +187,8 @@ private Stream( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000002) != 0)) { errors_ = java.util.Collections.unmodifiableList(errors_); @@ -244,46 +197,41 @@ private Stream( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_Stream_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_Stream_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 4: return internalGetLabels(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_Stream_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_Stream_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.Stream.class, - com.google.cloud.datastream.v1alpha1.Stream.Builder.class); + com.google.cloud.datastream.v1alpha1.Stream.class, com.google.cloud.datastream.v1alpha1.Stream.Builder.class); } /** - * - * *
    * Stream state.
    * 
* * Protobuf enum {@code google.cloud.datastream.v1alpha1.Stream.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { + public enum State + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Unspecified stream state.
      * 
@@ -292,8 +240,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
      * The stream has been created.
      * 
@@ -302,8 +248,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ CREATED(1), /** - * - * *
      * The stream is running.
      * 
@@ -312,8 +256,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ RUNNING(2), /** - * - * *
      * The stream is paused.
      * 
@@ -322,8 +264,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ PAUSED(3), /** - * - * *
      * The stream is in maintenance mode.
      * Updates are rejected on the resource in this state.
@@ -333,8 +273,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     MAINTENANCE(4),
     /**
-     *
-     *
      * 
      * The stream is experiencing an error that is preventing data from being
      * streamed.
@@ -344,8 +282,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     FAILED(5),
     /**
-     *
-     *
      * 
      * The stream has experienced a terminal failure.
      * 
@@ -354,8 +290,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ FAILED_PERMANENTLY(6), /** - * - * *
      * The stream is starting, but not yet running.
      * 
@@ -364,8 +298,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STARTING(7), /** - * - * *
      * The Stream is no longer reading new events, but still writing events in
      * the buffer.
@@ -378,8 +310,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Unspecified stream state.
      * 
@@ -388,8 +318,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The stream has been created.
      * 
@@ -398,8 +326,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CREATED_VALUE = 1; /** - * - * *
      * The stream is running.
      * 
@@ -408,8 +334,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RUNNING_VALUE = 2; /** - * - * *
      * The stream is paused.
      * 
@@ -418,8 +342,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PAUSED_VALUE = 3; /** - * - * *
      * The stream is in maintenance mode.
      * Updates are rejected on the resource in this state.
@@ -429,8 +351,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int MAINTENANCE_VALUE = 4;
     /**
-     *
-     *
      * 
      * The stream is experiencing an error that is preventing data from being
      * streamed.
@@ -440,8 +360,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int FAILED_VALUE = 5;
     /**
-     *
-     *
      * 
      * The stream has experienced a terminal failure.
      * 
@@ -450,8 +368,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FAILED_PERMANENTLY_VALUE = 6; /** - * - * *
      * The stream is starting, but not yet running.
      * 
@@ -460,8 +376,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STARTING_VALUE = 7; /** - * - * *
      * The Stream is no longer reading new events, but still writing events in
      * the buffer.
@@ -471,6 +385,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int DRAINING_VALUE = 8;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -495,61 +410,55 @@ public static State valueOf(int value) {
      */
     public static State forNumber(int value) {
       switch (value) {
-        case 0:
-          return STATE_UNSPECIFIED;
-        case 1:
-          return CREATED;
-        case 2:
-          return RUNNING;
-        case 3:
-          return PAUSED;
-        case 4:
-          return MAINTENANCE;
-        case 5:
-          return FAILED;
-        case 6:
-          return FAILED_PERMANENTLY;
-        case 7:
-          return STARTING;
-        case 8:
-          return DRAINING;
-        default:
-          return null;
+        case 0: return STATE_UNSPECIFIED;
+        case 1: return CREATED;
+        case 2: return RUNNING;
+        case 3: return PAUSED;
+        case 4: return MAINTENANCE;
+        case 5: return FAILED;
+        case 6: return FAILED_PERMANENTLY;
+        case 7: return STARTING;
+        case 8: return DRAINING;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        State> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public State findValueByNumber(int number) {
+              return State.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public State findValueByNumber(int number) {
-            return State.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.cloud.datastream.v1alpha1.Stream.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;
@@ -566,38 +475,29 @@ private State(int value) {
     // @@protoc_insertion_point(enum_scope:google.cloud.datastream.v1alpha1.Stream.State)
   }
 
-  public interface BackfillAllStrategyOrBuilder
-      extends
+  public interface BackfillAllStrategyOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * Oracle data source objects to avoid backfilling.
      * 
* * .google.cloud.datastream.v1alpha1.OracleRdbms oracle_excluded_objects = 1; - * * @return Whether the oracleExcludedObjects field is set. */ boolean hasOracleExcludedObjects(); /** - * - * *
      * Oracle data source objects to avoid backfilling.
      * 
* * .google.cloud.datastream.v1alpha1.OracleRdbms oracle_excluded_objects = 1; - * * @return The oracleExcludedObjects. */ com.google.cloud.datastream.v1alpha1.OracleRdbms getOracleExcludedObjects(); /** - * - * *
      * Oracle data source objects to avoid backfilling.
      * 
@@ -607,32 +507,24 @@ public interface BackfillAllStrategyOrBuilder com.google.cloud.datastream.v1alpha1.OracleRdbmsOrBuilder getOracleExcludedObjectsOrBuilder(); /** - * - * *
      * MySQL data source objects to avoid backfilling.
      * 
* * .google.cloud.datastream.v1alpha1.MysqlRdbms mysql_excluded_objects = 2; - * * @return Whether the mysqlExcludedObjects field is set. */ boolean hasMysqlExcludedObjects(); /** - * - * *
      * MySQL data source objects to avoid backfilling.
      * 
* * .google.cloud.datastream.v1alpha1.MysqlRdbms mysql_excluded_objects = 2; - * * @return The mysqlExcludedObjects. */ com.google.cloud.datastream.v1alpha1.MysqlRdbms getMysqlExcludedObjects(); /** - * - * *
      * MySQL data source objects to avoid backfilling.
      * 
@@ -641,12 +533,9 @@ public interface BackfillAllStrategyOrBuilder */ com.google.cloud.datastream.v1alpha1.MysqlRdbmsOrBuilder getMysqlExcludedObjectsOrBuilder(); - public com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy.ExcludedObjectsCase - getExcludedObjectsCase(); + public com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy.ExcludedObjectsCase getExcludedObjectsCase(); } /** - * - * *
    * Backfill strategy to automatically backfill the Stream's objects.
    * Specific objects can be excluded.
@@ -654,29 +543,30 @@ public interface BackfillAllStrategyOrBuilder
    *
    * Protobuf type {@code google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy}
    */
-  public static final class BackfillAllStrategy extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class BackfillAllStrategy extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy)
       BackfillAllStrategyOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use BackfillAllStrategy.newBuilder() to construct.
     private BackfillAllStrategy(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
-    private BackfillAllStrategy() {}
+    private BackfillAllStrategy() {
+    }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new BackfillAllStrategy();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private BackfillAllStrategy(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -695,53 +585,41 @@ private BackfillAllStrategy(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.cloud.datastream.v1alpha1.OracleRdbms.Builder subBuilder = null;
-                if (excludedObjectsCase_ == 1) {
-                  subBuilder =
-                      ((com.google.cloud.datastream.v1alpha1.OracleRdbms) excludedObjects_)
-                          .toBuilder();
-                }
-                excludedObjects_ =
-                    input.readMessage(
-                        com.google.cloud.datastream.v1alpha1.OracleRdbms.parser(),
-                        extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(
-                      (com.google.cloud.datastream.v1alpha1.OracleRdbms) excludedObjects_);
-                  excludedObjects_ = subBuilder.buildPartial();
-                }
-                excludedObjectsCase_ = 1;
-                break;
+            case 10: {
+              com.google.cloud.datastream.v1alpha1.OracleRdbms.Builder subBuilder = null;
+              if (excludedObjectsCase_ == 1) {
+                subBuilder = ((com.google.cloud.datastream.v1alpha1.OracleRdbms) excludedObjects_).toBuilder();
+              }
+              excludedObjects_ =
+                  input.readMessage(com.google.cloud.datastream.v1alpha1.OracleRdbms.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.cloud.datastream.v1alpha1.OracleRdbms) excludedObjects_);
+                excludedObjects_ = subBuilder.buildPartial();
               }
-            case 18:
-              {
-                com.google.cloud.datastream.v1alpha1.MysqlRdbms.Builder subBuilder = null;
-                if (excludedObjectsCase_ == 2) {
-                  subBuilder =
-                      ((com.google.cloud.datastream.v1alpha1.MysqlRdbms) excludedObjects_)
-                          .toBuilder();
-                }
-                excludedObjects_ =
-                    input.readMessage(
-                        com.google.cloud.datastream.v1alpha1.MysqlRdbms.parser(),
-                        extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(
-                      (com.google.cloud.datastream.v1alpha1.MysqlRdbms) excludedObjects_);
-                  excludedObjects_ = subBuilder.buildPartial();
-                }
-                excludedObjectsCase_ = 2;
-                break;
+              excludedObjectsCase_ = 1;
+              break;
+            }
+            case 18: {
+              com.google.cloud.datastream.v1alpha1.MysqlRdbms.Builder subBuilder = null;
+              if (excludedObjectsCase_ == 2) {
+                subBuilder = ((com.google.cloud.datastream.v1alpha1.MysqlRdbms) excludedObjects_).toBuilder();
               }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              excludedObjects_ =
+                  input.readMessage(com.google.cloud.datastream.v1alpha1.MysqlRdbms.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.cloud.datastream.v1alpha1.MysqlRdbms) excludedObjects_);
+                excludedObjects_ = subBuilder.buildPartial();
+              }
+              excludedObjectsCase_ = 2;
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -749,40 +627,35 @@ private BackfillAllStrategy(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto
-          .internal_static_google_cloud_datastream_v1alpha1_Stream_BackfillAllStrategy_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_Stream_BackfillAllStrategy_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto
-          .internal_static_google_cloud_datastream_v1alpha1_Stream_BackfillAllStrategy_fieldAccessorTable
+      return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_Stream_BackfillAllStrategy_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy.class,
-              com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy.Builder.class);
+              com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy.class, com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy.Builder.class);
     }
 
     private int excludedObjectsCase_ = 0;
     private java.lang.Object excludedObjects_;
-
     public enum ExcludedObjectsCase
-        implements
-            com.google.protobuf.Internal.EnumLite,
+        implements com.google.protobuf.Internal.EnumLite,
             com.google.protobuf.AbstractMessage.InternalOneOfEnum {
       ORACLE_EXCLUDED_OBJECTS(1),
       MYSQL_EXCLUDED_OBJECTS(2),
       EXCLUDEDOBJECTS_NOT_SET(0);
       private final int value;
-
       private ExcludedObjectsCase(int value) {
         this.value = value;
       }
@@ -798,36 +671,30 @@ public static ExcludedObjectsCase valueOf(int value) {
 
       public static ExcludedObjectsCase forNumber(int value) {
         switch (value) {
-          case 1:
-            return ORACLE_EXCLUDED_OBJECTS;
-          case 2:
-            return MYSQL_EXCLUDED_OBJECTS;
-          case 0:
-            return EXCLUDEDOBJECTS_NOT_SET;
-          default:
-            return null;
+          case 1: return ORACLE_EXCLUDED_OBJECTS;
+          case 2: return MYSQL_EXCLUDED_OBJECTS;
+          case 0: return EXCLUDEDOBJECTS_NOT_SET;
+          default: return null;
         }
       }
-
       public int getNumber() {
         return this.value;
       }
     };
 
-    public ExcludedObjectsCase getExcludedObjectsCase() {
-      return ExcludedObjectsCase.forNumber(excludedObjectsCase_);
+    public ExcludedObjectsCase
+    getExcludedObjectsCase() {
+      return ExcludedObjectsCase.forNumber(
+          excludedObjectsCase_);
     }
 
     public static final int ORACLE_EXCLUDED_OBJECTS_FIELD_NUMBER = 1;
     /**
-     *
-     *
      * 
      * Oracle data source objects to avoid backfilling.
      * 
* * .google.cloud.datastream.v1alpha1.OracleRdbms oracle_excluded_objects = 1; - * * @return Whether the oracleExcludedObjects field is set. */ @java.lang.Override @@ -835,26 +702,21 @@ public boolean hasOracleExcludedObjects() { return excludedObjectsCase_ == 1; } /** - * - * *
      * Oracle data source objects to avoid backfilling.
      * 
* * .google.cloud.datastream.v1alpha1.OracleRdbms oracle_excluded_objects = 1; - * * @return The oracleExcludedObjects. */ @java.lang.Override public com.google.cloud.datastream.v1alpha1.OracleRdbms getOracleExcludedObjects() { if (excludedObjectsCase_ == 1) { - return (com.google.cloud.datastream.v1alpha1.OracleRdbms) excludedObjects_; + return (com.google.cloud.datastream.v1alpha1.OracleRdbms) excludedObjects_; } return com.google.cloud.datastream.v1alpha1.OracleRdbms.getDefaultInstance(); } /** - * - * *
      * Oracle data source objects to avoid backfilling.
      * 
@@ -862,24 +724,20 @@ public com.google.cloud.datastream.v1alpha1.OracleRdbms getOracleExcludedObjects * .google.cloud.datastream.v1alpha1.OracleRdbms oracle_excluded_objects = 1; */ @java.lang.Override - public com.google.cloud.datastream.v1alpha1.OracleRdbmsOrBuilder - getOracleExcludedObjectsOrBuilder() { + public com.google.cloud.datastream.v1alpha1.OracleRdbmsOrBuilder getOracleExcludedObjectsOrBuilder() { if (excludedObjectsCase_ == 1) { - return (com.google.cloud.datastream.v1alpha1.OracleRdbms) excludedObjects_; + return (com.google.cloud.datastream.v1alpha1.OracleRdbms) excludedObjects_; } return com.google.cloud.datastream.v1alpha1.OracleRdbms.getDefaultInstance(); } public static final int MYSQL_EXCLUDED_OBJECTS_FIELD_NUMBER = 2; /** - * - * *
      * MySQL data source objects to avoid backfilling.
      * 
* * .google.cloud.datastream.v1alpha1.MysqlRdbms mysql_excluded_objects = 2; - * * @return Whether the mysqlExcludedObjects field is set. */ @java.lang.Override @@ -887,26 +745,21 @@ public boolean hasMysqlExcludedObjects() { return excludedObjectsCase_ == 2; } /** - * - * *
      * MySQL data source objects to avoid backfilling.
      * 
* * .google.cloud.datastream.v1alpha1.MysqlRdbms mysql_excluded_objects = 2; - * * @return The mysqlExcludedObjects. */ @java.lang.Override public com.google.cloud.datastream.v1alpha1.MysqlRdbms getMysqlExcludedObjects() { if (excludedObjectsCase_ == 2) { - return (com.google.cloud.datastream.v1alpha1.MysqlRdbms) excludedObjects_; + return (com.google.cloud.datastream.v1alpha1.MysqlRdbms) excludedObjects_; } return com.google.cloud.datastream.v1alpha1.MysqlRdbms.getDefaultInstance(); } /** - * - * *
      * MySQL data source objects to avoid backfilling.
      * 
@@ -914,16 +767,14 @@ public com.google.cloud.datastream.v1alpha1.MysqlRdbms getMysqlExcludedObjects() * .google.cloud.datastream.v1alpha1.MysqlRdbms mysql_excluded_objects = 2; */ @java.lang.Override - public com.google.cloud.datastream.v1alpha1.MysqlRdbmsOrBuilder - getMysqlExcludedObjectsOrBuilder() { + public com.google.cloud.datastream.v1alpha1.MysqlRdbmsOrBuilder getMysqlExcludedObjectsOrBuilder() { if (excludedObjectsCase_ == 2) { - return (com.google.cloud.datastream.v1alpha1.MysqlRdbms) excludedObjects_; + return (com.google.cloud.datastream.v1alpha1.MysqlRdbms) excludedObjects_; } return com.google.cloud.datastream.v1alpha1.MysqlRdbms.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -935,7 +786,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 (excludedObjectsCase_ == 1) { output.writeMessage(1, (com.google.cloud.datastream.v1alpha1.OracleRdbms) excludedObjects_); } @@ -952,14 +804,12 @@ public int getSerializedSize() { size = 0; if (excludedObjectsCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, (com.google.cloud.datastream.v1alpha1.OracleRdbms) excludedObjects_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.cloud.datastream.v1alpha1.OracleRdbms) excludedObjects_); } if (excludedObjectsCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.cloud.datastream.v1alpha1.MysqlRdbms) excludedObjects_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.cloud.datastream.v1alpha1.MysqlRdbms) excludedObjects_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -969,21 +819,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.datastream.v1alpha1.Stream.BackfillAllStrategy)) { return super.equals(obj); } - com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy other = - (com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy) obj; + com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy other = (com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy) obj; if (!getExcludedObjectsCase().equals(other.getExcludedObjectsCase())) return false; switch (excludedObjectsCase_) { case 1: - if (!getOracleExcludedObjects().equals(other.getOracleExcludedObjects())) return false; + if (!getOracleExcludedObjects() + .equals(other.getOracleExcludedObjects())) return false; break; case 2: - if (!getMysqlExcludedObjects().equals(other.getMysqlExcludedObjects())) return false; + if (!getMysqlExcludedObjects() + .equals(other.getMysqlExcludedObjects())) return false; break; case 0: default: @@ -1017,95 +868,87 @@ public int hashCode() { } public static com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy prototype) { + public static Builder newBuilder(com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1115,8 +958,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Backfill strategy to automatically backfill the Stream's objects.
      * Specific objects can be excluded.
@@ -1124,41 +965,38 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy)
         com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategyOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto
-            .internal_static_google_cloud_datastream_v1alpha1_Stream_BackfillAllStrategy_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_Stream_BackfillAllStrategy_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto
-            .internal_static_google_cloud_datastream_v1alpha1_Stream_BackfillAllStrategy_fieldAccessorTable
+        return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_Stream_BackfillAllStrategy_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy.class,
-                com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy.Builder.class);
+                com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy.class, com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy.Builder.class);
       }
 
-      // Construct using
-      // com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy.newBuilder()
+      // Construct using com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy.newBuilder()
       private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -1168,14 +1006,13 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto
-            .internal_static_google_cloud_datastream_v1alpha1_Stream_BackfillAllStrategy_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_Stream_BackfillAllStrategy_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy
-          getDefaultInstanceForType() {
+      public com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy getDefaultInstanceForType() {
         return com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy.getDefaultInstance();
       }
 
@@ -1190,8 +1027,7 @@ public com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy build() {
 
       @java.lang.Override
       public com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy buildPartial() {
-        com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy result =
-            new com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy(this);
+        com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy result = new com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy(this);
         if (excludedObjectsCase_ == 1) {
           if (oracleExcludedObjectsBuilder_ == null) {
             result.excludedObjects_ = excludedObjects_;
@@ -1215,67 +1051,58 @@ public com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy buildPart
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.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.datastream.v1alpha1.Stream.BackfillAllStrategy) {
-          return mergeFrom((com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy) other);
+          return mergeFrom((com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy)other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(
-          com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy other) {
-        if (other
-            == com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy.getDefaultInstance())
-          return this;
+      public Builder mergeFrom(com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy other) {
+        if (other == com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy.getDefaultInstance()) return this;
         switch (other.getExcludedObjectsCase()) {
-          case ORACLE_EXCLUDED_OBJECTS:
-            {
-              mergeOracleExcludedObjects(other.getOracleExcludedObjects());
-              break;
-            }
-          case MYSQL_EXCLUDED_OBJECTS:
-            {
-              mergeMysqlExcludedObjects(other.getMysqlExcludedObjects());
-              break;
-            }
-          case EXCLUDEDOBJECTS_NOT_SET:
-            {
-              break;
-            }
+          case ORACLE_EXCLUDED_OBJECTS: {
+            mergeOracleExcludedObjects(other.getOracleExcludedObjects());
+            break;
+          }
+          case MYSQL_EXCLUDED_OBJECTS: {
+            mergeMysqlExcludedObjects(other.getMysqlExcludedObjects());
+            break;
+          }
+          case EXCLUDEDOBJECTS_NOT_SET: {
+            break;
+          }
         }
         this.mergeUnknownFields(other.unknownFields);
         onChanged();
@@ -1296,9 +1123,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy)
-                  e.getUnfinishedMessage();
+          parsedMessage = (com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -1307,12 +1132,12 @@ public Builder mergeFrom(
         }
         return this;
       }
-
       private int excludedObjectsCase_ = 0;
       private java.lang.Object excludedObjects_;
-
-      public ExcludedObjectsCase getExcludedObjectsCase() {
-        return ExcludedObjectsCase.forNumber(excludedObjectsCase_);
+      public ExcludedObjectsCase
+          getExcludedObjectsCase() {
+        return ExcludedObjectsCase.forNumber(
+            excludedObjectsCase_);
       }
 
       public Builder clearExcludedObjects() {
@@ -1322,20 +1147,15 @@ public Builder clearExcludedObjects() {
         return this;
       }
 
+
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.datastream.v1alpha1.OracleRdbms,
-              com.google.cloud.datastream.v1alpha1.OracleRdbms.Builder,
-              com.google.cloud.datastream.v1alpha1.OracleRdbmsOrBuilder>
-          oracleExcludedObjectsBuilder_;
+          com.google.cloud.datastream.v1alpha1.OracleRdbms, com.google.cloud.datastream.v1alpha1.OracleRdbms.Builder, com.google.cloud.datastream.v1alpha1.OracleRdbmsOrBuilder> oracleExcludedObjectsBuilder_;
       /**
-       *
-       *
        * 
        * Oracle data source objects to avoid backfilling.
        * 
* * .google.cloud.datastream.v1alpha1.OracleRdbms oracle_excluded_objects = 1; - * * @return Whether the oracleExcludedObjects field is set. */ @java.lang.Override @@ -1343,14 +1163,11 @@ public boolean hasOracleExcludedObjects() { return excludedObjectsCase_ == 1; } /** - * - * *
        * Oracle data source objects to avoid backfilling.
        * 
* * .google.cloud.datastream.v1alpha1.OracleRdbms oracle_excluded_objects = 1; - * * @return The oracleExcludedObjects. */ @java.lang.Override @@ -1368,16 +1185,13 @@ public com.google.cloud.datastream.v1alpha1.OracleRdbms getOracleExcludedObjects } } /** - * - * *
        * Oracle data source objects to avoid backfilling.
        * 
* * .google.cloud.datastream.v1alpha1.OracleRdbms oracle_excluded_objects = 1; */ - public Builder setOracleExcludedObjects( - com.google.cloud.datastream.v1alpha1.OracleRdbms value) { + public Builder setOracleExcludedObjects(com.google.cloud.datastream.v1alpha1.OracleRdbms value) { if (oracleExcludedObjectsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1391,8 +1205,6 @@ public Builder setOracleExcludedObjects( return this; } /** - * - * *
        * Oracle data source objects to avoid backfilling.
        * 
@@ -1411,25 +1223,18 @@ public Builder setOracleExcludedObjects( return this; } /** - * - * *
        * Oracle data source objects to avoid backfilling.
        * 
* * .google.cloud.datastream.v1alpha1.OracleRdbms oracle_excluded_objects = 1; */ - public Builder mergeOracleExcludedObjects( - com.google.cloud.datastream.v1alpha1.OracleRdbms value) { + public Builder mergeOracleExcludedObjects(com.google.cloud.datastream.v1alpha1.OracleRdbms value) { if (oracleExcludedObjectsBuilder_ == null) { - if (excludedObjectsCase_ == 1 - && excludedObjects_ - != com.google.cloud.datastream.v1alpha1.OracleRdbms.getDefaultInstance()) { - excludedObjects_ = - com.google.cloud.datastream.v1alpha1.OracleRdbms.newBuilder( - (com.google.cloud.datastream.v1alpha1.OracleRdbms) excludedObjects_) - .mergeFrom(value) - .buildPartial(); + if (excludedObjectsCase_ == 1 && + excludedObjects_ != com.google.cloud.datastream.v1alpha1.OracleRdbms.getDefaultInstance()) { + excludedObjects_ = com.google.cloud.datastream.v1alpha1.OracleRdbms.newBuilder((com.google.cloud.datastream.v1alpha1.OracleRdbms) excludedObjects_) + .mergeFrom(value).buildPartial(); } else { excludedObjects_ = value; } @@ -1445,8 +1250,6 @@ public Builder mergeOracleExcludedObjects( return this; } /** - * - * *
        * Oracle data source objects to avoid backfilling.
        * 
@@ -1470,21 +1273,16 @@ public Builder clearOracleExcludedObjects() { return this; } /** - * - * *
        * Oracle data source objects to avoid backfilling.
        * 
* * .google.cloud.datastream.v1alpha1.OracleRdbms oracle_excluded_objects = 1; */ - public com.google.cloud.datastream.v1alpha1.OracleRdbms.Builder - getOracleExcludedObjectsBuilder() { + public com.google.cloud.datastream.v1alpha1.OracleRdbms.Builder getOracleExcludedObjectsBuilder() { return getOracleExcludedObjectsFieldBuilder().getBuilder(); } /** - * - * *
        * Oracle data source objects to avoid backfilling.
        * 
@@ -1492,8 +1290,7 @@ public Builder clearOracleExcludedObjects() { * .google.cloud.datastream.v1alpha1.OracleRdbms oracle_excluded_objects = 1; */ @java.lang.Override - public com.google.cloud.datastream.v1alpha1.OracleRdbmsOrBuilder - getOracleExcludedObjectsOrBuilder() { + public com.google.cloud.datastream.v1alpha1.OracleRdbmsOrBuilder getOracleExcludedObjectsOrBuilder() { if ((excludedObjectsCase_ == 1) && (oracleExcludedObjectsBuilder_ != null)) { return oracleExcludedObjectsBuilder_.getMessageOrBuilder(); } else { @@ -1504,8 +1301,6 @@ public Builder clearOracleExcludedObjects() { } } /** - * - * *
        * Oracle data source objects to avoid backfilling.
        * 
@@ -1513,45 +1308,32 @@ public Builder clearOracleExcludedObjects() { * .google.cloud.datastream.v1alpha1.OracleRdbms oracle_excluded_objects = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.OracleRdbms, - com.google.cloud.datastream.v1alpha1.OracleRdbms.Builder, - com.google.cloud.datastream.v1alpha1.OracleRdbmsOrBuilder> + com.google.cloud.datastream.v1alpha1.OracleRdbms, com.google.cloud.datastream.v1alpha1.OracleRdbms.Builder, com.google.cloud.datastream.v1alpha1.OracleRdbmsOrBuilder> getOracleExcludedObjectsFieldBuilder() { if (oracleExcludedObjectsBuilder_ == null) { if (!(excludedObjectsCase_ == 1)) { - excludedObjects_ = - com.google.cloud.datastream.v1alpha1.OracleRdbms.getDefaultInstance(); + excludedObjects_ = com.google.cloud.datastream.v1alpha1.OracleRdbms.getDefaultInstance(); } - oracleExcludedObjectsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.OracleRdbms, - com.google.cloud.datastream.v1alpha1.OracleRdbms.Builder, - com.google.cloud.datastream.v1alpha1.OracleRdbmsOrBuilder>( + oracleExcludedObjectsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1alpha1.OracleRdbms, com.google.cloud.datastream.v1alpha1.OracleRdbms.Builder, com.google.cloud.datastream.v1alpha1.OracleRdbmsOrBuilder>( (com.google.cloud.datastream.v1alpha1.OracleRdbms) excludedObjects_, getParentForChildren(), isClean()); excludedObjects_ = null; } excludedObjectsCase_ = 1; - onChanged(); - ; + onChanged();; return oracleExcludedObjectsBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.MysqlRdbms, - com.google.cloud.datastream.v1alpha1.MysqlRdbms.Builder, - com.google.cloud.datastream.v1alpha1.MysqlRdbmsOrBuilder> - mysqlExcludedObjectsBuilder_; + com.google.cloud.datastream.v1alpha1.MysqlRdbms, com.google.cloud.datastream.v1alpha1.MysqlRdbms.Builder, com.google.cloud.datastream.v1alpha1.MysqlRdbmsOrBuilder> mysqlExcludedObjectsBuilder_; /** - * - * *
        * MySQL data source objects to avoid backfilling.
        * 
* * .google.cloud.datastream.v1alpha1.MysqlRdbms mysql_excluded_objects = 2; - * * @return Whether the mysqlExcludedObjects field is set. */ @java.lang.Override @@ -1559,14 +1341,11 @@ public boolean hasMysqlExcludedObjects() { return excludedObjectsCase_ == 2; } /** - * - * *
        * MySQL data source objects to avoid backfilling.
        * 
* * .google.cloud.datastream.v1alpha1.MysqlRdbms mysql_excluded_objects = 2; - * * @return The mysqlExcludedObjects. */ @java.lang.Override @@ -1584,16 +1363,13 @@ public com.google.cloud.datastream.v1alpha1.MysqlRdbms getMysqlExcludedObjects() } } /** - * - * *
        * MySQL data source objects to avoid backfilling.
        * 
* * .google.cloud.datastream.v1alpha1.MysqlRdbms mysql_excluded_objects = 2; */ - public Builder setMysqlExcludedObjects( - com.google.cloud.datastream.v1alpha1.MysqlRdbms value) { + public Builder setMysqlExcludedObjects(com.google.cloud.datastream.v1alpha1.MysqlRdbms value) { if (mysqlExcludedObjectsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1607,8 +1383,6 @@ public Builder setMysqlExcludedObjects( return this; } /** - * - * *
        * MySQL data source objects to avoid backfilling.
        * 
@@ -1627,25 +1401,18 @@ public Builder setMysqlExcludedObjects( return this; } /** - * - * *
        * MySQL data source objects to avoid backfilling.
        * 
* * .google.cloud.datastream.v1alpha1.MysqlRdbms mysql_excluded_objects = 2; */ - public Builder mergeMysqlExcludedObjects( - com.google.cloud.datastream.v1alpha1.MysqlRdbms value) { + public Builder mergeMysqlExcludedObjects(com.google.cloud.datastream.v1alpha1.MysqlRdbms value) { if (mysqlExcludedObjectsBuilder_ == null) { - if (excludedObjectsCase_ == 2 - && excludedObjects_ - != com.google.cloud.datastream.v1alpha1.MysqlRdbms.getDefaultInstance()) { - excludedObjects_ = - com.google.cloud.datastream.v1alpha1.MysqlRdbms.newBuilder( - (com.google.cloud.datastream.v1alpha1.MysqlRdbms) excludedObjects_) - .mergeFrom(value) - .buildPartial(); + if (excludedObjectsCase_ == 2 && + excludedObjects_ != com.google.cloud.datastream.v1alpha1.MysqlRdbms.getDefaultInstance()) { + excludedObjects_ = com.google.cloud.datastream.v1alpha1.MysqlRdbms.newBuilder((com.google.cloud.datastream.v1alpha1.MysqlRdbms) excludedObjects_) + .mergeFrom(value).buildPartial(); } else { excludedObjects_ = value; } @@ -1661,8 +1428,6 @@ public Builder mergeMysqlExcludedObjects( return this; } /** - * - * *
        * MySQL data source objects to avoid backfilling.
        * 
@@ -1686,21 +1451,16 @@ public Builder clearMysqlExcludedObjects() { return this; } /** - * - * *
        * MySQL data source objects to avoid backfilling.
        * 
* * .google.cloud.datastream.v1alpha1.MysqlRdbms mysql_excluded_objects = 2; */ - public com.google.cloud.datastream.v1alpha1.MysqlRdbms.Builder - getMysqlExcludedObjectsBuilder() { + public com.google.cloud.datastream.v1alpha1.MysqlRdbms.Builder getMysqlExcludedObjectsBuilder() { return getMysqlExcludedObjectsFieldBuilder().getBuilder(); } /** - * - * *
        * MySQL data source objects to avoid backfilling.
        * 
@@ -1708,8 +1468,7 @@ public Builder clearMysqlExcludedObjects() { * .google.cloud.datastream.v1alpha1.MysqlRdbms mysql_excluded_objects = 2; */ @java.lang.Override - public com.google.cloud.datastream.v1alpha1.MysqlRdbmsOrBuilder - getMysqlExcludedObjectsOrBuilder() { + public com.google.cloud.datastream.v1alpha1.MysqlRdbmsOrBuilder getMysqlExcludedObjectsOrBuilder() { if ((excludedObjectsCase_ == 2) && (mysqlExcludedObjectsBuilder_ != null)) { return mysqlExcludedObjectsBuilder_.getMessageOrBuilder(); } else { @@ -1720,8 +1479,6 @@ public Builder clearMysqlExcludedObjects() { } } /** - * - * *
        * MySQL data source objects to avoid backfilling.
        * 
@@ -1729,30 +1486,23 @@ public Builder clearMysqlExcludedObjects() { * .google.cloud.datastream.v1alpha1.MysqlRdbms mysql_excluded_objects = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.MysqlRdbms, - com.google.cloud.datastream.v1alpha1.MysqlRdbms.Builder, - com.google.cloud.datastream.v1alpha1.MysqlRdbmsOrBuilder> + com.google.cloud.datastream.v1alpha1.MysqlRdbms, com.google.cloud.datastream.v1alpha1.MysqlRdbms.Builder, com.google.cloud.datastream.v1alpha1.MysqlRdbmsOrBuilder> getMysqlExcludedObjectsFieldBuilder() { if (mysqlExcludedObjectsBuilder_ == null) { if (!(excludedObjectsCase_ == 2)) { excludedObjects_ = com.google.cloud.datastream.v1alpha1.MysqlRdbms.getDefaultInstance(); } - mysqlExcludedObjectsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.MysqlRdbms, - com.google.cloud.datastream.v1alpha1.MysqlRdbms.Builder, - com.google.cloud.datastream.v1alpha1.MysqlRdbmsOrBuilder>( + mysqlExcludedObjectsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1alpha1.MysqlRdbms, com.google.cloud.datastream.v1alpha1.MysqlRdbms.Builder, com.google.cloud.datastream.v1alpha1.MysqlRdbmsOrBuilder>( (com.google.cloud.datastream.v1alpha1.MysqlRdbms) excludedObjects_, getParentForChildren(), isClean()); excludedObjects_ = null; } excludedObjectsCase_ = 2; - onChanged(); - ; + onChanged();; return mysqlExcludedObjectsBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1765,32 +1515,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy) - private static final com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy - DEFAULT_INSTANCE; - + private static final com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy(); } - public static com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy - getDefaultInstance() { + public static com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BackfillAllStrategy parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new BackfillAllStrategy(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BackfillAllStrategy parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new BackfillAllStrategy(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1802,48 +1550,47 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy - getDefaultInstanceForType() { + public com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface BackfillNoneStrategyOrBuilder - extends + public interface BackfillNoneStrategyOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy) - com.google.protobuf.MessageOrBuilder {} + com.google.protobuf.MessageOrBuilder { + } /** - * - * *
    * Backfill strategy to disable automatic backfill for the Stream's objects.
    * 
* * Protobuf type {@code google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy} */ - public static final class BackfillNoneStrategy extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class BackfillNoneStrategy extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy) BackfillNoneStrategyOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BackfillNoneStrategy.newBuilder() to construct. private BackfillNoneStrategy(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private BackfillNoneStrategy() {} + private BackfillNoneStrategy() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BackfillNoneStrategy(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private BackfillNoneStrategy( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -1862,13 +1609,13 @@ private BackfillNoneStrategy( case 0: done = true; break; - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1876,30 +1623,27 @@ private BackfillNoneStrategy( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_Stream_BackfillNoneStrategy_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_Stream_BackfillNoneStrategy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_Stream_BackfillNoneStrategy_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_Stream_BackfillNoneStrategy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy.class, - com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy.Builder.class); + com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy.class, com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1911,7 +1655,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { unknownFields.writeTo(output); } @@ -1929,13 +1674,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy)) { return super.equals(obj); } - com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy other = - (com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy) obj; + com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy other = (com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -1954,95 +1698,87 @@ public int hashCode() { } public static com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy prototype) { + public static Builder newBuilder(com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2052,49 +1788,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Backfill strategy to disable automatic backfill for the Stream's objects.
      * 
* * Protobuf type {@code google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy) com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategyOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_Stream_BackfillNoneStrategy_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_Stream_BackfillNoneStrategy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_Stream_BackfillNoneStrategy_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_Stream_BackfillNoneStrategy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy.class, - com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy.Builder.class); + com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy.class, com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy.Builder.class); } - // Construct using - // com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy.newBuilder() + // Construct using com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -2102,16 +1833,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_Stream_BackfillNoneStrategy_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_Stream_BackfillNoneStrategy_descriptor; } @java.lang.Override - public com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy - getDefaultInstanceForType() { - return com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy - .getDefaultInstance(); + public com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy getDefaultInstanceForType() { + return com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy.getDefaultInstance(); } @java.lang.Override @@ -2125,8 +1854,7 @@ public com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy build() @java.lang.Override public com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy buildPartial() { - com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy result = - new com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy(this); + com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy result = new com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy(this); onBuilt(); return result; } @@ -2135,53 +1863,46 @@ public com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy buildPar public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy) { - return mergeFrom( - (com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy) other); + return mergeFrom((com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy other) { - if (other - == com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy other) { + if (other == com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -2201,9 +1922,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -2212,7 +1931,6 @@ public Builder mergeFrom( } return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2225,32 +1943,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy) - private static final com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy - DEFAULT_INSTANCE; - + private static final com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy(); } - public static com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy - getDefaultInstance() { + public static com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BackfillNoneStrategy parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new BackfillNoneStrategy(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BackfillNoneStrategy parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new BackfillNoneStrategy(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2262,24 +1978,21 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy - getDefaultInstanceForType() { + public com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int backfillStrategyCase_ = 0; private java.lang.Object backfillStrategy_; - public enum BackfillStrategyCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { BACKFILL_ALL(101), BACKFILL_NONE(102), BACKFILLSTRATEGY_NOT_SET(0); private final int value; - private BackfillStrategyCase(int value) { this.value = value; } @@ -2295,37 +2008,31 @@ public static BackfillStrategyCase valueOf(int value) { public static BackfillStrategyCase forNumber(int value) { switch (value) { - case 101: - return BACKFILL_ALL; - case 102: - return BACKFILL_NONE; - case 0: - return BACKFILLSTRATEGY_NOT_SET; - default: - return null; + case 101: return BACKFILL_ALL; + case 102: return BACKFILL_NONE; + case 0: return BACKFILLSTRATEGY_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public BackfillStrategyCase getBackfillStrategyCase() { - return BackfillStrategyCase.forNumber(backfillStrategyCase_); + public BackfillStrategyCase + getBackfillStrategyCase() { + return BackfillStrategyCase.forNumber( + backfillStrategyCase_); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Output only. The stream's name.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -2334,29 +2041,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Output only. The stream's name.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -2367,15 +2074,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Output only. The creation time of the stream.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -2383,15 +2086,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. The creation time of the stream.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -2399,14 +2098,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. The creation time of the stream.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -2416,15 +2112,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * Output only. The last update time of the stream.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ @java.lang.Override @@ -2432,15 +2124,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * Output only. The last update time of the stream.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ @java.lang.Override @@ -2448,14 +2136,11 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * Output only. The last update time of the stream.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -2463,23 +2148,24 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } public static final int LABELS_FIELD_NUMBER = 4; - private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_Stream_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.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_Stream_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } @@ -2488,30 +2174,28 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
    * Labels.
    * 
* * map<string, string> labels = 4; */ + @java.lang.Override - public boolean containsLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } - /** Use {@link #getLabelsMap()} instead. */ + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** - * - * *
    * Labels.
    * 
@@ -2519,12 +2203,11 @@ public java.util.Map getLabels() { * map<string, string> labels = 4; */ @java.lang.Override + public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
    * Labels.
    * 
@@ -2532,16 +2215,16 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 4; */ @java.lang.Override - public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + + public java.lang.String getLabelsOrDefault( + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * Labels.
    * 
@@ -2549,11 +2232,12 @@ public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.Strin * map<string, string> labels = 4; */ @java.lang.Override - public java.lang.String getLabelsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + + public java.lang.String getLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -2563,14 +2247,11 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { public static final int DISPLAY_NAME_FIELD_NUMBER = 5; private volatile java.lang.Object displayName_; /** - * - * *
    * Required. Display name.
    * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The displayName. */ @java.lang.Override @@ -2579,29 +2260,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; } } /** - * - * *
    * Required. Display name.
    * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -2612,16 +2293,11 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int SOURCE_CONFIG_FIELD_NUMBER = 6; private com.google.cloud.datastream.v1alpha1.SourceConfig sourceConfig_; /** - * - * *
    * Required. Source connection profile configuration.
    * 
* - * - * .google.cloud.datastream.v1alpha1.SourceConfig source_config = 6 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datastream.v1alpha1.SourceConfig source_config = 6 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the sourceConfig field is set. */ @java.lang.Override @@ -2629,34 +2305,23 @@ public boolean hasSourceConfig() { return sourceConfig_ != null; } /** - * - * *
    * Required. Source connection profile configuration.
    * 
* - * - * .google.cloud.datastream.v1alpha1.SourceConfig source_config = 6 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datastream.v1alpha1.SourceConfig source_config = 6 [(.google.api.field_behavior) = REQUIRED]; * @return The sourceConfig. */ @java.lang.Override public com.google.cloud.datastream.v1alpha1.SourceConfig getSourceConfig() { - return sourceConfig_ == null - ? com.google.cloud.datastream.v1alpha1.SourceConfig.getDefaultInstance() - : sourceConfig_; + return sourceConfig_ == null ? com.google.cloud.datastream.v1alpha1.SourceConfig.getDefaultInstance() : sourceConfig_; } /** - * - * *
    * Required. Source connection profile configuration.
    * 
* - * - * .google.cloud.datastream.v1alpha1.SourceConfig source_config = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1alpha1.SourceConfig source_config = 6 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.datastream.v1alpha1.SourceConfigOrBuilder getSourceConfigOrBuilder() { @@ -2666,16 +2331,11 @@ public com.google.cloud.datastream.v1alpha1.SourceConfigOrBuilder getSourceConfi public static final int DESTINATION_CONFIG_FIELD_NUMBER = 7; private com.google.cloud.datastream.v1alpha1.DestinationConfig destinationConfig_; /** - * - * *
    * Required. Destination connection profile configuration.
    * 
* - * - * .google.cloud.datastream.v1alpha1.DestinationConfig destination_config = 7 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datastream.v1alpha1.DestinationConfig destination_config = 7 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the destinationConfig field is set. */ @java.lang.Override @@ -2683,88 +2343,64 @@ public boolean hasDestinationConfig() { return destinationConfig_ != null; } /** - * - * *
    * Required. Destination connection profile configuration.
    * 
* - * - * .google.cloud.datastream.v1alpha1.DestinationConfig destination_config = 7 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datastream.v1alpha1.DestinationConfig destination_config = 7 [(.google.api.field_behavior) = REQUIRED]; * @return The destinationConfig. */ @java.lang.Override public com.google.cloud.datastream.v1alpha1.DestinationConfig getDestinationConfig() { - return destinationConfig_ == null - ? com.google.cloud.datastream.v1alpha1.DestinationConfig.getDefaultInstance() - : destinationConfig_; + return destinationConfig_ == null ? com.google.cloud.datastream.v1alpha1.DestinationConfig.getDefaultInstance() : destinationConfig_; } /** - * - * *
    * Required. Destination connection profile configuration.
    * 
* - * - * .google.cloud.datastream.v1alpha1.DestinationConfig destination_config = 7 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1alpha1.DestinationConfig destination_config = 7 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.datastream.v1alpha1.DestinationConfigOrBuilder - getDestinationConfigOrBuilder() { + public com.google.cloud.datastream.v1alpha1.DestinationConfigOrBuilder getDestinationConfigOrBuilder() { return getDestinationConfig(); } public static final int STATE_FIELD_NUMBER = 8; private int state_; /** - * - * *
    * The state of the stream.
    * 
* * .google.cloud.datastream.v1alpha1.Stream.State state = 8; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
    * The state of the stream.
    * 
* * .google.cloud.datastream.v1alpha1.Stream.State state = 8; - * * @return The state. */ - @java.lang.Override - public com.google.cloud.datastream.v1alpha1.Stream.State getState() { + @java.lang.Override public com.google.cloud.datastream.v1alpha1.Stream.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.datastream.v1alpha1.Stream.State result = - com.google.cloud.datastream.v1alpha1.Stream.State.valueOf(state_); + com.google.cloud.datastream.v1alpha1.Stream.State result = com.google.cloud.datastream.v1alpha1.Stream.State.valueOf(state_); return result == null ? com.google.cloud.datastream.v1alpha1.Stream.State.UNRECOGNIZED : result; } public static final int BACKFILL_ALL_FIELD_NUMBER = 101; /** - * - * *
    * Automatically backfill objects included in the stream source
    * configuration. Specific objects can be excluded.
    * 
* * .google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy backfill_all = 101; - * * @return Whether the backfillAll field is set. */ @java.lang.Override @@ -2772,27 +2408,22 @@ public boolean hasBackfillAll() { return backfillStrategyCase_ == 101; } /** - * - * *
    * Automatically backfill objects included in the stream source
    * configuration. Specific objects can be excluded.
    * 
* * .google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy backfill_all = 101; - * * @return The backfillAll. */ @java.lang.Override public com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy getBackfillAll() { if (backfillStrategyCase_ == 101) { - return (com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy) backfillStrategy_; + return (com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy) backfillStrategy_; } return com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy.getDefaultInstance(); } /** - * - * *
    * Automatically backfill objects included in the stream source
    * configuration. Specific objects can be excluded.
@@ -2801,24 +2432,20 @@ public com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy getBackfi
    * .google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy backfill_all = 101;
    */
   @java.lang.Override
-  public com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategyOrBuilder
-      getBackfillAllOrBuilder() {
+  public com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategyOrBuilder getBackfillAllOrBuilder() {
     if (backfillStrategyCase_ == 101) {
-      return (com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy) backfillStrategy_;
+       return (com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy) backfillStrategy_;
     }
     return com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy.getDefaultInstance();
   }
 
   public static final int BACKFILL_NONE_FIELD_NUMBER = 102;
   /**
-   *
-   *
    * 
    * Do not automatically backfill any objects.
    * 
* * .google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy backfill_none = 102; - * * @return Whether the backfillNone field is set. */ @java.lang.Override @@ -2826,26 +2453,21 @@ public boolean hasBackfillNone() { return backfillStrategyCase_ == 102; } /** - * - * *
    * Do not automatically backfill any objects.
    * 
* * .google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy backfill_none = 102; - * * @return The backfillNone. */ @java.lang.Override public com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy getBackfillNone() { if (backfillStrategyCase_ == 102) { - return (com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy) backfillStrategy_; + return (com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy) backfillStrategy_; } return com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy.getDefaultInstance(); } /** - * - * *
    * Do not automatically backfill any objects.
    * 
@@ -2853,10 +2475,9 @@ public com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy getBackf * .google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy backfill_none = 102; */ @java.lang.Override - public com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategyOrBuilder - getBackfillNoneOrBuilder() { + public com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategyOrBuilder getBackfillNoneOrBuilder() { if (backfillStrategyCase_ == 102) { - return (com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy) backfillStrategy_; + return (com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy) backfillStrategy_; } return com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy.getDefaultInstance(); } @@ -2864,84 +2485,64 @@ public com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy getBackf public static final int ERRORS_FIELD_NUMBER = 9; private java.util.List errors_; /** - * - * *
    * Output only. Errors on the Stream.
    * 
* - * - * repeated .google.cloud.datastream.v1alpha1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1alpha1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public java.util.List getErrorsList() { return errors_; } /** - * - * *
    * Output only. Errors on the Stream.
    * 
* - * - * repeated .google.cloud.datastream.v1alpha1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1alpha1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public java.util.List + public java.util.List getErrorsOrBuilderList() { return errors_; } /** - * - * *
    * Output only. Errors on the Stream.
    * 
* - * - * repeated .google.cloud.datastream.v1alpha1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1alpha1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public int getErrorsCount() { return errors_.size(); } /** - * - * *
    * Output only. Errors on the Stream.
    * 
* - * - * repeated .google.cloud.datastream.v1alpha1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1alpha1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.datastream.v1alpha1.Error getErrors(int index) { return errors_.get(index); } /** - * - * *
    * Output only. Errors on the Stream.
    * 
* - * - * repeated .google.cloud.datastream.v1alpha1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1alpha1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.datastream.v1alpha1.ErrorOrBuilder getErrorsOrBuilder(int index) { + public com.google.cloud.datastream.v1alpha1.ErrorOrBuilder getErrorsOrBuilder( + int index) { return errors_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2953,7 +2554,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_); } @@ -2963,8 +2565,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (updateTime_ != null) { output.writeMessage(3, getUpdateTime()); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 4); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetLabels(), + LabelsDefaultEntryHolder.defaultEntry, + 4); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, displayName_); } @@ -2981,13 +2587,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output.writeMessage(9, errors_.get(i)); } if (backfillStrategyCase_ == 101) { - output.writeMessage( - 101, (com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy) backfillStrategy_); + output.writeMessage(101, (com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy) backfillStrategy_); } if (backfillStrategyCase_ == 102) { - output.writeMessage( - 102, - (com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy) backfillStrategy_); + output.writeMessage(102, (com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy) backfillStrategy_); } unknownFields.writeTo(output); } @@ -3002,47 +2605,49 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateTime()); - } - for (java.util.Map.Entry entry : - internalGetLabels().getMap().entrySet()) { - com.google.protobuf.MapEntry labels__ = - LabelsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, labels__); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getUpdateTime()); + } + for (java.util.Map.Entry entry + : internalGetLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry + labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, labels__); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, displayName_); } if (sourceConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getSourceConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getSourceConfig()); } if (destinationConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getDestinationConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getDestinationConfig()); } if (state_ != com.google.cloud.datastream.v1alpha1.Stream.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(8, state_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(8, state_); } for (int i = 0; i < errors_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, errors_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, errors_.get(i)); } if (backfillStrategyCase_ == 101) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 101, - (com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy) backfillStrategy_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(101, (com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy) backfillStrategy_); } if (backfillStrategyCase_ == 102) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 102, - (com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy) backfillStrategy_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(102, (com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy) backfillStrategy_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -3052,42 +2657,51 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.datastream.v1alpha1.Stream)) { return super.equals(obj); } - com.google.cloud.datastream.v1alpha1.Stream other = - (com.google.cloud.datastream.v1alpha1.Stream) obj; + com.google.cloud.datastream.v1alpha1.Stream other = (com.google.cloud.datastream.v1alpha1.Stream) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime().equals(other.getUpdateTime())) return false; + if (!getUpdateTime() + .equals(other.getUpdateTime())) return false; } - if (!internalGetLabels().equals(other.internalGetLabels())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!internalGetLabels().equals( + other.internalGetLabels())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; if (hasSourceConfig() != other.hasSourceConfig()) return false; if (hasSourceConfig()) { - if (!getSourceConfig().equals(other.getSourceConfig())) return false; + if (!getSourceConfig() + .equals(other.getSourceConfig())) return false; } if (hasDestinationConfig() != other.hasDestinationConfig()) return false; if (hasDestinationConfig()) { - if (!getDestinationConfig().equals(other.getDestinationConfig())) return false; + if (!getDestinationConfig() + .equals(other.getDestinationConfig())) return false; } if (state_ != other.state_) return false; - if (!getErrorsList().equals(other.getErrorsList())) return false; + if (!getErrorsList() + .equals(other.getErrorsList())) return false; if (!getBackfillStrategyCase().equals(other.getBackfillStrategyCase())) return false; switch (backfillStrategyCase_) { case 101: - if (!getBackfillAll().equals(other.getBackfillAll())) return false; + if (!getBackfillAll() + .equals(other.getBackfillAll())) return false; break; case 102: - if (!getBackfillNone().equals(other.getBackfillNone())) return false; + if (!getBackfillNone() + .equals(other.getBackfillNone())) return false; break; case 0: default: @@ -3150,139 +2764,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.datastream.v1alpha1.Stream parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.datastream.v1alpha1.Stream parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.Stream parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.Stream parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.Stream parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.Stream parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.Stream parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.Stream 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.datastream.v1alpha1.Stream parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.Stream parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.Stream parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.Stream 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.datastream.v1alpha1.Stream parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.Stream parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datastream.v1alpha1.Stream prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } - /** Protobuf type {@code google.cloud.datastream.v1alpha1.Stream} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + /** + * Protobuf type {@code google.cloud.datastream.v1alpha1.Stream} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1alpha1.Stream) com.google.cloud.datastream.v1alpha1.StreamOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_Stream_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_Stream_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 4: return internalGetLabels(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField(int number) { + protected com.google.protobuf.MapField internalGetMutableMapField( + int number) { switch (number) { case 4: return internalGetMutableLabels(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_Stream_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_Stream_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.Stream.class, - com.google.cloud.datastream.v1alpha1.Stream.Builder.class); + com.google.cloud.datastream.v1alpha1.Stream.class, com.google.cloud.datastream.v1alpha1.Stream.Builder.class); } // Construct using com.google.cloud.datastream.v1alpha1.Stream.newBuilder() @@ -3290,17 +2901,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getErrorsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -3347,9 +2958,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_Stream_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_Stream_descriptor; } @java.lang.Override @@ -3368,8 +2979,7 @@ public com.google.cloud.datastream.v1alpha1.Stream build() { @java.lang.Override public com.google.cloud.datastream.v1alpha1.Stream buildPartial() { - com.google.cloud.datastream.v1alpha1.Stream result = - new com.google.cloud.datastream.v1alpha1.Stream(this); + com.google.cloud.datastream.v1alpha1.Stream result = new com.google.cloud.datastream.v1alpha1.Stream(this); int from_bitField0_ = bitField0_; result.name_ = name_; if (createTimeBuilder_ == null) { @@ -3428,39 +3038,38 @@ public com.google.cloud.datastream.v1alpha1.Stream buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1alpha1.Stream) { - return mergeFrom((com.google.cloud.datastream.v1alpha1.Stream) other); + return mergeFrom((com.google.cloud.datastream.v1alpha1.Stream)other); } else { super.mergeFrom(other); return this; @@ -3479,7 +3088,8 @@ public Builder mergeFrom(com.google.cloud.datastream.v1alpha1.Stream other) { if (other.hasUpdateTime()) { mergeUpdateTime(other.getUpdateTime()); } - internalGetMutableLabels().mergeFrom(other.internalGetLabels()); + internalGetMutableLabels().mergeFrom( + other.internalGetLabels()); if (!other.getDisplayName().isEmpty()) { displayName_ = other.displayName_; onChanged(); @@ -3511,30 +3121,26 @@ public Builder mergeFrom(com.google.cloud.datastream.v1alpha1.Stream other) { errorsBuilder_ = null; errors_ = other.errors_; bitField0_ = (bitField0_ & ~0x00000002); - errorsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getErrorsFieldBuilder() - : null; + errorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getErrorsFieldBuilder() : null; } else { errorsBuilder_.addAllMessages(other.errors_); } } } switch (other.getBackfillStrategyCase()) { - case BACKFILL_ALL: - { - mergeBackfillAll(other.getBackfillAll()); - break; - } - case BACKFILL_NONE: - { - mergeBackfillNone(other.getBackfillNone()); - break; - } - case BACKFILLSTRATEGY_NOT_SET: - { - break; - } + case BACKFILL_ALL: { + mergeBackfillAll(other.getBackfillAll()); + break; + } + case BACKFILL_NONE: { + mergeBackfillNone(other.getBackfillNone()); + break; + } + case BACKFILLSTRATEGY_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -3564,12 +3170,12 @@ public Builder mergeFrom( } return this; } - private int backfillStrategyCase_ = 0; private java.lang.Object backfillStrategy_; - - public BackfillStrategyCase getBackfillStrategyCase() { - return BackfillStrategyCase.forNumber(backfillStrategyCase_); + public BackfillStrategyCase + getBackfillStrategyCase() { + return BackfillStrategyCase.forNumber( + backfillStrategyCase_); } public Builder clearBackfillStrategy() { @@ -3583,20 +3189,18 @@ public Builder clearBackfillStrategy() { private java.lang.Object name_ = ""; /** - * - * *
      * Output only. The stream's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -3605,21 +3209,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. The stream's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -3627,61 +3230,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. The stream's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The stream's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Output only. The stream's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -3689,58 +3285,39 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
      * Output only. The creation time of the stream.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * Output only. The creation time of the stream.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The creation time of the stream.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -3756,17 +3333,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The creation time of the stream.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -3777,21 +3351,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The creation time of the stream.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -3803,15 +3373,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The creation time of the stream.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -3825,64 +3391,48 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. The creation time of the stream.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } - /** - * - * + /** *
      * Output only. The creation time of the stream.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * Output only. The creation time of the stream.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; @@ -3890,58 +3440,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 last update time of the stream.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
      * Output only. The last update time of the stream.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The last update time of the stream.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -3957,17 +3488,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The last update time of the stream.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -3978,21 +3506,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The last update time of the stream.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -4004,15 +3528,11 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The last update time of the stream.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearUpdateTime() { if (updateTimeBuilder_ == null) { @@ -4026,84 +3546,69 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * Output only. The last update time of the stream.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The last update time of the stream.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } } /** - * - * *
      * Output only. The last update time of the stream.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), getParentForChildren(), isClean()); + updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), + getParentForChildren(), + isClean()); updateTime_ = null; } return updateTimeBuilder_; } - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - private com.google.protobuf.MapField - internalGetMutableLabels() { - onChanged(); - ; + internalGetMutableLabels() { + onChanged();; if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -4115,30 +3620,28 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
      * Labels.
      * 
* * map<string, string> labels = 4; */ + @java.lang.Override - public boolean containsLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } - /** Use {@link #getLabelsMap()} instead. */ + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** - * - * *
      * Labels.
      * 
@@ -4146,12 +3649,11 @@ public java.util.Map getLabels() { * map<string, string> labels = 4; */ @java.lang.Override + public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
      * Labels.
      * 
@@ -4159,17 +3661,16 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 4; */ @java.lang.Override + public java.lang.String getLabelsOrDefault( - java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * Labels.
      * 
@@ -4177,11 +3678,12 @@ public java.lang.String getLabelsOrDefault( * map<string, string> labels = 4; */ @java.lang.Override - public java.lang.String getLabelsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + + public java.lang.String getLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -4189,80 +3691,81 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { } public Builder clearLabels() { - internalGetMutableLabels().getMutableMap().clear(); + internalGetMutableLabels().getMutableMap() + .clear(); return this; } /** - * - * *
      * Labels.
      * 
* * map<string, string> labels = 4; */ - public Builder removeLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableLabels().getMutableMap().remove(key); + + public Builder removeLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableLabels().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map getMutableLabels() { + public java.util.Map + getMutableLabels() { return internalGetMutableLabels().getMutableMap(); } /** - * - * *
      * Labels.
      * 
* * map<string, string> labels = 4; */ - public Builder putLabels(java.lang.String key, java.lang.String value) { - if (key == null) { - throw new NullPointerException("map key"); - } + public Builder putLabels( + java.lang.String key, + java.lang.String value) { + if (key == null) { throw new NullPointerException("map key"); } if (value == null) { - throw new NullPointerException("map value"); - } + throw new NullPointerException("map value"); +} - internalGetMutableLabels().getMutableMap().put(key, value); + internalGetMutableLabels().getMutableMap() + .put(key, value); return this; } /** - * - * *
      * Labels.
      * 
* * map<string, string> labels = 4; */ - public Builder putAllLabels(java.util.Map values) { - internalGetMutableLabels().getMutableMap().putAll(values); + + public Builder putAllLabels( + java.util.Map values) { + internalGetMutableLabels().getMutableMap() + .putAll(values); return this; } private java.lang.Object displayName_ = ""; /** - * - * *
      * Required. Display name.
      * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @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; @@ -4271,21 +3774,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * Required. Display name.
      * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -4293,61 +3795,54 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * Required. Display name.
      * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** - * - * *
      * Required. Display name.
      * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** - * - * *
      * Required. Display name.
      * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -4355,58 +3850,39 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private com.google.cloud.datastream.v1alpha1.SourceConfig sourceConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.SourceConfig, - com.google.cloud.datastream.v1alpha1.SourceConfig.Builder, - com.google.cloud.datastream.v1alpha1.SourceConfigOrBuilder> - sourceConfigBuilder_; + com.google.cloud.datastream.v1alpha1.SourceConfig, com.google.cloud.datastream.v1alpha1.SourceConfig.Builder, com.google.cloud.datastream.v1alpha1.SourceConfigOrBuilder> sourceConfigBuilder_; /** - * - * *
      * Required. Source connection profile configuration.
      * 
* - * - * .google.cloud.datastream.v1alpha1.SourceConfig source_config = 6 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datastream.v1alpha1.SourceConfig source_config = 6 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the sourceConfig field is set. */ public boolean hasSourceConfig() { return sourceConfigBuilder_ != null || sourceConfig_ != null; } /** - * - * *
      * Required. Source connection profile configuration.
      * 
* - * - * .google.cloud.datastream.v1alpha1.SourceConfig source_config = 6 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datastream.v1alpha1.SourceConfig source_config = 6 [(.google.api.field_behavior) = REQUIRED]; * @return The sourceConfig. */ public com.google.cloud.datastream.v1alpha1.SourceConfig getSourceConfig() { if (sourceConfigBuilder_ == null) { - return sourceConfig_ == null - ? com.google.cloud.datastream.v1alpha1.SourceConfig.getDefaultInstance() - : sourceConfig_; + return sourceConfig_ == null ? com.google.cloud.datastream.v1alpha1.SourceConfig.getDefaultInstance() : sourceConfig_; } else { return sourceConfigBuilder_.getMessage(); } } /** - * - * *
      * Required. Source connection profile configuration.
      * 
* - * - * .google.cloud.datastream.v1alpha1.SourceConfig source_config = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1alpha1.SourceConfig source_config = 6 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setSourceConfig(com.google.cloud.datastream.v1alpha1.SourceConfig value) { if (sourceConfigBuilder_ == null) { @@ -4422,15 +3898,11 @@ public Builder setSourceConfig(com.google.cloud.datastream.v1alpha1.SourceConfig return this; } /** - * - * *
      * Required. Source connection profile configuration.
      * 
* - * - * .google.cloud.datastream.v1alpha1.SourceConfig source_config = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1alpha1.SourceConfig source_config = 6 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setSourceConfig( com.google.cloud.datastream.v1alpha1.SourceConfig.Builder builderForValue) { @@ -4444,23 +3916,17 @@ public Builder setSourceConfig( return this; } /** - * - * *
      * Required. Source connection profile configuration.
      * 
* - * - * .google.cloud.datastream.v1alpha1.SourceConfig source_config = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1alpha1.SourceConfig source_config = 6 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeSourceConfig(com.google.cloud.datastream.v1alpha1.SourceConfig value) { if (sourceConfigBuilder_ == null) { if (sourceConfig_ != null) { sourceConfig_ = - com.google.cloud.datastream.v1alpha1.SourceConfig.newBuilder(sourceConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.datastream.v1alpha1.SourceConfig.newBuilder(sourceConfig_).mergeFrom(value).buildPartial(); } else { sourceConfig_ = value; } @@ -4472,15 +3938,11 @@ public Builder mergeSourceConfig(com.google.cloud.datastream.v1alpha1.SourceConf return this; } /** - * - * *
      * Required. Source connection profile configuration.
      * 
* - * - * .google.cloud.datastream.v1alpha1.SourceConfig source_config = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1alpha1.SourceConfig source_config = 6 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearSourceConfig() { if (sourceConfigBuilder_ == null) { @@ -4494,64 +3956,48 @@ public Builder clearSourceConfig() { return this; } /** - * - * *
      * Required. Source connection profile configuration.
      * 
* - * - * .google.cloud.datastream.v1alpha1.SourceConfig source_config = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1alpha1.SourceConfig source_config = 6 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.datastream.v1alpha1.SourceConfig.Builder getSourceConfigBuilder() { - + onChanged(); return getSourceConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Source connection profile configuration.
      * 
* - * - * .google.cloud.datastream.v1alpha1.SourceConfig source_config = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1alpha1.SourceConfig source_config = 6 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.datastream.v1alpha1.SourceConfigOrBuilder getSourceConfigOrBuilder() { if (sourceConfigBuilder_ != null) { return sourceConfigBuilder_.getMessageOrBuilder(); } else { - return sourceConfig_ == null - ? com.google.cloud.datastream.v1alpha1.SourceConfig.getDefaultInstance() - : sourceConfig_; + return sourceConfig_ == null ? + com.google.cloud.datastream.v1alpha1.SourceConfig.getDefaultInstance() : sourceConfig_; } } /** - * - * *
      * Required. Source connection profile configuration.
      * 
* - * - * .google.cloud.datastream.v1alpha1.SourceConfig source_config = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1alpha1.SourceConfig source_config = 6 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.SourceConfig, - com.google.cloud.datastream.v1alpha1.SourceConfig.Builder, - com.google.cloud.datastream.v1alpha1.SourceConfigOrBuilder> + com.google.cloud.datastream.v1alpha1.SourceConfig, com.google.cloud.datastream.v1alpha1.SourceConfig.Builder, com.google.cloud.datastream.v1alpha1.SourceConfigOrBuilder> getSourceConfigFieldBuilder() { if (sourceConfigBuilder_ == null) { - sourceConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.SourceConfig, - com.google.cloud.datastream.v1alpha1.SourceConfig.Builder, - com.google.cloud.datastream.v1alpha1.SourceConfigOrBuilder>( - getSourceConfig(), getParentForChildren(), isClean()); + sourceConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1alpha1.SourceConfig, com.google.cloud.datastream.v1alpha1.SourceConfig.Builder, com.google.cloud.datastream.v1alpha1.SourceConfigOrBuilder>( + getSourceConfig(), + getParentForChildren(), + isClean()); sourceConfig_ = null; } return sourceConfigBuilder_; @@ -4559,61 +4005,41 @@ public com.google.cloud.datastream.v1alpha1.SourceConfigOrBuilder getSourceConfi private com.google.cloud.datastream.v1alpha1.DestinationConfig destinationConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.DestinationConfig, - com.google.cloud.datastream.v1alpha1.DestinationConfig.Builder, - com.google.cloud.datastream.v1alpha1.DestinationConfigOrBuilder> - destinationConfigBuilder_; + com.google.cloud.datastream.v1alpha1.DestinationConfig, com.google.cloud.datastream.v1alpha1.DestinationConfig.Builder, com.google.cloud.datastream.v1alpha1.DestinationConfigOrBuilder> destinationConfigBuilder_; /** - * - * *
      * Required. Destination connection profile configuration.
      * 
* - * - * .google.cloud.datastream.v1alpha1.DestinationConfig destination_config = 7 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datastream.v1alpha1.DestinationConfig destination_config = 7 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the destinationConfig field is set. */ public boolean hasDestinationConfig() { return destinationConfigBuilder_ != null || destinationConfig_ != null; } /** - * - * *
      * Required. Destination connection profile configuration.
      * 
* - * - * .google.cloud.datastream.v1alpha1.DestinationConfig destination_config = 7 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datastream.v1alpha1.DestinationConfig destination_config = 7 [(.google.api.field_behavior) = REQUIRED]; * @return The destinationConfig. */ public com.google.cloud.datastream.v1alpha1.DestinationConfig getDestinationConfig() { if (destinationConfigBuilder_ == null) { - return destinationConfig_ == null - ? com.google.cloud.datastream.v1alpha1.DestinationConfig.getDefaultInstance() - : destinationConfig_; + return destinationConfig_ == null ? com.google.cloud.datastream.v1alpha1.DestinationConfig.getDefaultInstance() : destinationConfig_; } else { return destinationConfigBuilder_.getMessage(); } } /** - * - * *
      * Required. Destination connection profile configuration.
      * 
* - * - * .google.cloud.datastream.v1alpha1.DestinationConfig destination_config = 7 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1alpha1.DestinationConfig destination_config = 7 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setDestinationConfig( - com.google.cloud.datastream.v1alpha1.DestinationConfig value) { + public Builder setDestinationConfig(com.google.cloud.datastream.v1alpha1.DestinationConfig value) { if (destinationConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4627,15 +4053,11 @@ public Builder setDestinationConfig( return this; } /** - * - * *
      * Required. Destination connection profile configuration.
      * 
* - * - * .google.cloud.datastream.v1alpha1.DestinationConfig destination_config = 7 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1alpha1.DestinationConfig destination_config = 7 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setDestinationConfig( com.google.cloud.datastream.v1alpha1.DestinationConfig.Builder builderForValue) { @@ -4649,24 +4071,17 @@ public Builder setDestinationConfig( return this; } /** - * - * *
      * Required. Destination connection profile configuration.
      * 
* - * - * .google.cloud.datastream.v1alpha1.DestinationConfig destination_config = 7 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1alpha1.DestinationConfig destination_config = 7 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeDestinationConfig( - com.google.cloud.datastream.v1alpha1.DestinationConfig value) { + public Builder mergeDestinationConfig(com.google.cloud.datastream.v1alpha1.DestinationConfig value) { if (destinationConfigBuilder_ == null) { if (destinationConfig_ != null) { destinationConfig_ = - com.google.cloud.datastream.v1alpha1.DestinationConfig.newBuilder(destinationConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.datastream.v1alpha1.DestinationConfig.newBuilder(destinationConfig_).mergeFrom(value).buildPartial(); } else { destinationConfig_ = value; } @@ -4678,15 +4093,11 @@ public Builder mergeDestinationConfig( return this; } /** - * - * *
      * Required. Destination connection profile configuration.
      * 
* - * - * .google.cloud.datastream.v1alpha1.DestinationConfig destination_config = 7 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1alpha1.DestinationConfig destination_config = 7 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearDestinationConfig() { if (destinationConfigBuilder_ == null) { @@ -4700,66 +4111,48 @@ public Builder clearDestinationConfig() { return this; } /** - * - * *
      * Required. Destination connection profile configuration.
      * 
* - * - * .google.cloud.datastream.v1alpha1.DestinationConfig destination_config = 7 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1alpha1.DestinationConfig destination_config = 7 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.datastream.v1alpha1.DestinationConfig.Builder - getDestinationConfigBuilder() { - + public com.google.cloud.datastream.v1alpha1.DestinationConfig.Builder getDestinationConfigBuilder() { + onChanged(); return getDestinationConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Destination connection profile configuration.
      * 
* - * - * .google.cloud.datastream.v1alpha1.DestinationConfig destination_config = 7 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1alpha1.DestinationConfig destination_config = 7 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.datastream.v1alpha1.DestinationConfigOrBuilder - getDestinationConfigOrBuilder() { + public com.google.cloud.datastream.v1alpha1.DestinationConfigOrBuilder getDestinationConfigOrBuilder() { if (destinationConfigBuilder_ != null) { return destinationConfigBuilder_.getMessageOrBuilder(); } else { - return destinationConfig_ == null - ? com.google.cloud.datastream.v1alpha1.DestinationConfig.getDefaultInstance() - : destinationConfig_; + return destinationConfig_ == null ? + com.google.cloud.datastream.v1alpha1.DestinationConfig.getDefaultInstance() : destinationConfig_; } } /** - * - * *
      * Required. Destination connection profile configuration.
      * 
* - * - * .google.cloud.datastream.v1alpha1.DestinationConfig destination_config = 7 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1alpha1.DestinationConfig destination_config = 7 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.DestinationConfig, - com.google.cloud.datastream.v1alpha1.DestinationConfig.Builder, - com.google.cloud.datastream.v1alpha1.DestinationConfigOrBuilder> + com.google.cloud.datastream.v1alpha1.DestinationConfig, com.google.cloud.datastream.v1alpha1.DestinationConfig.Builder, com.google.cloud.datastream.v1alpha1.DestinationConfigOrBuilder> getDestinationConfigFieldBuilder() { if (destinationConfigBuilder_ == null) { - destinationConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.DestinationConfig, - com.google.cloud.datastream.v1alpha1.DestinationConfig.Builder, - com.google.cloud.datastream.v1alpha1.DestinationConfigOrBuilder>( - getDestinationConfig(), getParentForChildren(), isClean()); + destinationConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1alpha1.DestinationConfig, com.google.cloud.datastream.v1alpha1.DestinationConfig.Builder, com.google.cloud.datastream.v1alpha1.DestinationConfigOrBuilder>( + getDestinationConfig(), + getParentForChildren(), + isClean()); destinationConfig_ = null; } return destinationConfigBuilder_; @@ -4767,67 +4160,51 @@ public Builder clearDestinationConfig() { private int state_ = 0; /** - * - * *
      * The state of the stream.
      * 
* * .google.cloud.datastream.v1alpha1.Stream.State state = 8; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * The state of the stream.
      * 
* * .google.cloud.datastream.v1alpha1.Stream.State state = 8; - * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** - * - * *
      * The state of the stream.
      * 
* * .google.cloud.datastream.v1alpha1.Stream.State state = 8; - * * @return The state. */ @java.lang.Override public com.google.cloud.datastream.v1alpha1.Stream.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.datastream.v1alpha1.Stream.State result = - com.google.cloud.datastream.v1alpha1.Stream.State.valueOf(state_); - return result == null - ? com.google.cloud.datastream.v1alpha1.Stream.State.UNRECOGNIZED - : result; + com.google.cloud.datastream.v1alpha1.Stream.State result = com.google.cloud.datastream.v1alpha1.Stream.State.valueOf(state_); + return result == null ? com.google.cloud.datastream.v1alpha1.Stream.State.UNRECOGNIZED : result; } /** - * - * *
      * The state of the stream.
      * 
* * .google.cloud.datastream.v1alpha1.Stream.State state = 8; - * * @param value The state to set. * @return This builder for chaining. */ @@ -4835,44 +4212,35 @@ public Builder setState(com.google.cloud.datastream.v1alpha1.Stream.State value) if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The state of the stream.
      * 
* * .google.cloud.datastream.v1alpha1.Stream.State state = 8; - * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy, - com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy.Builder, - com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategyOrBuilder> - backfillAllBuilder_; + com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy, com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy.Builder, com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategyOrBuilder> backfillAllBuilder_; /** - * - * *
      * Automatically backfill objects included in the stream source
      * configuration. Specific objects can be excluded.
      * 
* * .google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy backfill_all = 101; - * * @return Whether the backfillAll field is set. */ @java.lang.Override @@ -4880,23 +4248,19 @@ public boolean hasBackfillAll() { return backfillStrategyCase_ == 101; } /** - * - * *
      * Automatically backfill objects included in the stream source
      * configuration. Specific objects can be excluded.
      * 
* * .google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy backfill_all = 101; - * * @return The backfillAll. */ @java.lang.Override public com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy getBackfillAll() { if (backfillAllBuilder_ == null) { if (backfillStrategyCase_ == 101) { - return (com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy) - backfillStrategy_; + return (com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy) backfillStrategy_; } return com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy.getDefaultInstance(); } else { @@ -4907,8 +4271,6 @@ public com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy getBackfi } } /** - * - * *
      * Automatically backfill objects included in the stream source
      * configuration. Specific objects can be excluded.
@@ -4916,8 +4278,7 @@ public com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy getBackfi
      *
      * .google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy backfill_all = 101;
      */
-    public Builder setBackfillAll(
-        com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy value) {
+    public Builder setBackfillAll(com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy value) {
       if (backfillAllBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -4931,8 +4292,6 @@ public Builder setBackfillAll(
       return this;
     }
     /**
-     *
-     *
      * 
      * Automatically backfill objects included in the stream source
      * configuration. Specific objects can be excluded.
@@ -4952,8 +4311,6 @@ public Builder setBackfillAll(
       return this;
     }
     /**
-     *
-     *
      * 
      * Automatically backfill objects included in the stream source
      * configuration. Specific objects can be excluded.
@@ -4961,19 +4318,12 @@ public Builder setBackfillAll(
      *
      * .google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy backfill_all = 101;
      */
-    public Builder mergeBackfillAll(
-        com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy value) {
+    public Builder mergeBackfillAll(com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy value) {
       if (backfillAllBuilder_ == null) {
-        if (backfillStrategyCase_ == 101
-            && backfillStrategy_
-                != com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy
-                    .getDefaultInstance()) {
-          backfillStrategy_ =
-              com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy.newBuilder(
-                      (com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy)
-                          backfillStrategy_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (backfillStrategyCase_ == 101 &&
+            backfillStrategy_ != com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy.getDefaultInstance()) {
+          backfillStrategy_ = com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy.newBuilder((com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy) backfillStrategy_)
+              .mergeFrom(value).buildPartial();
         } else {
           backfillStrategy_ = value;
         }
@@ -4989,8 +4339,6 @@ public Builder mergeBackfillAll(
       return this;
     }
     /**
-     *
-     *
      * 
      * Automatically backfill objects included in the stream source
      * configuration. Specific objects can be excluded.
@@ -5015,8 +4363,6 @@ public Builder clearBackfillAll() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Automatically backfill objects included in the stream source
      * configuration. Specific objects can be excluded.
@@ -5024,13 +4370,10 @@ public Builder clearBackfillAll() {
      *
      * .google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy backfill_all = 101;
      */
-    public com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy.Builder
-        getBackfillAllBuilder() {
+    public com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy.Builder getBackfillAllBuilder() {
       return getBackfillAllFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Automatically backfill objects included in the stream source
      * configuration. Specific objects can be excluded.
@@ -5039,21 +4382,17 @@ public Builder clearBackfillAll() {
      * .google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy backfill_all = 101;
      */
     @java.lang.Override
-    public com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategyOrBuilder
-        getBackfillAllOrBuilder() {
+    public com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategyOrBuilder getBackfillAllOrBuilder() {
       if ((backfillStrategyCase_ == 101) && (backfillAllBuilder_ != null)) {
         return backfillAllBuilder_.getMessageOrBuilder();
       } else {
         if (backfillStrategyCase_ == 101) {
-          return (com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy)
-              backfillStrategy_;
+          return (com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy) backfillStrategy_;
         }
         return com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy.getDefaultInstance();
       }
     }
     /**
-     *
-     *
      * 
      * Automatically backfill objects included in the stream source
      * configuration. Specific objects can be excluded.
@@ -5062,46 +4401,32 @@ public Builder clearBackfillAll() {
      * .google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy backfill_all = 101;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy,
-            com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy.Builder,
-            com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategyOrBuilder>
+        com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy, com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy.Builder, com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategyOrBuilder> 
         getBackfillAllFieldBuilder() {
       if (backfillAllBuilder_ == null) {
         if (!(backfillStrategyCase_ == 101)) {
-          backfillStrategy_ =
-              com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy.getDefaultInstance();
+          backfillStrategy_ = com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy.getDefaultInstance();
         }
-        backfillAllBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy,
-                com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy.Builder,
-                com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategyOrBuilder>(
+        backfillAllBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy, com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy.Builder, com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategyOrBuilder>(
                 (com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy) backfillStrategy_,
                 getParentForChildren(),
                 isClean());
         backfillStrategy_ = null;
       }
       backfillStrategyCase_ = 101;
-      onChanged();
-      ;
+      onChanged();;
       return backfillAllBuilder_;
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy,
-            com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy.Builder,
-            com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategyOrBuilder>
-        backfillNoneBuilder_;
+        com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy, com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy.Builder, com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategyOrBuilder> backfillNoneBuilder_;
     /**
-     *
-     *
      * 
      * Do not automatically backfill any objects.
      * 
* - * .google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy backfill_none = 102; - * - * + * .google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy backfill_none = 102; * @return Whether the backfillNone field is set. */ @java.lang.Override @@ -5109,46 +4434,35 @@ public boolean hasBackfillNone() { return backfillStrategyCase_ == 102; } /** - * - * *
      * Do not automatically backfill any objects.
      * 
* - * .google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy backfill_none = 102; - * - * + * .google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy backfill_none = 102; * @return The backfillNone. */ @java.lang.Override public com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy getBackfillNone() { if (backfillNoneBuilder_ == null) { if (backfillStrategyCase_ == 102) { - return (com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy) - backfillStrategy_; + return (com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy) backfillStrategy_; } - return com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy - .getDefaultInstance(); + return com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy.getDefaultInstance(); } else { if (backfillStrategyCase_ == 102) { return backfillNoneBuilder_.getMessage(); } - return com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy - .getDefaultInstance(); + return com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy.getDefaultInstance(); } } /** - * - * *
      * Do not automatically backfill any objects.
      * 
* - * .google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy backfill_none = 102; - * + * .google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy backfill_none = 102; */ - public Builder setBackfillNone( - com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy value) { + public Builder setBackfillNone(com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy value) { if (backfillNoneBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5162,14 +4476,11 @@ public Builder setBackfillNone( return this; } /** - * - * *
      * Do not automatically backfill any objects.
      * 
* - * .google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy backfill_none = 102; - * + * .google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy backfill_none = 102; */ public Builder setBackfillNone( com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy.Builder builderForValue) { @@ -5183,28 +4494,18 @@ public Builder setBackfillNone( return this; } /** - * - * *
      * Do not automatically backfill any objects.
      * 
* - * .google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy backfill_none = 102; - * + * .google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy backfill_none = 102; */ - public Builder mergeBackfillNone( - com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy value) { + public Builder mergeBackfillNone(com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy value) { if (backfillNoneBuilder_ == null) { - if (backfillStrategyCase_ == 102 - && backfillStrategy_ - != com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy - .getDefaultInstance()) { - backfillStrategy_ = - com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy.newBuilder( - (com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy) - backfillStrategy_) - .mergeFrom(value) - .buildPartial(); + if (backfillStrategyCase_ == 102 && + backfillStrategy_ != com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy.getDefaultInstance()) { + backfillStrategy_ = com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy.newBuilder((com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy) backfillStrategy_) + .mergeFrom(value).buildPartial(); } else { backfillStrategy_ = value; } @@ -5220,14 +4521,11 @@ public Builder mergeBackfillNone( return this; } /** - * - * *
      * Do not automatically backfill any objects.
      * 
* - * .google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy backfill_none = 102; - * + * .google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy backfill_none = 102; */ public Builder clearBackfillNone() { if (backfillNoneBuilder_ == null) { @@ -5246,106 +4544,77 @@ public Builder clearBackfillNone() { return this; } /** - * - * *
      * Do not automatically backfill any objects.
      * 
* - * .google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy backfill_none = 102; - * + * .google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy backfill_none = 102; */ - public com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy.Builder - getBackfillNoneBuilder() { + public com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy.Builder getBackfillNoneBuilder() { return getBackfillNoneFieldBuilder().getBuilder(); } /** - * - * *
      * Do not automatically backfill any objects.
      * 
* - * .google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy backfill_none = 102; - * + * .google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy backfill_none = 102; */ @java.lang.Override - public com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategyOrBuilder - getBackfillNoneOrBuilder() { + public com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategyOrBuilder getBackfillNoneOrBuilder() { if ((backfillStrategyCase_ == 102) && (backfillNoneBuilder_ != null)) { return backfillNoneBuilder_.getMessageOrBuilder(); } else { if (backfillStrategyCase_ == 102) { - return (com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy) - backfillStrategy_; + return (com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy) backfillStrategy_; } - return com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy - .getDefaultInstance(); + return com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy.getDefaultInstance(); } } /** - * - * *
      * Do not automatically backfill any objects.
      * 
* - * .google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy backfill_none = 102; - * + * .google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy backfill_none = 102; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy, - com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy.Builder, - com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategyOrBuilder> + com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy, com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy.Builder, com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategyOrBuilder> getBackfillNoneFieldBuilder() { if (backfillNoneBuilder_ == null) { if (!(backfillStrategyCase_ == 102)) { - backfillStrategy_ = - com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy.getDefaultInstance(); + backfillStrategy_ = com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy.getDefaultInstance(); } - backfillNoneBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy, - com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy.Builder, - com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategyOrBuilder>( - (com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy) - backfillStrategy_, + backfillNoneBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy, com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy.Builder, com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategyOrBuilder>( + (com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy) backfillStrategy_, getParentForChildren(), isClean()); backfillStrategy_ = null; } backfillStrategyCase_ = 102; - onChanged(); - ; + onChanged();; return backfillNoneBuilder_; } private java.util.List errors_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureErrorsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { errors_ = new java.util.ArrayList(errors_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.Error, - com.google.cloud.datastream.v1alpha1.Error.Builder, - com.google.cloud.datastream.v1alpha1.ErrorOrBuilder> - errorsBuilder_; + com.google.cloud.datastream.v1alpha1.Error, com.google.cloud.datastream.v1alpha1.Error.Builder, com.google.cloud.datastream.v1alpha1.ErrorOrBuilder> errorsBuilder_; /** - * - * *
      * Output only. Errors on the Stream.
      * 
* - * - * repeated .google.cloud.datastream.v1alpha1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1alpha1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public java.util.List getErrorsList() { if (errorsBuilder_ == null) { @@ -5355,15 +4624,11 @@ public java.util.List getErrorsList( } } /** - * - * *
      * Output only. Errors on the Stream.
      * 
* - * - * repeated .google.cloud.datastream.v1alpha1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1alpha1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public int getErrorsCount() { if (errorsBuilder_ == null) { @@ -5373,15 +4638,11 @@ public int getErrorsCount() { } } /** - * - * *
      * Output only. Errors on the Stream.
      * 
* - * - * repeated .google.cloud.datastream.v1alpha1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1alpha1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.datastream.v1alpha1.Error getErrors(int index) { if (errorsBuilder_ == null) { @@ -5391,17 +4652,14 @@ public com.google.cloud.datastream.v1alpha1.Error getErrors(int index) { } } /** - * - * *
      * Output only. Errors on the Stream.
      * 
* - * - * repeated .google.cloud.datastream.v1alpha1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1alpha1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setErrors(int index, com.google.cloud.datastream.v1alpha1.Error value) { + public Builder setErrors( + int index, com.google.cloud.datastream.v1alpha1.Error value) { if (errorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5415,15 +4673,11 @@ public Builder setErrors(int index, com.google.cloud.datastream.v1alpha1.Error v return this; } /** - * - * *
      * Output only. Errors on the Stream.
      * 
* - * - * repeated .google.cloud.datastream.v1alpha1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1alpha1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setErrors( int index, com.google.cloud.datastream.v1alpha1.Error.Builder builderForValue) { @@ -5437,15 +4691,11 @@ public Builder setErrors( return this; } /** - * - * *
      * Output only. Errors on the Stream.
      * 
* - * - * repeated .google.cloud.datastream.v1alpha1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1alpha1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addErrors(com.google.cloud.datastream.v1alpha1.Error value) { if (errorsBuilder_ == null) { @@ -5461,17 +4711,14 @@ public Builder addErrors(com.google.cloud.datastream.v1alpha1.Error value) { return this; } /** - * - * *
      * Output only. Errors on the Stream.
      * 
* - * - * repeated .google.cloud.datastream.v1alpha1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1alpha1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder addErrors(int index, com.google.cloud.datastream.v1alpha1.Error value) { + public Builder addErrors( + int index, com.google.cloud.datastream.v1alpha1.Error value) { if (errorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5485,17 +4732,14 @@ public Builder addErrors(int index, com.google.cloud.datastream.v1alpha1.Error v return this; } /** - * - * *
      * Output only. Errors on the Stream.
      * 
* - * - * repeated .google.cloud.datastream.v1alpha1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1alpha1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder addErrors(com.google.cloud.datastream.v1alpha1.Error.Builder builderForValue) { + public Builder addErrors( + com.google.cloud.datastream.v1alpha1.Error.Builder builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.add(builderForValue.build()); @@ -5506,15 +4750,11 @@ public Builder addErrors(com.google.cloud.datastream.v1alpha1.Error.Builder buil return this; } /** - * - * *
      * Output only. Errors on the Stream.
      * 
* - * - * repeated .google.cloud.datastream.v1alpha1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1alpha1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addErrors( int index, com.google.cloud.datastream.v1alpha1.Error.Builder builderForValue) { @@ -5528,21 +4768,18 @@ public Builder addErrors( return this; } /** - * - * *
      * Output only. Errors on the Stream.
      * 
* - * - * repeated .google.cloud.datastream.v1alpha1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1alpha1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addAllErrors( java.lang.Iterable values) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, errors_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, errors_); onChanged(); } else { errorsBuilder_.addAllMessages(values); @@ -5550,15 +4787,11 @@ public Builder addAllErrors( return this; } /** - * - * *
      * Output only. Errors on the Stream.
      * 
* - * - * repeated .google.cloud.datastream.v1alpha1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1alpha1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearErrors() { if (errorsBuilder_ == null) { @@ -5571,15 +4804,11 @@ public Builder clearErrors() { return this; } /** - * - * *
      * Output only. Errors on the Stream.
      * 
* - * - * repeated .google.cloud.datastream.v1alpha1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1alpha1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder removeErrors(int index) { if (errorsBuilder_ == null) { @@ -5592,50 +4821,39 @@ public Builder removeErrors(int index) { return this; } /** - * - * *
      * Output only. Errors on the Stream.
      * 
* - * - * repeated .google.cloud.datastream.v1alpha1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1alpha1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.datastream.v1alpha1.Error.Builder getErrorsBuilder(int index) { + public com.google.cloud.datastream.v1alpha1.Error.Builder getErrorsBuilder( + int index) { return getErrorsFieldBuilder().getBuilder(index); } /** - * - * *
      * Output only. Errors on the Stream.
      * 
* - * - * repeated .google.cloud.datastream.v1alpha1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1alpha1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.datastream.v1alpha1.ErrorOrBuilder getErrorsOrBuilder(int index) { + public com.google.cloud.datastream.v1alpha1.ErrorOrBuilder getErrorsOrBuilder( + int index) { if (errorsBuilder_ == null) { - return errors_.get(index); - } else { + return errors_.get(index); } else { return errorsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Output only. Errors on the Stream.
      * 
* - * - * repeated .google.cloud.datastream.v1alpha1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1alpha1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List - getErrorsOrBuilderList() { + public java.util.List + getErrorsOrBuilderList() { if (errorsBuilder_ != null) { return errorsBuilder_.getMessageOrBuilderList(); } else { @@ -5643,70 +4861,56 @@ public com.google.cloud.datastream.v1alpha1.ErrorOrBuilder getErrorsOrBuilder(in } } /** - * - * *
      * Output only. Errors on the Stream.
      * 
* - * - * repeated .google.cloud.datastream.v1alpha1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1alpha1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.datastream.v1alpha1.Error.Builder addErrorsBuilder() { - return getErrorsFieldBuilder() - .addBuilder(com.google.cloud.datastream.v1alpha1.Error.getDefaultInstance()); + return getErrorsFieldBuilder().addBuilder( + com.google.cloud.datastream.v1alpha1.Error.getDefaultInstance()); } /** - * - * *
      * Output only. Errors on the Stream.
      * 
* - * - * repeated .google.cloud.datastream.v1alpha1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1alpha1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.datastream.v1alpha1.Error.Builder addErrorsBuilder(int index) { - return getErrorsFieldBuilder() - .addBuilder(index, com.google.cloud.datastream.v1alpha1.Error.getDefaultInstance()); + public com.google.cloud.datastream.v1alpha1.Error.Builder addErrorsBuilder( + int index) { + return getErrorsFieldBuilder().addBuilder( + index, com.google.cloud.datastream.v1alpha1.Error.getDefaultInstance()); } /** - * - * *
      * Output only. Errors on the Stream.
      * 
* - * - * repeated .google.cloud.datastream.v1alpha1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1alpha1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List - getErrorsBuilderList() { + public java.util.List + getErrorsBuilderList() { return getErrorsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.Error, - com.google.cloud.datastream.v1alpha1.Error.Builder, - com.google.cloud.datastream.v1alpha1.ErrorOrBuilder> + com.google.cloud.datastream.v1alpha1.Error, com.google.cloud.datastream.v1alpha1.Error.Builder, com.google.cloud.datastream.v1alpha1.ErrorOrBuilder> getErrorsFieldBuilder() { if (errorsBuilder_ == null) { - errorsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.Error, - com.google.cloud.datastream.v1alpha1.Error.Builder, - com.google.cloud.datastream.v1alpha1.ErrorOrBuilder>( - errors_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); + errorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datastream.v1alpha1.Error, com.google.cloud.datastream.v1alpha1.Error.Builder, com.google.cloud.datastream.v1alpha1.ErrorOrBuilder>( + errors_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); errors_ = null; } return errorsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -5716,12 +4920,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1alpha1.Stream) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1alpha1.Stream) private static final com.google.cloud.datastream.v1alpha1.Stream DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1alpha1.Stream(); } @@ -5730,16 +4934,16 @@ public static com.google.cloud.datastream.v1alpha1.Stream getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Stream parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Stream(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Stream parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Stream(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5754,4 +4958,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datastream.v1alpha1.Stream getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/StreamName.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/StreamName.java similarity index 100% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/StreamName.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/StreamName.java diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/StreamOrBuilder.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/StreamOrBuilder.java similarity index 67% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/StreamOrBuilder.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/StreamOrBuilder.java index 82cef019..573aa551 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/StreamOrBuilder.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/StreamOrBuilder.java @@ -1,132 +1,87 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1alpha1/datastream_resources.proto package com.google.cloud.datastream.v1alpha1; -public interface StreamOrBuilder - extends +public interface StreamOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1alpha1.Stream) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The stream's name.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. The stream's name.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Output only. The creation time of the stream.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Output only. The creation time of the stream.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Output only. The creation time of the stream.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * Output only. The last update time of the stream.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * Output only. The last update time of the stream.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * Output only. The last update time of the stream.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
    * Labels.
    * 
@@ -135,31 +90,30 @@ public interface StreamOrBuilder */ int getLabelsCount(); /** - * - * *
    * Labels.
    * 
* * map<string, string> labels = 4; */ - boolean containsLabels(java.lang.String key); - /** Use {@link #getLabelsMap()} instead. */ + boolean containsLabels( + java.lang.String key); + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Deprecated - java.util.Map getLabels(); + java.util.Map + getLabels(); /** - * - * *
    * Labels.
    * 
* * map<string, string> labels = 4; */ - java.util.Map getLabelsMap(); + java.util.Map + getLabelsMap(); /** - * - * *
    * Labels.
    * 
@@ -168,182 +122,135 @@ public interface StreamOrBuilder */ /* nullable */ - java.lang.String getLabelsOrDefault( +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue); +java.lang.String defaultValue); /** - * - * *
    * Labels.
    * 
* * map<string, string> labels = 4; */ - java.lang.String getLabelsOrThrow(java.lang.String key); + + java.lang.String getLabelsOrThrow( + java.lang.String key); /** - * - * *
    * Required. Display name.
    * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * Required. Display name.
    * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * Required. Source connection profile configuration.
    * 
* - * - * .google.cloud.datastream.v1alpha1.SourceConfig source_config = 6 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datastream.v1alpha1.SourceConfig source_config = 6 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the sourceConfig field is set. */ boolean hasSourceConfig(); /** - * - * *
    * Required. Source connection profile configuration.
    * 
* - * - * .google.cloud.datastream.v1alpha1.SourceConfig source_config = 6 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datastream.v1alpha1.SourceConfig source_config = 6 [(.google.api.field_behavior) = REQUIRED]; * @return The sourceConfig. */ com.google.cloud.datastream.v1alpha1.SourceConfig getSourceConfig(); /** - * - * *
    * Required. Source connection profile configuration.
    * 
* - * - * .google.cloud.datastream.v1alpha1.SourceConfig source_config = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1alpha1.SourceConfig source_config = 6 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.datastream.v1alpha1.SourceConfigOrBuilder getSourceConfigOrBuilder(); /** - * - * *
    * Required. Destination connection profile configuration.
    * 
* - * - * .google.cloud.datastream.v1alpha1.DestinationConfig destination_config = 7 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datastream.v1alpha1.DestinationConfig destination_config = 7 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the destinationConfig field is set. */ boolean hasDestinationConfig(); /** - * - * *
    * Required. Destination connection profile configuration.
    * 
* - * - * .google.cloud.datastream.v1alpha1.DestinationConfig destination_config = 7 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datastream.v1alpha1.DestinationConfig destination_config = 7 [(.google.api.field_behavior) = REQUIRED]; * @return The destinationConfig. */ com.google.cloud.datastream.v1alpha1.DestinationConfig getDestinationConfig(); /** - * - * *
    * Required. Destination connection profile configuration.
    * 
* - * - * .google.cloud.datastream.v1alpha1.DestinationConfig destination_config = 7 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1alpha1.DestinationConfig destination_config = 7 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.datastream.v1alpha1.DestinationConfigOrBuilder getDestinationConfigOrBuilder(); /** - * - * *
    * The state of the stream.
    * 
* * .google.cloud.datastream.v1alpha1.Stream.State state = 8; - * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * The state of the stream.
    * 
* * .google.cloud.datastream.v1alpha1.Stream.State state = 8; - * * @return The state. */ com.google.cloud.datastream.v1alpha1.Stream.State getState(); /** - * - * *
    * Automatically backfill objects included in the stream source
    * configuration. Specific objects can be excluded.
    * 
* * .google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy backfill_all = 101; - * * @return Whether the backfillAll field is set. */ boolean hasBackfillAll(); /** - * - * *
    * Automatically backfill objects included in the stream source
    * configuration. Specific objects can be excluded.
    * 
* * .google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy backfill_all = 101; - * * @return The backfillAll. */ com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy getBackfillAll(); /** - * - * *
    * Automatically backfill objects included in the stream source
    * configuration. Specific objects can be excluded.
@@ -351,106 +258,78 @@ java.lang.String getLabelsOrDefault(
    *
    * .google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategy backfill_all = 101;
    */
-  com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategyOrBuilder
-      getBackfillAllOrBuilder();
+  com.google.cloud.datastream.v1alpha1.Stream.BackfillAllStrategyOrBuilder getBackfillAllOrBuilder();
 
   /**
-   *
-   *
    * 
    * Do not automatically backfill any objects.
    * 
* * .google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy backfill_none = 102; - * * @return Whether the backfillNone field is set. */ boolean hasBackfillNone(); /** - * - * *
    * Do not automatically backfill any objects.
    * 
* * .google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy backfill_none = 102; - * * @return The backfillNone. */ com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy getBackfillNone(); /** - * - * *
    * Do not automatically backfill any objects.
    * 
* * .google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategy backfill_none = 102; */ - com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategyOrBuilder - getBackfillNoneOrBuilder(); + com.google.cloud.datastream.v1alpha1.Stream.BackfillNoneStrategyOrBuilder getBackfillNoneOrBuilder(); /** - * - * *
    * Output only. Errors on the Stream.
    * 
* - * - * repeated .google.cloud.datastream.v1alpha1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1alpha1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List getErrorsList(); + java.util.List + getErrorsList(); /** - * - * *
    * Output only. Errors on the Stream.
    * 
* - * - * repeated .google.cloud.datastream.v1alpha1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1alpha1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.datastream.v1alpha1.Error getErrors(int index); /** - * - * *
    * Output only. Errors on the Stream.
    * 
* - * - * repeated .google.cloud.datastream.v1alpha1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1alpha1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ int getErrorsCount(); /** - * - * *
    * Output only. Errors on the Stream.
    * 
* - * - * repeated .google.cloud.datastream.v1alpha1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1alpha1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List + java.util.List getErrorsOrBuilderList(); /** - * - * *
    * Output only. Errors on the Stream.
    * 
* - * - * repeated .google.cloud.datastream.v1alpha1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.datastream.v1alpha1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - com.google.cloud.datastream.v1alpha1.ErrorOrBuilder getErrorsOrBuilder(int index); + com.google.cloud.datastream.v1alpha1.ErrorOrBuilder getErrorsOrBuilder( + int index); public com.google.cloud.datastream.v1alpha1.Stream.BackfillStrategyCase getBackfillStrategyCase(); } diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/UpdateConnectionProfileRequest.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/UpdateConnectionProfileRequest.java similarity index 69% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/UpdateConnectionProfileRequest.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/UpdateConnectionProfileRequest.java index eb5443a0..94a78a97 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/UpdateConnectionProfileRequest.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/UpdateConnectionProfileRequest.java @@ -1,50 +1,36 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1alpha1/datastream.proto package com.google.cloud.datastream.v1alpha1; -/** Protobuf type {@code google.cloud.datastream.v1alpha1.UpdateConnectionProfileRequest} */ -public final class UpdateConnectionProfileRequest extends com.google.protobuf.GeneratedMessageV3 - implements +/** + * Protobuf type {@code google.cloud.datastream.v1alpha1.UpdateConnectionProfileRequest} + */ +public final class UpdateConnectionProfileRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1alpha1.UpdateConnectionProfileRequest) UpdateConnectionProfileRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateConnectionProfileRequest.newBuilder() to construct. - private UpdateConnectionProfileRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private UpdateConnectionProfileRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateConnectionProfileRequest() { requestId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateConnectionProfileRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private UpdateConnectionProfileRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -63,52 +49,45 @@ private UpdateConnectionProfileRequest( case 0: done = true; break; - case 10: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); } - case 18: - { - com.google.cloud.datastream.v1alpha1.ConnectionProfile.Builder subBuilder = null; - if (connectionProfile_ != null) { - subBuilder = connectionProfile_.toBuilder(); - } - connectionProfile_ = - input.readMessage( - com.google.cloud.datastream.v1alpha1.ConnectionProfile.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(connectionProfile_); - connectionProfile_ = subBuilder.buildPartial(); - } - - break; + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - requestId_ = s; - break; + break; + } + case 18: { + com.google.cloud.datastream.v1alpha1.ConnectionProfile.Builder subBuilder = null; + if (connectionProfile_ != null) { + subBuilder = connectionProfile_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + connectionProfile_ = input.readMessage(com.google.cloud.datastream.v1alpha1.ConnectionProfile.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(connectionProfile_); + connectionProfile_ = subBuilder.buildPartial(); + } + + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + requestId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -116,33 +95,29 @@ private UpdateConnectionProfileRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_UpdateConnectionProfileRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_UpdateConnectionProfileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_UpdateConnectionProfileRequest_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_UpdateConnectionProfileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.UpdateConnectionProfileRequest.class, - com.google.cloud.datastream.v1alpha1.UpdateConnectionProfileRequest.Builder.class); + com.google.cloud.datastream.v1alpha1.UpdateConnectionProfileRequest.class, com.google.cloud.datastream.v1alpha1.UpdateConnectionProfileRequest.Builder.class); } public static final int UPDATE_MASK_FIELD_NUMBER = 1; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * ConnectionProfile resource by the update.
@@ -151,9 +126,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the updateMask field is set. */ @java.lang.Override @@ -161,8 +134,6 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * ConnectionProfile resource by the update.
@@ -171,9 +142,7 @@ public boolean hasUpdateMask() {
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return The updateMask. */ @java.lang.Override @@ -181,8 +150,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * ConnectionProfile resource by the update.
@@ -191,8 +158,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -202,16 +168,11 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { public static final int CONNECTION_PROFILE_FIELD_NUMBER = 2; private com.google.cloud.datastream.v1alpha1.ConnectionProfile connectionProfile_; /** - * - * *
    * Required. The ConnectionProfile to update.
    * 
* - * - * .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profile = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profile = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the connectionProfile field is set. */ @java.lang.Override @@ -219,46 +180,32 @@ public boolean hasConnectionProfile() { return connectionProfile_ != null; } /** - * - * *
    * Required. The ConnectionProfile to update.
    * 
* - * - * .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profile = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profile = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The connectionProfile. */ @java.lang.Override public com.google.cloud.datastream.v1alpha1.ConnectionProfile getConnectionProfile() { - return connectionProfile_ == null - ? com.google.cloud.datastream.v1alpha1.ConnectionProfile.getDefaultInstance() - : connectionProfile_; + return connectionProfile_ == null ? com.google.cloud.datastream.v1alpha1.ConnectionProfile.getDefaultInstance() : connectionProfile_; } /** - * - * *
    * Required. The ConnectionProfile to update.
    * 
* - * - * .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profile = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profile = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.datastream.v1alpha1.ConnectionProfileOrBuilder - getConnectionProfileOrBuilder() { + public com.google.cloud.datastream.v1alpha1.ConnectionProfileOrBuilder getConnectionProfileOrBuilder() { return getConnectionProfile(); } public static final int REQUEST_ID_FIELD_NUMBER = 3; private volatile java.lang.Object requestId_; /** - * - * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -274,7 +221,6 @@ public com.google.cloud.datastream.v1alpha1.ConnectionProfile getConnectionProfi
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -283,15 +229,14 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** - * - * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -307,15 +252,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -324,7 +270,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -336,7 +281,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()); } @@ -356,10 +302,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 (connectionProfile_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getConnectionProfile()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getConnectionProfile()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, requestId_); @@ -372,23 +320,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.datastream.v1alpha1.UpdateConnectionProfileRequest)) { return super.equals(obj); } - com.google.cloud.datastream.v1alpha1.UpdateConnectionProfileRequest other = - (com.google.cloud.datastream.v1alpha1.UpdateConnectionProfileRequest) obj; + com.google.cloud.datastream.v1alpha1.UpdateConnectionProfileRequest other = (com.google.cloud.datastream.v1alpha1.UpdateConnectionProfileRequest) obj; if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (hasConnectionProfile() != other.hasConnectionProfile()) return false; if (hasConnectionProfile()) { - if (!getConnectionProfile().equals(other.getConnectionProfile())) return false; + if (!getConnectionProfile() + .equals(other.getConnectionProfile())) return false; } - if (!getRequestId().equals(other.getRequestId())) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -416,137 +366,130 @@ public int hashCode() { } public static com.google.cloud.datastream.v1alpha1.UpdateConnectionProfileRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.UpdateConnectionProfileRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.UpdateConnectionProfileRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.UpdateConnectionProfileRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.UpdateConnectionProfileRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.datastream.v1alpha1.UpdateConnectionProfileRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.UpdateConnectionProfileRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.UpdateConnectionProfileRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.UpdateConnectionProfileRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.UpdateConnectionProfileRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.UpdateConnectionProfileRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.UpdateConnectionProfileRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.datastream.v1alpha1.UpdateConnectionProfileRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.datastream.v1alpha1.UpdateConnectionProfileRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.UpdateConnectionProfileRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.UpdateConnectionProfileRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datastream.v1alpha1.UpdateConnectionProfileRequest prototype) { + public static Builder newBuilder(com.google.cloud.datastream.v1alpha1.UpdateConnectionProfileRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } - /** Protobuf type {@code google.cloud.datastream.v1alpha1.UpdateConnectionProfileRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + /** + * Protobuf type {@code google.cloud.datastream.v1alpha1.UpdateConnectionProfileRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1alpha1.UpdateConnectionProfileRequest) com.google.cloud.datastream.v1alpha1.UpdateConnectionProfileRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_UpdateConnectionProfileRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_UpdateConnectionProfileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_UpdateConnectionProfileRequest_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_UpdateConnectionProfileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.UpdateConnectionProfileRequest.class, - com.google.cloud.datastream.v1alpha1.UpdateConnectionProfileRequest.Builder.class); + com.google.cloud.datastream.v1alpha1.UpdateConnectionProfileRequest.class, com.google.cloud.datastream.v1alpha1.UpdateConnectionProfileRequest.Builder.class); } - // Construct using - // com.google.cloud.datastream.v1alpha1.UpdateConnectionProfileRequest.newBuilder() + // Construct using com.google.cloud.datastream.v1alpha1.UpdateConnectionProfileRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -568,16 +511,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_UpdateConnectionProfileRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_UpdateConnectionProfileRequest_descriptor; } @java.lang.Override - public com.google.cloud.datastream.v1alpha1.UpdateConnectionProfileRequest - getDefaultInstanceForType() { - return com.google.cloud.datastream.v1alpha1.UpdateConnectionProfileRequest - .getDefaultInstance(); + public com.google.cloud.datastream.v1alpha1.UpdateConnectionProfileRequest getDefaultInstanceForType() { + return com.google.cloud.datastream.v1alpha1.UpdateConnectionProfileRequest.getDefaultInstance(); } @java.lang.Override @@ -591,8 +532,7 @@ public com.google.cloud.datastream.v1alpha1.UpdateConnectionProfileRequest build @java.lang.Override public com.google.cloud.datastream.v1alpha1.UpdateConnectionProfileRequest buildPartial() { - com.google.cloud.datastream.v1alpha1.UpdateConnectionProfileRequest result = - new com.google.cloud.datastream.v1alpha1.UpdateConnectionProfileRequest(this); + com.google.cloud.datastream.v1alpha1.UpdateConnectionProfileRequest result = new com.google.cloud.datastream.v1alpha1.UpdateConnectionProfileRequest(this); if (updateMaskBuilder_ == null) { result.updateMask_ = updateMask_; } else { @@ -612,51 +552,46 @@ public com.google.cloud.datastream.v1alpha1.UpdateConnectionProfileRequest build public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1alpha1.UpdateConnectionProfileRequest) { - return mergeFrom( - (com.google.cloud.datastream.v1alpha1.UpdateConnectionProfileRequest) other); + return mergeFrom((com.google.cloud.datastream.v1alpha1.UpdateConnectionProfileRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.datastream.v1alpha1.UpdateConnectionProfileRequest other) { - if (other - == com.google.cloud.datastream.v1alpha1.UpdateConnectionProfileRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.datastream.v1alpha1.UpdateConnectionProfileRequest other) { + if (other == com.google.cloud.datastream.v1alpha1.UpdateConnectionProfileRequest.getDefaultInstance()) return this; if (other.hasUpdateMask()) { mergeUpdateMask(other.getUpdateMask()); } @@ -686,9 +621,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datastream.v1alpha1.UpdateConnectionProfileRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datastream.v1alpha1.UpdateConnectionProfileRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -700,13 +633,8 @@ public Builder mergeFrom( 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_; /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * ConnectionProfile resource by the update.
@@ -715,17 +643,13 @@ public Builder mergeFrom(
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * ConnectionProfile resource by the update.
@@ -734,23 +658,17 @@ public boolean hasUpdateMask() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; * @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(); } } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * ConnectionProfile resource by the update.
@@ -759,8 +677,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -776,8 +693,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * ConnectionProfile resource by the update.
@@ -786,10 +701,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); onChanged(); @@ -800,8 +715,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * ConnectionProfile resource by the update.
@@ -810,14 +723,13 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -829,8 +741,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * ConnectionProfile resource by the update.
@@ -839,8 +749,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearUpdateMask() { if (updateMaskBuilder_ == null) { @@ -854,8 +763,6 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * ConnectionProfile resource by the update.
@@ -864,17 +771,14 @@ public Builder clearUpdateMask() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * ConnectionProfile resource by the update.
@@ -883,21 +787,17 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ 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_; } } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * ConnectionProfile resource by the update.
@@ -906,21 +806,17 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ 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_; @@ -928,61 +824,41 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { private com.google.cloud.datastream.v1alpha1.ConnectionProfile connectionProfile_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.ConnectionProfile, - com.google.cloud.datastream.v1alpha1.ConnectionProfile.Builder, - com.google.cloud.datastream.v1alpha1.ConnectionProfileOrBuilder> - connectionProfileBuilder_; + com.google.cloud.datastream.v1alpha1.ConnectionProfile, com.google.cloud.datastream.v1alpha1.ConnectionProfile.Builder, com.google.cloud.datastream.v1alpha1.ConnectionProfileOrBuilder> connectionProfileBuilder_; /** - * - * *
      * Required. The ConnectionProfile to update.
      * 
* - * - * .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profile = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profile = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the connectionProfile field is set. */ public boolean hasConnectionProfile() { return connectionProfileBuilder_ != null || connectionProfile_ != null; } /** - * - * *
      * Required. The ConnectionProfile to update.
      * 
* - * - * .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profile = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profile = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The connectionProfile. */ public com.google.cloud.datastream.v1alpha1.ConnectionProfile getConnectionProfile() { if (connectionProfileBuilder_ == null) { - return connectionProfile_ == null - ? com.google.cloud.datastream.v1alpha1.ConnectionProfile.getDefaultInstance() - : connectionProfile_; + return connectionProfile_ == null ? com.google.cloud.datastream.v1alpha1.ConnectionProfile.getDefaultInstance() : connectionProfile_; } else { return connectionProfileBuilder_.getMessage(); } } /** - * - * *
      * Required. The ConnectionProfile to update.
      * 
* - * - * .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profile = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profile = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setConnectionProfile( - com.google.cloud.datastream.v1alpha1.ConnectionProfile value) { + public Builder setConnectionProfile(com.google.cloud.datastream.v1alpha1.ConnectionProfile value) { if (connectionProfileBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -996,15 +872,11 @@ public Builder setConnectionProfile( return this; } /** - * - * *
      * Required. The ConnectionProfile to update.
      * 
* - * - * .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profile = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profile = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setConnectionProfile( com.google.cloud.datastream.v1alpha1.ConnectionProfile.Builder builderForValue) { @@ -1018,24 +890,17 @@ public Builder setConnectionProfile( return this; } /** - * - * *
      * Required. The ConnectionProfile to update.
      * 
* - * - * .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profile = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profile = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeConnectionProfile( - com.google.cloud.datastream.v1alpha1.ConnectionProfile value) { + public Builder mergeConnectionProfile(com.google.cloud.datastream.v1alpha1.ConnectionProfile value) { if (connectionProfileBuilder_ == null) { if (connectionProfile_ != null) { connectionProfile_ = - com.google.cloud.datastream.v1alpha1.ConnectionProfile.newBuilder(connectionProfile_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.datastream.v1alpha1.ConnectionProfile.newBuilder(connectionProfile_).mergeFrom(value).buildPartial(); } else { connectionProfile_ = value; } @@ -1047,15 +912,11 @@ public Builder mergeConnectionProfile( return this; } /** - * - * *
      * Required. The ConnectionProfile to update.
      * 
* - * - * .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profile = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profile = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearConnectionProfile() { if (connectionProfileBuilder_ == null) { @@ -1069,66 +930,48 @@ public Builder clearConnectionProfile() { return this; } /** - * - * *
      * Required. The ConnectionProfile to update.
      * 
* - * - * .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profile = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profile = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.datastream.v1alpha1.ConnectionProfile.Builder - getConnectionProfileBuilder() { - + public com.google.cloud.datastream.v1alpha1.ConnectionProfile.Builder getConnectionProfileBuilder() { + onChanged(); return getConnectionProfileFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The ConnectionProfile to update.
      * 
* - * - * .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profile = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profile = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.datastream.v1alpha1.ConnectionProfileOrBuilder - getConnectionProfileOrBuilder() { + public com.google.cloud.datastream.v1alpha1.ConnectionProfileOrBuilder getConnectionProfileOrBuilder() { if (connectionProfileBuilder_ != null) { return connectionProfileBuilder_.getMessageOrBuilder(); } else { - return connectionProfile_ == null - ? com.google.cloud.datastream.v1alpha1.ConnectionProfile.getDefaultInstance() - : connectionProfile_; + return connectionProfile_ == null ? + com.google.cloud.datastream.v1alpha1.ConnectionProfile.getDefaultInstance() : connectionProfile_; } } /** - * - * *
      * Required. The ConnectionProfile to update.
      * 
* - * - * .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profile = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profile = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.ConnectionProfile, - com.google.cloud.datastream.v1alpha1.ConnectionProfile.Builder, - com.google.cloud.datastream.v1alpha1.ConnectionProfileOrBuilder> + com.google.cloud.datastream.v1alpha1.ConnectionProfile, com.google.cloud.datastream.v1alpha1.ConnectionProfile.Builder, com.google.cloud.datastream.v1alpha1.ConnectionProfileOrBuilder> getConnectionProfileFieldBuilder() { if (connectionProfileBuilder_ == null) { - connectionProfileBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.ConnectionProfile, - com.google.cloud.datastream.v1alpha1.ConnectionProfile.Builder, - com.google.cloud.datastream.v1alpha1.ConnectionProfileOrBuilder>( - getConnectionProfile(), getParentForChildren(), isClean()); + connectionProfileBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1alpha1.ConnectionProfile, com.google.cloud.datastream.v1alpha1.ConnectionProfile.Builder, com.google.cloud.datastream.v1alpha1.ConnectionProfileOrBuilder>( + getConnectionProfile(), + getParentForChildren(), + isClean()); connectionProfile_ = null; } return connectionProfileBuilder_; @@ -1136,8 +979,6 @@ public Builder clearConnectionProfile() { private java.lang.Object requestId_ = ""; /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1153,13 +994,13 @@ public Builder clearConnectionProfile() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -1168,8 +1009,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1185,14 +1024,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -1200,8 +1040,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1217,22 +1055,20 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { + public Builder setRequestId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1248,18 +1084,15 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1275,23 +1108,23 @@ public Builder clearRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = 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); } @@ -1301,32 +1134,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1alpha1.UpdateConnectionProfileRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1alpha1.UpdateConnectionProfileRequest) - private static final com.google.cloud.datastream.v1alpha1.UpdateConnectionProfileRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.datastream.v1alpha1.UpdateConnectionProfileRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1alpha1.UpdateConnectionProfileRequest(); } - public static com.google.cloud.datastream.v1alpha1.UpdateConnectionProfileRequest - getDefaultInstance() { + public static com.google.cloud.datastream.v1alpha1.UpdateConnectionProfileRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateConnectionProfileRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateConnectionProfileRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateConnectionProfileRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpdateConnectionProfileRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1338,8 +1169,9 @@ public com.google.protobuf.Parser getParserForTy } @java.lang.Override - public com.google.cloud.datastream.v1alpha1.UpdateConnectionProfileRequest - getDefaultInstanceForType() { + public com.google.cloud.datastream.v1alpha1.UpdateConnectionProfileRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/UpdateConnectionProfileRequestOrBuilder.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/UpdateConnectionProfileRequestOrBuilder.java similarity index 75% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/UpdateConnectionProfileRequestOrBuilder.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/UpdateConnectionProfileRequestOrBuilder.java index 3cf91734..8162512c 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/UpdateConnectionProfileRequestOrBuilder.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/UpdateConnectionProfileRequestOrBuilder.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/datastream/v1alpha1/datastream.proto package com.google.cloud.datastream.v1alpha1; -public interface UpdateConnectionProfileRequestOrBuilder - extends +public interface UpdateConnectionProfileRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1alpha1.UpdateConnectionProfileRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * ConnectionProfile resource by the update.
@@ -34,15 +16,11 @@ public interface UpdateConnectionProfileRequestOrBuilder
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * ConnectionProfile resource by the update.
@@ -51,15 +29,11 @@ public interface UpdateConnectionProfileRequestOrBuilder
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * ConnectionProfile resource by the update.
@@ -68,55 +42,38 @@ public interface UpdateConnectionProfileRequestOrBuilder
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); /** - * - * *
    * Required. The ConnectionProfile to update.
    * 
* - * - * .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profile = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profile = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the connectionProfile field is set. */ boolean hasConnectionProfile(); /** - * - * *
    * Required. The ConnectionProfile to update.
    * 
* - * - * .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profile = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profile = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The connectionProfile. */ com.google.cloud.datastream.v1alpha1.ConnectionProfile getConnectionProfile(); /** - * - * *
    * Required. The ConnectionProfile to update.
    * 
* - * - * .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profile = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1alpha1.ConnectionProfile connection_profile = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.datastream.v1alpha1.ConnectionProfileOrBuilder getConnectionProfileOrBuilder(); /** - * - * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -132,13 +89,10 @@ public interface UpdateConnectionProfileRequestOrBuilder
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -154,8 +108,8 @@ public interface UpdateConnectionProfileRequestOrBuilder
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); } diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/UpdateStreamRequest.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/UpdateStreamRequest.java similarity index 73% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/UpdateStreamRequest.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/UpdateStreamRequest.java index 7e965929..b6b4f8de 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/UpdateStreamRequest.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/UpdateStreamRequest.java @@ -1,49 +1,36 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1alpha1/datastream.proto package com.google.cloud.datastream.v1alpha1; -/** Protobuf type {@code google.cloud.datastream.v1alpha1.UpdateStreamRequest} */ -public final class UpdateStreamRequest extends com.google.protobuf.GeneratedMessageV3 - implements +/** + * Protobuf type {@code google.cloud.datastream.v1alpha1.UpdateStreamRequest} + */ +public final class UpdateStreamRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1alpha1.UpdateStreamRequest) UpdateStreamRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateStreamRequest.newBuilder() to construct. private UpdateStreamRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateStreamRequest() { requestId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateStreamRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private UpdateStreamRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -62,61 +49,55 @@ private UpdateStreamRequest( case 0: done = true; break; - case 10: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); } - case 18: - { - com.google.cloud.datastream.v1alpha1.Stream.Builder subBuilder = null; - if (stream_ != null) { - subBuilder = stream_.toBuilder(); - } - stream_ = - input.readMessage( - com.google.cloud.datastream.v1alpha1.Stream.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(stream_); - stream_ = subBuilder.buildPartial(); - } - - break; + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - requestId_ = s; - break; - } - case 32: - { - validateOnly_ = input.readBool(); - break; + break; + } + case 18: { + com.google.cloud.datastream.v1alpha1.Stream.Builder subBuilder = null; + if (stream_ != null) { + subBuilder = stream_.toBuilder(); } - case 40: - { - force_ = input.readBool(); - break; + stream_ = input.readMessage(com.google.cloud.datastream.v1alpha1.Stream.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(stream_); + stream_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + requestId_ = s; + break; + } + case 32: { + + validateOnly_ = input.readBool(); + break; + } + case 40: { + + force_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -124,33 +105,29 @@ private UpdateStreamRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_UpdateStreamRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_UpdateStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_UpdateStreamRequest_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_UpdateStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.UpdateStreamRequest.class, - com.google.cloud.datastream.v1alpha1.UpdateStreamRequest.Builder.class); + com.google.cloud.datastream.v1alpha1.UpdateStreamRequest.class, com.google.cloud.datastream.v1alpha1.UpdateStreamRequest.Builder.class); } public static final int UPDATE_MASK_FIELD_NUMBER = 1; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * stream resource by the update.
@@ -159,9 +136,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the updateMask field is set. */ @java.lang.Override @@ -169,8 +144,6 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * stream resource by the update.
@@ -179,9 +152,7 @@ public boolean hasUpdateMask() {
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return The updateMask. */ @java.lang.Override @@ -189,8 +160,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * stream resource by the update.
@@ -199,8 +168,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -210,16 +178,11 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { public static final int STREAM_FIELD_NUMBER = 2; private com.google.cloud.datastream.v1alpha1.Stream stream_; /** - * - * *
    * Required. The stream resource to update.
    * 
* - * - * .google.cloud.datastream.v1alpha1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datastream.v1alpha1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the stream field is set. */ @java.lang.Override @@ -227,34 +190,23 @@ public boolean hasStream() { return stream_ != null; } /** - * - * *
    * Required. The stream resource to update.
    * 
* - * - * .google.cloud.datastream.v1alpha1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datastream.v1alpha1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The stream. */ @java.lang.Override public com.google.cloud.datastream.v1alpha1.Stream getStream() { - return stream_ == null - ? com.google.cloud.datastream.v1alpha1.Stream.getDefaultInstance() - : stream_; + return stream_ == null ? com.google.cloud.datastream.v1alpha1.Stream.getDefaultInstance() : stream_; } /** - * - * *
    * Required. The stream resource to update.
    * 
* - * - * .google.cloud.datastream.v1alpha1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1alpha1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.datastream.v1alpha1.StreamOrBuilder getStreamOrBuilder() { @@ -264,8 +216,6 @@ public com.google.cloud.datastream.v1alpha1.StreamOrBuilder getStreamOrBuilder() public static final int REQUEST_ID_FIELD_NUMBER = 3; private volatile java.lang.Object requestId_; /** - * - * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -281,7 +231,6 @@ public com.google.cloud.datastream.v1alpha1.StreamOrBuilder getStreamOrBuilder()
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -290,15 +239,14 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** - * - * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -314,15 +262,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -333,15 +282,12 @@ public com.google.protobuf.ByteString getRequestIdBytes() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; private boolean validateOnly_; /** - * - * *
    * Optional. Only validate the stream with the changes, without actually updating it.
    * The default is false.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -352,14 +298,11 @@ public boolean getValidateOnly() { public static final int FORCE_FIELD_NUMBER = 5; private boolean force_; /** - * - * *
    * Optional. Execute the update without validating it.
    * 
* * bool force = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The force. */ @java.lang.Override @@ -368,7 +311,6 @@ public boolean getForce() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -380,7 +322,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()); } @@ -406,19 +349,23 @@ 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 (stream_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getStream()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getStream()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, requestId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, validateOnly_); } if (force_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, force_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, force_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -428,25 +375,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.datastream.v1alpha1.UpdateStreamRequest)) { return super.equals(obj); } - com.google.cloud.datastream.v1alpha1.UpdateStreamRequest other = - (com.google.cloud.datastream.v1alpha1.UpdateStreamRequest) obj; + com.google.cloud.datastream.v1alpha1.UpdateStreamRequest other = (com.google.cloud.datastream.v1alpha1.UpdateStreamRequest) obj; if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (hasStream() != other.hasStream()) return false; if (hasStream()) { - if (!getStream().equals(other.getStream())) return false; - } - if (!getRequestId().equals(other.getRequestId())) return false; - if (getValidateOnly() != other.getValidateOnly()) return false; - if (getForce() != other.getForce()) return false; + if (!getStream() + .equals(other.getStream())) return false; + } + if (!getRequestId() + .equals(other.getRequestId())) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; + if (getForce() + != other.getForce()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -469,128 +420,124 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().hashCode(); hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getValidateOnly()); hash = (37 * hash) + FORCE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getForce()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getForce()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.datastream.v1alpha1.UpdateStreamRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.UpdateStreamRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.UpdateStreamRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.UpdateStreamRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.UpdateStreamRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.UpdateStreamRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.UpdateStreamRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.UpdateStreamRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.UpdateStreamRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.UpdateStreamRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.UpdateStreamRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.UpdateStreamRequest 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.datastream.v1alpha1.UpdateStreamRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.UpdateStreamRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datastream.v1alpha1.UpdateStreamRequest prototype) { + public static Builder newBuilder(com.google.cloud.datastream.v1alpha1.UpdateStreamRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } - /** Protobuf type {@code google.cloud.datastream.v1alpha1.UpdateStreamRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + /** + * Protobuf type {@code google.cloud.datastream.v1alpha1.UpdateStreamRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1alpha1.UpdateStreamRequest) com.google.cloud.datastream.v1alpha1.UpdateStreamRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_UpdateStreamRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_UpdateStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_UpdateStreamRequest_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_UpdateStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.UpdateStreamRequest.class, - com.google.cloud.datastream.v1alpha1.UpdateStreamRequest.Builder.class); + com.google.cloud.datastream.v1alpha1.UpdateStreamRequest.class, com.google.cloud.datastream.v1alpha1.UpdateStreamRequest.Builder.class); } // Construct using com.google.cloud.datastream.v1alpha1.UpdateStreamRequest.newBuilder() @@ -598,15 +545,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -632,9 +580,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto - .internal_static_google_cloud_datastream_v1alpha1_UpdateStreamRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamServiceProto.internal_static_google_cloud_datastream_v1alpha1_UpdateStreamRequest_descriptor; } @java.lang.Override @@ -653,8 +601,7 @@ public com.google.cloud.datastream.v1alpha1.UpdateStreamRequest build() { @java.lang.Override public com.google.cloud.datastream.v1alpha1.UpdateStreamRequest buildPartial() { - com.google.cloud.datastream.v1alpha1.UpdateStreamRequest result = - new com.google.cloud.datastream.v1alpha1.UpdateStreamRequest(this); + com.google.cloud.datastream.v1alpha1.UpdateStreamRequest result = new com.google.cloud.datastream.v1alpha1.UpdateStreamRequest(this); if (updateMaskBuilder_ == null) { result.updateMask_ = updateMask_; } else { @@ -676,39 +623,38 @@ public com.google.cloud.datastream.v1alpha1.UpdateStreamRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1alpha1.UpdateStreamRequest) { - return mergeFrom((com.google.cloud.datastream.v1alpha1.UpdateStreamRequest) other); + return mergeFrom((com.google.cloud.datastream.v1alpha1.UpdateStreamRequest)other); } else { super.mergeFrom(other); return this; @@ -716,8 +662,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datastream.v1alpha1.UpdateStreamRequest other) { - if (other == com.google.cloud.datastream.v1alpha1.UpdateStreamRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.datastream.v1alpha1.UpdateStreamRequest.getDefaultInstance()) return this; if (other.hasUpdateMask()) { mergeUpdateMask(other.getUpdateMask()); } @@ -753,8 +698,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datastream.v1alpha1.UpdateStreamRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datastream.v1alpha1.UpdateStreamRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -766,13 +710,8 @@ public Builder mergeFrom( 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_; /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * stream resource by the update.
@@ -781,17 +720,13 @@ public Builder mergeFrom(
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * stream resource by the update.
@@ -800,23 +735,17 @@ public boolean hasUpdateMask() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; * @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(); } } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * stream resource by the update.
@@ -825,8 +754,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -842,8 +770,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * stream resource by the update.
@@ -852,10 +778,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); onChanged(); @@ -866,8 +792,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * stream resource by the update.
@@ -876,14 +800,13 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -895,8 +818,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * stream resource by the update.
@@ -905,8 +826,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearUpdateMask() { if (updateMaskBuilder_ == null) { @@ -920,8 +840,6 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * stream resource by the update.
@@ -930,17 +848,14 @@ public Builder clearUpdateMask() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * stream resource by the update.
@@ -949,21 +864,17 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ 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_; } } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * stream resource by the update.
@@ -972,21 +883,17 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ 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_; @@ -994,58 +901,39 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { private com.google.cloud.datastream.v1alpha1.Stream stream_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.Stream, - com.google.cloud.datastream.v1alpha1.Stream.Builder, - com.google.cloud.datastream.v1alpha1.StreamOrBuilder> - streamBuilder_; + com.google.cloud.datastream.v1alpha1.Stream, com.google.cloud.datastream.v1alpha1.Stream.Builder, com.google.cloud.datastream.v1alpha1.StreamOrBuilder> streamBuilder_; /** - * - * *
      * Required. The stream resource to update.
      * 
* - * - * .google.cloud.datastream.v1alpha1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datastream.v1alpha1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the stream field is set. */ public boolean hasStream() { return streamBuilder_ != null || stream_ != null; } /** - * - * *
      * Required. The stream resource to update.
      * 
* - * - * .google.cloud.datastream.v1alpha1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datastream.v1alpha1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The stream. */ public com.google.cloud.datastream.v1alpha1.Stream getStream() { if (streamBuilder_ == null) { - return stream_ == null - ? com.google.cloud.datastream.v1alpha1.Stream.getDefaultInstance() - : stream_; + return stream_ == null ? com.google.cloud.datastream.v1alpha1.Stream.getDefaultInstance() : stream_; } else { return streamBuilder_.getMessage(); } } /** - * - * *
      * Required. The stream resource to update.
      * 
* - * - * .google.cloud.datastream.v1alpha1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1alpha1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setStream(com.google.cloud.datastream.v1alpha1.Stream value) { if (streamBuilder_ == null) { @@ -1061,17 +949,14 @@ public Builder setStream(com.google.cloud.datastream.v1alpha1.Stream value) { return this; } /** - * - * *
      * Required. The stream resource to update.
      * 
* - * - * .google.cloud.datastream.v1alpha1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1alpha1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setStream(com.google.cloud.datastream.v1alpha1.Stream.Builder builderForValue) { + public Builder setStream( + com.google.cloud.datastream.v1alpha1.Stream.Builder builderForValue) { if (streamBuilder_ == null) { stream_ = builderForValue.build(); onChanged(); @@ -1082,23 +967,17 @@ public Builder setStream(com.google.cloud.datastream.v1alpha1.Stream.Builder bui return this; } /** - * - * *
      * Required. The stream resource to update.
      * 
* - * - * .google.cloud.datastream.v1alpha1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1alpha1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeStream(com.google.cloud.datastream.v1alpha1.Stream value) { if (streamBuilder_ == null) { if (stream_ != null) { stream_ = - com.google.cloud.datastream.v1alpha1.Stream.newBuilder(stream_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.datastream.v1alpha1.Stream.newBuilder(stream_).mergeFrom(value).buildPartial(); } else { stream_ = value; } @@ -1110,15 +989,11 @@ public Builder mergeStream(com.google.cloud.datastream.v1alpha1.Stream value) { return this; } /** - * - * *
      * Required. The stream resource to update.
      * 
* - * - * .google.cloud.datastream.v1alpha1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1alpha1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearStream() { if (streamBuilder_ == null) { @@ -1132,64 +1007,48 @@ public Builder clearStream() { return this; } /** - * - * *
      * Required. The stream resource to update.
      * 
* - * - * .google.cloud.datastream.v1alpha1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1alpha1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.datastream.v1alpha1.Stream.Builder getStreamBuilder() { - + onChanged(); return getStreamFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The stream resource to update.
      * 
* - * - * .google.cloud.datastream.v1alpha1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1alpha1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.datastream.v1alpha1.StreamOrBuilder getStreamOrBuilder() { if (streamBuilder_ != null) { return streamBuilder_.getMessageOrBuilder(); } else { - return stream_ == null - ? com.google.cloud.datastream.v1alpha1.Stream.getDefaultInstance() - : stream_; + return stream_ == null ? + com.google.cloud.datastream.v1alpha1.Stream.getDefaultInstance() : stream_; } } /** - * - * *
      * Required. The stream resource to update.
      * 
* - * - * .google.cloud.datastream.v1alpha1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1alpha1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.Stream, - com.google.cloud.datastream.v1alpha1.Stream.Builder, - com.google.cloud.datastream.v1alpha1.StreamOrBuilder> + com.google.cloud.datastream.v1alpha1.Stream, com.google.cloud.datastream.v1alpha1.Stream.Builder, com.google.cloud.datastream.v1alpha1.StreamOrBuilder> getStreamFieldBuilder() { if (streamBuilder_ == null) { - streamBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.Stream, - com.google.cloud.datastream.v1alpha1.Stream.Builder, - com.google.cloud.datastream.v1alpha1.StreamOrBuilder>( - getStream(), getParentForChildren(), isClean()); + streamBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datastream.v1alpha1.Stream, com.google.cloud.datastream.v1alpha1.Stream.Builder, com.google.cloud.datastream.v1alpha1.StreamOrBuilder>( + getStream(), + getParentForChildren(), + isClean()); stream_ = null; } return streamBuilder_; @@ -1197,8 +1056,6 @@ public com.google.cloud.datastream.v1alpha1.StreamOrBuilder getStreamOrBuilder() private java.lang.Object requestId_ = ""; /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1214,13 +1071,13 @@ public com.google.cloud.datastream.v1alpha1.StreamOrBuilder getStreamOrBuilder()
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -1229,8 +1086,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1246,14 +1101,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -1261,8 +1117,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1278,22 +1132,20 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { + public Builder setRequestId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1309,18 +1161,15 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1336,32 +1185,29 @@ public Builder clearRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = value; onChanged(); return this; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * Optional. Only validate the stream with the changes, without actually updating it.
      * The default is false.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -1369,53 +1215,44 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * Optional. Only validate the stream with the changes, without actually updating it.
      * The default is false.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The validateOnly to set. * @return This builder for chaining. */ public Builder setValidateOnly(boolean value) { - + validateOnly_ = value; onChanged(); return this; } /** - * - * *
      * Optional. Only validate the stream with the changes, without actually updating it.
      * The default is false.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { - + validateOnly_ = false; onChanged(); return this; } - private boolean force_; + private boolean force_ ; /** - * - * *
      * Optional. Execute the update without validating it.
      * 
* * bool force = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The force. */ @java.lang.Override @@ -1423,43 +1260,37 @@ public boolean getForce() { return force_; } /** - * - * *
      * Optional. Execute the update without validating it.
      * 
* * bool force = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The force to set. * @return This builder for chaining. */ public Builder setForce(boolean value) { - + force_ = value; onChanged(); return this; } /** - * - * *
      * Optional. Execute the update without validating it.
      * 
* * bool force = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearForce() { - + force_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1469,12 +1300,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1alpha1.UpdateStreamRequest) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1alpha1.UpdateStreamRequest) private static final com.google.cloud.datastream.v1alpha1.UpdateStreamRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1alpha1.UpdateStreamRequest(); } @@ -1483,16 +1314,16 @@ public static com.google.cloud.datastream.v1alpha1.UpdateStreamRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateStreamRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateStreamRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateStreamRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpdateStreamRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1507,4 +1338,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datastream.v1alpha1.UpdateStreamRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/UpdateStreamRequestOrBuilder.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/UpdateStreamRequestOrBuilder.java similarity index 78% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/UpdateStreamRequestOrBuilder.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/UpdateStreamRequestOrBuilder.java index 8129fb19..84c1b730 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/UpdateStreamRequestOrBuilder.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/UpdateStreamRequestOrBuilder.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/datastream/v1alpha1/datastream.proto package com.google.cloud.datastream.v1alpha1; -public interface UpdateStreamRequestOrBuilder - extends +public interface UpdateStreamRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1alpha1.UpdateStreamRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * stream resource by the update.
@@ -34,15 +16,11 @@ public interface UpdateStreamRequestOrBuilder
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * stream resource by the update.
@@ -51,15 +29,11 @@ public interface UpdateStreamRequestOrBuilder
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * stream resource by the update.
@@ -68,55 +42,38 @@ public interface UpdateStreamRequestOrBuilder
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); /** - * - * *
    * Required. The stream resource to update.
    * 
* - * - * .google.cloud.datastream.v1alpha1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datastream.v1alpha1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the stream field is set. */ boolean hasStream(); /** - * - * *
    * Required. The stream resource to update.
    * 
* - * - * .google.cloud.datastream.v1alpha1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.datastream.v1alpha1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The stream. */ com.google.cloud.datastream.v1alpha1.Stream getStream(); /** - * - * *
    * Required. The stream resource to update.
    * 
* - * - * .google.cloud.datastream.v1alpha1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.datastream.v1alpha1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.datastream.v1alpha1.StreamOrBuilder getStreamOrBuilder(); /** - * - * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -132,13 +89,10 @@ public interface UpdateStreamRequestOrBuilder
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -154,34 +108,28 @@ public interface UpdateStreamRequestOrBuilder
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); /** - * - * *
    * Optional. Only validate the stream with the changes, without actually updating it.
    * The default is false.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ boolean getValidateOnly(); /** - * - * *
    * Optional. Execute the update without validating it.
    * 
* * bool force = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The force. */ boolean getForce(); diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/Validation.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/Validation.java similarity index 74% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/Validation.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/Validation.java index c3699e36..a6992bfc 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/Validation.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/Validation.java @@ -1,34 +1,20 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1alpha1/datastream_resources.proto package com.google.cloud.datastream.v1alpha1; -/** Protobuf type {@code google.cloud.datastream.v1alpha1.Validation} */ -public final class Validation extends com.google.protobuf.GeneratedMessageV3 - implements +/** + * Protobuf type {@code google.cloud.datastream.v1alpha1.Validation} + */ +public final class Validation extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1alpha1.Validation) ValidationOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Validation.newBuilder() to construct. private Validation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Validation() { description_ = ""; status_ = 0; @@ -38,15 +24,16 @@ private Validation() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Validation(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Validation( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -66,48 +53,40 @@ private Validation( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - description_ = s; - break; - } - case 16: - { - int rawValue = input.readEnum(); + description_ = s; + break; + } + case 16: { + int rawValue = input.readEnum(); - status_ = rawValue; - break; - } - case 26: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - message_ = - new java.util.ArrayList< - com.google.cloud.datastream.v1alpha1.ValidationMessage>(); - mutable_bitField0_ |= 0x00000001; - } - message_.add( - input.readMessage( - com.google.cloud.datastream.v1alpha1.ValidationMessage.parser(), - extensionRegistry)); - break; + status_ = rawValue; + break; + } + case 26: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + message_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + message_.add( + input.readMessage(com.google.cloud.datastream.v1alpha1.ValidationMessage.parser(), extensionRegistry)); + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - code_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + code_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -115,7 +94,8 @@ private Validation( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { message_ = java.util.Collections.unmodifiableList(message_); @@ -124,35 +104,29 @@ private Validation( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_Validation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_Validation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_Validation_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_Validation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.Validation.class, - com.google.cloud.datastream.v1alpha1.Validation.Builder.class); + com.google.cloud.datastream.v1alpha1.Validation.class, com.google.cloud.datastream.v1alpha1.Validation.Builder.class); } /** - * - * *
    * Validation execution status.
    * 
* * Protobuf enum {@code google.cloud.datastream.v1alpha1.Validation.Status} */ - public enum Status implements com.google.protobuf.ProtocolMessageEnum { + public enum Status + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Unspecified status.
      * 
@@ -161,8 +135,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { */ STATUS_UNSPECIFIED(0), /** - * - * *
      * Validation did not execute.
      * 
@@ -171,8 +143,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { */ NOT_EXECUTED(1), /** - * - * *
      * Validation failed.
      * 
@@ -181,8 +151,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { */ FAILED(2), /** - * - * *
      * Validation passed.
      * 
@@ -194,8 +162,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Unspecified status.
      * 
@@ -204,8 +170,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATUS_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Validation did not execute.
      * 
@@ -214,8 +178,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { */ public static final int NOT_EXECUTED_VALUE = 1; /** - * - * *
      * Validation failed.
      * 
@@ -224,8 +186,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FAILED_VALUE = 2; /** - * - * *
      * Validation passed.
      * 
@@ -234,6 +194,7 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PASSED_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -258,51 +219,50 @@ public static Status valueOf(int value) { */ public static Status forNumber(int value) { switch (value) { - case 0: - return STATUS_UNSPECIFIED; - case 1: - return NOT_EXECUTED; - case 2: - return FAILED; - case 3: - return PASSED; - default: - return null; + case 0: return STATUS_UNSPECIFIED; + case 1: return NOT_EXECUTED; + case 2: return FAILED; + case 3: return PASSED; + 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< + Status> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Status findValueByNumber(int number) { + return Status.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Status findValueByNumber(int number) { - return Status.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.datastream.v1alpha1.Validation.getDescriptor().getEnumTypes().get(0); } private static final Status[] VALUES = values(); - public static Status valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Status 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,14 +282,11 @@ private Status(int value) { public static final int DESCRIPTION_FIELD_NUMBER = 1; private volatile java.lang.Object description_; /** - * - * *
    * A short description of the validation.
    * 
* * string description = 1; - * * @return The description. */ @java.lang.Override @@ -338,29 +295,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 short description of the validation.
    * 
* * 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 { @@ -371,46 +328,33 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int STATUS_FIELD_NUMBER = 2; private int status_; /** - * - * *
    * Validation execution status.
    * 
* * .google.cloud.datastream.v1alpha1.Validation.Status status = 2; - * * @return The enum numeric value on the wire for status. */ - @java.lang.Override - public int getStatusValue() { + @java.lang.Override public int getStatusValue() { return status_; } /** - * - * *
    * Validation execution status.
    * 
* * .google.cloud.datastream.v1alpha1.Validation.Status status = 2; - * * @return The status. */ - @java.lang.Override - public com.google.cloud.datastream.v1alpha1.Validation.Status getStatus() { + @java.lang.Override public com.google.cloud.datastream.v1alpha1.Validation.Status getStatus() { @SuppressWarnings("deprecation") - com.google.cloud.datastream.v1alpha1.Validation.Status result = - com.google.cloud.datastream.v1alpha1.Validation.Status.valueOf(status_); - return result == null - ? com.google.cloud.datastream.v1alpha1.Validation.Status.UNRECOGNIZED - : result; + com.google.cloud.datastream.v1alpha1.Validation.Status result = com.google.cloud.datastream.v1alpha1.Validation.Status.valueOf(status_); + return result == null ? com.google.cloud.datastream.v1alpha1.Validation.Status.UNRECOGNIZED : result; } public static final int MESSAGE_FIELD_NUMBER = 3; private java.util.List message_; /** - * - * *
    * Messages reflecting the validation results.
    * 
@@ -422,8 +366,6 @@ public java.util.List ge return message_; } /** - * - * *
    * Messages reflecting the validation results.
    * 
@@ -431,13 +373,11 @@ public java.util.List ge * repeated .google.cloud.datastream.v1alpha1.ValidationMessage message = 3; */ @java.lang.Override - public java.util.List + public java.util.List getMessageOrBuilderList() { return message_; } /** - * - * *
    * Messages reflecting the validation results.
    * 
@@ -449,8 +389,6 @@ public int getMessageCount() { return message_.size(); } /** - * - * *
    * Messages reflecting the validation results.
    * 
@@ -462,8 +400,6 @@ public com.google.cloud.datastream.v1alpha1.ValidationMessage getMessage(int ind return message_.get(index); } /** - * - * *
    * Messages reflecting the validation results.
    * 
@@ -479,14 +415,11 @@ public com.google.cloud.datastream.v1alpha1.ValidationMessageOrBuilder getMessag public static final int CODE_FIELD_NUMBER = 4; private volatile java.lang.Object code_; /** - * - * *
    * A custom code identifying this validation.
    * 
* * string code = 4; - * * @return The code. */ @java.lang.Override @@ -495,29 +428,29 @@ public java.lang.String getCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); code_ = s; return s; } } /** - * - * *
    * A custom code identifying this validation.
    * 
* * string code = 4; - * * @return The bytes for code. */ @java.lang.Override - public com.google.protobuf.ByteString getCodeBytes() { + public com.google.protobuf.ByteString + getCodeBytes() { java.lang.Object ref = code_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); code_ = b; return b; } else { @@ -526,7 +459,6 @@ public com.google.protobuf.ByteString getCodeBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -538,12 +470,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 (status_ - != com.google.cloud.datastream.v1alpha1.Validation.Status.STATUS_UNSPECIFIED.getNumber()) { + if (status_ != com.google.cloud.datastream.v1alpha1.Validation.Status.STATUS_UNSPECIFIED.getNumber()) { output.writeEnum(2, status_); } for (int i = 0; i < message_.size(); i++) { @@ -564,12 +496,13 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, description_); } - if (status_ - != com.google.cloud.datastream.v1alpha1.Validation.Status.STATUS_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, status_); + if (status_ != com.google.cloud.datastream.v1alpha1.Validation.Status.STATUS_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, status_); } for (int i = 0; i < message_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, message_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, message_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(code_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, code_); @@ -582,18 +515,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.datastream.v1alpha1.Validation)) { return super.equals(obj); } - com.google.cloud.datastream.v1alpha1.Validation other = - (com.google.cloud.datastream.v1alpha1.Validation) obj; + com.google.cloud.datastream.v1alpha1.Validation other = (com.google.cloud.datastream.v1alpha1.Validation) obj; - if (!getDescription().equals(other.getDescription())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; if (status_ != other.status_) return false; - if (!getMessageList().equals(other.getMessageList())) return false; - if (!getCode().equals(other.getCode())) return false; + if (!getMessageList() + .equals(other.getMessageList())) return false; + if (!getCode() + .equals(other.getCode())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -620,119 +555,114 @@ public int hashCode() { return hash; } - public static com.google.cloud.datastream.v1alpha1.Validation parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.datastream.v1alpha1.Validation parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.Validation parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.Validation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.Validation parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.Validation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.Validation parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.Validation 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.datastream.v1alpha1.Validation parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.Validation parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.Validation parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.Validation 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.datastream.v1alpha1.Validation parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.Validation parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.datastream.v1alpha1.Validation prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } - /** Protobuf type {@code google.cloud.datastream.v1alpha1.Validation} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + /** + * Protobuf type {@code google.cloud.datastream.v1alpha1.Validation} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1alpha1.Validation) com.google.cloud.datastream.v1alpha1.ValidationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_Validation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_Validation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_Validation_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_Validation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.Validation.class, - com.google.cloud.datastream.v1alpha1.Validation.Builder.class); + com.google.cloud.datastream.v1alpha1.Validation.class, com.google.cloud.datastream.v1alpha1.Validation.Builder.class); } // Construct using com.google.cloud.datastream.v1alpha1.Validation.newBuilder() @@ -740,17 +670,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getMessageFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -770,9 +700,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_Validation_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_Validation_descriptor; } @java.lang.Override @@ -791,8 +721,7 @@ public com.google.cloud.datastream.v1alpha1.Validation build() { @java.lang.Override public com.google.cloud.datastream.v1alpha1.Validation buildPartial() { - com.google.cloud.datastream.v1alpha1.Validation result = - new com.google.cloud.datastream.v1alpha1.Validation(this); + com.google.cloud.datastream.v1alpha1.Validation result = new com.google.cloud.datastream.v1alpha1.Validation(this); int from_bitField0_ = bitField0_; result.description_ = description_; result.status_ = status_; @@ -814,39 +743,38 @@ public com.google.cloud.datastream.v1alpha1.Validation buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1alpha1.Validation) { - return mergeFrom((com.google.cloud.datastream.v1alpha1.Validation) other); + return mergeFrom((com.google.cloud.datastream.v1alpha1.Validation)other); } else { super.mergeFrom(other); return this; @@ -854,8 +782,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datastream.v1alpha1.Validation other) { - if (other == com.google.cloud.datastream.v1alpha1.Validation.getDefaultInstance()) - return this; + if (other == com.google.cloud.datastream.v1alpha1.Validation.getDefaultInstance()) return this; if (!other.getDescription().isEmpty()) { description_ = other.description_; onChanged(); @@ -881,10 +808,9 @@ public Builder mergeFrom(com.google.cloud.datastream.v1alpha1.Validation other) messageBuilder_ = null; message_ = other.message_; bitField0_ = (bitField0_ & ~0x00000001); - messageBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getMessageFieldBuilder() - : null; + messageBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getMessageFieldBuilder() : null; } else { messageBuilder_.addAllMessages(other.message_); } @@ -922,25 +848,22 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object description_ = ""; /** - * - * *
      * A short description of the validation.
      * 
* * 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; @@ -949,21 +872,20 @@ public java.lang.String getDescription() { } } /** - * - * *
      * A short description of the validation.
      * 
* * 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 { @@ -971,61 +893,54 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * A short description of the validation.
      * 
* * string description = 1; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { + public Builder setDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** - * - * *
      * A short description of the validation.
      * 
* * string description = 1; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** - * - * *
      * A short description of the validation.
      * 
* * string description = 1; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; @@ -1033,67 +948,51 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { private int status_ = 0; /** - * - * *
      * Validation execution status.
      * 
* * .google.cloud.datastream.v1alpha1.Validation.Status status = 2; - * * @return The enum numeric value on the wire for status. */ - @java.lang.Override - public int getStatusValue() { + @java.lang.Override public int getStatusValue() { return status_; } /** - * - * *
      * Validation execution status.
      * 
* * .google.cloud.datastream.v1alpha1.Validation.Status status = 2; - * * @param value The enum numeric value on the wire for status to set. * @return This builder for chaining. */ public Builder setStatusValue(int value) { - + status_ = value; onChanged(); return this; } /** - * - * *
      * Validation execution status.
      * 
* * .google.cloud.datastream.v1alpha1.Validation.Status status = 2; - * * @return The status. */ @java.lang.Override public com.google.cloud.datastream.v1alpha1.Validation.Status getStatus() { @SuppressWarnings("deprecation") - com.google.cloud.datastream.v1alpha1.Validation.Status result = - com.google.cloud.datastream.v1alpha1.Validation.Status.valueOf(status_); - return result == null - ? com.google.cloud.datastream.v1alpha1.Validation.Status.UNRECOGNIZED - : result; + com.google.cloud.datastream.v1alpha1.Validation.Status result = com.google.cloud.datastream.v1alpha1.Validation.Status.valueOf(status_); + return result == null ? com.google.cloud.datastream.v1alpha1.Validation.Status.UNRECOGNIZED : result; } /** - * - * *
      * Validation execution status.
      * 
* * .google.cloud.datastream.v1alpha1.Validation.Status status = 2; - * * @param value The status to set. * @return This builder for chaining. */ @@ -1101,50 +1000,39 @@ public Builder setStatus(com.google.cloud.datastream.v1alpha1.Validation.Status if (value == null) { throw new NullPointerException(); } - + status_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Validation execution status.
      * 
* * .google.cloud.datastream.v1alpha1.Validation.Status status = 2; - * * @return This builder for chaining. */ public Builder clearStatus() { - + status_ = 0; onChanged(); return this; } private java.util.List message_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureMessageIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - message_ = - new java.util.ArrayList( - message_); + message_ = new java.util.ArrayList(message_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.ValidationMessage, - com.google.cloud.datastream.v1alpha1.ValidationMessage.Builder, - com.google.cloud.datastream.v1alpha1.ValidationMessageOrBuilder> - messageBuilder_; + com.google.cloud.datastream.v1alpha1.ValidationMessage, com.google.cloud.datastream.v1alpha1.ValidationMessage.Builder, com.google.cloud.datastream.v1alpha1.ValidationMessageOrBuilder> messageBuilder_; /** - * - * *
      * Messages reflecting the validation results.
      * 
@@ -1159,8 +1047,6 @@ public java.util.List ge } } /** - * - * *
      * Messages reflecting the validation results.
      * 
@@ -1175,8 +1061,6 @@ public int getMessageCount() { } } /** - * - * *
      * Messages reflecting the validation results.
      * 
@@ -1191,8 +1075,6 @@ public com.google.cloud.datastream.v1alpha1.ValidationMessage getMessage(int ind } } /** - * - * *
      * Messages reflecting the validation results.
      * 
@@ -1214,8 +1096,6 @@ public Builder setMessage( return this; } /** - * - * *
      * Messages reflecting the validation results.
      * 
@@ -1234,8 +1114,6 @@ public Builder setMessage( return this; } /** - * - * *
      * Messages reflecting the validation results.
      * 
@@ -1256,8 +1134,6 @@ public Builder addMessage(com.google.cloud.datastream.v1alpha1.ValidationMessage return this; } /** - * - * *
      * Messages reflecting the validation results.
      * 
@@ -1279,8 +1155,6 @@ public Builder addMessage( return this; } /** - * - * *
      * Messages reflecting the validation results.
      * 
@@ -1299,8 +1173,6 @@ public Builder addMessage( return this; } /** - * - * *
      * Messages reflecting the validation results.
      * 
@@ -1319,8 +1191,6 @@ public Builder addMessage( return this; } /** - * - * *
      * Messages reflecting the validation results.
      * 
@@ -1328,11 +1198,11 @@ public Builder addMessage( * repeated .google.cloud.datastream.v1alpha1.ValidationMessage message = 3; */ public Builder addAllMessage( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (messageBuilder_ == null) { ensureMessageIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, message_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, message_); onChanged(); } else { messageBuilder_.addAllMessages(values); @@ -1340,8 +1210,6 @@ public Builder addAllMessage( return this; } /** - * - * *
      * Messages reflecting the validation results.
      * 
@@ -1359,8 +1227,6 @@ public Builder clearMessage() { return this; } /** - * - * *
      * Messages reflecting the validation results.
      * 
@@ -1378,8 +1244,6 @@ public Builder removeMessage(int index) { return this; } /** - * - * *
      * Messages reflecting the validation results.
      * 
@@ -1391,8 +1255,6 @@ public com.google.cloud.datastream.v1alpha1.ValidationMessage.Builder getMessage return getMessageFieldBuilder().getBuilder(index); } /** - * - * *
      * Messages reflecting the validation results.
      * 
@@ -1402,22 +1264,19 @@ public com.google.cloud.datastream.v1alpha1.ValidationMessage.Builder getMessage public com.google.cloud.datastream.v1alpha1.ValidationMessageOrBuilder getMessageOrBuilder( int index) { if (messageBuilder_ == null) { - return message_.get(index); - } else { + return message_.get(index); } else { return messageBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Messages reflecting the validation results.
      * 
* * repeated .google.cloud.datastream.v1alpha1.ValidationMessage message = 3; */ - public java.util.List - getMessageOrBuilderList() { + public java.util.List + getMessageOrBuilderList() { if (messageBuilder_ != null) { return messageBuilder_.getMessageOrBuilderList(); } else { @@ -1425,8 +1284,6 @@ public com.google.cloud.datastream.v1alpha1.ValidationMessageOrBuilder getMessag } } /** - * - * *
      * Messages reflecting the validation results.
      * 
@@ -1434,12 +1291,10 @@ public com.google.cloud.datastream.v1alpha1.ValidationMessageOrBuilder getMessag * repeated .google.cloud.datastream.v1alpha1.ValidationMessage message = 3; */ public com.google.cloud.datastream.v1alpha1.ValidationMessage.Builder addMessageBuilder() { - return getMessageFieldBuilder() - .addBuilder(com.google.cloud.datastream.v1alpha1.ValidationMessage.getDefaultInstance()); + return getMessageFieldBuilder().addBuilder( + com.google.cloud.datastream.v1alpha1.ValidationMessage.getDefaultInstance()); } /** - * - * *
      * Messages reflecting the validation results.
      * 
@@ -1448,36 +1303,30 @@ public com.google.cloud.datastream.v1alpha1.ValidationMessage.Builder addMessage */ public com.google.cloud.datastream.v1alpha1.ValidationMessage.Builder addMessageBuilder( int index) { - return getMessageFieldBuilder() - .addBuilder( - index, com.google.cloud.datastream.v1alpha1.ValidationMessage.getDefaultInstance()); + return getMessageFieldBuilder().addBuilder( + index, com.google.cloud.datastream.v1alpha1.ValidationMessage.getDefaultInstance()); } /** - * - * *
      * Messages reflecting the validation results.
      * 
* * repeated .google.cloud.datastream.v1alpha1.ValidationMessage message = 3; */ - public java.util.List - getMessageBuilderList() { + public java.util.List + getMessageBuilderList() { return getMessageFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.ValidationMessage, - com.google.cloud.datastream.v1alpha1.ValidationMessage.Builder, - com.google.cloud.datastream.v1alpha1.ValidationMessageOrBuilder> + com.google.cloud.datastream.v1alpha1.ValidationMessage, com.google.cloud.datastream.v1alpha1.ValidationMessage.Builder, com.google.cloud.datastream.v1alpha1.ValidationMessageOrBuilder> getMessageFieldBuilder() { if (messageBuilder_ == null) { - messageBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.ValidationMessage, - com.google.cloud.datastream.v1alpha1.ValidationMessage.Builder, - com.google.cloud.datastream.v1alpha1.ValidationMessageOrBuilder>( - message_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + messageBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datastream.v1alpha1.ValidationMessage, com.google.cloud.datastream.v1alpha1.ValidationMessage.Builder, com.google.cloud.datastream.v1alpha1.ValidationMessageOrBuilder>( + message_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); message_ = null; } return messageBuilder_; @@ -1485,20 +1334,18 @@ public com.google.cloud.datastream.v1alpha1.ValidationMessage.Builder addMessage private java.lang.Object code_ = ""; /** - * - * *
      * A custom code identifying this validation.
      * 
* * string code = 4; - * * @return The code. */ public java.lang.String getCode() { java.lang.Object ref = code_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); code_ = s; return s; @@ -1507,21 +1354,20 @@ public java.lang.String getCode() { } } /** - * - * *
      * A custom code identifying this validation.
      * 
* * string code = 4; - * * @return The bytes for code. */ - public com.google.protobuf.ByteString getCodeBytes() { + public com.google.protobuf.ByteString + getCodeBytes() { java.lang.Object ref = code_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); code_ = b; return b; } else { @@ -1529,68 +1375,61 @@ public com.google.protobuf.ByteString getCodeBytes() { } } /** - * - * *
      * A custom code identifying this validation.
      * 
* * string code = 4; - * * @param value The code to set. * @return This builder for chaining. */ - public Builder setCode(java.lang.String value) { + public Builder setCode( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + code_ = value; onChanged(); return this; } /** - * - * *
      * A custom code identifying this validation.
      * 
* * string code = 4; - * * @return This builder for chaining. */ public Builder clearCode() { - + code_ = getDefaultInstance().getCode(); onChanged(); return this; } /** - * - * *
      * A custom code identifying this validation.
      * 
* * string code = 4; - * * @param value The bytes for code to set. * @return This builder for chaining. */ - public Builder setCodeBytes(com.google.protobuf.ByteString value) { + public Builder setCodeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + code_ = 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); } @@ -1600,12 +1439,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1alpha1.Validation) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1alpha1.Validation) private static final com.google.cloud.datastream.v1alpha1.Validation DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1alpha1.Validation(); } @@ -1614,16 +1453,16 @@ public static com.google.cloud.datastream.v1alpha1.Validation getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Validation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Validation(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Validation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Validation(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1638,4 +1477,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datastream.v1alpha1.Validation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ValidationMessage.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ValidationMessage.java similarity index 65% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ValidationMessage.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ValidationMessage.java index 2d2c402e..e22daf0d 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ValidationMessage.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ValidationMessage.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/datastream/v1alpha1/datastream_resources.proto package com.google.cloud.datastream.v1alpha1; /** - * - * *
  * Represent user-facing validation result message.
  * 
* * Protobuf type {@code google.cloud.datastream.v1alpha1.ValidationMessage} */ -public final class ValidationMessage extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ValidationMessage extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1alpha1.ValidationMessage) ValidationMessageOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ValidationMessage.newBuilder() to construct. private ValidationMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ValidationMessage() { message_ = ""; level_ = 0; @@ -45,15 +27,16 @@ private ValidationMessage() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ValidationMessage(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ValidationMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,49 +56,44 @@ private ValidationMessage( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - message_ = s; - break; - } - case 16: - { - int rawValue = input.readEnum(); + message_ = s; + break; + } + case 16: { + int rawValue = input.readEnum(); - level_ = rawValue; - break; - } - case 26: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - metadata_ = - com.google.protobuf.MapField.newMapField( - MetadataDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; - } - com.google.protobuf.MapEntry metadata__ = - input.readMessage( - MetadataDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - metadata_.getMutableMap().put(metadata__.getKey(), metadata__.getValue()); - break; + level_ = rawValue; + break; + } + case 26: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + metadata_ = com.google.protobuf.MapField.newMapField( + MetadataDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + com.google.protobuf.MapEntry + metadata__ = input.readMessage( + MetadataDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + metadata_.getMutableMap().put( + metadata__.getKey(), metadata__.getValue()); + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - code_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + code_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -123,52 +101,48 @@ private ValidationMessage( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_ValidationMessage_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_ValidationMessage_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 3: return internalGetMetadata(); 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.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_ValidationMessage_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_ValidationMessage_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.ValidationMessage.class, - com.google.cloud.datastream.v1alpha1.ValidationMessage.Builder.class); + com.google.cloud.datastream.v1alpha1.ValidationMessage.class, com.google.cloud.datastream.v1alpha1.ValidationMessage.Builder.class); } /** - * - * *
    * Validation message level.
    * 
* * Protobuf enum {@code google.cloud.datastream.v1alpha1.ValidationMessage.Level} */ - public enum Level implements com.google.protobuf.ProtocolMessageEnum { + public enum Level + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Unspecified level.
      * 
@@ -177,8 +151,6 @@ public enum Level implements com.google.protobuf.ProtocolMessageEnum { */ LEVEL_UNSPECIFIED(0), /** - * - * *
      * Potentially cause issues with the Stream.
      * 
@@ -187,8 +159,6 @@ public enum Level implements com.google.protobuf.ProtocolMessageEnum { */ WARNING(1), /** - * - * *
      * Definitely cause issues with the Stream.
      * 
@@ -200,8 +170,6 @@ public enum Level implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Unspecified level.
      * 
@@ -210,8 +178,6 @@ public enum Level implements com.google.protobuf.ProtocolMessageEnum { */ public static final int LEVEL_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Potentially cause issues with the Stream.
      * 
@@ -220,8 +186,6 @@ public enum Level implements com.google.protobuf.ProtocolMessageEnum { */ public static final int WARNING_VALUE = 1; /** - * - * *
      * Definitely cause issues with the Stream.
      * 
@@ -230,6 +194,7 @@ public enum Level implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ERROR_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -254,51 +219,49 @@ public static Level valueOf(int value) { */ public static Level forNumber(int value) { switch (value) { - case 0: - return LEVEL_UNSPECIFIED; - case 1: - return WARNING; - case 2: - return ERROR; - default: - return null; + case 0: return LEVEL_UNSPECIFIED; + case 1: return WARNING; + case 2: return ERROR; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + Level> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Level findValueByNumber(int number) { + return Level.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Level findValueByNumber(int number) { - return Level.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.datastream.v1alpha1.ValidationMessage.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.ValidationMessage.getDescriptor().getEnumTypes().get(0); } private static final Level[] VALUES = values(); - public static Level valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Level 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,14 +281,11 @@ private Level(int value) { public static final int MESSAGE_FIELD_NUMBER = 1; private volatile java.lang.Object message_; /** - * - * *
    * The result of the validation.
    * 
* * string message = 1; - * * @return The message. */ @java.lang.Override @@ -334,29 +294,29 @@ public java.lang.String getMessage() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; } } /** - * - * *
    * The result of the validation.
    * 
* * string message = 1; - * * @return The bytes for message. */ @java.lang.Override - public com.google.protobuf.ByteString getMessageBytes() { + public com.google.protobuf.ByteString + getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); message_ = b; return b; } else { @@ -367,59 +327,49 @@ public com.google.protobuf.ByteString getMessageBytes() { public static final int LEVEL_FIELD_NUMBER = 2; private int level_; /** - * - * *
    * Message severity level (warning or error).
    * 
* * .google.cloud.datastream.v1alpha1.ValidationMessage.Level level = 2; - * * @return The enum numeric value on the wire for level. */ - @java.lang.Override - public int getLevelValue() { + @java.lang.Override public int getLevelValue() { return level_; } /** - * - * *
    * Message severity level (warning or error).
    * 
* * .google.cloud.datastream.v1alpha1.ValidationMessage.Level level = 2; - * * @return The level. */ - @java.lang.Override - public com.google.cloud.datastream.v1alpha1.ValidationMessage.Level getLevel() { + @java.lang.Override public com.google.cloud.datastream.v1alpha1.ValidationMessage.Level getLevel() { @SuppressWarnings("deprecation") - com.google.cloud.datastream.v1alpha1.ValidationMessage.Level result = - com.google.cloud.datastream.v1alpha1.ValidationMessage.Level.valueOf(level_); - return result == null - ? com.google.cloud.datastream.v1alpha1.ValidationMessage.Level.UNRECOGNIZED - : result; + com.google.cloud.datastream.v1alpha1.ValidationMessage.Level result = com.google.cloud.datastream.v1alpha1.ValidationMessage.Level.valueOf(level_); + return result == null ? com.google.cloud.datastream.v1alpha1.ValidationMessage.Level.UNRECOGNIZED : result; } public static final int METADATA_FIELD_NUMBER = 3; - private static final class MetadataDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_ValidationMessage_MetadataEntry_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.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_ValidationMessage_MetadataEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - - private com.google.protobuf.MapField metadata_; - - private com.google.protobuf.MapField internalGetMetadata() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> metadata_; + private com.google.protobuf.MapField + internalGetMetadata() { if (metadata_ == null) { - return com.google.protobuf.MapField.emptyMapField(MetadataDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + MetadataDefaultEntryHolder.defaultEntry); } return metadata_; } @@ -428,30 +378,28 @@ public int getMetadataCount() { return internalGetMetadata().getMap().size(); } /** - * - * *
    * Additional metadata related to the result.
    * 
* * map<string, string> metadata = 3; */ + @java.lang.Override - public boolean containsMetadata(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsMetadata( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetMetadata().getMap().containsKey(key); } - /** Use {@link #getMetadataMap()} instead. */ + /** + * Use {@link #getMetadataMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getMetadata() { return getMetadataMap(); } /** - * - * *
    * Additional metadata related to the result.
    * 
@@ -459,12 +407,11 @@ public java.util.Map getMetadata() { * map<string, string> metadata = 3; */ @java.lang.Override + public java.util.Map getMetadataMap() { return internalGetMetadata().getMap(); } /** - * - * *
    * Additional metadata related to the result.
    * 
@@ -472,17 +419,16 @@ public java.util.Map getMetadataMap() { * map<string, string> metadata = 3; */ @java.lang.Override + public java.lang.String getMetadataOrDefault( - java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetMetadata().getMap(); + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetMetadata().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * Additional metadata related to the result.
    * 
@@ -490,11 +436,12 @@ public java.lang.String getMetadataOrDefault( * map<string, string> metadata = 3; */ @java.lang.Override - public java.lang.String getMetadataOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetMetadata().getMap(); + + public java.lang.String getMetadataOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetMetadata().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -504,14 +451,11 @@ public java.lang.String getMetadataOrThrow(java.lang.String key) { public static final int CODE_FIELD_NUMBER = 4; private volatile java.lang.Object code_; /** - * - * *
    * A custom code identifying this specific message.
    * 
* * string code = 4; - * * @return The code. */ @java.lang.Override @@ -520,29 +464,29 @@ public java.lang.String getCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); code_ = s; return s; } } /** - * - * *
    * A custom code identifying this specific message.
    * 
* * string code = 4; - * * @return The bytes for code. */ @java.lang.Override - public com.google.protobuf.ByteString getCodeBytes() { + public com.google.protobuf.ByteString + getCodeBytes() { java.lang.Object ref = code_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); code_ = b; return b; } else { @@ -551,7 +495,6 @@ public com.google.protobuf.ByteString getCodeBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -563,17 +506,20 @@ public final boolean isInitialized() { } @java.lang.Override - public 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(message_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, message_); } - if (level_ - != com.google.cloud.datastream.v1alpha1.ValidationMessage.Level.LEVEL_UNSPECIFIED - .getNumber()) { + if (level_ != com.google.cloud.datastream.v1alpha1.ValidationMessage.Level.LEVEL_UNSPECIFIED.getNumber()) { output.writeEnum(2, level_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetMetadata(), MetadataDefaultEntryHolder.defaultEntry, 3); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetMetadata(), + MetadataDefaultEntryHolder.defaultEntry, + 3); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(code_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, code_); } @@ -589,20 +535,19 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, message_); } - if (level_ - != com.google.cloud.datastream.v1alpha1.ValidationMessage.Level.LEVEL_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, level_); - } - for (java.util.Map.Entry entry : - internalGetMetadata().getMap().entrySet()) { - com.google.protobuf.MapEntry metadata__ = - MetadataDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, metadata__); + if (level_ != com.google.cloud.datastream.v1alpha1.ValidationMessage.Level.LEVEL_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, level_); + } + for (java.util.Map.Entry entry + : internalGetMetadata().getMap().entrySet()) { + com.google.protobuf.MapEntry + metadata__ = MetadataDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, metadata__); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(code_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, code_); @@ -615,18 +560,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.datastream.v1alpha1.ValidationMessage)) { return super.equals(obj); } - com.google.cloud.datastream.v1alpha1.ValidationMessage other = - (com.google.cloud.datastream.v1alpha1.ValidationMessage) obj; + com.google.cloud.datastream.v1alpha1.ValidationMessage other = (com.google.cloud.datastream.v1alpha1.ValidationMessage) obj; - if (!getMessage().equals(other.getMessage())) return false; + if (!getMessage() + .equals(other.getMessage())) return false; if (level_ != other.level_) return false; - if (!internalGetMetadata().equals(other.internalGetMetadata())) return false; - if (!getCode().equals(other.getCode())) return false; + if (!internalGetMetadata().equals( + other.internalGetMetadata())) return false; + if (!getCode() + .equals(other.getCode())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -654,147 +601,139 @@ public int hashCode() { } public static com.google.cloud.datastream.v1alpha1.ValidationMessage parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.ValidationMessage parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.ValidationMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.ValidationMessage parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.ValidationMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.ValidationMessage parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.ValidationMessage parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.ValidationMessage parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.ValidationMessage parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.ValidationMessage parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.ValidationMessage parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.ValidationMessage 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.datastream.v1alpha1.ValidationMessage parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.ValidationMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datastream.v1alpha1.ValidationMessage prototype) { + public static Builder newBuilder(com.google.cloud.datastream.v1alpha1.ValidationMessage prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Represent user-facing validation result message.
    * 
* * Protobuf type {@code google.cloud.datastream.v1alpha1.ValidationMessage} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1alpha1.ValidationMessage) com.google.cloud.datastream.v1alpha1.ValidationMessageOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_ValidationMessage_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_ValidationMessage_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 3: return internalGetMetadata(); 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 3: return internalGetMutableMetadata(); 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.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_ValidationMessage_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_ValidationMessage_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.ValidationMessage.class, - com.google.cloud.datastream.v1alpha1.ValidationMessage.Builder.class); + com.google.cloud.datastream.v1alpha1.ValidationMessage.class, com.google.cloud.datastream.v1alpha1.ValidationMessage.Builder.class); } // Construct using com.google.cloud.datastream.v1alpha1.ValidationMessage.newBuilder() @@ -802,15 +741,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -825,9 +765,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_ValidationMessage_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_ValidationMessage_descriptor; } @java.lang.Override @@ -846,8 +786,7 @@ public com.google.cloud.datastream.v1alpha1.ValidationMessage build() { @java.lang.Override public com.google.cloud.datastream.v1alpha1.ValidationMessage buildPartial() { - com.google.cloud.datastream.v1alpha1.ValidationMessage result = - new com.google.cloud.datastream.v1alpha1.ValidationMessage(this); + com.google.cloud.datastream.v1alpha1.ValidationMessage result = new com.google.cloud.datastream.v1alpha1.ValidationMessage(this); int from_bitField0_ = bitField0_; result.message_ = message_; result.level_ = level_; @@ -862,39 +801,38 @@ public com.google.cloud.datastream.v1alpha1.ValidationMessage buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1alpha1.ValidationMessage) { - return mergeFrom((com.google.cloud.datastream.v1alpha1.ValidationMessage) other); + return mergeFrom((com.google.cloud.datastream.v1alpha1.ValidationMessage)other); } else { super.mergeFrom(other); return this; @@ -902,8 +840,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datastream.v1alpha1.ValidationMessage other) { - if (other == com.google.cloud.datastream.v1alpha1.ValidationMessage.getDefaultInstance()) - return this; + if (other == com.google.cloud.datastream.v1alpha1.ValidationMessage.getDefaultInstance()) return this; if (!other.getMessage().isEmpty()) { message_ = other.message_; onChanged(); @@ -911,7 +848,8 @@ public Builder mergeFrom(com.google.cloud.datastream.v1alpha1.ValidationMessage if (other.level_ != 0) { setLevelValue(other.getLevelValue()); } - internalGetMutableMetadata().mergeFrom(other.internalGetMetadata()); + internalGetMutableMetadata().mergeFrom( + other.internalGetMetadata()); if (!other.getCode().isEmpty()) { code_ = other.code_; onChanged(); @@ -935,8 +873,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datastream.v1alpha1.ValidationMessage) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datastream.v1alpha1.ValidationMessage) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -945,25 +882,22 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object message_ = ""; /** - * - * *
      * The result of the validation.
      * 
* * string message = 1; - * * @return The message. */ public java.lang.String getMessage() { java.lang.Object ref = message_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; @@ -972,21 +906,20 @@ public java.lang.String getMessage() { } } /** - * - * *
      * The result of the validation.
      * 
* * string message = 1; - * * @return The bytes for message. */ - public com.google.protobuf.ByteString getMessageBytes() { + public com.google.protobuf.ByteString + getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); message_ = b; return b; } else { @@ -994,61 +927,54 @@ public com.google.protobuf.ByteString getMessageBytes() { } } /** - * - * *
      * The result of the validation.
      * 
* * string message = 1; - * * @param value The message to set. * @return This builder for chaining. */ - public Builder setMessage(java.lang.String value) { + public Builder setMessage( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + message_ = value; onChanged(); return this; } /** - * - * *
      * The result of the validation.
      * 
* * string message = 1; - * * @return This builder for chaining. */ public Builder clearMessage() { - + message_ = getDefaultInstance().getMessage(); onChanged(); return this; } /** - * - * *
      * The result of the validation.
      * 
* * string message = 1; - * * @param value The bytes for message to set. * @return This builder for chaining. */ - public Builder setMessageBytes(com.google.protobuf.ByteString value) { + public Builder setMessageBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + message_ = value; onChanged(); return this; @@ -1056,67 +982,51 @@ public Builder setMessageBytes(com.google.protobuf.ByteString value) { private int level_ = 0; /** - * - * *
      * Message severity level (warning or error).
      * 
* * .google.cloud.datastream.v1alpha1.ValidationMessage.Level level = 2; - * * @return The enum numeric value on the wire for level. */ - @java.lang.Override - public int getLevelValue() { + @java.lang.Override public int getLevelValue() { return level_; } /** - * - * *
      * Message severity level (warning or error).
      * 
* * .google.cloud.datastream.v1alpha1.ValidationMessage.Level level = 2; - * * @param value The enum numeric value on the wire for level to set. * @return This builder for chaining. */ public Builder setLevelValue(int value) { - + level_ = value; onChanged(); return this; } /** - * - * *
      * Message severity level (warning or error).
      * 
* * .google.cloud.datastream.v1alpha1.ValidationMessage.Level level = 2; - * * @return The level. */ @java.lang.Override public com.google.cloud.datastream.v1alpha1.ValidationMessage.Level getLevel() { @SuppressWarnings("deprecation") - com.google.cloud.datastream.v1alpha1.ValidationMessage.Level result = - com.google.cloud.datastream.v1alpha1.ValidationMessage.Level.valueOf(level_); - return result == null - ? com.google.cloud.datastream.v1alpha1.ValidationMessage.Level.UNRECOGNIZED - : result; + com.google.cloud.datastream.v1alpha1.ValidationMessage.Level result = com.google.cloud.datastream.v1alpha1.ValidationMessage.Level.valueOf(level_); + return result == null ? com.google.cloud.datastream.v1alpha1.ValidationMessage.Level.UNRECOGNIZED : result; } /** - * - * *
      * Message severity level (warning or error).
      * 
* * .google.cloud.datastream.v1alpha1.ValidationMessage.Level level = 2; - * * @param value The level to set. * @return This builder for chaining. */ @@ -1124,45 +1034,42 @@ public Builder setLevel(com.google.cloud.datastream.v1alpha1.ValidationMessage.L if (value == null) { throw new NullPointerException(); } - + level_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Message severity level (warning or error).
      * 
* * .google.cloud.datastream.v1alpha1.ValidationMessage.Level level = 2; - * * @return This builder for chaining. */ public Builder clearLevel() { - + level_ = 0; onChanged(); return this; } - private com.google.protobuf.MapField metadata_; - - private com.google.protobuf.MapField internalGetMetadata() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> metadata_; + private com.google.protobuf.MapField + internalGetMetadata() { if (metadata_ == null) { - return com.google.protobuf.MapField.emptyMapField(MetadataDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + MetadataDefaultEntryHolder.defaultEntry); } return metadata_; } - private com.google.protobuf.MapField - internalGetMutableMetadata() { - onChanged(); - ; + internalGetMutableMetadata() { + onChanged();; if (metadata_ == null) { - metadata_ = - com.google.protobuf.MapField.newMapField(MetadataDefaultEntryHolder.defaultEntry); + metadata_ = com.google.protobuf.MapField.newMapField( + MetadataDefaultEntryHolder.defaultEntry); } if (!metadata_.isMutable()) { metadata_ = metadata_.copy(); @@ -1174,30 +1081,28 @@ public int getMetadataCount() { return internalGetMetadata().getMap().size(); } /** - * - * *
      * Additional metadata related to the result.
      * 
* * map<string, string> metadata = 3; */ + @java.lang.Override - public boolean containsMetadata(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsMetadata( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetMetadata().getMap().containsKey(key); } - /** Use {@link #getMetadataMap()} instead. */ + /** + * Use {@link #getMetadataMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getMetadata() { return getMetadataMap(); } /** - * - * *
      * Additional metadata related to the result.
      * 
@@ -1205,12 +1110,11 @@ public java.util.Map getMetadata() { * map<string, string> metadata = 3; */ @java.lang.Override + public java.util.Map getMetadataMap() { return internalGetMetadata().getMap(); } /** - * - * *
      * Additional metadata related to the result.
      * 
@@ -1218,17 +1122,16 @@ public java.util.Map getMetadataMap() { * map<string, string> metadata = 3; */ @java.lang.Override + public java.lang.String getMetadataOrDefault( - java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetMetadata().getMap(); + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetMetadata().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * Additional metadata related to the result.
      * 
@@ -1236,11 +1139,12 @@ public java.lang.String getMetadataOrDefault( * map<string, string> metadata = 3; */ @java.lang.Override - public java.lang.String getMetadataOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetMetadata().getMap(); + + public java.lang.String getMetadataOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetMetadata().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -1248,80 +1152,81 @@ public java.lang.String getMetadataOrThrow(java.lang.String key) { } public Builder clearMetadata() { - internalGetMutableMetadata().getMutableMap().clear(); + internalGetMutableMetadata().getMutableMap() + .clear(); return this; } /** - * - * *
      * Additional metadata related to the result.
      * 
* * map<string, string> metadata = 3; */ - public Builder removeMetadata(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableMetadata().getMutableMap().remove(key); + + public Builder removeMetadata( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableMetadata().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map getMutableMetadata() { + public java.util.Map + getMutableMetadata() { return internalGetMutableMetadata().getMutableMap(); } /** - * - * *
      * Additional metadata related to the result.
      * 
* * map<string, string> metadata = 3; */ - public Builder putMetadata(java.lang.String key, java.lang.String value) { - if (key == null) { - throw new NullPointerException("map key"); - } + public Builder putMetadata( + java.lang.String key, + java.lang.String value) { + if (key == null) { throw new NullPointerException("map key"); } if (value == null) { - throw new NullPointerException("map value"); - } + throw new NullPointerException("map value"); +} - internalGetMutableMetadata().getMutableMap().put(key, value); + internalGetMutableMetadata().getMutableMap() + .put(key, value); return this; } /** - * - * *
      * Additional metadata related to the result.
      * 
* * map<string, string> metadata = 3; */ - public Builder putAllMetadata(java.util.Map values) { - internalGetMutableMetadata().getMutableMap().putAll(values); + + public Builder putAllMetadata( + java.util.Map values) { + internalGetMutableMetadata().getMutableMap() + .putAll(values); return this; } private java.lang.Object code_ = ""; /** - * - * *
      * A custom code identifying this specific message.
      * 
* * string code = 4; - * * @return The code. */ public java.lang.String getCode() { java.lang.Object ref = code_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); code_ = s; return s; @@ -1330,21 +1235,20 @@ public java.lang.String getCode() { } } /** - * - * *
      * A custom code identifying this specific message.
      * 
* * string code = 4; - * * @return The bytes for code. */ - public com.google.protobuf.ByteString getCodeBytes() { + public com.google.protobuf.ByteString + getCodeBytes() { java.lang.Object ref = code_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); code_ = b; return b; } else { @@ -1352,68 +1256,61 @@ public com.google.protobuf.ByteString getCodeBytes() { } } /** - * - * *
      * A custom code identifying this specific message.
      * 
* * string code = 4; - * * @param value The code to set. * @return This builder for chaining. */ - public Builder setCode(java.lang.String value) { + public Builder setCode( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + code_ = value; onChanged(); return this; } /** - * - * *
      * A custom code identifying this specific message.
      * 
* * string code = 4; - * * @return This builder for chaining. */ public Builder clearCode() { - + code_ = getDefaultInstance().getCode(); onChanged(); return this; } /** - * - * *
      * A custom code identifying this specific message.
      * 
* * string code = 4; - * * @param value The bytes for code to set. * @return This builder for chaining. */ - public Builder setCodeBytes(com.google.protobuf.ByteString value) { + public Builder setCodeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + code_ = 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); } @@ -1423,12 +1320,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1alpha1.ValidationMessage) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1alpha1.ValidationMessage) private static final com.google.cloud.datastream.v1alpha1.ValidationMessage DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1alpha1.ValidationMessage(); } @@ -1437,16 +1334,16 @@ public static com.google.cloud.datastream.v1alpha1.ValidationMessage getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ValidationMessage parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ValidationMessage(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ValidationMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ValidationMessage(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1461,4 +1358,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datastream.v1alpha1.ValidationMessage getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ValidationMessageOrBuilder.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ValidationMessageOrBuilder.java similarity index 65% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ValidationMessageOrBuilder.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ValidationMessageOrBuilder.java index 7599bbed..a3b2d6de 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ValidationMessageOrBuilder.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ValidationMessageOrBuilder.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/datastream/v1alpha1/datastream_resources.proto package com.google.cloud.datastream.v1alpha1; -public interface ValidationMessageOrBuilder - extends +public interface ValidationMessageOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1alpha1.ValidationMessage) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The result of the validation.
    * 
* * string message = 1; - * * @return The message. */ java.lang.String getMessage(); /** - * - * *
    * The result of the validation.
    * 
* * string message = 1; - * * @return The bytes for message. */ - com.google.protobuf.ByteString getMessageBytes(); + com.google.protobuf.ByteString + getMessageBytes(); /** - * - * *
    * Message severity level (warning or error).
    * 
* * .google.cloud.datastream.v1alpha1.ValidationMessage.Level level = 2; - * * @return The enum numeric value on the wire for level. */ int getLevelValue(); /** - * - * *
    * Message severity level (warning or error).
    * 
* * .google.cloud.datastream.v1alpha1.ValidationMessage.Level level = 2; - * * @return The level. */ com.google.cloud.datastream.v1alpha1.ValidationMessage.Level getLevel(); /** - * - * *
    * Additional metadata related to the result.
    * 
@@ -84,31 +55,30 @@ public interface ValidationMessageOrBuilder */ int getMetadataCount(); /** - * - * *
    * Additional metadata related to the result.
    * 
* * map<string, string> metadata = 3; */ - boolean containsMetadata(java.lang.String key); - /** Use {@link #getMetadataMap()} instead. */ + boolean containsMetadata( + java.lang.String key); + /** + * Use {@link #getMetadataMap()} instead. + */ @java.lang.Deprecated - java.util.Map getMetadata(); + java.util.Map + getMetadata(); /** - * - * *
    * Additional metadata related to the result.
    * 
* * map<string, string> metadata = 3; */ - java.util.Map getMetadataMap(); + java.util.Map + getMetadataMap(); /** - * - * *
    * Additional metadata related to the result.
    * 
@@ -117,43 +87,38 @@ public interface ValidationMessageOrBuilder */ /* nullable */ - java.lang.String getMetadataOrDefault( +java.lang.String getMetadataOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue); +java.lang.String defaultValue); /** - * - * *
    * Additional metadata related to the result.
    * 
* * map<string, string> metadata = 3; */ - java.lang.String getMetadataOrThrow(java.lang.String key); + + java.lang.String getMetadataOrThrow( + java.lang.String key); /** - * - * *
    * A custom code identifying this specific message.
    * 
* * string code = 4; - * * @return The code. */ java.lang.String getCode(); /** - * - * *
    * A custom code identifying this specific message.
    * 
* * string code = 4; - * * @return The bytes for code. */ - com.google.protobuf.ByteString getCodeBytes(); + com.google.protobuf.ByteString + getCodeBytes(); } diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ValidationOrBuilder.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ValidationOrBuilder.java similarity index 73% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ValidationOrBuilder.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ValidationOrBuilder.java index 8dfef25e..3afd6fa6 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ValidationOrBuilder.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ValidationOrBuilder.java @@ -1,91 +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/datastream/v1alpha1/datastream_resources.proto package com.google.cloud.datastream.v1alpha1; -public interface ValidationOrBuilder - extends +public interface ValidationOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1alpha1.Validation) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A short description of the validation.
    * 
* * string description = 1; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * A short description of the validation.
    * 
* * string description = 1; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * Validation execution status.
    * 
* * .google.cloud.datastream.v1alpha1.Validation.Status status = 2; - * * @return The enum numeric value on the wire for status. */ int getStatusValue(); /** - * - * *
    * Validation execution status.
    * 
* * .google.cloud.datastream.v1alpha1.Validation.Status status = 2; - * * @return The status. */ com.google.cloud.datastream.v1alpha1.Validation.Status getStatus(); /** - * - * *
    * Messages reflecting the validation results.
    * 
* * repeated .google.cloud.datastream.v1alpha1.ValidationMessage message = 3; */ - java.util.List getMessageList(); + java.util.List + getMessageList(); /** - * - * *
    * Messages reflecting the validation results.
    * 
@@ -94,8 +64,6 @@ public interface ValidationOrBuilder */ com.google.cloud.datastream.v1alpha1.ValidationMessage getMessage(int index); /** - * - * *
    * Messages reflecting the validation results.
    * 
@@ -104,49 +72,41 @@ public interface ValidationOrBuilder */ int getMessageCount(); /** - * - * *
    * Messages reflecting the validation results.
    * 
* * repeated .google.cloud.datastream.v1alpha1.ValidationMessage message = 3; */ - java.util.List + java.util.List getMessageOrBuilderList(); /** - * - * *
    * Messages reflecting the validation results.
    * 
* * repeated .google.cloud.datastream.v1alpha1.ValidationMessage message = 3; */ - com.google.cloud.datastream.v1alpha1.ValidationMessageOrBuilder getMessageOrBuilder(int index); + com.google.cloud.datastream.v1alpha1.ValidationMessageOrBuilder getMessageOrBuilder( + int index); /** - * - * *
    * A custom code identifying this validation.
    * 
* * string code = 4; - * * @return The code. */ java.lang.String getCode(); /** - * - * *
    * A custom code identifying this validation.
    * 
* * string code = 4; - * * @return The bytes for code. */ - com.google.protobuf.ByteString getCodeBytes(); + com.google.protobuf.ByteString + getCodeBytes(); } diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ValidationResult.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ValidationResult.java similarity index 75% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ValidationResult.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ValidationResult.java index bbf45e90..68c62a74 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ValidationResult.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ValidationResult.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1alpha1/datastream_resources.proto package com.google.cloud.datastream.v1alpha1; /** - * - * *
  * Contains the current validation results.
  * 
* * Protobuf type {@code google.cloud.datastream.v1alpha1.ValidationResult} */ -public final class ValidationResult extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ValidationResult extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1alpha1.ValidationResult) ValidationResultOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ValidationResult.newBuilder() to construct. private ValidationResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ValidationResult() { validations_ = 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 ValidationResult(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ValidationResult( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,25 +54,22 @@ private ValidationResult( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - validations_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - validations_.add( - input.readMessage( - com.google.cloud.datastream.v1alpha1.Validation.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + validations_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + validations_.add( + input.readMessage(com.google.cloud.datastream.v1alpha1.Validation.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -97,7 +77,8 @@ private ValidationResult( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { validations_ = java.util.Collections.unmodifiableList(validations_); @@ -106,27 +87,22 @@ private ValidationResult( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_ValidationResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_ValidationResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_ValidationResult_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_ValidationResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.ValidationResult.class, - com.google.cloud.datastream.v1alpha1.ValidationResult.Builder.class); + com.google.cloud.datastream.v1alpha1.ValidationResult.class, com.google.cloud.datastream.v1alpha1.ValidationResult.Builder.class); } public static final int VALIDATIONS_FIELD_NUMBER = 1; private java.util.List validations_; /** - * - * *
    * A list of validations (includes both executed as well as not executed
    * validations).
@@ -139,8 +115,6 @@ public java.util.List getValida
     return validations_;
   }
   /**
-   *
-   *
    * 
    * A list of validations (includes both executed as well as not executed
    * validations).
@@ -149,13 +123,11 @@ public java.util.List getValida
    * repeated .google.cloud.datastream.v1alpha1.Validation validations = 1;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getValidationsOrBuilderList() {
     return validations_;
   }
   /**
-   *
-   *
    * 
    * A list of validations (includes both executed as well as not executed
    * validations).
@@ -168,8 +140,6 @@ public int getValidationsCount() {
     return validations_.size();
   }
   /**
-   *
-   *
    * 
    * A list of validations (includes both executed as well as not executed
    * validations).
@@ -182,8 +152,6 @@ public com.google.cloud.datastream.v1alpha1.Validation getValidations(int index)
     return validations_.get(index);
   }
   /**
-   *
-   *
    * 
    * A list of validations (includes both executed as well as not executed
    * validations).
@@ -198,7 +166,6 @@ public com.google.cloud.datastream.v1alpha1.ValidationOrBuilder getValidationsOr
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -210,7 +177,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 < validations_.size(); i++) {
       output.writeMessage(1, validations_.get(i));
     }
@@ -224,7 +192,8 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < validations_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, validations_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, validations_.get(i));
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -234,15 +203,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.datastream.v1alpha1.ValidationResult)) {
       return super.equals(obj);
     }
-    com.google.cloud.datastream.v1alpha1.ValidationResult other =
-        (com.google.cloud.datastream.v1alpha1.ValidationResult) obj;
+    com.google.cloud.datastream.v1alpha1.ValidationResult other = (com.google.cloud.datastream.v1alpha1.ValidationResult) obj;
 
-    if (!getValidationsList().equals(other.getValidationsList())) return false;
+    if (!getValidationsList()
+        .equals(other.getValidationsList())) return false;
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
   }
@@ -264,127 +233,117 @@ public int hashCode() {
   }
 
   public static com.google.cloud.datastream.v1alpha1.ValidationResult parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.datastream.v1alpha1.ValidationResult parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.datastream.v1alpha1.ValidationResult parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.datastream.v1alpha1.ValidationResult parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.datastream.v1alpha1.ValidationResult parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.datastream.v1alpha1.ValidationResult parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.cloud.datastream.v1alpha1.ValidationResult parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.datastream.v1alpha1.ValidationResult parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.datastream.v1alpha1.ValidationResult parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.cloud.datastream.v1alpha1.ValidationResult parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.datastream.v1alpha1.ValidationResult parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.datastream.v1alpha1.ValidationResult 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.datastream.v1alpha1.ValidationResult parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.datastream.v1alpha1.ValidationResult parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
-  public static Builder newBuilder(
-      com.google.cloud.datastream.v1alpha1.ValidationResult prototype) {
+  public static Builder newBuilder(com.google.cloud.datastream.v1alpha1.ValidationResult prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Contains the current validation results.
    * 
* * Protobuf type {@code google.cloud.datastream.v1alpha1.ValidationResult} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1alpha1.ValidationResult) com.google.cloud.datastream.v1alpha1.ValidationResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_ValidationResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_ValidationResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_ValidationResult_fieldAccessorTable + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_ValidationResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1alpha1.ValidationResult.class, - com.google.cloud.datastream.v1alpha1.ValidationResult.Builder.class); + com.google.cloud.datastream.v1alpha1.ValidationResult.class, com.google.cloud.datastream.v1alpha1.ValidationResult.Builder.class); } // Construct using com.google.cloud.datastream.v1alpha1.ValidationResult.newBuilder() @@ -392,17 +351,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getValidationsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -416,9 +375,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto - .internal_static_google_cloud_datastream_v1alpha1_ValidationResult_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_ValidationResult_descriptor; } @java.lang.Override @@ -437,8 +396,7 @@ public com.google.cloud.datastream.v1alpha1.ValidationResult build() { @java.lang.Override public com.google.cloud.datastream.v1alpha1.ValidationResult buildPartial() { - com.google.cloud.datastream.v1alpha1.ValidationResult result = - new com.google.cloud.datastream.v1alpha1.ValidationResult(this); + com.google.cloud.datastream.v1alpha1.ValidationResult result = new com.google.cloud.datastream.v1alpha1.ValidationResult(this); int from_bitField0_ = bitField0_; if (validationsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -457,39 +415,38 @@ public com.google.cloud.datastream.v1alpha1.ValidationResult buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.datastream.v1alpha1.ValidationResult) { - return mergeFrom((com.google.cloud.datastream.v1alpha1.ValidationResult) other); + return mergeFrom((com.google.cloud.datastream.v1alpha1.ValidationResult)other); } else { super.mergeFrom(other); return this; @@ -497,8 +454,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.datastream.v1alpha1.ValidationResult other) { - if (other == com.google.cloud.datastream.v1alpha1.ValidationResult.getDefaultInstance()) - return this; + if (other == com.google.cloud.datastream.v1alpha1.ValidationResult.getDefaultInstance()) return this; if (validationsBuilder_ == null) { if (!other.validations_.isEmpty()) { if (validations_.isEmpty()) { @@ -517,10 +473,9 @@ public Builder mergeFrom(com.google.cloud.datastream.v1alpha1.ValidationResult o validationsBuilder_ = null; validations_ = other.validations_; bitField0_ = (bitField0_ & ~0x00000001); - validationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getValidationsFieldBuilder() - : null; + validationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getValidationsFieldBuilder() : null; } else { validationsBuilder_.addAllMessages(other.validations_); } @@ -545,8 +500,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datastream.v1alpha1.ValidationResult) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.datastream.v1alpha1.ValidationResult) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -555,29 +509,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List validations_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureValidationsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - validations_ = - new java.util.ArrayList(validations_); + validations_ = new java.util.ArrayList(validations_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.datastream.v1alpha1.Validation, - com.google.cloud.datastream.v1alpha1.Validation.Builder, - com.google.cloud.datastream.v1alpha1.ValidationOrBuilder> - validationsBuilder_; + com.google.cloud.datastream.v1alpha1.Validation, com.google.cloud.datastream.v1alpha1.Validation.Builder, com.google.cloud.datastream.v1alpha1.ValidationOrBuilder> validationsBuilder_; /** - * - * *
      * A list of validations (includes both executed as well as not executed
      * validations).
@@ -593,8 +539,6 @@ public java.util.List getValida
       }
     }
     /**
-     *
-     *
      * 
      * A list of validations (includes both executed as well as not executed
      * validations).
@@ -610,8 +554,6 @@ public int getValidationsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * A list of validations (includes both executed as well as not executed
      * validations).
@@ -627,8 +569,6 @@ public com.google.cloud.datastream.v1alpha1.Validation getValidations(int index)
       }
     }
     /**
-     *
-     *
      * 
      * A list of validations (includes both executed as well as not executed
      * validations).
@@ -651,8 +591,6 @@ public Builder setValidations(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of validations (includes both executed as well as not executed
      * validations).
@@ -672,8 +610,6 @@ public Builder setValidations(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of validations (includes both executed as well as not executed
      * validations).
@@ -695,8 +631,6 @@ public Builder addValidations(com.google.cloud.datastream.v1alpha1.Validation va
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of validations (includes both executed as well as not executed
      * validations).
@@ -719,8 +653,6 @@ public Builder addValidations(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of validations (includes both executed as well as not executed
      * validations).
@@ -740,8 +672,6 @@ public Builder addValidations(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of validations (includes both executed as well as not executed
      * validations).
@@ -761,8 +691,6 @@ public Builder addValidations(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of validations (includes both executed as well as not executed
      * validations).
@@ -774,7 +702,8 @@ public Builder addAllValidations(
         java.lang.Iterable values) {
       if (validationsBuilder_ == null) {
         ensureValidationsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, validations_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, validations_);
         onChanged();
       } else {
         validationsBuilder_.addAllMessages(values);
@@ -782,8 +711,6 @@ public Builder addAllValidations(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of validations (includes both executed as well as not executed
      * validations).
@@ -802,8 +729,6 @@ public Builder clearValidations() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of validations (includes both executed as well as not executed
      * validations).
@@ -822,8 +747,6 @@ public Builder removeValidations(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of validations (includes both executed as well as not executed
      * validations).
@@ -836,8 +759,6 @@ public com.google.cloud.datastream.v1alpha1.Validation.Builder getValidationsBui
       return getValidationsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * A list of validations (includes both executed as well as not executed
      * validations).
@@ -848,14 +769,11 @@ public com.google.cloud.datastream.v1alpha1.Validation.Builder getValidationsBui
     public com.google.cloud.datastream.v1alpha1.ValidationOrBuilder getValidationsOrBuilder(
         int index) {
       if (validationsBuilder_ == null) {
-        return validations_.get(index);
-      } else {
+        return validations_.get(index);  } else {
         return validationsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * A list of validations (includes both executed as well as not executed
      * validations).
@@ -863,8 +781,8 @@ public com.google.cloud.datastream.v1alpha1.ValidationOrBuilder getValidationsOr
      *
      * repeated .google.cloud.datastream.v1alpha1.Validation validations = 1;
      */
-    public java.util.List
-        getValidationsOrBuilderList() {
+    public java.util.List 
+         getValidationsOrBuilderList() {
       if (validationsBuilder_ != null) {
         return validationsBuilder_.getMessageOrBuilderList();
       } else {
@@ -872,8 +790,6 @@ public com.google.cloud.datastream.v1alpha1.ValidationOrBuilder getValidationsOr
       }
     }
     /**
-     *
-     *
      * 
      * A list of validations (includes both executed as well as not executed
      * validations).
@@ -882,12 +798,10 @@ public com.google.cloud.datastream.v1alpha1.ValidationOrBuilder getValidationsOr
      * repeated .google.cloud.datastream.v1alpha1.Validation validations = 1;
      */
     public com.google.cloud.datastream.v1alpha1.Validation.Builder addValidationsBuilder() {
-      return getValidationsFieldBuilder()
-          .addBuilder(com.google.cloud.datastream.v1alpha1.Validation.getDefaultInstance());
+      return getValidationsFieldBuilder().addBuilder(
+          com.google.cloud.datastream.v1alpha1.Validation.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * A list of validations (includes both executed as well as not executed
      * validations).
@@ -897,12 +811,10 @@ public com.google.cloud.datastream.v1alpha1.Validation.Builder addValidationsBui
      */
     public com.google.cloud.datastream.v1alpha1.Validation.Builder addValidationsBuilder(
         int index) {
-      return getValidationsFieldBuilder()
-          .addBuilder(index, com.google.cloud.datastream.v1alpha1.Validation.getDefaultInstance());
+      return getValidationsFieldBuilder().addBuilder(
+          index, com.google.cloud.datastream.v1alpha1.Validation.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * A list of validations (includes both executed as well as not executed
      * validations).
@@ -910,30 +822,27 @@ public com.google.cloud.datastream.v1alpha1.Validation.Builder addValidationsBui
      *
      * repeated .google.cloud.datastream.v1alpha1.Validation validations = 1;
      */
-    public java.util.List
-        getValidationsBuilderList() {
+    public java.util.List 
+         getValidationsBuilderList() {
       return getValidationsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.datastream.v1alpha1.Validation,
-            com.google.cloud.datastream.v1alpha1.Validation.Builder,
-            com.google.cloud.datastream.v1alpha1.ValidationOrBuilder>
+        com.google.cloud.datastream.v1alpha1.Validation, com.google.cloud.datastream.v1alpha1.Validation.Builder, com.google.cloud.datastream.v1alpha1.ValidationOrBuilder> 
         getValidationsFieldBuilder() {
       if (validationsBuilder_ == null) {
-        validationsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.cloud.datastream.v1alpha1.Validation,
-                com.google.cloud.datastream.v1alpha1.Validation.Builder,
-                com.google.cloud.datastream.v1alpha1.ValidationOrBuilder>(
-                validations_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        validationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.cloud.datastream.v1alpha1.Validation, com.google.cloud.datastream.v1alpha1.Validation.Builder, com.google.cloud.datastream.v1alpha1.ValidationOrBuilder>(
+                validations_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         validations_ = null;
       }
       return validationsBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -943,12 +852,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1alpha1.ValidationResult)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1alpha1.ValidationResult)
   private static final com.google.cloud.datastream.v1alpha1.ValidationResult DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.datastream.v1alpha1.ValidationResult();
   }
@@ -957,16 +866,16 @@ public static com.google.cloud.datastream.v1alpha1.ValidationResult getDefaultIn
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public ValidationResult parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new ValidationResult(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public ValidationResult parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new ValidationResult(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -981,4 +890,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.datastream.v1alpha1.ValidationResult getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ValidationResultOrBuilder.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ValidationResultOrBuilder.java
similarity index 69%
rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ValidationResultOrBuilder.java
rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ValidationResultOrBuilder.java
index b43f8e41..383c1067 100644
--- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ValidationResultOrBuilder.java
+++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ValidationResultOrBuilder.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/datastream/v1alpha1/datastream_resources.proto
 
 package com.google.cloud.datastream.v1alpha1;
 
-public interface ValidationResultOrBuilder
-    extends
+public interface ValidationResultOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1alpha1.ValidationResult)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * A list of validations (includes both executed as well as not executed
    * validations).
@@ -33,10 +15,9 @@ public interface ValidationResultOrBuilder
    *
    * repeated .google.cloud.datastream.v1alpha1.Validation validations = 1;
    */
-  java.util.List getValidationsList();
+  java.util.List 
+      getValidationsList();
   /**
-   *
-   *
    * 
    * A list of validations (includes both executed as well as not executed
    * validations).
@@ -46,8 +27,6 @@ public interface ValidationResultOrBuilder
    */
   com.google.cloud.datastream.v1alpha1.Validation getValidations(int index);
   /**
-   *
-   *
    * 
    * A list of validations (includes both executed as well as not executed
    * validations).
@@ -57,8 +36,6 @@ public interface ValidationResultOrBuilder
    */
   int getValidationsCount();
   /**
-   *
-   *
    * 
    * A list of validations (includes both executed as well as not executed
    * validations).
@@ -66,11 +43,9 @@ public interface ValidationResultOrBuilder
    *
    * repeated .google.cloud.datastream.v1alpha1.Validation validations = 1;
    */
-  java.util.List
+  java.util.List 
       getValidationsOrBuilderList();
   /**
-   *
-   *
    * 
    * A list of validations (includes both executed as well as not executed
    * validations).
@@ -78,5 +53,6 @@ public interface ValidationResultOrBuilder
    *
    * repeated .google.cloud.datastream.v1alpha1.Validation validations = 1;
    */
-  com.google.cloud.datastream.v1alpha1.ValidationOrBuilder getValidationsOrBuilder(int index);
+  com.google.cloud.datastream.v1alpha1.ValidationOrBuilder getValidationsOrBuilder(
+      int index);
 }
diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/VpcPeeringConfig.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/VpcPeeringConfig.java
similarity index 71%
rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/VpcPeeringConfig.java
rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/VpcPeeringConfig.java
index 54fd19e8..a59a5ca1 100644
--- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/VpcPeeringConfig.java
+++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/VpcPeeringConfig.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/datastream/v1alpha1/datastream_resources.proto
 
 package com.google.cloud.datastream.v1alpha1;
 
 /**
- *
- *
  * 
  * The VPC Peering configuration is used to create VPC peering between
  * Datastream and the consumer's VPC.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.datastream.v1alpha1.VpcPeeringConfig}
  */
-public final class VpcPeeringConfig extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class VpcPeeringConfig extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1alpha1.VpcPeeringConfig)
     VpcPeeringConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use VpcPeeringConfig.newBuilder() to construct.
   private VpcPeeringConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private VpcPeeringConfig() {
     vpcName_ = "";
     subnet_ = "";
@@ -45,15 +27,16 @@ private VpcPeeringConfig() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new VpcPeeringConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private VpcPeeringConfig(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -72,27 +55,25 @@ private VpcPeeringConfig(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              vpcName_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            vpcName_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              subnet_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            subnet_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -100,39 +81,34 @@ private VpcPeeringConfig(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto
-        .internal_static_google_cloud_datastream_v1alpha1_VpcPeeringConfig_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_VpcPeeringConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto
-        .internal_static_google_cloud_datastream_v1alpha1_VpcPeeringConfig_fieldAccessorTable
+    return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_VpcPeeringConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.datastream.v1alpha1.VpcPeeringConfig.class,
-            com.google.cloud.datastream.v1alpha1.VpcPeeringConfig.Builder.class);
+            com.google.cloud.datastream.v1alpha1.VpcPeeringConfig.class, com.google.cloud.datastream.v1alpha1.VpcPeeringConfig.Builder.class);
   }
 
   public static final int VPC_NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object vpcName_;
   /**
-   *
-   *
    * 
    * Required. fully qualified name of the VPC Datastream will peer to.
    * 
* * string vpc_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The vpcName. */ @java.lang.Override @@ -141,29 +117,29 @@ public java.lang.String getVpcName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); vpcName_ = s; return s; } } /** - * - * *
    * Required. fully qualified name of the VPC Datastream will peer to.
    * 
* * string vpc_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for vpcName. */ @java.lang.Override - public com.google.protobuf.ByteString getVpcNameBytes() { + public com.google.protobuf.ByteString + getVpcNameBytes() { java.lang.Object ref = vpcName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); vpcName_ = b; return b; } else { @@ -174,14 +150,11 @@ public com.google.protobuf.ByteString getVpcNameBytes() { public static final int SUBNET_FIELD_NUMBER = 2; private volatile java.lang.Object subnet_; /** - * - * *
    * Required. A free subnet for peering. (CIDR of /29)
    * 
* * string subnet = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The subnet. */ @java.lang.Override @@ -190,29 +163,29 @@ public java.lang.String getSubnet() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); subnet_ = s; return s; } } /** - * - * *
    * Required. A free subnet for peering. (CIDR of /29)
    * 
* * string subnet = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for subnet. */ @java.lang.Override - public com.google.protobuf.ByteString getSubnetBytes() { + public com.google.protobuf.ByteString + getSubnetBytes() { java.lang.Object ref = subnet_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); subnet_ = b; return b; } else { @@ -221,7 +194,6 @@ public com.google.protobuf.ByteString getSubnetBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -233,7 +205,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(vpcName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, vpcName_); } @@ -263,16 +236,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.datastream.v1alpha1.VpcPeeringConfig)) { return super.equals(obj); } - com.google.cloud.datastream.v1alpha1.VpcPeeringConfig other = - (com.google.cloud.datastream.v1alpha1.VpcPeeringConfig) obj; + com.google.cloud.datastream.v1alpha1.VpcPeeringConfig other = (com.google.cloud.datastream.v1alpha1.VpcPeeringConfig) obj; - if (!getVpcName().equals(other.getVpcName())) return false; - if (!getSubnet().equals(other.getSubnet())) return false; + if (!getVpcName() + .equals(other.getVpcName())) return false; + if (!getSubnet() + .equals(other.getSubnet())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -294,104 +268,96 @@ public int hashCode() { } public static com.google.cloud.datastream.v1alpha1.VpcPeeringConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.VpcPeeringConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.VpcPeeringConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.VpcPeeringConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.datastream.v1alpha1.VpcPeeringConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.datastream.v1alpha1.VpcPeeringConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.VpcPeeringConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.VpcPeeringConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.VpcPeeringConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.datastream.v1alpha1.VpcPeeringConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.datastream.v1alpha1.VpcPeeringConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.VpcPeeringConfig 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.datastream.v1alpha1.VpcPeeringConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.datastream.v1alpha1.VpcPeeringConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.datastream.v1alpha1.VpcPeeringConfig prototype) { + public static Builder newBuilder(com.google.cloud.datastream.v1alpha1.VpcPeeringConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The VPC Peering configuration is used to create VPC peering between
    * Datastream and the consumer's VPC.
@@ -399,23 +365,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.datastream.v1alpha1.VpcPeeringConfig}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1alpha1.VpcPeeringConfig)
       com.google.cloud.datastream.v1alpha1.VpcPeeringConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto
-          .internal_static_google_cloud_datastream_v1alpha1_VpcPeeringConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_VpcPeeringConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto
-          .internal_static_google_cloud_datastream_v1alpha1_VpcPeeringConfig_fieldAccessorTable
+      return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_VpcPeeringConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.datastream.v1alpha1.VpcPeeringConfig.class,
-              com.google.cloud.datastream.v1alpha1.VpcPeeringConfig.Builder.class);
+              com.google.cloud.datastream.v1alpha1.VpcPeeringConfig.class, com.google.cloud.datastream.v1alpha1.VpcPeeringConfig.Builder.class);
     }
 
     // Construct using com.google.cloud.datastream.v1alpha1.VpcPeeringConfig.newBuilder()
@@ -423,15 +387,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -443,9 +408,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto
-          .internal_static_google_cloud_datastream_v1alpha1_VpcPeeringConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.datastream.v1alpha1.CloudDatastreamResourcesProto.internal_static_google_cloud_datastream_v1alpha1_VpcPeeringConfig_descriptor;
     }
 
     @java.lang.Override
@@ -464,8 +429,7 @@ public com.google.cloud.datastream.v1alpha1.VpcPeeringConfig build() {
 
     @java.lang.Override
     public com.google.cloud.datastream.v1alpha1.VpcPeeringConfig buildPartial() {
-      com.google.cloud.datastream.v1alpha1.VpcPeeringConfig result =
-          new com.google.cloud.datastream.v1alpha1.VpcPeeringConfig(this);
+      com.google.cloud.datastream.v1alpha1.VpcPeeringConfig result = new com.google.cloud.datastream.v1alpha1.VpcPeeringConfig(this);
       result.vpcName_ = vpcName_;
       result.subnet_ = subnet_;
       onBuilt();
@@ -476,39 +440,38 @@ public com.google.cloud.datastream.v1alpha1.VpcPeeringConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.datastream.v1alpha1.VpcPeeringConfig) {
-        return mergeFrom((com.google.cloud.datastream.v1alpha1.VpcPeeringConfig) other);
+        return mergeFrom((com.google.cloud.datastream.v1alpha1.VpcPeeringConfig)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -516,8 +479,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.datastream.v1alpha1.VpcPeeringConfig other) {
-      if (other == com.google.cloud.datastream.v1alpha1.VpcPeeringConfig.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.datastream.v1alpha1.VpcPeeringConfig.getDefaultInstance()) return this;
       if (!other.getVpcName().isEmpty()) {
         vpcName_ = other.vpcName_;
         onChanged();
@@ -545,8 +507,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.datastream.v1alpha1.VpcPeeringConfig) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.datastream.v1alpha1.VpcPeeringConfig) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -558,20 +519,18 @@ public Builder mergeFrom(
 
     private java.lang.Object vpcName_ = "";
     /**
-     *
-     *
      * 
      * Required. fully qualified name of the VPC Datastream will peer to.
      * 
* * string vpc_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The vpcName. */ public java.lang.String getVpcName() { java.lang.Object ref = vpcName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); vpcName_ = s; return s; @@ -580,21 +539,20 @@ public java.lang.String getVpcName() { } } /** - * - * *
      * Required. fully qualified name of the VPC Datastream will peer to.
      * 
* * string vpc_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for vpcName. */ - public com.google.protobuf.ByteString getVpcNameBytes() { + public com.google.protobuf.ByteString + getVpcNameBytes() { java.lang.Object ref = vpcName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); vpcName_ = b; return b; } else { @@ -602,61 +560,54 @@ public com.google.protobuf.ByteString getVpcNameBytes() { } } /** - * - * *
      * Required. fully qualified name of the VPC Datastream will peer to.
      * 
* * string vpc_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The vpcName to set. * @return This builder for chaining. */ - public Builder setVpcName(java.lang.String value) { + public Builder setVpcName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + vpcName_ = value; onChanged(); return this; } /** - * - * *
      * Required. fully qualified name of the VPC Datastream will peer to.
      * 
* * string vpc_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearVpcName() { - + vpcName_ = getDefaultInstance().getVpcName(); onChanged(); return this; } /** - * - * *
      * Required. fully qualified name of the VPC Datastream will peer to.
      * 
* * string vpc_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for vpcName to set. * @return This builder for chaining. */ - public Builder setVpcNameBytes(com.google.protobuf.ByteString value) { + public Builder setVpcNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + vpcName_ = value; onChanged(); return this; @@ -664,20 +615,18 @@ public Builder setVpcNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object subnet_ = ""; /** - * - * *
      * Required. A free subnet for peering. (CIDR of /29)
      * 
* * string subnet = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The subnet. */ public java.lang.String getSubnet() { java.lang.Object ref = subnet_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); subnet_ = s; return s; @@ -686,21 +635,20 @@ public java.lang.String getSubnet() { } } /** - * - * *
      * Required. A free subnet for peering. (CIDR of /29)
      * 
* * string subnet = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for subnet. */ - public com.google.protobuf.ByteString getSubnetBytes() { + public com.google.protobuf.ByteString + getSubnetBytes() { java.lang.Object ref = subnet_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); subnet_ = b; return b; } else { @@ -708,68 +656,61 @@ public com.google.protobuf.ByteString getSubnetBytes() { } } /** - * - * *
      * Required. A free subnet for peering. (CIDR of /29)
      * 
* * string subnet = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The subnet to set. * @return This builder for chaining. */ - public Builder setSubnet(java.lang.String value) { + public Builder setSubnet( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + subnet_ = value; onChanged(); return this; } /** - * - * *
      * Required. A free subnet for peering. (CIDR of /29)
      * 
* * string subnet = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearSubnet() { - + subnet_ = getDefaultInstance().getSubnet(); onChanged(); return this; } /** - * - * *
      * Required. A free subnet for peering. (CIDR of /29)
      * 
* * string subnet = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for subnet to set. * @return This builder for chaining. */ - public Builder setSubnetBytes(com.google.protobuf.ByteString value) { + public Builder setSubnetBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + subnet_ = 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); } @@ -779,12 +720,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1alpha1.VpcPeeringConfig) } // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1alpha1.VpcPeeringConfig) private static final com.google.cloud.datastream.v1alpha1.VpcPeeringConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.datastream.v1alpha1.VpcPeeringConfig(); } @@ -793,16 +734,16 @@ public static com.google.cloud.datastream.v1alpha1.VpcPeeringConfig getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public VpcPeeringConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new VpcPeeringConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public VpcPeeringConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new VpcPeeringConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -817,4 +758,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datastream.v1alpha1.VpcPeeringConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/VpcPeeringConfigOrBuilder.java b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/VpcPeeringConfigOrBuilder.java similarity index 60% rename from proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/VpcPeeringConfigOrBuilder.java rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/VpcPeeringConfigOrBuilder.java index 70db0c12..88f44375 100644 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/VpcPeeringConfigOrBuilder.java +++ b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/VpcPeeringConfigOrBuilder.java @@ -1,75 +1,49 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1alpha1/datastream_resources.proto package com.google.cloud.datastream.v1alpha1; -public interface VpcPeeringConfigOrBuilder - extends +public interface VpcPeeringConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1alpha1.VpcPeeringConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. fully qualified name of the VPC Datastream will peer to.
    * 
* * string vpc_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The vpcName. */ java.lang.String getVpcName(); /** - * - * *
    * Required. fully qualified name of the VPC Datastream will peer to.
    * 
* * string vpc_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for vpcName. */ - com.google.protobuf.ByteString getVpcNameBytes(); + com.google.protobuf.ByteString + getVpcNameBytes(); /** - * - * *
    * Required. A free subnet for peering. (CIDR of /29)
    * 
* * string subnet = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The subnet. */ java.lang.String getSubnet(); /** - * - * *
    * Required. A free subnet for peering. (CIDR of /29)
    * 
* * string subnet = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for subnet. */ - com.google.protobuf.ByteString getSubnetBytes(); + com.google.protobuf.ByteString + getSubnetBytes(); } diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/proto/google/cloud/datastream/v1alpha1/datastream.proto b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/proto/google/cloud/datastream/v1alpha1/datastream.proto similarity index 100% rename from proto-google-cloud-datastream-v1alpha1/src/main/proto/google/cloud/datastream/v1alpha1/datastream.proto rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/proto/google/cloud/datastream/v1alpha1/datastream.proto diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/proto/google/cloud/datastream/v1alpha1/datastream_resources.proto b/owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/proto/google/cloud/datastream/v1alpha1/datastream_resources.proto similarity index 100% rename from proto-google-cloud-datastream-v1alpha1/src/main/proto/google/cloud/datastream/v1alpha1/datastream_resources.proto rename to owl-bot-staging/v1alpha1/proto-google-cloud-datastream-v1alpha1/src/main/proto/google/cloud/datastream/v1alpha1/datastream_resources.proto diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/create/SyncCreateSetCredentialsProvider.java b/owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/create/SyncCreateSetCredentialsProvider.java rename to owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/create/SyncCreateSetCredentialsProvider.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/create/SyncCreateSetCredentialsProvider1.java b/owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/create/SyncCreateSetCredentialsProvider1.java rename to owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/create/SyncCreateSetCredentialsProvider1.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/create/SyncCreateSetEndpoint.java b/owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/create/SyncCreateSetEndpoint.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/create/SyncCreateSetEndpoint.java rename to owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/create/SyncCreateSetEndpoint.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createconnectionprofile/AsyncCreateConnectionProfile.java b/owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createconnectionprofile/AsyncCreateConnectionProfile.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createconnectionprofile/AsyncCreateConnectionProfile.java rename to owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createconnectionprofile/AsyncCreateConnectionProfile.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createconnectionprofile/AsyncCreateConnectionProfileLRO.java b/owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createconnectionprofile/AsyncCreateConnectionProfileLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createconnectionprofile/AsyncCreateConnectionProfileLRO.java rename to owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createconnectionprofile/AsyncCreateConnectionProfileLRO.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createconnectionprofile/SyncCreateConnectionProfile.java b/owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createconnectionprofile/SyncCreateConnectionProfile.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createconnectionprofile/SyncCreateConnectionProfile.java rename to owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createconnectionprofile/SyncCreateConnectionProfile.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createconnectionprofile/SyncCreateConnectionProfileLocationnameConnectionprofileString.java b/owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createconnectionprofile/SyncCreateConnectionProfileLocationnameConnectionprofileString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createconnectionprofile/SyncCreateConnectionProfileLocationnameConnectionprofileString.java rename to owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createconnectionprofile/SyncCreateConnectionProfileLocationnameConnectionprofileString.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createconnectionprofile/SyncCreateConnectionProfileStringConnectionprofileString.java b/owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createconnectionprofile/SyncCreateConnectionProfileStringConnectionprofileString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createconnectionprofile/SyncCreateConnectionProfileStringConnectionprofileString.java rename to owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createconnectionprofile/SyncCreateConnectionProfileStringConnectionprofileString.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createprivateconnection/AsyncCreatePrivateConnection.java b/owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createprivateconnection/AsyncCreatePrivateConnection.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createprivateconnection/AsyncCreatePrivateConnection.java rename to owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createprivateconnection/AsyncCreatePrivateConnection.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createprivateconnection/AsyncCreatePrivateConnectionLRO.java b/owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createprivateconnection/AsyncCreatePrivateConnectionLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createprivateconnection/AsyncCreatePrivateConnectionLRO.java rename to owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createprivateconnection/AsyncCreatePrivateConnectionLRO.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createprivateconnection/SyncCreatePrivateConnection.java b/owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createprivateconnection/SyncCreatePrivateConnection.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createprivateconnection/SyncCreatePrivateConnection.java rename to owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createprivateconnection/SyncCreatePrivateConnection.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createprivateconnection/SyncCreatePrivateConnectionLocationnamePrivateconnectionString.java b/owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createprivateconnection/SyncCreatePrivateConnectionLocationnamePrivateconnectionString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createprivateconnection/SyncCreatePrivateConnectionLocationnamePrivateconnectionString.java rename to owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createprivateconnection/SyncCreatePrivateConnectionLocationnamePrivateconnectionString.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createprivateconnection/SyncCreatePrivateConnectionStringPrivateconnectionString.java b/owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createprivateconnection/SyncCreatePrivateConnectionStringPrivateconnectionString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createprivateconnection/SyncCreatePrivateConnectionStringPrivateconnectionString.java rename to owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createprivateconnection/SyncCreatePrivateConnectionStringPrivateconnectionString.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createroute/AsyncCreateRoute.java b/owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createroute/AsyncCreateRoute.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createroute/AsyncCreateRoute.java rename to owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createroute/AsyncCreateRoute.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createroute/AsyncCreateRouteLRO.java b/owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createroute/AsyncCreateRouteLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createroute/AsyncCreateRouteLRO.java rename to owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createroute/AsyncCreateRouteLRO.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createroute/SyncCreateRoute.java b/owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createroute/SyncCreateRoute.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createroute/SyncCreateRoute.java rename to owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createroute/SyncCreateRoute.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createroute/SyncCreateRoutePrivateconnectionnameRouteString.java b/owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createroute/SyncCreateRoutePrivateconnectionnameRouteString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createroute/SyncCreateRoutePrivateconnectionnameRouteString.java rename to owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createroute/SyncCreateRoutePrivateconnectionnameRouteString.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createroute/SyncCreateRouteStringRouteString.java b/owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createroute/SyncCreateRouteStringRouteString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createroute/SyncCreateRouteStringRouteString.java rename to owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createroute/SyncCreateRouteStringRouteString.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createstream/AsyncCreateStream.java b/owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createstream/AsyncCreateStream.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createstream/AsyncCreateStream.java rename to owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createstream/AsyncCreateStream.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createstream/AsyncCreateStreamLRO.java b/owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createstream/AsyncCreateStreamLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createstream/AsyncCreateStreamLRO.java rename to owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createstream/AsyncCreateStreamLRO.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createstream/SyncCreateStream.java b/owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createstream/SyncCreateStream.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createstream/SyncCreateStream.java rename to owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createstream/SyncCreateStream.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createstream/SyncCreateStreamLocationnameStreamString.java b/owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createstream/SyncCreateStreamLocationnameStreamString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createstream/SyncCreateStreamLocationnameStreamString.java rename to owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createstream/SyncCreateStreamLocationnameStreamString.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createstream/SyncCreateStreamStringStreamString.java b/owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createstream/SyncCreateStreamStringStreamString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createstream/SyncCreateStreamStringStreamString.java rename to owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/createstream/SyncCreateStreamStringStreamString.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteconnectionprofile/AsyncDeleteConnectionProfile.java b/owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteconnectionprofile/AsyncDeleteConnectionProfile.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteconnectionprofile/AsyncDeleteConnectionProfile.java rename to owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteconnectionprofile/AsyncDeleteConnectionProfile.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteconnectionprofile/AsyncDeleteConnectionProfileLRO.java b/owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteconnectionprofile/AsyncDeleteConnectionProfileLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteconnectionprofile/AsyncDeleteConnectionProfileLRO.java rename to owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteconnectionprofile/AsyncDeleteConnectionProfileLRO.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteconnectionprofile/SyncDeleteConnectionProfile.java b/owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteconnectionprofile/SyncDeleteConnectionProfile.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteconnectionprofile/SyncDeleteConnectionProfile.java rename to owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteconnectionprofile/SyncDeleteConnectionProfile.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteconnectionprofile/SyncDeleteConnectionProfileConnectionprofilename.java b/owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteconnectionprofile/SyncDeleteConnectionProfileConnectionprofilename.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteconnectionprofile/SyncDeleteConnectionProfileConnectionprofilename.java rename to owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteconnectionprofile/SyncDeleteConnectionProfileConnectionprofilename.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteconnectionprofile/SyncDeleteConnectionProfileString.java b/owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteconnectionprofile/SyncDeleteConnectionProfileString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteconnectionprofile/SyncDeleteConnectionProfileString.java rename to owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteconnectionprofile/SyncDeleteConnectionProfileString.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteprivateconnection/AsyncDeletePrivateConnection.java b/owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteprivateconnection/AsyncDeletePrivateConnection.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteprivateconnection/AsyncDeletePrivateConnection.java rename to owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteprivateconnection/AsyncDeletePrivateConnection.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteprivateconnection/AsyncDeletePrivateConnectionLRO.java b/owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteprivateconnection/AsyncDeletePrivateConnectionLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteprivateconnection/AsyncDeletePrivateConnectionLRO.java rename to owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteprivateconnection/AsyncDeletePrivateConnectionLRO.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteprivateconnection/SyncDeletePrivateConnection.java b/owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteprivateconnection/SyncDeletePrivateConnection.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteprivateconnection/SyncDeletePrivateConnection.java rename to owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteprivateconnection/SyncDeletePrivateConnection.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteprivateconnection/SyncDeletePrivateConnectionPrivateconnectionname.java b/owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteprivateconnection/SyncDeletePrivateConnectionPrivateconnectionname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteprivateconnection/SyncDeletePrivateConnectionPrivateconnectionname.java rename to owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteprivateconnection/SyncDeletePrivateConnectionPrivateconnectionname.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteprivateconnection/SyncDeletePrivateConnectionString.java b/owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteprivateconnection/SyncDeletePrivateConnectionString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteprivateconnection/SyncDeletePrivateConnectionString.java rename to owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteprivateconnection/SyncDeletePrivateConnectionString.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteroute/AsyncDeleteRoute.java b/owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteroute/AsyncDeleteRoute.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteroute/AsyncDeleteRoute.java rename to owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteroute/AsyncDeleteRoute.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteroute/AsyncDeleteRouteLRO.java b/owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteroute/AsyncDeleteRouteLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteroute/AsyncDeleteRouteLRO.java rename to owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteroute/AsyncDeleteRouteLRO.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteroute/SyncDeleteRoute.java b/owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteroute/SyncDeleteRoute.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteroute/SyncDeleteRoute.java rename to owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteroute/SyncDeleteRoute.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteroute/SyncDeleteRouteRoutename.java b/owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteroute/SyncDeleteRouteRoutename.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteroute/SyncDeleteRouteRoutename.java rename to owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteroute/SyncDeleteRouteRoutename.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteroute/SyncDeleteRouteString.java b/owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteroute/SyncDeleteRouteString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteroute/SyncDeleteRouteString.java rename to owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deleteroute/SyncDeleteRouteString.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deletestream/AsyncDeleteStream.java b/owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deletestream/AsyncDeleteStream.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deletestream/AsyncDeleteStream.java rename to owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deletestream/AsyncDeleteStream.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deletestream/AsyncDeleteStreamLRO.java b/owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deletestream/AsyncDeleteStreamLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deletestream/AsyncDeleteStreamLRO.java rename to owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deletestream/AsyncDeleteStreamLRO.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deletestream/SyncDeleteStream.java b/owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deletestream/SyncDeleteStream.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deletestream/SyncDeleteStream.java rename to owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deletestream/SyncDeleteStream.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deletestream/SyncDeleteStreamStreamname.java b/owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deletestream/SyncDeleteStreamStreamname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deletestream/SyncDeleteStreamStreamname.java rename to owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deletestream/SyncDeleteStreamStreamname.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deletestream/SyncDeleteStreamString.java b/owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deletestream/SyncDeleteStreamString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deletestream/SyncDeleteStreamString.java rename to owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/deletestream/SyncDeleteStreamString.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/discoverconnectionprofile/AsyncDiscoverConnectionProfile.java b/owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/discoverconnectionprofile/AsyncDiscoverConnectionProfile.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/discoverconnectionprofile/AsyncDiscoverConnectionProfile.java rename to owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/discoverconnectionprofile/AsyncDiscoverConnectionProfile.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/discoverconnectionprofile/SyncDiscoverConnectionProfile.java b/owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/discoverconnectionprofile/SyncDiscoverConnectionProfile.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/discoverconnectionprofile/SyncDiscoverConnectionProfile.java rename to owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/discoverconnectionprofile/SyncDiscoverConnectionProfile.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/fetcherrors/AsyncFetchErrors.java b/owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/fetcherrors/AsyncFetchErrors.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/fetcherrors/AsyncFetchErrors.java rename to owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/fetcherrors/AsyncFetchErrors.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/fetcherrors/AsyncFetchErrorsLRO.java b/owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/fetcherrors/AsyncFetchErrorsLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/fetcherrors/AsyncFetchErrorsLRO.java rename to owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/fetcherrors/AsyncFetchErrorsLRO.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/fetcherrors/SyncFetchErrors.java b/owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/fetcherrors/SyncFetchErrors.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/fetcherrors/SyncFetchErrors.java rename to owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/fetcherrors/SyncFetchErrors.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/fetchstaticips/AsyncFetchStaticIps.java b/owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/fetchstaticips/AsyncFetchStaticIps.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/fetchstaticips/AsyncFetchStaticIps.java rename to owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/fetchstaticips/AsyncFetchStaticIps.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/fetchstaticips/AsyncFetchStaticIpsPaged.java b/owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/fetchstaticips/AsyncFetchStaticIpsPaged.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/fetchstaticips/AsyncFetchStaticIpsPaged.java rename to owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/fetchstaticips/AsyncFetchStaticIpsPaged.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/fetchstaticips/SyncFetchStaticIps.java b/owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/fetchstaticips/SyncFetchStaticIps.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/fetchstaticips/SyncFetchStaticIps.java rename to owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/fetchstaticips/SyncFetchStaticIps.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/fetchstaticips/SyncFetchStaticIpsLocationname.java b/owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/fetchstaticips/SyncFetchStaticIpsLocationname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/fetchstaticips/SyncFetchStaticIpsLocationname.java rename to owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/fetchstaticips/SyncFetchStaticIpsLocationname.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/fetchstaticips/SyncFetchStaticIpsString.java b/owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/fetchstaticips/SyncFetchStaticIpsString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/fetchstaticips/SyncFetchStaticIpsString.java rename to owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/fetchstaticips/SyncFetchStaticIpsString.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getconnectionprofile/AsyncGetConnectionProfile.java b/owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getconnectionprofile/AsyncGetConnectionProfile.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getconnectionprofile/AsyncGetConnectionProfile.java rename to owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getconnectionprofile/AsyncGetConnectionProfile.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getconnectionprofile/SyncGetConnectionProfile.java b/owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getconnectionprofile/SyncGetConnectionProfile.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getconnectionprofile/SyncGetConnectionProfile.java rename to owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getconnectionprofile/SyncGetConnectionProfile.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getconnectionprofile/SyncGetConnectionProfileConnectionprofilename.java b/owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getconnectionprofile/SyncGetConnectionProfileConnectionprofilename.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getconnectionprofile/SyncGetConnectionProfileConnectionprofilename.java rename to owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getconnectionprofile/SyncGetConnectionProfileConnectionprofilename.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getconnectionprofile/SyncGetConnectionProfileString.java b/owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getconnectionprofile/SyncGetConnectionProfileString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getconnectionprofile/SyncGetConnectionProfileString.java rename to owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getconnectionprofile/SyncGetConnectionProfileString.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getprivateconnection/AsyncGetPrivateConnection.java b/owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getprivateconnection/AsyncGetPrivateConnection.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getprivateconnection/AsyncGetPrivateConnection.java rename to owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getprivateconnection/AsyncGetPrivateConnection.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getprivateconnection/SyncGetPrivateConnection.java b/owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getprivateconnection/SyncGetPrivateConnection.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getprivateconnection/SyncGetPrivateConnection.java rename to owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getprivateconnection/SyncGetPrivateConnection.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getprivateconnection/SyncGetPrivateConnectionPrivateconnectionname.java b/owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getprivateconnection/SyncGetPrivateConnectionPrivateconnectionname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getprivateconnection/SyncGetPrivateConnectionPrivateconnectionname.java rename to owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getprivateconnection/SyncGetPrivateConnectionPrivateconnectionname.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getprivateconnection/SyncGetPrivateConnectionString.java b/owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getprivateconnection/SyncGetPrivateConnectionString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getprivateconnection/SyncGetPrivateConnectionString.java rename to owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getprivateconnection/SyncGetPrivateConnectionString.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getroute/AsyncGetRoute.java b/owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getroute/AsyncGetRoute.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getroute/AsyncGetRoute.java rename to owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getroute/AsyncGetRoute.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getroute/SyncGetRoute.java b/owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getroute/SyncGetRoute.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getroute/SyncGetRoute.java rename to owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getroute/SyncGetRoute.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getroute/SyncGetRouteRoutename.java b/owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getroute/SyncGetRouteRoutename.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getroute/SyncGetRouteRoutename.java rename to owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getroute/SyncGetRouteRoutename.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getroute/SyncGetRouteString.java b/owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getroute/SyncGetRouteString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getroute/SyncGetRouteString.java rename to owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getroute/SyncGetRouteString.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getstream/AsyncGetStream.java b/owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getstream/AsyncGetStream.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getstream/AsyncGetStream.java rename to owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getstream/AsyncGetStream.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getstream/SyncGetStream.java b/owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getstream/SyncGetStream.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getstream/SyncGetStream.java rename to owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getstream/SyncGetStream.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getstream/SyncGetStreamStreamname.java b/owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getstream/SyncGetStreamStreamname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getstream/SyncGetStreamStreamname.java rename to owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getstream/SyncGetStreamStreamname.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getstream/SyncGetStreamString.java b/owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getstream/SyncGetStreamString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getstream/SyncGetStreamString.java rename to owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/getstream/SyncGetStreamString.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listconnectionprofiles/AsyncListConnectionProfiles.java b/owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listconnectionprofiles/AsyncListConnectionProfiles.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listconnectionprofiles/AsyncListConnectionProfiles.java rename to owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listconnectionprofiles/AsyncListConnectionProfiles.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listconnectionprofiles/AsyncListConnectionProfilesPaged.java b/owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listconnectionprofiles/AsyncListConnectionProfilesPaged.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listconnectionprofiles/AsyncListConnectionProfilesPaged.java rename to owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listconnectionprofiles/AsyncListConnectionProfilesPaged.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listconnectionprofiles/SyncListConnectionProfiles.java b/owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listconnectionprofiles/SyncListConnectionProfiles.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listconnectionprofiles/SyncListConnectionProfiles.java rename to owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listconnectionprofiles/SyncListConnectionProfiles.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listconnectionprofiles/SyncListConnectionProfilesLocationname.java b/owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listconnectionprofiles/SyncListConnectionProfilesLocationname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listconnectionprofiles/SyncListConnectionProfilesLocationname.java rename to owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listconnectionprofiles/SyncListConnectionProfilesLocationname.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listconnectionprofiles/SyncListConnectionProfilesString.java b/owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listconnectionprofiles/SyncListConnectionProfilesString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listconnectionprofiles/SyncListConnectionProfilesString.java rename to owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listconnectionprofiles/SyncListConnectionProfilesString.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listprivateconnections/AsyncListPrivateConnections.java b/owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listprivateconnections/AsyncListPrivateConnections.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listprivateconnections/AsyncListPrivateConnections.java rename to owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listprivateconnections/AsyncListPrivateConnections.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listprivateconnections/AsyncListPrivateConnectionsPaged.java b/owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listprivateconnections/AsyncListPrivateConnectionsPaged.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listprivateconnections/AsyncListPrivateConnectionsPaged.java rename to owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listprivateconnections/AsyncListPrivateConnectionsPaged.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listprivateconnections/SyncListPrivateConnections.java b/owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listprivateconnections/SyncListPrivateConnections.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listprivateconnections/SyncListPrivateConnections.java rename to owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listprivateconnections/SyncListPrivateConnections.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listprivateconnections/SyncListPrivateConnectionsLocationname.java b/owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listprivateconnections/SyncListPrivateConnectionsLocationname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listprivateconnections/SyncListPrivateConnectionsLocationname.java rename to owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listprivateconnections/SyncListPrivateConnectionsLocationname.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listprivateconnections/SyncListPrivateConnectionsString.java b/owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listprivateconnections/SyncListPrivateConnectionsString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listprivateconnections/SyncListPrivateConnectionsString.java rename to owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listprivateconnections/SyncListPrivateConnectionsString.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listroutes/AsyncListRoutes.java b/owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listroutes/AsyncListRoutes.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listroutes/AsyncListRoutes.java rename to owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listroutes/AsyncListRoutes.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listroutes/AsyncListRoutesPaged.java b/owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listroutes/AsyncListRoutesPaged.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listroutes/AsyncListRoutesPaged.java rename to owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listroutes/AsyncListRoutesPaged.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listroutes/SyncListRoutes.java b/owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listroutes/SyncListRoutes.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listroutes/SyncListRoutes.java rename to owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listroutes/SyncListRoutes.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listroutes/SyncListRoutesPrivateconnectionname.java b/owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listroutes/SyncListRoutesPrivateconnectionname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listroutes/SyncListRoutesPrivateconnectionname.java rename to owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listroutes/SyncListRoutesPrivateconnectionname.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listroutes/SyncListRoutesString.java b/owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listroutes/SyncListRoutesString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listroutes/SyncListRoutesString.java rename to owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/listroutes/SyncListRoutesString.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/liststreams/AsyncListStreams.java b/owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/liststreams/AsyncListStreams.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/liststreams/AsyncListStreams.java rename to owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/liststreams/AsyncListStreams.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/liststreams/AsyncListStreamsPaged.java b/owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/liststreams/AsyncListStreamsPaged.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/liststreams/AsyncListStreamsPaged.java rename to owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/liststreams/AsyncListStreamsPaged.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/liststreams/SyncListStreams.java b/owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/liststreams/SyncListStreams.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/liststreams/SyncListStreams.java rename to owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/liststreams/SyncListStreams.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/liststreams/SyncListStreamsLocationname.java b/owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/liststreams/SyncListStreamsLocationname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/liststreams/SyncListStreamsLocationname.java rename to owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/liststreams/SyncListStreamsLocationname.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/liststreams/SyncListStreamsString.java b/owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/liststreams/SyncListStreamsString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/liststreams/SyncListStreamsString.java rename to owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/liststreams/SyncListStreamsString.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/updateconnectionprofile/AsyncUpdateConnectionProfile.java b/owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/updateconnectionprofile/AsyncUpdateConnectionProfile.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/updateconnectionprofile/AsyncUpdateConnectionProfile.java rename to owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/updateconnectionprofile/AsyncUpdateConnectionProfile.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/updateconnectionprofile/AsyncUpdateConnectionProfileLRO.java b/owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/updateconnectionprofile/AsyncUpdateConnectionProfileLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/updateconnectionprofile/AsyncUpdateConnectionProfileLRO.java rename to owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/updateconnectionprofile/AsyncUpdateConnectionProfileLRO.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/updateconnectionprofile/SyncUpdateConnectionProfile.java b/owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/updateconnectionprofile/SyncUpdateConnectionProfile.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/updateconnectionprofile/SyncUpdateConnectionProfile.java rename to owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/updateconnectionprofile/SyncUpdateConnectionProfile.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/updateconnectionprofile/SyncUpdateConnectionProfileConnectionprofileFieldmask.java b/owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/updateconnectionprofile/SyncUpdateConnectionProfileConnectionprofileFieldmask.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/updateconnectionprofile/SyncUpdateConnectionProfileConnectionprofileFieldmask.java rename to owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/updateconnectionprofile/SyncUpdateConnectionProfileConnectionprofileFieldmask.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/updatestream/AsyncUpdateStream.java b/owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/updatestream/AsyncUpdateStream.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/updatestream/AsyncUpdateStream.java rename to owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/updatestream/AsyncUpdateStream.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/updatestream/AsyncUpdateStreamLRO.java b/owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/updatestream/AsyncUpdateStreamLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/updatestream/AsyncUpdateStreamLRO.java rename to owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/updatestream/AsyncUpdateStreamLRO.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/updatestream/SyncUpdateStream.java b/owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/updatestream/SyncUpdateStream.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/updatestream/SyncUpdateStream.java rename to owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/updatestream/SyncUpdateStream.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/updatestream/SyncUpdateStreamStreamFieldmask.java b/owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/updatestream/SyncUpdateStreamStreamFieldmask.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/updatestream/SyncUpdateStreamStreamFieldmask.java rename to owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamclient/updatestream/SyncUpdateStreamStreamFieldmask.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamsettings/getconnectionprofile/SyncGetConnectionProfile.java b/owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamsettings/getconnectionprofile/SyncGetConnectionProfile.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamsettings/getconnectionprofile/SyncGetConnectionProfile.java rename to owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/datastreamsettings/getconnectionprofile/SyncGetConnectionProfile.java diff --git a/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/stub/datastreamstubsettings/getconnectionprofile/SyncGetConnectionProfile.java b/owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/stub/datastreamstubsettings/getconnectionprofile/SyncGetConnectionProfile.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/datastream/v1alpha1/stub/datastreamstubsettings/getconnectionprofile/SyncGetConnectionProfile.java rename to owl-bot-staging/v1alpha1/samples/snippets/generated/com/google/cloud/datastream/v1alpha1/stub/datastreamstubsettings/getconnectionprofile/SyncGetConnectionProfile.java diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/AvroFileFormatOrBuilder.java b/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/AvroFileFormatOrBuilder.java deleted file mode 100644 index 26143146..00000000 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/AvroFileFormatOrBuilder.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datastream/v1/datastream_resources.proto - -package com.google.cloud.datastream.v1; - -public interface AvroFileFormatOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1.AvroFileFormat) - com.google.protobuf.MessageOrBuilder {} diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DatastreamProto.java b/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DatastreamProto.java deleted file mode 100644 index a4669b7e..00000000 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DatastreamProto.java +++ /dev/null @@ -1,805 +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/datastream/v1/datastream.proto - -package com.google.cloud.datastream.v1; - -public final class DatastreamProto { - private DatastreamProto() {} - - 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_datastream_v1_DiscoverConnectionProfileRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datastream_v1_DiscoverConnectionProfileRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datastream_v1_DiscoverConnectionProfileResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datastream_v1_DiscoverConnectionProfileResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datastream_v1_FetchStaticIpsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datastream_v1_FetchStaticIpsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datastream_v1_FetchStaticIpsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datastream_v1_FetchStaticIpsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datastream_v1_ListConnectionProfilesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datastream_v1_ListConnectionProfilesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datastream_v1_ListConnectionProfilesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datastream_v1_ListConnectionProfilesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datastream_v1_GetConnectionProfileRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datastream_v1_GetConnectionProfileRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datastream_v1_CreateConnectionProfileRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datastream_v1_CreateConnectionProfileRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datastream_v1_UpdateConnectionProfileRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datastream_v1_UpdateConnectionProfileRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datastream_v1_DeleteConnectionProfileRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datastream_v1_DeleteConnectionProfileRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datastream_v1_ListStreamsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datastream_v1_ListStreamsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datastream_v1_ListStreamsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datastream_v1_ListStreamsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datastream_v1_GetStreamRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datastream_v1_GetStreamRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datastream_v1_CreateStreamRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datastream_v1_CreateStreamRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datastream_v1_UpdateStreamRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datastream_v1_UpdateStreamRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datastream_v1_DeleteStreamRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datastream_v1_DeleteStreamRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datastream_v1_GetStreamObjectRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datastream_v1_GetStreamObjectRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datastream_v1_LookupStreamObjectRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datastream_v1_LookupStreamObjectRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datastream_v1_StartBackfillJobRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datastream_v1_StartBackfillJobRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datastream_v1_StartBackfillJobResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datastream_v1_StartBackfillJobResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datastream_v1_StopBackfillJobRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datastream_v1_StopBackfillJobRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datastream_v1_StopBackfillJobResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datastream_v1_StopBackfillJobResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datastream_v1_ListStreamObjectsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datastream_v1_ListStreamObjectsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datastream_v1_ListStreamObjectsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datastream_v1_ListStreamObjectsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datastream_v1_OperationMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datastream_v1_OperationMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datastream_v1_CreatePrivateConnectionRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datastream_v1_CreatePrivateConnectionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datastream_v1_ListPrivateConnectionsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datastream_v1_ListPrivateConnectionsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datastream_v1_ListPrivateConnectionsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datastream_v1_ListPrivateConnectionsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datastream_v1_DeletePrivateConnectionRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datastream_v1_DeletePrivateConnectionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datastream_v1_GetPrivateConnectionRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datastream_v1_GetPrivateConnectionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datastream_v1_CreateRouteRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datastream_v1_CreateRouteRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datastream_v1_ListRoutesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datastream_v1_ListRoutesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datastream_v1_ListRoutesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datastream_v1_ListRoutesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datastream_v1_DeleteRouteRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datastream_v1_DeleteRouteRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datastream_v1_GetRouteRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datastream_v1_GetRouteRequest_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/datastream/v1/datastream." - + "proto\022\032google.cloud.datastream.v1\032\034googl" - + "e/api/annotations.proto\032\027google/api/clie" - + "nt.proto\032\037google/api/field_behavior.prot" - + "o\032\031google/api/resource.proto\0325google/clo" - + "ud/datastream/v1/datastream_resources.pr" - + "oto\032#google/longrunning/operations.proto" - + "\032 google/protobuf/field_mask.proto\032\037goog" - + "le/protobuf/timestamp.proto\"\264\003\n Discover" - + "ConnectionProfileRequest\022C\n\006parent\030\001 \001(\t" - + "B3\340A\002\372A-\022+datastream.googleapis.com/Conn" - + "ectionProfile\022L\n\022connection_profile\030\310\001 \001" - + "(\0132-.google.cloud.datastream.v1.Connecti" - + "onProfileH\000\022\"\n\027connection_profile_name\030\311" - + "\001 \001(\tH\000\022\030\n\016full_hierarchy\030\003 \001(\010H\001\022\031\n\017hie" - + "rarchy_depth\030\004 \001(\005H\001\022?\n\014oracle_rdbms\030d \001" - + "(\0132\'.google.cloud.datastream.v1.OracleRd" - + "bmsH\002\022=\n\013mysql_rdbms\030e \001(\0132&.google.clou" - + "d.datastream.v1.MysqlRdbmsH\002B\010\n\006targetB\013" - + "\n\thierarchyB\r\n\013data_object\"\262\001\n!DiscoverC" - + "onnectionProfileResponse\022?\n\014oracle_rdbms" - + "\030d \001(\0132\'.google.cloud.datastream.v1.Orac" - + "leRdbmsH\000\022=\n\013mysql_rdbms\030e \001(\0132&.google." - + "cloud.datastream.v1.MysqlRdbmsH\000B\r\n\013data" - + "_object\"w\n\025FetchStaticIpsRequest\0227\n\004name" - + "\030\001 \001(\tB)\340A\002\372A#\n!locations.googleapis.com" - + "/Location\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_tok" - + "en\030\003 \001(\t\"E\n\026FetchStaticIpsResponse\022\022\n\nst" - + "atic_ips\030\001 \003(\t\022\027\n\017next_page_token\030\002 \001(\t\"" - + "\255\001\n\035ListConnectionProfilesRequest\022C\n\006par" - + "ent\030\001 \001(\tB3\340A\002\372A-\022+datastream.googleapis" - + ".com/ConnectionProfile\022\021\n\tpage_size\030\002 \001(" - + "\005\022\022\n\npage_token\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\022\020\n" - + "\010order_by\030\005 \001(\t\"\232\001\n\036ListConnectionProfil" - + "esResponse\022J\n\023connection_profiles\030\001 \003(\0132" - + "-.google.cloud.datastream.v1.ConnectionP" - + "rofile\022\027\n\017next_page_token\030\002 \001(\t\022\023\n\013unrea" - + "chable\030\003 \003(\t\"`\n\033GetConnectionProfileRequ" - + "est\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+datastream.go" - + "ogleapis.com/ConnectionProfile\"\242\002\n\036Creat" - + "eConnectionProfileRequest\022C\n\006parent\030\001 \001(" - + "\tB3\340A\002\372A-\022+datastream.googleapis.com/Con" - + "nectionProfile\022\"\n\025connection_profile_id\030" - + "\002 \001(\tB\003\340A\002\022N\n\022connection_profile\030\003 \001(\0132-" - + ".google.cloud.datastream.v1.ConnectionPr" - + "ofileB\003\340A\002\022\027\n\nrequest_id\030\004 \001(\tB\003\340A\001\022\032\n\rv" - + "alidate_only\030\005 \001(\010B\003\340A\001\022\022\n\005force\030\006 \001(\010B\003" - + "\340A\001\"\357\001\n\036UpdateConnectionProfileRequest\0224" - + "\n\013update_mask\030\001 \001(\0132\032.google.protobuf.Fi" - + "eldMaskB\003\340A\001\022N\n\022connection_profile\030\002 \001(\013" - + "2-.google.cloud.datastream.v1.Connection" - + "ProfileB\003\340A\002\022\027\n\nrequest_id\030\003 \001(\tB\003\340A\001\022\032\n" - + "\rvalidate_only\030\004 \001(\010B\003\340A\001\022\022\n\005force\030\005 \001(\010" - + "B\003\340A\001\"|\n\036DeleteConnectionProfileRequest\022" - + "A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+datastream.google" - + "apis.com/ConnectionProfile\022\027\n\nrequest_id" - + "\030\002 \001(\tB\003\340A\001\"\227\001\n\022ListStreamsRequest\0228\n\006pa" - + "rent\030\001 \001(\tB(\340A\002\372A\"\022 datastream.googleapi" - + "s.com/Stream\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_" - + "token\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\022\020\n\010order_by\030" - + "\005 \001(\t\"x\n\023ListStreamsResponse\0223\n\007streams\030" - + "\001 \003(\0132\".google.cloud.datastream.v1.Strea" - + "m\022\027\n\017next_page_token\030\002 \001(\t\022\023\n\013unreachabl" - + "e\030\003 \003(\t\"J\n\020GetStreamRequest\0226\n\004name\030\001 \001(" - + "\tB(\340A\002\372A\"\n datastream.googleapis.com/Str" - + "eam\"\351\001\n\023CreateStreamRequest\0228\n\006parent\030\001 " - + "\001(\tB(\340A\002\372A\"\022 datastream.googleapis.com/S" - + "tream\022\026\n\tstream_id\030\002 \001(\tB\003\340A\002\0227\n\006stream\030" - + "\003 \001(\0132\".google.cloud.datastream.v1.Strea" - + "mB\003\340A\002\022\027\n\nrequest_id\030\004 \001(\tB\003\340A\001\022\032\n\rvalid" - + "ate_only\030\005 \001(\010B\003\340A\001\022\022\n\005force\030\006 \001(\010B\003\340A\001\"" - + "\315\001\n\023UpdateStreamRequest\0224\n\013update_mask\030\001" - + " \001(\0132\032.google.protobuf.FieldMaskB\003\340A\001\0227\n" - + "\006stream\030\002 \001(\0132\".google.cloud.datastream." - + "v1.StreamB\003\340A\002\022\027\n\nrequest_id\030\003 \001(\tB\003\340A\001\022" - + "\032\n\rvalidate_only\030\004 \001(\010B\003\340A\001\022\022\n\005force\030\005 \001" - + "(\010B\003\340A\001\"f\n\023DeleteStreamRequest\0226\n\004name\030\001" - + " \001(\tB(\340A\002\372A\"\n datastream.googleapis.com/" - + "Stream\022\027\n\nrequest_id\030\002 \001(\tB\003\340A\001\"V\n\026GetSt" - + "reamObjectRequest\022<\n\004name\030\001 \001(\tB.\340A\002\372A(\n" - + "&datastream.googleapis.com/StreamObject\"" - + "\260\001\n\031LookupStreamObjectRequest\0228\n\006parent\030" - + "\001 \001(\tB(\340A\002\372A\"\n datastream.googleapis.com" - + "/Stream\022Y\n\030source_object_identifier\030\002 \001(" - + "\01322.google.cloud.datastream.v1.SourceObj" - + "ectIdentifierB\003\340A\002\"Y\n\027StartBackfillJobRe" - + "quest\022>\n\006object\030\001 \001(\tB.\340A\002\372A(\n&datastrea" - + "m.googleapis.com/StreamObject\"T\n\030StartBa" - + "ckfillJobResponse\0228\n\006object\030\001 \001(\0132(.goog" - + "le.cloud.datastream.v1.StreamObject\"X\n\026S" - + "topBackfillJobRequest\022>\n\006object\030\001 \001(\tB.\340" - + "A\002\372A(\n&datastream.googleapis.com/StreamO" - + "bject\"S\n\027StopBackfillJobResponse\0228\n\006obje" - + "ct\030\001 \001(\0132(.google.cloud.datastream.v1.St" - + "reamObject\"\201\001\n\030ListStreamObjectsRequest\022" - + ">\n\006parent\030\001 \001(\tB.\340A\002\372A(\022&datastream.goog" - + "leapis.com/StreamObject\022\021\n\tpage_size\030\002 \001" - + "(\005\022\022\n\npage_token\030\003 \001(\t\"v\n\031ListStreamObje" - + "ctsResponse\022@\n\016stream_objects\030\001 \003(\0132(.go" - + "ogle.cloud.datastream.v1.StreamObject\022\027\n" - + "\017next_page_token\030\002 \001(\t\"\316\002\n\021OperationMeta" - + "data\0224\n\013create_time\030\001 \001(\0132\032.google.proto" - + "buf.TimestampB\003\340A\003\0221\n\010end_time\030\002 \001(\0132\032.g" - + "oogle.protobuf.TimestampB\003\340A\003\022\023\n\006target\030" - + "\003 \001(\tB\003\340A\003\022\021\n\004verb\030\004 \001(\tB\003\340A\003\022\033\n\016status_" - + "message\030\005 \001(\tB\003\340A\003\022#\n\026requested_cancella" - + "tion\030\006 \001(\010B\003\340A\003\022\030\n\013api_version\030\007 \001(\tB\003\340A" - + "\003\022L\n\021validation_result\030\010 \001(\0132,.google.cl" - + "oud.datastream.v1.ValidationResultB\003\340A\003\"" - + "\362\001\n\036CreatePrivateConnectionRequest\022C\n\006pa" - + "rent\030\001 \001(\tB3\340A\002\372A-\022+datastream.googleapi" - + "s.com/PrivateConnection\022\"\n\025private_conne" - + "ction_id\030\002 \001(\tB\003\340A\002\022N\n\022private_connectio" - + "n\030\003 \001(\0132-.google.cloud.datastream.v1.Pri" - + "vateConnectionB\003\340A\002\022\027\n\nrequest_id\030\004 \001(\tB" - + "\003\340A\001\"\255\001\n\035ListPrivateConnectionsRequest\022C" - + "\n\006parent\030\001 \001(\tB3\340A\002\372A-\022+datastream.googl" - + "eapis.com/PrivateConnection\022\021\n\tpage_size" - + "\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n\006filter\030\004 \001" - + "(\t\022\020\n\010order_by\030\005 \001(\t\"\232\001\n\036ListPrivateConn" - + "ectionsResponse\022J\n\023private_connections\030\001" - + " \003(\0132-.google.cloud.datastream.v1.Privat" - + "eConnection\022\027\n\017next_page_token\030\002 \001(\t\022\023\n\013" - + "unreachable\030\003 \003(\t\"\220\001\n\036DeletePrivateConne" - + "ctionRequest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+data" - + "stream.googleapis.com/PrivateConnection\022" - + "\027\n\nrequest_id\030\002 \001(\tB\003\340A\001\022\022\n\005force\030\003 \001(\010B" - + "\003\340A\001\"`\n\033GetPrivateConnectionRequest\022A\n\004n" - + "ame\030\001 \001(\tB3\340A\002\372A-\n+datastream.googleapis" - + ".com/PrivateConnection\"\264\001\n\022CreateRouteRe" - + "quest\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\022\037datastrea" - + "m.googleapis.com/Route\022\025\n\010route_id\030\002 \001(\t" - + "B\003\340A\002\0225\n\005route\030\003 \001(\0132!.google.cloud.data" - + "stream.v1.RouteB\003\340A\002\022\027\n\nrequest_id\030\004 \001(\t" - + "B\003\340A\001\"\225\001\n\021ListRoutesRequest\0227\n\006parent\030\001 " - + "\001(\tB\'\340A\002\372A!\022\037datastream.googleapis.com/R" - + "oute\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 " - + "\001(\t\022\016\n\006filter\030\004 \001(\t\022\020\n\010order_by\030\005 \001(\t\"u\n" - + "\022ListRoutesResponse\0221\n\006routes\030\001 \003(\0132!.go" - + "ogle.cloud.datastream.v1.Route\022\027\n\017next_p" - + "age_token\030\002 \001(\t\022\023\n\013unreachable\030\003 \003(\t\"d\n\022" - + "DeleteRouteRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!" - + "\n\037datastream.googleapis.com/Route\022\027\n\nreq" - + "uest_id\030\002 \001(\tB\003\340A\001\"H\n\017GetRouteRequest\0225\n" - + "\004name\030\001 \001(\tB\'\340A\002\372A!\n\037datastream.googleap" - + "is.com/Route2\375*\n\nDatastream\022\330\001\n\026ListConn" - + "ectionProfiles\0229.google.cloud.datastream" - + ".v1.ListConnectionProfilesRequest\032:.goog" - + "le.cloud.datastream.v1.ListConnectionPro" - + "filesResponse\"G\202\323\344\223\0028\0226/v1/{parent=proje" - + "cts/*/locations/*}/connectionProfiles\332A\006" - + "parent\022\305\001\n\024GetConnectionProfile\0227.google" - + ".cloud.datastream.v1.GetConnectionProfil" - + "eRequest\032-.google.cloud.datastream.v1.Co" - + "nnectionProfile\"E\202\323\344\223\0028\0226/v1/{name=proje" - + "cts/*/locations/*/connectionProfiles/*}\332" - + "A\004name\022\244\002\n\027CreateConnectionProfile\022:.goo" - + "gle.cloud.datastream.v1.CreateConnection" - + "ProfileRequest\032\035.google.longrunning.Oper" - + "ation\"\255\001\202\323\344\223\002L\"6/v1/{parent=projects/*/l" - + "ocations/*}/connectionProfiles:\022connecti" - + "on_profile\332A/parent,connection_profile,c" - + "onnection_profile_id\312A&\n\021ConnectionProfi" - + "le\022\021OperationMetadata\022\246\002\n\027UpdateConnecti" - + "onProfile\022:.google.cloud.datastream.v1.U" - + "pdateConnectionProfileRequest\032\035.google.l" - + "ongrunning.Operation\"\257\001\202\323\344\223\002_2I/v1/{conn" - + "ection_profile.name=projects/*/locations" - + "/*/connectionProfiles/*}:\022connection_pro" - + "file\332A\036connection_profile,update_mask\312A&" - + "\n\021ConnectionProfile\022\021OperationMetadata\022\350" - + "\001\n\027DeleteConnectionProfile\022:.google.clou" - + "d.datastream.v1.DeleteConnectionProfileR" - + "equest\032\035.google.longrunning.Operation\"r\202" - + "\323\344\223\0028*6/v1/{name=projects/*/locations/*/" - + "connectionProfiles/*}\332A\004name\312A*\n\025google." - + "protobuf.Empty\022\021OperationMetadata\022\344\001\n\031Di" - + "scoverConnectionProfile\022<.google.cloud.d" - + "atastream.v1.DiscoverConnectionProfileRe" - + "quest\032=.google.cloud.datastream.v1.Disco" - + "verConnectionProfileResponse\"J\202\323\344\223\002D\"?/v" - + "1/{parent=projects/*/locations/*}/connec" - + "tionProfiles:discover:\001*\022\254\001\n\013ListStreams" - + "\022..google.cloud.datastream.v1.ListStream" - + "sRequest\032/.google.cloud.datastream.v1.Li" - + "stStreamsResponse\"<\202\323\344\223\002-\022+/v1/{parent=p" - + "rojects/*/locations/*}/streams\332A\006parent\022" - + "\231\001\n\tGetStream\022,.google.cloud.datastream." - + "v1.GetStreamRequest\032\".google.cloud.datas" - + "tream.v1.Stream\":\202\323\344\223\002-\022+/v1/{name=proje" - + "cts/*/locations/*/streams/*}\332A\004name\022\323\001\n\014" - + "CreateStream\022/.google.cloud.datastream.v" - + "1.CreateStreamRequest\032\035.google.longrunni" - + "ng.Operation\"s\202\323\344\223\0025\"+/v1/{parent=projec" - + "ts/*/locations/*}/streams:\006stream\332A\027pare" - + "nt,stream,stream_id\312A\033\n\006Stream\022\021Operatio" - + "nMetadata\022\325\001\n\014UpdateStream\022/.google.clou" - + "d.datastream.v1.UpdateStreamRequest\032\035.go" - + "ogle.longrunning.Operation\"u\202\323\344\223\002<22/v1/" - + "{stream.name=projects/*/locations/*/stre" - + "ams/*}:\006stream\332A\022stream,update_mask\312A\033\n\006" - + "Stream\022\021OperationMetadata\022\307\001\n\014DeleteStre" - + "am\022/.google.cloud.datastream.v1.DeleteSt" - + "reamRequest\032\035.google.longrunning.Operati" - + "on\"g\202\323\344\223\002-*+/v1/{name=projects/*/locatio" - + "ns/*/streams/*}\332A\004name\312A*\n\025google.protob" - + "uf.Empty\022\021OperationMetadata\022\265\001\n\017GetStrea" - + "mObject\0222.google.cloud.datastream.v1.Get" - + "StreamObjectRequest\032(.google.cloud.datas" - + "tream.v1.StreamObject\"D\202\323\344\223\0027\0225/v1/{name" - + "=projects/*/locations/*/streams/*/object" - + "s/*}\332A\004name\022\276\001\n\022LookupStreamObject\0225.goo" - + "gle.cloud.datastream.v1.LookupStreamObje" - + "ctRequest\032(.google.cloud.datastream.v1.S" - + "treamObject\"G\202\323\344\223\002A\"\n\nssl_config\030\005 \001(\0132*.google.cloud." - + "datastream.v1.MysqlSslConfig\"4\n\nGcsProfi" - + "le\022\023\n\006bucket\030\001 \001(\tB\003\340A\002\022\021\n\troot_path\030\002 \001" - + "(\t\"\035\n\033StaticServiceIpConnectivity\"\250\001\n\034Fo" - + "rwardSshTunnelConnectivity\022\025\n\010hostname\030\001" - + " \001(\tB\003\340A\002\022\025\n\010username\030\002 \001(\tB\003\340A\002\022\014\n\004port" - + "\030\003 \001(\005\022\027\n\010password\030d \001(\tB\003\340A\004H\000\022\032\n\013priva" - + "te_key\030e \001(\tB\003\340A\004H\000B\027\n\025authentication_me" - + "thod\"]\n\020VpcPeeringConfig\0224\n\003vpc\030\001 \001(\tB\'\340" - + "A\002\372A!\n\037compute.googleapis.com/Networks\022\023" - + "\n\006subnet\030\002 \001(\tB\003\340A\002\"\340\005\n\021PrivateConnectio" - + "n\022\021\n\004name\030\001 \001(\tB\003\340A\003\0224\n\013create_time\030\002 \001(" - + "\0132\032.google.protobuf.TimestampB\003\340A\003\0224\n\013up" - + "date_time\030\003 \001(\0132\032.google.protobuf.Timest" - + "ampB\003\340A\003\022I\n\006labels\030\004 \003(\01329.google.cloud." - + "datastream.v1.PrivateConnection.LabelsEn" - + "try\022\031\n\014display_name\030\005 \001(\tB\003\340A\002\022G\n\005state\030" - + "\006 \001(\01623.google.cloud.datastream.v1.Priva" - + "teConnection.StateB\003\340A\003\0225\n\005error\030\007 \001(\0132!" - + ".google.cloud.datastream.v1.ErrorB\003\340A\003\022H" - + "\n\022vpc_peering_config\030d \001(\0132,.google.clou" - + "d.datastream.v1.VpcPeeringConfig\032-\n\013Labe" - + "lsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"" - + "i\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\014\n\010CREAT" - + "ING\020\001\022\013\n\007CREATED\020\002\022\n\n\006FAILED\020\003\022\014\n\010DELETI" - + "NG\020\004\022\024\n\020FAILED_TO_DELETE\020\005:\201\001\352A~\n+datast" - + "ream.googleapis.com/PrivateConnection\022Op" - + "rojects/{project}/locations/{location}/p" - + "rivateConnections/{private_connection}\"f" - + "\n\023PrivateConnectivity\022O\n\022private_connect" - + "ion\030\001 \001(\tB3\340A\002\372A-\n+datastream.googleapis" - + ".com/PrivateConnection\"\323\003\n\005Route\022\021\n\004name" - + "\030\001 \001(\tB\003\340A\003\0224\n\013create_time\030\002 \001(\0132\032.googl" - + "e.protobuf.TimestampB\003\340A\003\0224\n\013update_time" - + "\030\003 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022" - + "=\n\006labels\030\004 \003(\0132-.google.cloud.datastrea" - + "m.v1.Route.LabelsEntry\022\031\n\014display_name\030\005" - + " \001(\tB\003\340A\002\022 \n\023destination_address\030\006 \001(\tB\003" - + "\340A\002\022\030\n\020destination_port\030\007 \001(\005\032-\n\013LabelsE" - + "ntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:\205\001\352" - + "A\201\001\n\037datastream.googleapis.com/Route\022^pr" - + "ojects/{project}/locations/{location}/pr" - + "ivateConnections/{private_connection}/ro" - + "utes/{route}\"\312\001\n\016MysqlSslConfig\022\027\n\nclien" - + "t_key\030\001 \001(\tB\003\340A\004\022\033\n\016client_key_set\030\002 \001(\010" - + "B\003\340A\003\022\037\n\022client_certificate\030\003 \001(\tB\003\340A\004\022#" - + "\n\026client_certificate_set\030\004 \001(\010B\003\340A\003\022\033\n\016c" - + "a_certificate\030\005 \001(\tB\003\340A\004\022\037\n\022ca_certifica" - + "te_set\030\006 \001(\010B\003\340A\003\"\242\007\n\021ConnectionProfile\022" - + "\021\n\004name\030\001 \001(\tB\003\340A\003\0224\n\013create_time\030\002 \001(\0132" - + "\032.google.protobuf.TimestampB\003\340A\003\0224\n\013upda" - + "te_time\030\003 \001(\0132\032.google.protobuf.Timestam" - + "pB\003\340A\003\022I\n\006labels\030\004 \003(\01329.google.cloud.da" - + "tastream.v1.ConnectionProfile.LabelsEntr" - + "y\022\031\n\014display_name\030\005 \001(\tB\003\340A\002\022C\n\016oracle_p" - + "rofile\030d \001(\0132).google.cloud.datastream.v" - + "1.OracleProfileH\000\022=\n\013gcs_profile\030e \001(\0132&" - + ".google.cloud.datastream.v1.GcsProfileH\000" - + "\022A\n\rmysql_profile\030f \001(\0132(.google.cloud.d" - + "atastream.v1.MysqlProfileH\000\022b\n\036static_se" - + "rvice_ip_connectivity\030\310\001 \001(\01327.google.cl" - + "oud.datastream.v1.StaticServiceIpConnect" - + "ivityH\001\022]\n\030forward_ssh_connectivity\030\311\001 \001" - + "(\01328.google.cloud.datastream.v1.ForwardS" - + "shTunnelConnectivityH\001\022P\n\024private_connec" - + "tivity\030\312\001 \001(\0132/.google.cloud.datastream." - + "v1.PrivateConnectivityH\001\032-\n\013LabelsEntry\022" - + "\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:\201\001\352A~\n+d" - + "atastream.googleapis.com/ConnectionProfi" - + "le\022Oprojects/{project}/locations/{locati" - + "on}/connectionProfiles/{connection_profi" - + "le}B\t\n\007profileB\016\n\014connectivity\"\266\001\n\014Oracl" - + "eColumn\022\016\n\006column\030\001 \001(\t\022\021\n\tdata_type\030\002 \001" - + "(\t\022\016\n\006length\030\003 \001(\005\022\021\n\tprecision\030\004 \001(\005\022\r\n" - + "\005scale\030\005 \001(\005\022\020\n\010encoding\030\006 \001(\t\022\023\n\013primar" - + "y_key\030\007 \001(\010\022\020\n\010nullable\030\010 \001(\010\022\030\n\020ordinal" - + "_position\030\t \001(\005\"^\n\013OracleTable\022\r\n\005table\030" - + "\001 \001(\t\022@\n\016oracle_columns\030\002 \003(\0132(.google.c" - + "loud.datastream.v1.OracleColumn\"^\n\014Oracl" - + "eSchema\022\016\n\006schema\030\001 \001(\t\022>\n\roracle_tables" - + "\030\002 \003(\0132\'.google.cloud.datastream.v1.Orac" - + "leTable\"O\n\013OracleRdbms\022@\n\016oracle_schemas" - + "\030\001 \003(\0132(.google.cloud.datastream.v1.Orac" - + "leSchema\"\230\001\n\022OracleSourceConfig\022@\n\017inclu" - + "de_objects\030\001 \001(\0132\'.google.cloud.datastre" - + "am.v1.OracleRdbms\022@\n\017exclude_objects\030\002 \001" - + "(\0132\'.google.cloud.datastream.v1.OracleRd" - + "bms\"\224\001\n\013MysqlColumn\022\016\n\006column\030\001 \001(\t\022\021\n\td" - + "ata_type\030\002 \001(\t\022\016\n\006length\030\003 \001(\005\022\021\n\tcollat" - + "ion\030\004 \001(\t\022\023\n\013primary_key\030\005 \001(\010\022\020\n\010nullab" - + "le\030\006 \001(\010\022\030\n\020ordinal_position\030\007 \001(\005\"[\n\nMy" - + "sqlTable\022\r\n\005table\030\001 \001(\t\022>\n\rmysql_columns" - + "\030\002 \003(\0132\'.google.cloud.datastream.v1.Mysq" - + "lColumn\"_\n\rMysqlDatabase\022\020\n\010database\030\001 \001" - + "(\t\022<\n\014mysql_tables\030\002 \003(\0132&.google.cloud." - + "datastream.v1.MysqlTable\"P\n\nMysqlRdbms\022B" - + "\n\017mysql_databases\030\001 \003(\0132).google.cloud.d" - + "atastream.v1.MysqlDatabase\"\225\001\n\021MysqlSour" - + "ceConfig\022?\n\017include_objects\030\001 \001(\0132&.goog" - + "le.cloud.datastream.v1.MysqlRdbms\022?\n\017exc" - + "lude_objects\030\002 \001(\0132&.google.cloud.datast" - + "ream.v1.MysqlRdbms\"\234\002\n\014SourceConfig\022V\n\031s" - + "ource_connection_profile\030\001 \001(\tB3\340A\002\372A-\n+" - + "datastream.googleapis.com/ConnectionProf" - + "ile\022N\n\024oracle_source_config\030d \001(\0132..goog" - + "le.cloud.datastream.v1.OracleSourceConfi" - + "gH\000\022L\n\023mysql_source_config\030e \001(\0132-.googl" - + "e.cloud.datastream.v1.MysqlSourceConfigH" - + "\000B\026\n\024source_stream_config\"\020\n\016AvroFileFor" - + "mat\"\357\002\n\016JsonFileFormat\022W\n\022schema_file_fo" - + "rmat\030\001 \001(\0162;.google.cloud.datastream.v1." - + "JsonFileFormat.SchemaFileFormat\022O\n\013compr" - + "ession\030\002 \001(\0162:.google.cloud.datastream.v" - + "1.JsonFileFormat.JsonCompression\"`\n\020Sche" - + "maFileFormat\022\"\n\036SCHEMA_FILE_FORMAT_UNSPE" - + "CIFIED\020\000\022\022\n\016NO_SCHEMA_FILE\020\001\022\024\n\020AVRO_SCH" - + "EMA_FILE\020\002\"Q\n\017JsonCompression\022 \n\034JSON_CO" - + "MPRESSION_UNSPECIFIED\020\000\022\022\n\016NO_COMPRESSIO" - + "N\020\001\022\010\n\004GZIP\020\002\"\230\002\n\024GcsDestinationConfig\022\014" - + "\n\004path\030\001 \001(\t\022\030\n\020file_rotation_mb\030\002 \001(\005\0229" - + "\n\026file_rotation_interval\030\003 \001(\0132\031.google." - + "protobuf.Duration\022F\n\020avro_file_format\030d " - + "\001(\0132*.google.cloud.datastream.v1.AvroFil" - + "eFormatH\000\022F\n\020json_file_format\030e \001(\0132*.go" - + "ogle.cloud.datastream.v1.JsonFileFormatH" - + "\000B\r\n\013file_format\"\341\001\n\021DestinationConfig\022[" - + "\n\036destination_connection_profile\030\001 \001(\tB3" - + "\340A\002\372A-\n+datastream.googleapis.com/Connec" - + "tionProfile\022R\n\026gcs_destination_config\030d " - + "\001(\01320.google.cloud.datastream.v1.GcsDest" - + "inationConfigH\000B\033\n\031destination_stream_co" - + "nfig\"\375\t\n\006Stream\022\021\n\004name\030\001 \001(\tB\003\340A\003\0224\n\013cr" - + "eate_time\030\002 \001(\0132\032.google.protobuf.Timest" - + "ampB\003\340A\003\0224\n\013update_time\030\003 \001(\0132\032.google.p" - + "rotobuf.TimestampB\003\340A\003\022>\n\006labels\030\004 \003(\0132." - + ".google.cloud.datastream.v1.Stream.Label" - + "sEntry\022\031\n\014display_name\030\005 \001(\tB\003\340A\002\022D\n\rsou" - + "rce_config\030\006 \001(\0132(.google.cloud.datastre" - + "am.v1.SourceConfigB\003\340A\002\022N\n\022destination_c" - + "onfig\030\007 \001(\0132-.google.cloud.datastream.v1" - + ".DestinationConfigB\003\340A\002\0227\n\005state\030\010 \001(\0162(" - + ".google.cloud.datastream.v1.Stream.State" - + "\022N\n\014backfill_all\030e \001(\01326.google.cloud.da" - + "tastream.v1.Stream.BackfillAllStrategyH\000" - + "\022P\n\rbackfill_none\030f \001(\01327.google.cloud.d" - + "atastream.v1.Stream.BackfillNoneStrategy" - + "H\000\0226\n\006errors\030\t \003(\0132!.google.cloud.datast" - + "ream.v1.ErrorB\003\340A\003\0221\n\037customer_managed_e" - + "ncryption_key\030\n \001(\tB\003\340A\005H\001\210\001\001\032\277\001\n\023Backfi" - + "llAllStrategy\022J\n\027oracle_excluded_objects" - + "\030\001 \001(\0132\'.google.cloud.datastream.v1.Orac" - + "leRdbmsH\000\022H\n\026mysql_excluded_objects\030\002 \001(" - + "\0132&.google.cloud.datastream.v1.MysqlRdbm" - + "sH\000B\022\n\020excluded_objects\032\026\n\024BackfillNoneS" - + "trategy\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005v" - + "alue\030\002 \001(\t:\0028\001\"\231\001\n\005State\022\025\n\021STATE_UNSPEC" - + "IFIED\020\000\022\017\n\013NOT_STARTED\020\001\022\013\n\007RUNNING\020\002\022\n\n" - + "\006PAUSED\020\003\022\017\n\013MAINTENANCE\020\004\022\n\n\006FAILED\020\005\022\026" - + "\n\022FAILED_PERMANENTLY\020\006\022\014\n\010STARTING\020\007\022\014\n\010" - + "DRAINING\020\010:_\352A\\\n datastream.googleapis.c" - + "om/Stream\0228projects/{project}/locations/" - + "{location}/streams/{stream}B\023\n\021backfill_" - + "strategyB\"\n _customer_managed_encryption" - + "_key\"\342\003\n\014StreamObject\022\021\n\004name\030\001 \001(\tB\003\340A\003" - + "\0224\n\013create_time\030\002 \001(\0132\032.google.protobuf." - + "TimestampB\003\340A\003\0224\n\013update_time\030\003 \001(\0132\032.go" - + "ogle.protobuf.TimestampB\003\340A\003\022\031\n\014display_" - + "name\030\005 \001(\tB\003\340A\002\0226\n\006errors\030\006 \003(\0132!.google" - + ".cloud.datastream.v1.ErrorB\003\340A\003\022=\n\014backf" - + "ill_job\030\007 \001(\0132\'.google.cloud.datastream." - + "v1.BackfillJob\022I\n\rsource_object\030\010 \001(\01322." - + "google.cloud.datastream.v1.SourceObjectI" - + "dentifier:v\352As\n&datastream.googleapis.co" - + "m/StreamObject\022Iprojects/{project}/locat" - + "ions/{location}/streams/{stream}/objects" - + "/{object}\"\202\003\n\026SourceObjectIdentifier\022f\n\021" - + "oracle_identifier\030\001 \001(\0132I.google.cloud.d" - + "atastream.v1.SourceObjectIdentifier.Orac" - + "leObjectIdentifierH\000\022d\n\020mysql_identifier" - + "\030\002 \001(\0132H.google.cloud.datastream.v1.Sour" - + "ceObjectIdentifier.MysqlObjectIdentifier" - + "H\000\032A\n\026OracleObjectIdentifier\022\023\n\006schema\030\001" - + " \001(\tB\003\340A\002\022\022\n\005table\030\002 \001(\tB\003\340A\002\032B\n\025MysqlOb" - + "jectIdentifier\022\025\n\010database\030\001 \001(\tB\003\340A\002\022\022\n" - + "\005table\030\002 \001(\tB\003\340A\002B\023\n\021source_identifier\"\372" - + "\003\n\013BackfillJob\022<\n\005state\030\001 \001(\0162-.google.c" - + "loud.datastream.v1.BackfillJob.State\022@\n\007" - + "trigger\030\002 \001(\0162/.google.cloud.datastream." - + "v1.BackfillJob.Trigger\0228\n\017last_start_tim" - + "e\030\003 \001(\0132\032.google.protobuf.TimestampB\003\340A\003" - + "\0226\n\rlast_end_time\030\004 \001(\0132\032.google.protobu" - + "f.TimestampB\003\340A\003\0226\n\006errors\030\005 \003(\0132!.googl" - + "e.cloud.datastream.v1.ErrorB\003\340A\003\"\201\001\n\005Sta" - + "te\022\025\n\021STATE_UNSPECIFIED\020\000\022\017\n\013NOT_STARTED" - + "\020\001\022\013\n\007PENDING\020\002\022\n\n\006ACTIVE\020\003\022\013\n\007STOPPED\020\004" - + "\022\n\n\006FAILED\020\005\022\r\n\tCOMPLETED\020\006\022\017\n\013UNSUPPORT" - + "ED\020\007\"=\n\007Trigger\022\027\n\023TRIGGER_UNSPECIFIED\020\000" - + "\022\r\n\tAUTOMATIC\020\001\022\n\n\006MANUAL\020\002\"\335\001\n\005Error\022\016\n" - + "\006reason\030\001 \001(\t\022\022\n\nerror_uuid\030\002 \001(\t\022\017\n\007mes" - + "sage\030\003 \001(\t\022.\n\nerror_time\030\004 \001(\0132\032.google." - + "protobuf.Timestamp\022?\n\007details\030\005 \003(\0132..go" - + "ogle.cloud.datastream.v1.Error.DetailsEn" - + "try\032.\n\014DetailsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005valu" - + "e\030\002 \001(\t:\0028\001\"O\n\020ValidationResult\022;\n\013valid" - + "ations\030\001 \003(\0132&.google.cloud.datastream.v" - + "1.Validation\"\366\001\n\nValidation\022\023\n\013descripti" - + "on\030\001 \001(\t\022;\n\005state\030\002 \001(\0162,.google.cloud.d" - + "atastream.v1.Validation.State\022>\n\007message" - + "\030\003 \003(\0132-.google.cloud.datastream.v1.Vali" - + "dationMessage\022\014\n\004code\030\004 \001(\t\"H\n\005State\022\025\n\021" - + "STATE_UNSPECIFIED\020\000\022\020\n\014NOT_EXECUTED\020\001\022\n\n" - + "\006FAILED\020\002\022\n\n\006PASSED\020\003\"\256\002\n\021ValidationMess" - + "age\022\017\n\007message\030\001 \001(\t\022B\n\005level\030\002 \001(\01623.go" - + "ogle.cloud.datastream.v1.ValidationMessa" - + "ge.Level\022M\n\010metadata\030\003 \003(\0132;.google.clou" - + "d.datastream.v1.ValidationMessage.Metada" - + "taEntry\022\014\n\004code\030\004 \001(\t\032/\n\rMetadataEntry\022\013" - + "\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"6\n\005Level\022" - + "\025\n\021LEVEL_UNSPECIFIED\020\000\022\013\n\007WARNING\020\001\022\t\n\005E" - + "RROR\020\002B\256\002\n\036com.google.cloud.datastream.v" - + "1B\030DatastreamResourcesProtoP\001ZDgoogle.go" - + "lang.org/genproto/googleapis/cloud/datas" - + "tream/v1;datastream\252\002\032Google.Cloud.Datas" - + "tream.V1\312\002\032Google\\Cloud\\Datastream\\V1\352\002\035" - + "Google::Cloud::Datastream::V1\352AO\n\037comput" - + "e.googleapis.com/Networks\022,projects/{pro" - + "ject}/global/networks/{network}b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_datastream_v1_OracleProfile_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_datastream_v1_OracleProfile_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datastream_v1_OracleProfile_descriptor, - new java.lang.String[] { - "Hostname", "Port", "Username", "Password", "DatabaseService", "ConnectionAttributes", - }); - internal_static_google_cloud_datastream_v1_OracleProfile_ConnectionAttributesEntry_descriptor = - internal_static_google_cloud_datastream_v1_OracleProfile_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_datastream_v1_OracleProfile_ConnectionAttributesEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datastream_v1_OracleProfile_ConnectionAttributesEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_datastream_v1_MysqlProfile_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_datastream_v1_MysqlProfile_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datastream_v1_MysqlProfile_descriptor, - new java.lang.String[] { - "Hostname", "Port", "Username", "Password", "SslConfig", - }); - internal_static_google_cloud_datastream_v1_GcsProfile_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_datastream_v1_GcsProfile_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datastream_v1_GcsProfile_descriptor, - new java.lang.String[] { - "Bucket", "RootPath", - }); - internal_static_google_cloud_datastream_v1_StaticServiceIpConnectivity_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_datastream_v1_StaticServiceIpConnectivity_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datastream_v1_StaticServiceIpConnectivity_descriptor, - new java.lang.String[] {}); - internal_static_google_cloud_datastream_v1_ForwardSshTunnelConnectivity_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_datastream_v1_ForwardSshTunnelConnectivity_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datastream_v1_ForwardSshTunnelConnectivity_descriptor, - new java.lang.String[] { - "Hostname", "Username", "Port", "Password", "PrivateKey", "AuthenticationMethod", - }); - internal_static_google_cloud_datastream_v1_VpcPeeringConfig_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_datastream_v1_VpcPeeringConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datastream_v1_VpcPeeringConfig_descriptor, - new java.lang.String[] { - "Vpc", "Subnet", - }); - internal_static_google_cloud_datastream_v1_PrivateConnection_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_datastream_v1_PrivateConnection_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datastream_v1_PrivateConnection_descriptor, - new java.lang.String[] { - "Name", - "CreateTime", - "UpdateTime", - "Labels", - "DisplayName", - "State", - "Error", - "VpcPeeringConfig", - }); - internal_static_google_cloud_datastream_v1_PrivateConnection_LabelsEntry_descriptor = - internal_static_google_cloud_datastream_v1_PrivateConnection_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_datastream_v1_PrivateConnection_LabelsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datastream_v1_PrivateConnection_LabelsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_datastream_v1_PrivateConnectivity_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_datastream_v1_PrivateConnectivity_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datastream_v1_PrivateConnectivity_descriptor, - new java.lang.String[] { - "PrivateConnection", - }); - internal_static_google_cloud_datastream_v1_Route_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_datastream_v1_Route_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datastream_v1_Route_descriptor, - new java.lang.String[] { - "Name", - "CreateTime", - "UpdateTime", - "Labels", - "DisplayName", - "DestinationAddress", - "DestinationPort", - }); - internal_static_google_cloud_datastream_v1_Route_LabelsEntry_descriptor = - internal_static_google_cloud_datastream_v1_Route_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_datastream_v1_Route_LabelsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datastream_v1_Route_LabelsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_datastream_v1_MysqlSslConfig_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_datastream_v1_MysqlSslConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datastream_v1_MysqlSslConfig_descriptor, - new java.lang.String[] { - "ClientKey", - "ClientKeySet", - "ClientCertificate", - "ClientCertificateSet", - "CaCertificate", - "CaCertificateSet", - }); - internal_static_google_cloud_datastream_v1_ConnectionProfile_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_datastream_v1_ConnectionProfile_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datastream_v1_ConnectionProfile_descriptor, - new java.lang.String[] { - "Name", - "CreateTime", - "UpdateTime", - "Labels", - "DisplayName", - "OracleProfile", - "GcsProfile", - "MysqlProfile", - "StaticServiceIpConnectivity", - "ForwardSshConnectivity", - "PrivateConnectivity", - "Profile", - "Connectivity", - }); - internal_static_google_cloud_datastream_v1_ConnectionProfile_LabelsEntry_descriptor = - internal_static_google_cloud_datastream_v1_ConnectionProfile_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_datastream_v1_ConnectionProfile_LabelsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datastream_v1_ConnectionProfile_LabelsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_datastream_v1_OracleColumn_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_datastream_v1_OracleColumn_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datastream_v1_OracleColumn_descriptor, - new java.lang.String[] { - "Column", - "DataType", - "Length", - "Precision", - "Scale", - "Encoding", - "PrimaryKey", - "Nullable", - "OrdinalPosition", - }); - internal_static_google_cloud_datastream_v1_OracleTable_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_datastream_v1_OracleTable_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datastream_v1_OracleTable_descriptor, - new java.lang.String[] { - "Table", "OracleColumns", - }); - internal_static_google_cloud_datastream_v1_OracleSchema_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_datastream_v1_OracleSchema_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datastream_v1_OracleSchema_descriptor, - new java.lang.String[] { - "Schema", "OracleTables", - }); - internal_static_google_cloud_datastream_v1_OracleRdbms_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_cloud_datastream_v1_OracleRdbms_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datastream_v1_OracleRdbms_descriptor, - new java.lang.String[] { - "OracleSchemas", - }); - internal_static_google_cloud_datastream_v1_OracleSourceConfig_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_cloud_datastream_v1_OracleSourceConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datastream_v1_OracleSourceConfig_descriptor, - new java.lang.String[] { - "IncludeObjects", "ExcludeObjects", - }); - internal_static_google_cloud_datastream_v1_MysqlColumn_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_cloud_datastream_v1_MysqlColumn_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datastream_v1_MysqlColumn_descriptor, - new java.lang.String[] { - "Column", - "DataType", - "Length", - "Collation", - "PrimaryKey", - "Nullable", - "OrdinalPosition", - }); - internal_static_google_cloud_datastream_v1_MysqlTable_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_cloud_datastream_v1_MysqlTable_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datastream_v1_MysqlTable_descriptor, - new java.lang.String[] { - "Table", "MysqlColumns", - }); - internal_static_google_cloud_datastream_v1_MysqlDatabase_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_cloud_datastream_v1_MysqlDatabase_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datastream_v1_MysqlDatabase_descriptor, - new java.lang.String[] { - "Database", "MysqlTables", - }); - internal_static_google_cloud_datastream_v1_MysqlRdbms_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_google_cloud_datastream_v1_MysqlRdbms_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datastream_v1_MysqlRdbms_descriptor, - new java.lang.String[] { - "MysqlDatabases", - }); - internal_static_google_cloud_datastream_v1_MysqlSourceConfig_descriptor = - getDescriptor().getMessageTypes().get(20); - internal_static_google_cloud_datastream_v1_MysqlSourceConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datastream_v1_MysqlSourceConfig_descriptor, - new java.lang.String[] { - "IncludeObjects", "ExcludeObjects", - }); - internal_static_google_cloud_datastream_v1_SourceConfig_descriptor = - getDescriptor().getMessageTypes().get(21); - internal_static_google_cloud_datastream_v1_SourceConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datastream_v1_SourceConfig_descriptor, - new java.lang.String[] { - "SourceConnectionProfile", - "OracleSourceConfig", - "MysqlSourceConfig", - "SourceStreamConfig", - }); - internal_static_google_cloud_datastream_v1_AvroFileFormat_descriptor = - getDescriptor().getMessageTypes().get(22); - internal_static_google_cloud_datastream_v1_AvroFileFormat_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datastream_v1_AvroFileFormat_descriptor, - new java.lang.String[] {}); - internal_static_google_cloud_datastream_v1_JsonFileFormat_descriptor = - getDescriptor().getMessageTypes().get(23); - internal_static_google_cloud_datastream_v1_JsonFileFormat_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datastream_v1_JsonFileFormat_descriptor, - new java.lang.String[] { - "SchemaFileFormat", "Compression", - }); - internal_static_google_cloud_datastream_v1_GcsDestinationConfig_descriptor = - getDescriptor().getMessageTypes().get(24); - internal_static_google_cloud_datastream_v1_GcsDestinationConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datastream_v1_GcsDestinationConfig_descriptor, - new java.lang.String[] { - "Path", - "FileRotationMb", - "FileRotationInterval", - "AvroFileFormat", - "JsonFileFormat", - "FileFormat", - }); - internal_static_google_cloud_datastream_v1_DestinationConfig_descriptor = - getDescriptor().getMessageTypes().get(25); - internal_static_google_cloud_datastream_v1_DestinationConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datastream_v1_DestinationConfig_descriptor, - new java.lang.String[] { - "DestinationConnectionProfile", "GcsDestinationConfig", "DestinationStreamConfig", - }); - internal_static_google_cloud_datastream_v1_Stream_descriptor = - getDescriptor().getMessageTypes().get(26); - internal_static_google_cloud_datastream_v1_Stream_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datastream_v1_Stream_descriptor, - new java.lang.String[] { - "Name", - "CreateTime", - "UpdateTime", - "Labels", - "DisplayName", - "SourceConfig", - "DestinationConfig", - "State", - "BackfillAll", - "BackfillNone", - "Errors", - "CustomerManagedEncryptionKey", - "BackfillStrategy", - "CustomerManagedEncryptionKey", - }); - internal_static_google_cloud_datastream_v1_Stream_BackfillAllStrategy_descriptor = - internal_static_google_cloud_datastream_v1_Stream_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_datastream_v1_Stream_BackfillAllStrategy_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datastream_v1_Stream_BackfillAllStrategy_descriptor, - new java.lang.String[] { - "OracleExcludedObjects", "MysqlExcludedObjects", "ExcludedObjects", - }); - internal_static_google_cloud_datastream_v1_Stream_BackfillNoneStrategy_descriptor = - internal_static_google_cloud_datastream_v1_Stream_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_datastream_v1_Stream_BackfillNoneStrategy_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datastream_v1_Stream_BackfillNoneStrategy_descriptor, - new java.lang.String[] {}); - internal_static_google_cloud_datastream_v1_Stream_LabelsEntry_descriptor = - internal_static_google_cloud_datastream_v1_Stream_descriptor.getNestedTypes().get(2); - internal_static_google_cloud_datastream_v1_Stream_LabelsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datastream_v1_Stream_LabelsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_datastream_v1_StreamObject_descriptor = - getDescriptor().getMessageTypes().get(27); - internal_static_google_cloud_datastream_v1_StreamObject_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datastream_v1_StreamObject_descriptor, - new java.lang.String[] { - "Name", - "CreateTime", - "UpdateTime", - "DisplayName", - "Errors", - "BackfillJob", - "SourceObject", - }); - internal_static_google_cloud_datastream_v1_SourceObjectIdentifier_descriptor = - getDescriptor().getMessageTypes().get(28); - internal_static_google_cloud_datastream_v1_SourceObjectIdentifier_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datastream_v1_SourceObjectIdentifier_descriptor, - new java.lang.String[] { - "OracleIdentifier", "MysqlIdentifier", "SourceIdentifier", - }); - internal_static_google_cloud_datastream_v1_SourceObjectIdentifier_OracleObjectIdentifier_descriptor = - internal_static_google_cloud_datastream_v1_SourceObjectIdentifier_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_datastream_v1_SourceObjectIdentifier_OracleObjectIdentifier_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datastream_v1_SourceObjectIdentifier_OracleObjectIdentifier_descriptor, - new java.lang.String[] { - "Schema", "Table", - }); - internal_static_google_cloud_datastream_v1_SourceObjectIdentifier_MysqlObjectIdentifier_descriptor = - internal_static_google_cloud_datastream_v1_SourceObjectIdentifier_descriptor - .getNestedTypes() - .get(1); - internal_static_google_cloud_datastream_v1_SourceObjectIdentifier_MysqlObjectIdentifier_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datastream_v1_SourceObjectIdentifier_MysqlObjectIdentifier_descriptor, - new java.lang.String[] { - "Database", "Table", - }); - internal_static_google_cloud_datastream_v1_BackfillJob_descriptor = - getDescriptor().getMessageTypes().get(29); - internal_static_google_cloud_datastream_v1_BackfillJob_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datastream_v1_BackfillJob_descriptor, - new java.lang.String[] { - "State", "Trigger", "LastStartTime", "LastEndTime", "Errors", - }); - internal_static_google_cloud_datastream_v1_Error_descriptor = - getDescriptor().getMessageTypes().get(30); - internal_static_google_cloud_datastream_v1_Error_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datastream_v1_Error_descriptor, - new java.lang.String[] { - "Reason", "ErrorUuid", "Message", "ErrorTime", "Details", - }); - internal_static_google_cloud_datastream_v1_Error_DetailsEntry_descriptor = - internal_static_google_cloud_datastream_v1_Error_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_datastream_v1_Error_DetailsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datastream_v1_Error_DetailsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_datastream_v1_ValidationResult_descriptor = - getDescriptor().getMessageTypes().get(31); - internal_static_google_cloud_datastream_v1_ValidationResult_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datastream_v1_ValidationResult_descriptor, - new java.lang.String[] { - "Validations", - }); - internal_static_google_cloud_datastream_v1_Validation_descriptor = - getDescriptor().getMessageTypes().get(32); - internal_static_google_cloud_datastream_v1_Validation_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datastream_v1_Validation_descriptor, - new java.lang.String[] { - "Description", "State", "Message", "Code", - }); - internal_static_google_cloud_datastream_v1_ValidationMessage_descriptor = - getDescriptor().getMessageTypes().get(33); - internal_static_google_cloud_datastream_v1_ValidationMessage_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datastream_v1_ValidationMessage_descriptor, - new java.lang.String[] { - "Message", "Level", "Metadata", "Code", - }); - internal_static_google_cloud_datastream_v1_ValidationMessage_MetadataEntry_descriptor = - internal_static_google_cloud_datastream_v1_ValidationMessage_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_datastream_v1_ValidationMessage_MetadataEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datastream_v1_ValidationMessage_MetadataEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceDefinition); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/GetConnectionProfileRequestOrBuilder.java b/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/GetConnectionProfileRequestOrBuilder.java deleted file mode 100644 index 56b92a1f..00000000 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/GetConnectionProfileRequestOrBuilder.java +++ /dev/null @@ -1,54 +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/datastream/v1/datastream.proto - -package com.google.cloud.datastream.v1; - -public interface GetConnectionProfileRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1.GetConnectionProfileRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the connection profile resource to get.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the connection profile resource to get.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/GetPrivateConnectionRequestOrBuilder.java b/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/GetPrivateConnectionRequestOrBuilder.java deleted file mode 100644 index 713b409f..00000000 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/GetPrivateConnectionRequestOrBuilder.java +++ /dev/null @@ -1,54 +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/datastream/v1/datastream.proto - -package com.google.cloud.datastream.v1; - -public interface GetPrivateConnectionRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1.GetPrivateConnectionRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the  private connectivity configuration to get.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the  private connectivity configuration to get.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/GetRouteRequestOrBuilder.java b/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/GetRouteRequestOrBuilder.java deleted file mode 100644 index f63f5593..00000000 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/GetRouteRequestOrBuilder.java +++ /dev/null @@ -1,54 +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/datastream/v1/datastream.proto - -package com.google.cloud.datastream.v1; - -public interface GetRouteRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1.GetRouteRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the Route resource to get.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the Route resource to get.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/GetStreamObjectRequestOrBuilder.java b/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/GetStreamObjectRequestOrBuilder.java deleted file mode 100644 index 63588e71..00000000 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/GetStreamObjectRequestOrBuilder.java +++ /dev/null @@ -1,54 +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/datastream/v1/datastream.proto - -package com.google.cloud.datastream.v1; - -public interface GetStreamObjectRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1.GetStreamObjectRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the stream object resource to get.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the stream object resource to get.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/GetStreamRequestOrBuilder.java b/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/GetStreamRequestOrBuilder.java deleted file mode 100644 index 0c06df45..00000000 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/GetStreamRequestOrBuilder.java +++ /dev/null @@ -1,54 +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/datastream/v1/datastream.proto - -package com.google.cloud.datastream.v1; - -public interface GetStreamRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1.GetStreamRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the stream resource to get.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the stream resource to get.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/LookupStreamObjectRequestOrBuilder.java b/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/LookupStreamObjectRequestOrBuilder.java deleted file mode 100644 index 1727d277..00000000 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/LookupStreamObjectRequestOrBuilder.java +++ /dev/null @@ -1,96 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datastream/v1/datastream.proto - -package com.google.cloud.datastream.v1; - -public interface LookupStreamObjectRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1.LookupStreamObjectRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The parent stream that owns the collection of objects.
-   * 
- * - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The parent. - */ - java.lang.String getParent(); - /** - * - * - *
-   * Required. The parent stream that owns the collection of objects.
-   * 
- * - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for parent. - */ - com.google.protobuf.ByteString getParentBytes(); - - /** - * - * - *
-   * Required. The source object identifier which maps to the stream object.
-   * 
- * - * - * .google.cloud.datastream.v1.SourceObjectIdentifier source_object_identifier = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return Whether the sourceObjectIdentifier field is set. - */ - boolean hasSourceObjectIdentifier(); - /** - * - * - *
-   * Required. The source object identifier which maps to the stream object.
-   * 
- * - * - * .google.cloud.datastream.v1.SourceObjectIdentifier source_object_identifier = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The sourceObjectIdentifier. - */ - com.google.cloud.datastream.v1.SourceObjectIdentifier getSourceObjectIdentifier(); - /** - * - * - *
-   * Required. The source object identifier which maps to the stream object.
-   * 
- * - * - * .google.cloud.datastream.v1.SourceObjectIdentifier source_object_identifier = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.cloud.datastream.v1.SourceObjectIdentifierOrBuilder - getSourceObjectIdentifierOrBuilder(); -} diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/OracleSourceConfig.java b/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/OracleSourceConfig.java deleted file mode 100644 index 1ee5cf80..00000000 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/OracleSourceConfig.java +++ /dev/null @@ -1,1014 +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/datastream/v1/datastream_resources.proto - -package com.google.cloud.datastream.v1; - -/** - * - * - *
- * Oracle data source configuration
- * 
- * - * Protobuf type {@code google.cloud.datastream.v1.OracleSourceConfig} - */ -public final class OracleSourceConfig extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1.OracleSourceConfig) - OracleSourceConfigOrBuilder { - private static final long serialVersionUID = 0L; - // Use OracleSourceConfig.newBuilder() to construct. - private OracleSourceConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private OracleSourceConfig() {} - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new OracleSourceConfig(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private OracleSourceConfig( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - com.google.cloud.datastream.v1.OracleRdbms.Builder subBuilder = null; - if (includeObjects_ != null) { - subBuilder = includeObjects_.toBuilder(); - } - includeObjects_ = - input.readMessage( - com.google.cloud.datastream.v1.OracleRdbms.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(includeObjects_); - includeObjects_ = subBuilder.buildPartial(); - } - - break; - } - case 18: - { - com.google.cloud.datastream.v1.OracleRdbms.Builder subBuilder = null; - if (excludeObjects_ != null) { - subBuilder = excludeObjects_.toBuilder(); - } - excludeObjects_ = - input.readMessage( - com.google.cloud.datastream.v1.OracleRdbms.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(excludeObjects_); - excludeObjects_ = subBuilder.buildPartial(); - } - - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_OracleSourceConfig_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_OracleSourceConfig_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.OracleSourceConfig.class, - com.google.cloud.datastream.v1.OracleSourceConfig.Builder.class); - } - - public static final int INCLUDE_OBJECTS_FIELD_NUMBER = 1; - private com.google.cloud.datastream.v1.OracleRdbms includeObjects_; - /** - * - * - *
-   * Oracle objects to include in the stream.
-   * 
- * - * .google.cloud.datastream.v1.OracleRdbms include_objects = 1; - * - * @return Whether the includeObjects field is set. - */ - @java.lang.Override - public boolean hasIncludeObjects() { - return includeObjects_ != null; - } - /** - * - * - *
-   * Oracle objects to include in the stream.
-   * 
- * - * .google.cloud.datastream.v1.OracleRdbms include_objects = 1; - * - * @return The includeObjects. - */ - @java.lang.Override - public com.google.cloud.datastream.v1.OracleRdbms getIncludeObjects() { - return includeObjects_ == null - ? com.google.cloud.datastream.v1.OracleRdbms.getDefaultInstance() - : includeObjects_; - } - /** - * - * - *
-   * Oracle objects to include in the stream.
-   * 
- * - * .google.cloud.datastream.v1.OracleRdbms include_objects = 1; - */ - @java.lang.Override - public com.google.cloud.datastream.v1.OracleRdbmsOrBuilder getIncludeObjectsOrBuilder() { - return getIncludeObjects(); - } - - public static final int EXCLUDE_OBJECTS_FIELD_NUMBER = 2; - private com.google.cloud.datastream.v1.OracleRdbms excludeObjects_; - /** - * - * - *
-   * Oracle objects to exclude from the stream.
-   * 
- * - * .google.cloud.datastream.v1.OracleRdbms exclude_objects = 2; - * - * @return Whether the excludeObjects field is set. - */ - @java.lang.Override - public boolean hasExcludeObjects() { - return excludeObjects_ != null; - } - /** - * - * - *
-   * Oracle objects to exclude from the stream.
-   * 
- * - * .google.cloud.datastream.v1.OracleRdbms exclude_objects = 2; - * - * @return The excludeObjects. - */ - @java.lang.Override - public com.google.cloud.datastream.v1.OracleRdbms getExcludeObjects() { - return excludeObjects_ == null - ? com.google.cloud.datastream.v1.OracleRdbms.getDefaultInstance() - : excludeObjects_; - } - /** - * - * - *
-   * Oracle objects to exclude from the stream.
-   * 
- * - * .google.cloud.datastream.v1.OracleRdbms exclude_objects = 2; - */ - @java.lang.Override - public com.google.cloud.datastream.v1.OracleRdbmsOrBuilder getExcludeObjectsOrBuilder() { - return getExcludeObjects(); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (includeObjects_ != null) { - output.writeMessage(1, getIncludeObjects()); - } - if (excludeObjects_ != null) { - output.writeMessage(2, getExcludeObjects()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (includeObjects_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getIncludeObjects()); - } - if (excludeObjects_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getExcludeObjects()); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.cloud.datastream.v1.OracleSourceConfig)) { - return super.equals(obj); - } - com.google.cloud.datastream.v1.OracleSourceConfig other = - (com.google.cloud.datastream.v1.OracleSourceConfig) obj; - - if (hasIncludeObjects() != other.hasIncludeObjects()) return false; - if (hasIncludeObjects()) { - if (!getIncludeObjects().equals(other.getIncludeObjects())) return false; - } - if (hasExcludeObjects() != other.hasExcludeObjects()) return false; - if (hasExcludeObjects()) { - if (!getExcludeObjects().equals(other.getExcludeObjects())) return false; - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasIncludeObjects()) { - hash = (37 * hash) + INCLUDE_OBJECTS_FIELD_NUMBER; - hash = (53 * hash) + getIncludeObjects().hashCode(); - } - if (hasExcludeObjects()) { - hash = (37 * hash) + EXCLUDE_OBJECTS_FIELD_NUMBER; - hash = (53 * hash) + getExcludeObjects().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.cloud.datastream.v1.OracleSourceConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.datastream.v1.OracleSourceConfig 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.datastream.v1.OracleSourceConfig parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.datastream.v1.OracleSourceConfig parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.cloud.datastream.v1.OracleSourceConfig parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.datastream.v1.OracleSourceConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.cloud.datastream.v1.OracleSourceConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.cloud.datastream.v1.OracleSourceConfig 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.datastream.v1.OracleSourceConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.cloud.datastream.v1.OracleSourceConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.cloud.datastream.v1.OracleSourceConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.cloud.datastream.v1.OracleSourceConfig 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 static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.google.cloud.datastream.v1.OracleSourceConfig prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
-   * Oracle data source configuration
-   * 
- * - * Protobuf type {@code google.cloud.datastream.v1.OracleSourceConfig} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1.OracleSourceConfig) - com.google.cloud.datastream.v1.OracleSourceConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_OracleSourceConfig_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_OracleSourceConfig_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.OracleSourceConfig.class, - com.google.cloud.datastream.v1.OracleSourceConfig.Builder.class); - } - - // Construct using com.google.cloud.datastream.v1.OracleSourceConfig.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} - } - - @java.lang.Override - public Builder clear() { - super.clear(); - if (includeObjectsBuilder_ == null) { - includeObjects_ = null; - } else { - includeObjects_ = null; - includeObjectsBuilder_ = null; - } - if (excludeObjectsBuilder_ == null) { - excludeObjects_ = null; - } else { - excludeObjects_ = null; - excludeObjectsBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_OracleSourceConfig_descriptor; - } - - @java.lang.Override - public com.google.cloud.datastream.v1.OracleSourceConfig getDefaultInstanceForType() { - return com.google.cloud.datastream.v1.OracleSourceConfig.getDefaultInstance(); - } - - @java.lang.Override - public com.google.cloud.datastream.v1.OracleSourceConfig build() { - com.google.cloud.datastream.v1.OracleSourceConfig result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.cloud.datastream.v1.OracleSourceConfig buildPartial() { - com.google.cloud.datastream.v1.OracleSourceConfig result = - new com.google.cloud.datastream.v1.OracleSourceConfig(this); - if (includeObjectsBuilder_ == null) { - result.includeObjects_ = includeObjects_; - } else { - result.includeObjects_ = includeObjectsBuilder_.build(); - } - if (excludeObjectsBuilder_ == null) { - result.excludeObjects_ = excludeObjects_; - } else { - result.excludeObjects_ = excludeObjectsBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.datastream.v1.OracleSourceConfig) { - return mergeFrom((com.google.cloud.datastream.v1.OracleSourceConfig) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.cloud.datastream.v1.OracleSourceConfig other) { - if (other == com.google.cloud.datastream.v1.OracleSourceConfig.getDefaultInstance()) - return this; - if (other.hasIncludeObjects()) { - mergeIncludeObjects(other.getIncludeObjects()); - } - if (other.hasExcludeObjects()) { - mergeExcludeObjects(other.getExcludeObjects()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - com.google.cloud.datastream.v1.OracleSourceConfig parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datastream.v1.OracleSourceConfig) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private com.google.cloud.datastream.v1.OracleRdbms includeObjects_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.OracleRdbms, - com.google.cloud.datastream.v1.OracleRdbms.Builder, - com.google.cloud.datastream.v1.OracleRdbmsOrBuilder> - includeObjectsBuilder_; - /** - * - * - *
-     * Oracle objects to include in the stream.
-     * 
- * - * .google.cloud.datastream.v1.OracleRdbms include_objects = 1; - * - * @return Whether the includeObjects field is set. - */ - public boolean hasIncludeObjects() { - return includeObjectsBuilder_ != null || includeObjects_ != null; - } - /** - * - * - *
-     * Oracle objects to include in the stream.
-     * 
- * - * .google.cloud.datastream.v1.OracleRdbms include_objects = 1; - * - * @return The includeObjects. - */ - public com.google.cloud.datastream.v1.OracleRdbms getIncludeObjects() { - if (includeObjectsBuilder_ == null) { - return includeObjects_ == null - ? com.google.cloud.datastream.v1.OracleRdbms.getDefaultInstance() - : includeObjects_; - } else { - return includeObjectsBuilder_.getMessage(); - } - } - /** - * - * - *
-     * Oracle objects to include in the stream.
-     * 
- * - * .google.cloud.datastream.v1.OracleRdbms include_objects = 1; - */ - public Builder setIncludeObjects(com.google.cloud.datastream.v1.OracleRdbms value) { - if (includeObjectsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - includeObjects_ = value; - onChanged(); - } else { - includeObjectsBuilder_.setMessage(value); - } - - return this; - } - /** - * - * - *
-     * Oracle objects to include in the stream.
-     * 
- * - * .google.cloud.datastream.v1.OracleRdbms include_objects = 1; - */ - public Builder setIncludeObjects( - com.google.cloud.datastream.v1.OracleRdbms.Builder builderForValue) { - if (includeObjectsBuilder_ == null) { - includeObjects_ = builderForValue.build(); - onChanged(); - } else { - includeObjectsBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * - * - *
-     * Oracle objects to include in the stream.
-     * 
- * - * .google.cloud.datastream.v1.OracleRdbms include_objects = 1; - */ - public Builder mergeIncludeObjects(com.google.cloud.datastream.v1.OracleRdbms value) { - if (includeObjectsBuilder_ == null) { - if (includeObjects_ != null) { - includeObjects_ = - com.google.cloud.datastream.v1.OracleRdbms.newBuilder(includeObjects_) - .mergeFrom(value) - .buildPartial(); - } else { - includeObjects_ = value; - } - onChanged(); - } else { - includeObjectsBuilder_.mergeFrom(value); - } - - return this; - } - /** - * - * - *
-     * Oracle objects to include in the stream.
-     * 
- * - * .google.cloud.datastream.v1.OracleRdbms include_objects = 1; - */ - public Builder clearIncludeObjects() { - if (includeObjectsBuilder_ == null) { - includeObjects_ = null; - onChanged(); - } else { - includeObjects_ = null; - includeObjectsBuilder_ = null; - } - - return this; - } - /** - * - * - *
-     * Oracle objects to include in the stream.
-     * 
- * - * .google.cloud.datastream.v1.OracleRdbms include_objects = 1; - */ - public com.google.cloud.datastream.v1.OracleRdbms.Builder getIncludeObjectsBuilder() { - - onChanged(); - return getIncludeObjectsFieldBuilder().getBuilder(); - } - /** - * - * - *
-     * Oracle objects to include in the stream.
-     * 
- * - * .google.cloud.datastream.v1.OracleRdbms include_objects = 1; - */ - public com.google.cloud.datastream.v1.OracleRdbmsOrBuilder getIncludeObjectsOrBuilder() { - if (includeObjectsBuilder_ != null) { - return includeObjectsBuilder_.getMessageOrBuilder(); - } else { - return includeObjects_ == null - ? com.google.cloud.datastream.v1.OracleRdbms.getDefaultInstance() - : includeObjects_; - } - } - /** - * - * - *
-     * Oracle objects to include in the stream.
-     * 
- * - * .google.cloud.datastream.v1.OracleRdbms include_objects = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.OracleRdbms, - com.google.cloud.datastream.v1.OracleRdbms.Builder, - com.google.cloud.datastream.v1.OracleRdbmsOrBuilder> - getIncludeObjectsFieldBuilder() { - if (includeObjectsBuilder_ == null) { - includeObjectsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.OracleRdbms, - com.google.cloud.datastream.v1.OracleRdbms.Builder, - com.google.cloud.datastream.v1.OracleRdbmsOrBuilder>( - getIncludeObjects(), getParentForChildren(), isClean()); - includeObjects_ = null; - } - return includeObjectsBuilder_; - } - - private com.google.cloud.datastream.v1.OracleRdbms excludeObjects_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.OracleRdbms, - com.google.cloud.datastream.v1.OracleRdbms.Builder, - com.google.cloud.datastream.v1.OracleRdbmsOrBuilder> - excludeObjectsBuilder_; - /** - * - * - *
-     * Oracle objects to exclude from the stream.
-     * 
- * - * .google.cloud.datastream.v1.OracleRdbms exclude_objects = 2; - * - * @return Whether the excludeObjects field is set. - */ - public boolean hasExcludeObjects() { - return excludeObjectsBuilder_ != null || excludeObjects_ != null; - } - /** - * - * - *
-     * Oracle objects to exclude from the stream.
-     * 
- * - * .google.cloud.datastream.v1.OracleRdbms exclude_objects = 2; - * - * @return The excludeObjects. - */ - public com.google.cloud.datastream.v1.OracleRdbms getExcludeObjects() { - if (excludeObjectsBuilder_ == null) { - return excludeObjects_ == null - ? com.google.cloud.datastream.v1.OracleRdbms.getDefaultInstance() - : excludeObjects_; - } else { - return excludeObjectsBuilder_.getMessage(); - } - } - /** - * - * - *
-     * Oracle objects to exclude from the stream.
-     * 
- * - * .google.cloud.datastream.v1.OracleRdbms exclude_objects = 2; - */ - public Builder setExcludeObjects(com.google.cloud.datastream.v1.OracleRdbms value) { - if (excludeObjectsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - excludeObjects_ = value; - onChanged(); - } else { - excludeObjectsBuilder_.setMessage(value); - } - - return this; - } - /** - * - * - *
-     * Oracle objects to exclude from the stream.
-     * 
- * - * .google.cloud.datastream.v1.OracleRdbms exclude_objects = 2; - */ - public Builder setExcludeObjects( - com.google.cloud.datastream.v1.OracleRdbms.Builder builderForValue) { - if (excludeObjectsBuilder_ == null) { - excludeObjects_ = builderForValue.build(); - onChanged(); - } else { - excludeObjectsBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * - * - *
-     * Oracle objects to exclude from the stream.
-     * 
- * - * .google.cloud.datastream.v1.OracleRdbms exclude_objects = 2; - */ - public Builder mergeExcludeObjects(com.google.cloud.datastream.v1.OracleRdbms value) { - if (excludeObjectsBuilder_ == null) { - if (excludeObjects_ != null) { - excludeObjects_ = - com.google.cloud.datastream.v1.OracleRdbms.newBuilder(excludeObjects_) - .mergeFrom(value) - .buildPartial(); - } else { - excludeObjects_ = value; - } - onChanged(); - } else { - excludeObjectsBuilder_.mergeFrom(value); - } - - return this; - } - /** - * - * - *
-     * Oracle objects to exclude from the stream.
-     * 
- * - * .google.cloud.datastream.v1.OracleRdbms exclude_objects = 2; - */ - public Builder clearExcludeObjects() { - if (excludeObjectsBuilder_ == null) { - excludeObjects_ = null; - onChanged(); - } else { - excludeObjects_ = null; - excludeObjectsBuilder_ = null; - } - - return this; - } - /** - * - * - *
-     * Oracle objects to exclude from the stream.
-     * 
- * - * .google.cloud.datastream.v1.OracleRdbms exclude_objects = 2; - */ - public com.google.cloud.datastream.v1.OracleRdbms.Builder getExcludeObjectsBuilder() { - - onChanged(); - return getExcludeObjectsFieldBuilder().getBuilder(); - } - /** - * - * - *
-     * Oracle objects to exclude from the stream.
-     * 
- * - * .google.cloud.datastream.v1.OracleRdbms exclude_objects = 2; - */ - public com.google.cloud.datastream.v1.OracleRdbmsOrBuilder getExcludeObjectsOrBuilder() { - if (excludeObjectsBuilder_ != null) { - return excludeObjectsBuilder_.getMessageOrBuilder(); - } else { - return excludeObjects_ == null - ? com.google.cloud.datastream.v1.OracleRdbms.getDefaultInstance() - : excludeObjects_; - } - } - /** - * - * - *
-     * Oracle objects to exclude from the stream.
-     * 
- * - * .google.cloud.datastream.v1.OracleRdbms exclude_objects = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.OracleRdbms, - com.google.cloud.datastream.v1.OracleRdbms.Builder, - com.google.cloud.datastream.v1.OracleRdbmsOrBuilder> - getExcludeObjectsFieldBuilder() { - if (excludeObjectsBuilder_ == null) { - excludeObjectsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.OracleRdbms, - com.google.cloud.datastream.v1.OracleRdbms.Builder, - com.google.cloud.datastream.v1.OracleRdbmsOrBuilder>( - getExcludeObjects(), getParentForChildren(), isClean()); - excludeObjects_ = null; - } - return excludeObjectsBuilder_; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1.OracleSourceConfig) - } - - // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1.OracleSourceConfig) - private static final com.google.cloud.datastream.v1.OracleSourceConfig DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.cloud.datastream.v1.OracleSourceConfig(); - } - - public static com.google.cloud.datastream.v1.OracleSourceConfig getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OracleSourceConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OracleSourceConfig(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.cloud.datastream.v1.OracleSourceConfig getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/OracleSourceConfigOrBuilder.java b/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/OracleSourceConfigOrBuilder.java deleted file mode 100644 index 52a54507..00000000 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/OracleSourceConfigOrBuilder.java +++ /dev/null @@ -1,95 +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/datastream/v1/datastream_resources.proto - -package com.google.cloud.datastream.v1; - -public interface OracleSourceConfigOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1.OracleSourceConfig) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Oracle objects to include in the stream.
-   * 
- * - * .google.cloud.datastream.v1.OracleRdbms include_objects = 1; - * - * @return Whether the includeObjects field is set. - */ - boolean hasIncludeObjects(); - /** - * - * - *
-   * Oracle objects to include in the stream.
-   * 
- * - * .google.cloud.datastream.v1.OracleRdbms include_objects = 1; - * - * @return The includeObjects. - */ - com.google.cloud.datastream.v1.OracleRdbms getIncludeObjects(); - /** - * - * - *
-   * Oracle objects to include in the stream.
-   * 
- * - * .google.cloud.datastream.v1.OracleRdbms include_objects = 1; - */ - com.google.cloud.datastream.v1.OracleRdbmsOrBuilder getIncludeObjectsOrBuilder(); - - /** - * - * - *
-   * Oracle objects to exclude from the stream.
-   * 
- * - * .google.cloud.datastream.v1.OracleRdbms exclude_objects = 2; - * - * @return Whether the excludeObjects field is set. - */ - boolean hasExcludeObjects(); - /** - * - * - *
-   * Oracle objects to exclude from the stream.
-   * 
- * - * .google.cloud.datastream.v1.OracleRdbms exclude_objects = 2; - * - * @return The excludeObjects. - */ - com.google.cloud.datastream.v1.OracleRdbms getExcludeObjects(); - /** - * - * - *
-   * Oracle objects to exclude from the stream.
-   * 
- * - * .google.cloud.datastream.v1.OracleRdbms exclude_objects = 2; - */ - com.google.cloud.datastream.v1.OracleRdbmsOrBuilder getExcludeObjectsOrBuilder(); -} diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/PrivateConnectivityOrBuilder.java b/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/PrivateConnectivityOrBuilder.java deleted file mode 100644 index b94918ad..00000000 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/PrivateConnectivityOrBuilder.java +++ /dev/null @@ -1,56 +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/datastream/v1/datastream_resources.proto - -package com.google.cloud.datastream.v1; - -public interface PrivateConnectivityOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1.PrivateConnectivity) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. A reference to a private connection resource.
-   * Format: `projects/{project}/locations/{location}/privateConnections/{name}`
-   * 
- * - * - * string private_connection = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The privateConnection. - */ - java.lang.String getPrivateConnection(); - /** - * - * - *
-   * Required. A reference to a private connection resource.
-   * Format: `projects/{project}/locations/{location}/privateConnections/{name}`
-   * 
- * - * - * string private_connection = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for privateConnection. - */ - com.google.protobuf.ByteString getPrivateConnectionBytes(); -} diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/SourceObjectIdentifier.java b/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/SourceObjectIdentifier.java deleted file mode 100644 index f7fc5a3f..00000000 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/SourceObjectIdentifier.java +++ /dev/null @@ -1,3042 +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/datastream/v1/datastream_resources.proto - -package com.google.cloud.datastream.v1; - -/** - * - * - *
- * Represents an identifier of an object in the data source.
- * 
- * - * Protobuf type {@code google.cloud.datastream.v1.SourceObjectIdentifier} - */ -public final class SourceObjectIdentifier extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1.SourceObjectIdentifier) - SourceObjectIdentifierOrBuilder { - private static final long serialVersionUID = 0L; - // Use SourceObjectIdentifier.newBuilder() to construct. - private SourceObjectIdentifier(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private SourceObjectIdentifier() {} - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new SourceObjectIdentifier(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private SourceObjectIdentifier( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier.Builder - subBuilder = null; - if (sourceIdentifierCase_ == 1) { - subBuilder = - ((com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier) - sourceIdentifier_) - .toBuilder(); - } - sourceIdentifier_ = - input.readMessage( - com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier) - sourceIdentifier_); - sourceIdentifier_ = subBuilder.buildPartial(); - } - sourceIdentifierCase_ = 1; - break; - } - case 18: - { - com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier.Builder - subBuilder = null; - if (sourceIdentifierCase_ == 2) { - subBuilder = - ((com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier) - sourceIdentifier_) - .toBuilder(); - } - sourceIdentifier_ = - input.readMessage( - com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier) - sourceIdentifier_); - sourceIdentifier_ = subBuilder.buildPartial(); - } - sourceIdentifierCase_ = 2; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_SourceObjectIdentifier_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_SourceObjectIdentifier_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.SourceObjectIdentifier.class, - com.google.cloud.datastream.v1.SourceObjectIdentifier.Builder.class); - } - - public interface OracleObjectIdentifierOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-     * Required. The schema name.
-     * 
- * - * string schema = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The schema. - */ - java.lang.String getSchema(); - /** - * - * - *
-     * Required. The schema name.
-     * 
- * - * string schema = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The bytes for schema. - */ - com.google.protobuf.ByteString getSchemaBytes(); - - /** - * - * - *
-     * Required. The table name.
-     * 
- * - * string table = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The table. - */ - java.lang.String getTable(); - /** - * - * - *
-     * Required. The table name.
-     * 
- * - * string table = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The bytes for table. - */ - com.google.protobuf.ByteString getTableBytes(); - } - /** - * - * - *
-   * Oracle data source object identifier.
-   * 
- * - * Protobuf type {@code google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier} - */ - public static final class OracleObjectIdentifier extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier) - OracleObjectIdentifierOrBuilder { - private static final long serialVersionUID = 0L; - // Use OracleObjectIdentifier.newBuilder() to construct. - private OracleObjectIdentifier(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private OracleObjectIdentifier() { - schema_ = ""; - table_ = ""; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new OracleObjectIdentifier(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private OracleObjectIdentifier( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - - schema_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - - table_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_SourceObjectIdentifier_OracleObjectIdentifier_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_SourceObjectIdentifier_OracleObjectIdentifier_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier.class, - com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier.Builder - .class); - } - - public static final int SCHEMA_FIELD_NUMBER = 1; - private volatile java.lang.Object schema_; - /** - * - * - *
-     * Required. The schema name.
-     * 
- * - * string schema = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The schema. - */ - @java.lang.Override - public java.lang.String getSchema() { - java.lang.Object ref = schema_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - schema_ = s; - return s; - } - } - /** - * - * - *
-     * Required. The schema name.
-     * 
- * - * string schema = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The bytes for schema. - */ - @java.lang.Override - public com.google.protobuf.ByteString getSchemaBytes() { - java.lang.Object ref = schema_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - schema_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int TABLE_FIELD_NUMBER = 2; - private volatile java.lang.Object table_; - /** - * - * - *
-     * Required. The table name.
-     * 
- * - * string table = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The table. - */ - @java.lang.Override - public java.lang.String getTable() { - java.lang.Object ref = table_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - table_ = s; - return s; - } - } - /** - * - * - *
-     * Required. The table name.
-     * 
- * - * string table = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The bytes for table. - */ - @java.lang.Override - public com.google.protobuf.ByteString getTableBytes() { - java.lang.Object ref = table_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - table_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schema_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, schema_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(table_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, table_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schema_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, schema_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(table_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, table_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj - instanceof - com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier)) { - return super.equals(obj); - } - com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier other = - (com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier) obj; - - if (!getSchema().equals(other.getSchema())) return false; - if (!getTable().equals(other.getTable())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + SCHEMA_FIELD_NUMBER; - hash = (53 * hash) + getSchema().hashCode(); - hash = (37 * hash) + TABLE_FIELD_NUMBER; - hash = (53 * hash) + getTable().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier - 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.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier - 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.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier - 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 static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder( - com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
-     * Oracle data source object identifier.
-     * 
- * - * Protobuf type {@code - * google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier} - */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier) - com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifierOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_SourceObjectIdentifier_OracleObjectIdentifier_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_SourceObjectIdentifier_OracleObjectIdentifier_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier.class, - com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier.Builder - .class); - } - - // Construct using - // com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} - } - - @java.lang.Override - public Builder clear() { - super.clear(); - schema_ = ""; - - table_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_SourceObjectIdentifier_OracleObjectIdentifier_descriptor; - } - - @java.lang.Override - public com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier - getDefaultInstanceForType() { - return com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier - .getDefaultInstance(); - } - - @java.lang.Override - public com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier build() { - com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier result = - buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier - buildPartial() { - com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier result = - new com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier(this); - result.schema_ = schema_; - result.table_ = table_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier) { - return mergeFrom( - (com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom( - com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier other) { - if (other - == com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier - .getDefaultInstance()) return this; - if (!other.getSchema().isEmpty()) { - schema_ = other.schema_; - onChanged(); - } - if (!other.getTable().isEmpty()) { - table_ = other.table_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier parsedMessage = - null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier) - e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object schema_ = ""; - /** - * - * - *
-       * Required. The schema name.
-       * 
- * - * string schema = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The schema. - */ - public java.lang.String getSchema() { - java.lang.Object ref = schema_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - schema_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
-       * Required. The schema name.
-       * 
- * - * string schema = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The bytes for schema. - */ - public com.google.protobuf.ByteString getSchemaBytes() { - java.lang.Object ref = schema_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - schema_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
-       * Required. The schema name.
-       * 
- * - * string schema = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @param value The schema to set. - * @return This builder for chaining. - */ - public Builder setSchema(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - schema_ = value; - onChanged(); - return this; - } - /** - * - * - *
-       * Required. The schema name.
-       * 
- * - * string schema = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return This builder for chaining. - */ - public Builder clearSchema() { - - schema_ = getDefaultInstance().getSchema(); - onChanged(); - return this; - } - /** - * - * - *
-       * Required. The schema name.
-       * 
- * - * string schema = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @param value The bytes for schema to set. - * @return This builder for chaining. - */ - public Builder setSchemaBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - schema_ = value; - onChanged(); - return this; - } - - private java.lang.Object table_ = ""; - /** - * - * - *
-       * Required. The table name.
-       * 
- * - * string table = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The table. - */ - public java.lang.String getTable() { - java.lang.Object ref = table_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - table_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
-       * Required. The table name.
-       * 
- * - * string table = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The bytes for table. - */ - public com.google.protobuf.ByteString getTableBytes() { - java.lang.Object ref = table_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - table_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
-       * Required. The table name.
-       * 
- * - * string table = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * @param value The table to set. - * @return This builder for chaining. - */ - public Builder setTable(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - table_ = value; - onChanged(); - return this; - } - /** - * - * - *
-       * Required. The table name.
-       * 
- * - * string table = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * @return This builder for chaining. - */ - public Builder clearTable() { - - table_ = getDefaultInstance().getTable(); - onChanged(); - return this; - } - /** - * - * - *
-       * Required. The table name.
-       * 
- * - * string table = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * @param value The bytes for table to set. - * @return This builder for chaining. - */ - public Builder setTableBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - table_ = value; - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier) - } - - // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier) - private static final com.google.cloud.datastream.v1.SourceObjectIdentifier - .OracleObjectIdentifier - DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = - new com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier(); - } - - public static com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier - getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OracleObjectIdentifier parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OracleObjectIdentifier(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier - getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - } - - public interface MysqlObjectIdentifierOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-     * Required. The database name.
-     * 
- * - * string database = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The database. - */ - java.lang.String getDatabase(); - /** - * - * - *
-     * Required. The database name.
-     * 
- * - * string database = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The bytes for database. - */ - com.google.protobuf.ByteString getDatabaseBytes(); - - /** - * - * - *
-     * Required. The table name.
-     * 
- * - * string table = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The table. - */ - java.lang.String getTable(); - /** - * - * - *
-     * Required. The table name.
-     * 
- * - * string table = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The bytes for table. - */ - com.google.protobuf.ByteString getTableBytes(); - } - /** - * - * - *
-   * Mysql data source object identifier.
-   * 
- * - * Protobuf type {@code google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier} - */ - public static final class MysqlObjectIdentifier extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier) - MysqlObjectIdentifierOrBuilder { - private static final long serialVersionUID = 0L; - // Use MysqlObjectIdentifier.newBuilder() to construct. - private MysqlObjectIdentifier(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private MysqlObjectIdentifier() { - database_ = ""; - table_ = ""; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new MysqlObjectIdentifier(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private MysqlObjectIdentifier( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - - database_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - - table_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_SourceObjectIdentifier_MysqlObjectIdentifier_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_SourceObjectIdentifier_MysqlObjectIdentifier_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier.class, - com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier.Builder - .class); - } - - public static final int DATABASE_FIELD_NUMBER = 1; - private volatile java.lang.Object database_; - /** - * - * - *
-     * Required. The database name.
-     * 
- * - * string database = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The database. - */ - @java.lang.Override - public java.lang.String getDatabase() { - java.lang.Object ref = database_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - database_ = s; - return s; - } - } - /** - * - * - *
-     * Required. The database name.
-     * 
- * - * string database = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The bytes for database. - */ - @java.lang.Override - public com.google.protobuf.ByteString getDatabaseBytes() { - java.lang.Object ref = database_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - database_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int TABLE_FIELD_NUMBER = 2; - private volatile java.lang.Object table_; - /** - * - * - *
-     * Required. The table name.
-     * 
- * - * string table = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The table. - */ - @java.lang.Override - public java.lang.String getTable() { - java.lang.Object ref = table_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - table_ = s; - return s; - } - } - /** - * - * - *
-     * Required. The table name.
-     * 
- * - * string table = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The bytes for table. - */ - @java.lang.Override - public com.google.protobuf.ByteString getTableBytes() { - java.lang.Object ref = table_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - table_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(database_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, database_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(table_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, table_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(database_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, database_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(table_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, table_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj - instanceof com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier)) { - return super.equals(obj); - } - com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier other = - (com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier) obj; - - if (!getDatabase().equals(other.getDatabase())) return false; - if (!getTable().equals(other.getTable())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + DATABASE_FIELD_NUMBER; - hash = (53 * hash) + getDatabase().hashCode(); - hash = (37 * hash) + TABLE_FIELD_NUMBER; - hash = (53 * hash) + getTable().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier - 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.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier - 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.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier - 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 static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder( - com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
-     * Mysql data source object identifier.
-     * 
- * - * Protobuf type {@code google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier} - */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier) - com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifierOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_SourceObjectIdentifier_MysqlObjectIdentifier_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_SourceObjectIdentifier_MysqlObjectIdentifier_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier.class, - com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier.Builder - .class); - } - - // Construct using - // com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} - } - - @java.lang.Override - public Builder clear() { - super.clear(); - database_ = ""; - - table_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_SourceObjectIdentifier_MysqlObjectIdentifier_descriptor; - } - - @java.lang.Override - public com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier - getDefaultInstanceForType() { - return com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier - .getDefaultInstance(); - } - - @java.lang.Override - public com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier build() { - com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier result = - buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier - buildPartial() { - com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier result = - new com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier(this); - result.database_ = database_; - result.table_ = table_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier) { - return mergeFrom( - (com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom( - com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier other) { - if (other - == com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier - .getDefaultInstance()) return this; - if (!other.getDatabase().isEmpty()) { - database_ = other.database_; - onChanged(); - } - if (!other.getTable().isEmpty()) { - table_ = other.table_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier parsedMessage = - null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier) - e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object database_ = ""; - /** - * - * - *
-       * Required. The database name.
-       * 
- * - * string database = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The database. - */ - public java.lang.String getDatabase() { - java.lang.Object ref = database_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - database_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
-       * Required. The database name.
-       * 
- * - * string database = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The bytes for database. - */ - public com.google.protobuf.ByteString getDatabaseBytes() { - java.lang.Object ref = database_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - database_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
-       * Required. The database name.
-       * 
- * - * string database = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @param value The database to set. - * @return This builder for chaining. - */ - public Builder setDatabase(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - database_ = value; - onChanged(); - return this; - } - /** - * - * - *
-       * Required. The database name.
-       * 
- * - * string database = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return This builder for chaining. - */ - public Builder clearDatabase() { - - database_ = getDefaultInstance().getDatabase(); - onChanged(); - return this; - } - /** - * - * - *
-       * Required. The database name.
-       * 
- * - * string database = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @param value The bytes for database to set. - * @return This builder for chaining. - */ - public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - database_ = value; - onChanged(); - return this; - } - - private java.lang.Object table_ = ""; - /** - * - * - *
-       * Required. The table name.
-       * 
- * - * string table = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The table. - */ - public java.lang.String getTable() { - java.lang.Object ref = table_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - table_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
-       * Required. The table name.
-       * 
- * - * string table = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The bytes for table. - */ - public com.google.protobuf.ByteString getTableBytes() { - java.lang.Object ref = table_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - table_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
-       * Required. The table name.
-       * 
- * - * string table = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * @param value The table to set. - * @return This builder for chaining. - */ - public Builder setTable(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - table_ = value; - onChanged(); - return this; - } - /** - * - * - *
-       * Required. The table name.
-       * 
- * - * string table = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * @return This builder for chaining. - */ - public Builder clearTable() { - - table_ = getDefaultInstance().getTable(); - onChanged(); - return this; - } - /** - * - * - *
-       * Required. The table name.
-       * 
- * - * string table = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * @param value The bytes for table to set. - * @return This builder for chaining. - */ - public Builder setTableBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - table_ = value; - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier) - } - - // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier) - private static final com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier - DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = - new com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier(); - } - - public static com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier - getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MysqlObjectIdentifier parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MysqlObjectIdentifier(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier - getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - } - - private int sourceIdentifierCase_ = 0; - private java.lang.Object sourceIdentifier_; - - public enum SourceIdentifierCase - implements - com.google.protobuf.Internal.EnumLite, - com.google.protobuf.AbstractMessage.InternalOneOfEnum { - ORACLE_IDENTIFIER(1), - MYSQL_IDENTIFIER(2), - SOURCEIDENTIFIER_NOT_SET(0); - private final int value; - - private SourceIdentifierCase(int value) { - this.value = value; - } - /** - * @param value The number of the enum to look for. - * @return The enum associated with the given number. - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static SourceIdentifierCase valueOf(int value) { - return forNumber(value); - } - - public static SourceIdentifierCase forNumber(int value) { - switch (value) { - case 1: - return ORACLE_IDENTIFIER; - case 2: - return MYSQL_IDENTIFIER; - case 0: - return SOURCEIDENTIFIER_NOT_SET; - default: - return null; - } - } - - public int getNumber() { - return this.value; - } - }; - - public SourceIdentifierCase getSourceIdentifierCase() { - return SourceIdentifierCase.forNumber(sourceIdentifierCase_); - } - - public static final int ORACLE_IDENTIFIER_FIELD_NUMBER = 1; - /** - * - * - *
-   * Oracle data source object identifier.
-   * 
- * - * - * .google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier oracle_identifier = 1; - * - * - * @return Whether the oracleIdentifier field is set. - */ - @java.lang.Override - public boolean hasOracleIdentifier() { - return sourceIdentifierCase_ == 1; - } - /** - * - * - *
-   * Oracle data source object identifier.
-   * 
- * - * - * .google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier oracle_identifier = 1; - * - * - * @return The oracleIdentifier. - */ - @java.lang.Override - public com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier - getOracleIdentifier() { - if (sourceIdentifierCase_ == 1) { - return (com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier) - sourceIdentifier_; - } - return com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier - .getDefaultInstance(); - } - /** - * - * - *
-   * Oracle data source object identifier.
-   * 
- * - * - * .google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier oracle_identifier = 1; - * - */ - @java.lang.Override - public com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifierOrBuilder - getOracleIdentifierOrBuilder() { - if (sourceIdentifierCase_ == 1) { - return (com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier) - sourceIdentifier_; - } - return com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier - .getDefaultInstance(); - } - - public static final int MYSQL_IDENTIFIER_FIELD_NUMBER = 2; - /** - * - * - *
-   * Mysql data source object identifier.
-   * 
- * - * - * .google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier mysql_identifier = 2; - * - * - * @return Whether the mysqlIdentifier field is set. - */ - @java.lang.Override - public boolean hasMysqlIdentifier() { - return sourceIdentifierCase_ == 2; - } - /** - * - * - *
-   * Mysql data source object identifier.
-   * 
- * - * - * .google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier mysql_identifier = 2; - * - * - * @return The mysqlIdentifier. - */ - @java.lang.Override - public com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier - getMysqlIdentifier() { - if (sourceIdentifierCase_ == 2) { - return (com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier) - sourceIdentifier_; - } - return com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier - .getDefaultInstance(); - } - /** - * - * - *
-   * Mysql data source object identifier.
-   * 
- * - * - * .google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier mysql_identifier = 2; - * - */ - @java.lang.Override - public com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifierOrBuilder - getMysqlIdentifierOrBuilder() { - if (sourceIdentifierCase_ == 2) { - return (com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier) - sourceIdentifier_; - } - return com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier - .getDefaultInstance(); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (sourceIdentifierCase_ == 1) { - output.writeMessage( - 1, - (com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier) - sourceIdentifier_); - } - if (sourceIdentifierCase_ == 2) { - output.writeMessage( - 2, - (com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier) - sourceIdentifier_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (sourceIdentifierCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, - (com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier) - sourceIdentifier_); - } - if (sourceIdentifierCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, - (com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier) - sourceIdentifier_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.cloud.datastream.v1.SourceObjectIdentifier)) { - return super.equals(obj); - } - com.google.cloud.datastream.v1.SourceObjectIdentifier other = - (com.google.cloud.datastream.v1.SourceObjectIdentifier) obj; - - if (!getSourceIdentifierCase().equals(other.getSourceIdentifierCase())) return false; - switch (sourceIdentifierCase_) { - case 1: - if (!getOracleIdentifier().equals(other.getOracleIdentifier())) return false; - break; - case 2: - if (!getMysqlIdentifier().equals(other.getMysqlIdentifier())) return false; - break; - case 0: - default: - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - switch (sourceIdentifierCase_) { - case 1: - hash = (37 * hash) + ORACLE_IDENTIFIER_FIELD_NUMBER; - hash = (53 * hash) + getOracleIdentifier().hashCode(); - break; - case 2: - hash = (37 * hash) + MYSQL_IDENTIFIER_FIELD_NUMBER; - hash = (53 * hash) + getMysqlIdentifier().hashCode(); - break; - case 0: - default: - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.cloud.datastream.v1.SourceObjectIdentifier parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.datastream.v1.SourceObjectIdentifier 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.datastream.v1.SourceObjectIdentifier parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.datastream.v1.SourceObjectIdentifier parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.cloud.datastream.v1.SourceObjectIdentifier parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.datastream.v1.SourceObjectIdentifier parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.cloud.datastream.v1.SourceObjectIdentifier parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.cloud.datastream.v1.SourceObjectIdentifier 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.datastream.v1.SourceObjectIdentifier parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.cloud.datastream.v1.SourceObjectIdentifier parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.cloud.datastream.v1.SourceObjectIdentifier parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.cloud.datastream.v1.SourceObjectIdentifier 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 static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder( - com.google.cloud.datastream.v1.SourceObjectIdentifier prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
-   * Represents an identifier of an object in the data source.
-   * 
- * - * Protobuf type {@code google.cloud.datastream.v1.SourceObjectIdentifier} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1.SourceObjectIdentifier) - com.google.cloud.datastream.v1.SourceObjectIdentifierOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_SourceObjectIdentifier_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_SourceObjectIdentifier_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.cloud.datastream.v1.SourceObjectIdentifier.class, - com.google.cloud.datastream.v1.SourceObjectIdentifier.Builder.class); - } - - // Construct using com.google.cloud.datastream.v1.SourceObjectIdentifier.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} - } - - @java.lang.Override - public Builder clear() { - super.clear(); - sourceIdentifierCase_ = 0; - sourceIdentifier_ = null; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.datastream.v1.DatastreamResourcesProto - .internal_static_google_cloud_datastream_v1_SourceObjectIdentifier_descriptor; - } - - @java.lang.Override - public com.google.cloud.datastream.v1.SourceObjectIdentifier getDefaultInstanceForType() { - return com.google.cloud.datastream.v1.SourceObjectIdentifier.getDefaultInstance(); - } - - @java.lang.Override - public com.google.cloud.datastream.v1.SourceObjectIdentifier build() { - com.google.cloud.datastream.v1.SourceObjectIdentifier result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.cloud.datastream.v1.SourceObjectIdentifier buildPartial() { - com.google.cloud.datastream.v1.SourceObjectIdentifier result = - new com.google.cloud.datastream.v1.SourceObjectIdentifier(this); - if (sourceIdentifierCase_ == 1) { - if (oracleIdentifierBuilder_ == null) { - result.sourceIdentifier_ = sourceIdentifier_; - } else { - result.sourceIdentifier_ = oracleIdentifierBuilder_.build(); - } - } - if (sourceIdentifierCase_ == 2) { - if (mysqlIdentifierBuilder_ == null) { - result.sourceIdentifier_ = sourceIdentifier_; - } else { - result.sourceIdentifier_ = mysqlIdentifierBuilder_.build(); - } - } - result.sourceIdentifierCase_ = sourceIdentifierCase_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.datastream.v1.SourceObjectIdentifier) { - return mergeFrom((com.google.cloud.datastream.v1.SourceObjectIdentifier) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.cloud.datastream.v1.SourceObjectIdentifier other) { - if (other == com.google.cloud.datastream.v1.SourceObjectIdentifier.getDefaultInstance()) - return this; - switch (other.getSourceIdentifierCase()) { - case ORACLE_IDENTIFIER: - { - mergeOracleIdentifier(other.getOracleIdentifier()); - break; - } - case MYSQL_IDENTIFIER: - { - mergeMysqlIdentifier(other.getMysqlIdentifier()); - break; - } - case SOURCEIDENTIFIER_NOT_SET: - { - break; - } - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - com.google.cloud.datastream.v1.SourceObjectIdentifier parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.datastream.v1.SourceObjectIdentifier) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int sourceIdentifierCase_ = 0; - private java.lang.Object sourceIdentifier_; - - public SourceIdentifierCase getSourceIdentifierCase() { - return SourceIdentifierCase.forNumber(sourceIdentifierCase_); - } - - public Builder clearSourceIdentifier() { - sourceIdentifierCase_ = 0; - sourceIdentifier_ = null; - onChanged(); - return this; - } - - private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier, - com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier.Builder, - com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifierOrBuilder> - oracleIdentifierBuilder_; - /** - * - * - *
-     * Oracle data source object identifier.
-     * 
- * - * - * .google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier oracle_identifier = 1; - * - * - * @return Whether the oracleIdentifier field is set. - */ - @java.lang.Override - public boolean hasOracleIdentifier() { - return sourceIdentifierCase_ == 1; - } - /** - * - * - *
-     * Oracle data source object identifier.
-     * 
- * - * - * .google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier oracle_identifier = 1; - * - * - * @return The oracleIdentifier. - */ - @java.lang.Override - public com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier - getOracleIdentifier() { - if (oracleIdentifierBuilder_ == null) { - if (sourceIdentifierCase_ == 1) { - return (com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier) - sourceIdentifier_; - } - return com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier - .getDefaultInstance(); - } else { - if (sourceIdentifierCase_ == 1) { - return oracleIdentifierBuilder_.getMessage(); - } - return com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier - .getDefaultInstance(); - } - } - /** - * - * - *
-     * Oracle data source object identifier.
-     * 
- * - * - * .google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier oracle_identifier = 1; - * - */ - public Builder setOracleIdentifier( - com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier value) { - if (oracleIdentifierBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - sourceIdentifier_ = value; - onChanged(); - } else { - oracleIdentifierBuilder_.setMessage(value); - } - sourceIdentifierCase_ = 1; - return this; - } - /** - * - * - *
-     * Oracle data source object identifier.
-     * 
- * - * - * .google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier oracle_identifier = 1; - * - */ - public Builder setOracleIdentifier( - com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier.Builder - builderForValue) { - if (oracleIdentifierBuilder_ == null) { - sourceIdentifier_ = builderForValue.build(); - onChanged(); - } else { - oracleIdentifierBuilder_.setMessage(builderForValue.build()); - } - sourceIdentifierCase_ = 1; - return this; - } - /** - * - * - *
-     * Oracle data source object identifier.
-     * 
- * - * - * .google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier oracle_identifier = 1; - * - */ - public Builder mergeOracleIdentifier( - com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier value) { - if (oracleIdentifierBuilder_ == null) { - if (sourceIdentifierCase_ == 1 - && sourceIdentifier_ - != com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier - .getDefaultInstance()) { - sourceIdentifier_ = - com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier - .newBuilder( - (com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier) - sourceIdentifier_) - .mergeFrom(value) - .buildPartial(); - } else { - sourceIdentifier_ = value; - } - onChanged(); - } else { - if (sourceIdentifierCase_ == 1) { - oracleIdentifierBuilder_.mergeFrom(value); - } else { - oracleIdentifierBuilder_.setMessage(value); - } - } - sourceIdentifierCase_ = 1; - return this; - } - /** - * - * - *
-     * Oracle data source object identifier.
-     * 
- * - * - * .google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier oracle_identifier = 1; - * - */ - public Builder clearOracleIdentifier() { - if (oracleIdentifierBuilder_ == null) { - if (sourceIdentifierCase_ == 1) { - sourceIdentifierCase_ = 0; - sourceIdentifier_ = null; - onChanged(); - } - } else { - if (sourceIdentifierCase_ == 1) { - sourceIdentifierCase_ = 0; - sourceIdentifier_ = null; - } - oracleIdentifierBuilder_.clear(); - } - return this; - } - /** - * - * - *
-     * Oracle data source object identifier.
-     * 
- * - * - * .google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier oracle_identifier = 1; - * - */ - public com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier.Builder - getOracleIdentifierBuilder() { - return getOracleIdentifierFieldBuilder().getBuilder(); - } - /** - * - * - *
-     * Oracle data source object identifier.
-     * 
- * - * - * .google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier oracle_identifier = 1; - * - */ - @java.lang.Override - public com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifierOrBuilder - getOracleIdentifierOrBuilder() { - if ((sourceIdentifierCase_ == 1) && (oracleIdentifierBuilder_ != null)) { - return oracleIdentifierBuilder_.getMessageOrBuilder(); - } else { - if (sourceIdentifierCase_ == 1) { - return (com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier) - sourceIdentifier_; - } - return com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier - .getDefaultInstance(); - } - } - /** - * - * - *
-     * Oracle data source object identifier.
-     * 
- * - * - * .google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier oracle_identifier = 1; - * - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier, - com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier.Builder, - com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifierOrBuilder> - getOracleIdentifierFieldBuilder() { - if (oracleIdentifierBuilder_ == null) { - if (!(sourceIdentifierCase_ == 1)) { - sourceIdentifier_ = - com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier - .getDefaultInstance(); - } - oracleIdentifierBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier, - com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier - .Builder, - com.google.cloud.datastream.v1.SourceObjectIdentifier - .OracleObjectIdentifierOrBuilder>( - (com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier) - sourceIdentifier_, - getParentForChildren(), - isClean()); - sourceIdentifier_ = null; - } - sourceIdentifierCase_ = 1; - onChanged(); - ; - return oracleIdentifierBuilder_; - } - - private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier, - com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier.Builder, - com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifierOrBuilder> - mysqlIdentifierBuilder_; - /** - * - * - *
-     * Mysql data source object identifier.
-     * 
- * - * - * .google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier mysql_identifier = 2; - * - * - * @return Whether the mysqlIdentifier field is set. - */ - @java.lang.Override - public boolean hasMysqlIdentifier() { - return sourceIdentifierCase_ == 2; - } - /** - * - * - *
-     * Mysql data source object identifier.
-     * 
- * - * - * .google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier mysql_identifier = 2; - * - * - * @return The mysqlIdentifier. - */ - @java.lang.Override - public com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier - getMysqlIdentifier() { - if (mysqlIdentifierBuilder_ == null) { - if (sourceIdentifierCase_ == 2) { - return (com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier) - sourceIdentifier_; - } - return com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier - .getDefaultInstance(); - } else { - if (sourceIdentifierCase_ == 2) { - return mysqlIdentifierBuilder_.getMessage(); - } - return com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier - .getDefaultInstance(); - } - } - /** - * - * - *
-     * Mysql data source object identifier.
-     * 
- * - * - * .google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier mysql_identifier = 2; - * - */ - public Builder setMysqlIdentifier( - com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier value) { - if (mysqlIdentifierBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - sourceIdentifier_ = value; - onChanged(); - } else { - mysqlIdentifierBuilder_.setMessage(value); - } - sourceIdentifierCase_ = 2; - return this; - } - /** - * - * - *
-     * Mysql data source object identifier.
-     * 
- * - * - * .google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier mysql_identifier = 2; - * - */ - public Builder setMysqlIdentifier( - com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier.Builder - builderForValue) { - if (mysqlIdentifierBuilder_ == null) { - sourceIdentifier_ = builderForValue.build(); - onChanged(); - } else { - mysqlIdentifierBuilder_.setMessage(builderForValue.build()); - } - sourceIdentifierCase_ = 2; - return this; - } - /** - * - * - *
-     * Mysql data source object identifier.
-     * 
- * - * - * .google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier mysql_identifier = 2; - * - */ - public Builder mergeMysqlIdentifier( - com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier value) { - if (mysqlIdentifierBuilder_ == null) { - if (sourceIdentifierCase_ == 2 - && sourceIdentifier_ - != com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier - .getDefaultInstance()) { - sourceIdentifier_ = - com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier - .newBuilder( - (com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier) - sourceIdentifier_) - .mergeFrom(value) - .buildPartial(); - } else { - sourceIdentifier_ = value; - } - onChanged(); - } else { - if (sourceIdentifierCase_ == 2) { - mysqlIdentifierBuilder_.mergeFrom(value); - } else { - mysqlIdentifierBuilder_.setMessage(value); - } - } - sourceIdentifierCase_ = 2; - return this; - } - /** - * - * - *
-     * Mysql data source object identifier.
-     * 
- * - * - * .google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier mysql_identifier = 2; - * - */ - public Builder clearMysqlIdentifier() { - if (mysqlIdentifierBuilder_ == null) { - if (sourceIdentifierCase_ == 2) { - sourceIdentifierCase_ = 0; - sourceIdentifier_ = null; - onChanged(); - } - } else { - if (sourceIdentifierCase_ == 2) { - sourceIdentifierCase_ = 0; - sourceIdentifier_ = null; - } - mysqlIdentifierBuilder_.clear(); - } - return this; - } - /** - * - * - *
-     * Mysql data source object identifier.
-     * 
- * - * - * .google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier mysql_identifier = 2; - * - */ - public com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier.Builder - getMysqlIdentifierBuilder() { - return getMysqlIdentifierFieldBuilder().getBuilder(); - } - /** - * - * - *
-     * Mysql data source object identifier.
-     * 
- * - * - * .google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier mysql_identifier = 2; - * - */ - @java.lang.Override - public com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifierOrBuilder - getMysqlIdentifierOrBuilder() { - if ((sourceIdentifierCase_ == 2) && (mysqlIdentifierBuilder_ != null)) { - return mysqlIdentifierBuilder_.getMessageOrBuilder(); - } else { - if (sourceIdentifierCase_ == 2) { - return (com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier) - sourceIdentifier_; - } - return com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier - .getDefaultInstance(); - } - } - /** - * - * - *
-     * Mysql data source object identifier.
-     * 
- * - * - * .google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier mysql_identifier = 2; - * - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier, - com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier.Builder, - com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifierOrBuilder> - getMysqlIdentifierFieldBuilder() { - if (mysqlIdentifierBuilder_ == null) { - if (!(sourceIdentifierCase_ == 2)) { - sourceIdentifier_ = - com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier - .getDefaultInstance(); - } - mysqlIdentifierBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier, - com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier.Builder, - com.google.cloud.datastream.v1.SourceObjectIdentifier - .MysqlObjectIdentifierOrBuilder>( - (com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier) - sourceIdentifier_, - getParentForChildren(), - isClean()); - sourceIdentifier_ = null; - } - sourceIdentifierCase_ = 2; - onChanged(); - ; - return mysqlIdentifierBuilder_; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.cloud.datastream.v1.SourceObjectIdentifier) - } - - // @@protoc_insertion_point(class_scope:google.cloud.datastream.v1.SourceObjectIdentifier) - private static final com.google.cloud.datastream.v1.SourceObjectIdentifier DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.cloud.datastream.v1.SourceObjectIdentifier(); - } - - public static com.google.cloud.datastream.v1.SourceObjectIdentifier getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SourceObjectIdentifier parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SourceObjectIdentifier(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.cloud.datastream.v1.SourceObjectIdentifier getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/SourceObjectIdentifierOrBuilder.java b/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/SourceObjectIdentifierOrBuilder.java deleted file mode 100644 index 42a1e4fa..00000000 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/SourceObjectIdentifierOrBuilder.java +++ /dev/null @@ -1,113 +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/datastream/v1/datastream_resources.proto - -package com.google.cloud.datastream.v1; - -public interface SourceObjectIdentifierOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1.SourceObjectIdentifier) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Oracle data source object identifier.
-   * 
- * - * - * .google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier oracle_identifier = 1; - * - * - * @return Whether the oracleIdentifier field is set. - */ - boolean hasOracleIdentifier(); - /** - * - * - *
-   * Oracle data source object identifier.
-   * 
- * - * - * .google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier oracle_identifier = 1; - * - * - * @return The oracleIdentifier. - */ - com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier - getOracleIdentifier(); - /** - * - * - *
-   * Oracle data source object identifier.
-   * 
- * - * - * .google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier oracle_identifier = 1; - * - */ - com.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifierOrBuilder - getOracleIdentifierOrBuilder(); - - /** - * - * - *
-   * Mysql data source object identifier.
-   * 
- * - * - * .google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier mysql_identifier = 2; - * - * - * @return Whether the mysqlIdentifier field is set. - */ - boolean hasMysqlIdentifier(); - /** - * - * - *
-   * Mysql data source object identifier.
-   * 
- * - * - * .google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier mysql_identifier = 2; - * - * - * @return The mysqlIdentifier. - */ - com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier getMysqlIdentifier(); - /** - * - * - *
-   * Mysql data source object identifier.
-   * 
- * - * - * .google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier mysql_identifier = 2; - * - */ - com.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifierOrBuilder - getMysqlIdentifierOrBuilder(); - - public com.google.cloud.datastream.v1.SourceObjectIdentifier.SourceIdentifierCase - getSourceIdentifierCase(); -} diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StartBackfillJobRequestOrBuilder.java b/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StartBackfillJobRequestOrBuilder.java deleted file mode 100644 index b4adbe22..00000000 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StartBackfillJobRequestOrBuilder.java +++ /dev/null @@ -1,54 +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/datastream/v1/datastream.proto - -package com.google.cloud.datastream.v1; - -public interface StartBackfillJobRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1.StartBackfillJobRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the stream object resource to start a backfill job for.
-   * 
- * - * - * string object = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The object. - */ - java.lang.String getObject(); - /** - * - * - *
-   * Required. The name of the stream object resource to start a backfill job for.
-   * 
- * - * - * string object = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for object. - */ - com.google.protobuf.ByteString getObjectBytes(); -} diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StaticServiceIpConnectivityOrBuilder.java b/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StaticServiceIpConnectivityOrBuilder.java deleted file mode 100644 index 5ba444a6..00000000 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StaticServiceIpConnectivityOrBuilder.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datastream/v1/datastream_resources.proto - -package com.google.cloud.datastream.v1; - -public interface StaticServiceIpConnectivityOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1.StaticServiceIpConnectivity) - com.google.protobuf.MessageOrBuilder {} diff --git a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StopBackfillJobRequestOrBuilder.java b/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StopBackfillJobRequestOrBuilder.java deleted file mode 100644 index 28521774..00000000 --- a/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StopBackfillJobRequestOrBuilder.java +++ /dev/null @@ -1,54 +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/datastream/v1/datastream.proto - -package com.google.cloud.datastream.v1; - -public interface StopBackfillJobRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1.StopBackfillJobRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the stream object resource to stop the backfill job for.
-   * 
- * - * - * string object = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The object. - */ - java.lang.String getObject(); - /** - * - * - *
-   * Required. The name of the stream object resource to stop the backfill job for.
-   * 
- * - * - * string object = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for object. - */ - com.google.protobuf.ByteString getObjectBytes(); -} diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/AvroFileFormatOrBuilder.java b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/AvroFileFormatOrBuilder.java deleted file mode 100644 index 5950a815..00000000 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/AvroFileFormatOrBuilder.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datastream/v1alpha1/datastream_resources.proto - -package com.google.cloud.datastream.v1alpha1; - -public interface AvroFileFormatOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1alpha1.AvroFileFormat) - com.google.protobuf.MessageOrBuilder {} diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/CloudDatastreamResourcesProto.java b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/CloudDatastreamResourcesProto.java deleted file mode 100644 index f354bba7..00000000 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/CloudDatastreamResourcesProto.java +++ /dev/null @@ -1,832 +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/datastream/v1alpha1/datastream_resources.proto - -package com.google.cloud.datastream.v1alpha1; - -public final class CloudDatastreamResourcesProto { - private CloudDatastreamResourcesProto() {} - - 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_datastream_v1alpha1_OracleProfile_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datastream_v1alpha1_OracleProfile_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datastream_v1alpha1_OracleProfile_ConnectionAttributesEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datastream_v1alpha1_OracleProfile_ConnectionAttributesEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datastream_v1alpha1_MysqlProfile_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datastream_v1alpha1_MysqlProfile_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datastream_v1alpha1_GcsProfile_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datastream_v1alpha1_GcsProfile_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datastream_v1alpha1_NoConnectivitySettings_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datastream_v1alpha1_NoConnectivitySettings_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datastream_v1alpha1_StaticServiceIpConnectivity_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datastream_v1alpha1_StaticServiceIpConnectivity_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datastream_v1alpha1_ForwardSshTunnelConnectivity_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datastream_v1alpha1_ForwardSshTunnelConnectivity_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datastream_v1alpha1_VpcPeeringConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datastream_v1alpha1_VpcPeeringConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datastream_v1alpha1_PrivateConnection_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datastream_v1alpha1_PrivateConnection_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datastream_v1alpha1_PrivateConnection_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datastream_v1alpha1_PrivateConnection_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datastream_v1alpha1_PrivateConnectivity_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datastream_v1alpha1_PrivateConnectivity_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datastream_v1alpha1_Route_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datastream_v1alpha1_Route_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datastream_v1alpha1_Route_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datastream_v1alpha1_Route_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datastream_v1alpha1_MysqlSslConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datastream_v1alpha1_MysqlSslConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datastream_v1alpha1_ConnectionProfile_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datastream_v1alpha1_ConnectionProfile_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datastream_v1alpha1_ConnectionProfile_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datastream_v1alpha1_ConnectionProfile_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datastream_v1alpha1_OracleColumn_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datastream_v1alpha1_OracleColumn_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datastream_v1alpha1_OracleTable_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datastream_v1alpha1_OracleTable_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datastream_v1alpha1_OracleSchema_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datastream_v1alpha1_OracleSchema_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datastream_v1alpha1_OracleRdbms_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datastream_v1alpha1_OracleRdbms_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datastream_v1alpha1_OracleSourceConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datastream_v1alpha1_OracleSourceConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datastream_v1alpha1_MysqlColumn_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datastream_v1alpha1_MysqlColumn_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datastream_v1alpha1_MysqlTable_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datastream_v1alpha1_MysqlTable_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datastream_v1alpha1_MysqlDatabase_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datastream_v1alpha1_MysqlDatabase_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datastream_v1alpha1_MysqlRdbms_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datastream_v1alpha1_MysqlRdbms_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datastream_v1alpha1_MysqlSourceConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datastream_v1alpha1_MysqlSourceConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datastream_v1alpha1_SourceConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datastream_v1alpha1_SourceConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datastream_v1alpha1_AvroFileFormat_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datastream_v1alpha1_AvroFileFormat_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datastream_v1alpha1_JsonFileFormat_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datastream_v1alpha1_JsonFileFormat_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datastream_v1alpha1_GcsDestinationConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datastream_v1alpha1_GcsDestinationConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datastream_v1alpha1_DestinationConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datastream_v1alpha1_DestinationConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datastream_v1alpha1_Stream_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datastream_v1alpha1_Stream_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datastream_v1alpha1_Stream_BackfillAllStrategy_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datastream_v1alpha1_Stream_BackfillAllStrategy_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datastream_v1alpha1_Stream_BackfillNoneStrategy_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datastream_v1alpha1_Stream_BackfillNoneStrategy_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datastream_v1alpha1_Stream_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datastream_v1alpha1_Stream_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datastream_v1alpha1_Error_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datastream_v1alpha1_Error_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datastream_v1alpha1_Error_DetailsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datastream_v1alpha1_Error_DetailsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datastream_v1alpha1_ValidationResult_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datastream_v1alpha1_ValidationResult_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datastream_v1alpha1_Validation_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datastream_v1alpha1_Validation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datastream_v1alpha1_ValidationMessage_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datastream_v1alpha1_ValidationMessage_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datastream_v1alpha1_ValidationMessage_MetadataEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datastream_v1alpha1_ValidationMessage_MetadataEntry_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/datastream/v1alpha1/datas" - + "tream_resources.proto\022 google.cloud.data" - + "stream.v1alpha1\032\037google/api/field_behavi" - + "or.proto\032\031google/api/resource.proto\032\036goo" - + "gle/protobuf/duration.proto\032\037google/prot" - + "obuf/timestamp.proto\"\250\002\n\rOracleProfile\022\025" - + "\n\010hostname\030\001 \001(\tB\003\340A\002\022\014\n\004port\030\002 \001(\005\022\025\n\010u" - + "sername\030\003 \001(\tB\003\340A\002\022\025\n\010password\030\004 \001(\tB\003\340A" - + "\002\022\035\n\020database_service\030\005 \001(\tB\003\340A\002\022h\n\025conn" - + "ection_attributes\030\006 \003(\0132I.google.cloud.d" - + "atastream.v1alpha1.OracleProfile.Connect" - + "ionAttributesEntry\032;\n\031ConnectionAttribut" - + "esEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"" - + "\252\001\n\014MysqlProfile\022\025\n\010hostname\030\001 \001(\tB\003\340A\002\022" - + "\014\n\004port\030\002 \001(\005\022\025\n\010username\030\003 \001(\tB\003\340A\002\022\030\n\010" - + "password\030\004 \001(\tB\006\340A\002\340A\004\022D\n\nssl_config\030\005 \001" - + "(\01320.google.cloud.datastream.v1alpha1.My" - + "sqlSslConfig\"9\n\nGcsProfile\022\030\n\013bucket_nam" - + "e\030\001 \001(\tB\003\340A\002\022\021\n\troot_path\030\002 \001(\t\"\030\n\026NoCon" - + "nectivitySettings\"\035\n\033StaticServiceIpConn" - + "ectivity\"\250\001\n\034ForwardSshTunnelConnectivit" - + "y\022\025\n\010hostname\030\001 \001(\tB\003\340A\002\022\025\n\010username\030\002 \001" - + "(\tB\003\340A\002\022\014\n\004port\030\003 \001(\005\022\027\n\010password\030d \001(\tB" - + "\003\340A\004H\000\022\032\n\013private_key\030e \001(\tB\003\340A\004H\000B\027\n\025au" - + "thentication_method\">\n\020VpcPeeringConfig\022" - + "\025\n\010vpc_name\030\001 \001(\tB\003\340A\002\022\023\n\006subnet\030\002 \001(\tB\003" - + "\340A\002\"\324\005\n\021PrivateConnection\022\021\n\004name\030\001 \001(\tB" - + "\003\340A\003\0224\n\013create_time\030\002 \001(\0132\032.google.proto" - + "buf.TimestampB\003\340A\003\0224\n\013update_time\030\003 \001(\0132" - + "\032.google.protobuf.TimestampB\003\340A\003\022O\n\006labe" - + "ls\030\004 \003(\0132?.google.cloud.datastream.v1alp" - + "ha1.PrivateConnection.LabelsEntry\022\031\n\014dis" - + "play_name\030\005 \001(\tB\003\340A\002\022M\n\005state\030\006 \001(\01629.go" - + "ogle.cloud.datastream.v1alpha1.PrivateCo" - + "nnection.StateB\003\340A\003\022;\n\005error\030\007 \001(\0132\'.goo" - + "gle.cloud.datastream.v1alpha1.ErrorB\003\340A\003" - + "\022N\n\022vpc_peering_config\030d \001(\01322.google.cl" - + "oud.datastream.v1alpha1.VpcPeeringConfig" - + "\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 " - + "\001(\t:\0028\001\"E\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022" - + "\014\n\010CREATING\020\001\022\013\n\007CREATED\020\002\022\n\n\006FAILED\020\003:\201" - + "\001\352A~\n+datastream.googleapis.com/PrivateC" - + "onnection\022Oprojects/{project}/locations/" - + "{location}/privateConnections/{private_c" - + "onnection}\";\n\023PrivateConnectivity\022$\n\027pri" - + "vate_connection_name\030\001 \001(\tB\003\340A\002\"\331\003\n\005Rout" - + "e\022\021\n\004name\030\001 \001(\tB\003\340A\003\0224\n\013create_time\030\002 \001(" - + "\0132\032.google.protobuf.TimestampB\003\340A\003\0224\n\013up" - + "date_time\030\003 \001(\0132\032.google.protobuf.Timest" - + "ampB\003\340A\003\022C\n\006labels\030\004 \003(\01323.google.cloud." - + "datastream.v1alpha1.Route.LabelsEntry\022\031\n" - + "\014display_name\030\005 \001(\tB\003\340A\002\022 \n\023destination_" - + "address\030\006 \001(\tB\003\340A\002\022\030\n\020destination_port\030\007" - + " \001(\005\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005valu" - + "e\030\002 \001(\t:\0028\001:\205\001\352A\201\001\n\037datastream.googleapi" - + "s.com/Route\022^projects/{project}/location" - + "s/{location}/privateConnections/{private" - + "_connection}/routes/{route}\"\312\001\n\016MysqlSsl" - + "Config\022\027\n\nclient_key\030\013 \001(\tB\003\340A\004\022\033\n\016clien" - + "t_key_set\030\014 \001(\010B\003\340A\003\022\037\n\022client_certifica" - + "te\030\r \001(\tB\003\340A\004\022#\n\026client_certificate_set\030" - + "\016 \001(\010B\003\340A\003\022\033\n\016ca_certificate\030\017 \001(\tB\003\340A\004\022" - + "\037\n\022ca_certificate_set\030\020 \001(\010B\003\340A\003\"\242\010\n\021Con" - + "nectionProfile\022\021\n\004name\030\001 \001(\tB\003\340A\003\0224\n\013cre" - + "ate_time\030\002 \001(\0132\032.google.protobuf.Timesta" - + "mpB\003\340A\003\0224\n\013update_time\030\003 \001(\0132\032.google.pr" - + "otobuf.TimestampB\003\340A\003\022O\n\006labels\030\004 \003(\0132?." - + "google.cloud.datastream.v1alpha1.Connect" - + "ionProfile.LabelsEntry\022\031\n\014display_name\030\005" - + " \001(\tB\003\340A\002\022I\n\016oracle_profile\030d \001(\0132/.goog" - + "le.cloud.datastream.v1alpha1.OracleProfi" - + "leH\000\022C\n\013gcs_profile\030e \001(\0132,.google.cloud" - + ".datastream.v1alpha1.GcsProfileH\000\022G\n\rmys" - + "ql_profile\030f \001(\0132..google.cloud.datastre" - + "am.v1alpha1.MysqlProfileH\000\022T\n\017no_connect" - + "ivity\030\310\001 \001(\01328.google.cloud.datastream.v" - + "1alpha1.NoConnectivitySettingsH\001\022h\n\036stat" - + "ic_service_ip_connectivity\030\311\001 \001(\0132=.goog" - + "le.cloud.datastream.v1alpha1.StaticServi" - + "ceIpConnectivityH\001\022c\n\030forward_ssh_connec" - + "tivity\030\312\001 \001(\0132>.google.cloud.datastream." - + "v1alpha1.ForwardSshTunnelConnectivityH\001\022" - + "V\n\024private_connectivity\030\313\001 \001(\01325.google." - + "cloud.datastream.v1alpha1.PrivateConnect" - + "ivityH\001\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005v" - + "alue\030\002 \001(\t:\0028\001:\201\001\352A~\n+datastream.googlea" - + "pis.com/ConnectionProfile\022Oprojects/{pro" - + "ject}/locations/{location}/connectionPro" - + "files/{connection_profile}B\t\n\007profileB\016\n" - + "\014connectivity\"\273\001\n\014OracleColumn\022\023\n\013column" - + "_name\030\001 \001(\t\022\021\n\tdata_type\030\002 \001(\t\022\016\n\006length" - + "\030\003 \001(\005\022\021\n\tprecision\030\004 \001(\005\022\r\n\005scale\030\005 \001(\005" - + "\022\020\n\010encoding\030\006 \001(\t\022\023\n\013primary_key\030\007 \001(\010\022" - + "\020\n\010nullable\030\010 \001(\010\022\030\n\020ordinal_position\030\t " - + "\001(\005\"i\n\013OracleTable\022\022\n\ntable_name\030\001 \001(\t\022F" - + "\n\016oracle_columns\030\002 \003(\0132..google.cloud.da" - + "tastream.v1alpha1.OracleColumn\"i\n\014Oracle" - + "Schema\022\023\n\013schema_name\030\001 \001(\t\022D\n\roracle_ta" - + "bles\030\002 \003(\0132-.google.cloud.datastream.v1a" - + "lpha1.OracleTable\"U\n\013OracleRdbms\022F\n\016orac" - + "le_schemas\030\001 \003(\0132..google.cloud.datastre" - + "am.v1alpha1.OracleSchema\"\231\001\n\022OracleSourc" - + "eConfig\022@\n\tallowlist\030\001 \001(\0132-.google.clou" - + "d.datastream.v1alpha1.OracleRdbms\022A\n\nrej" - + "ectlist\030\002 \001(\0132-.google.cloud.datastream." - + "v1alpha1.OracleRdbms\"\231\001\n\013MysqlColumn\022\023\n\013" - + "column_name\030\001 \001(\t\022\021\n\tdata_type\030\002 \001(\t\022\016\n\006" - + "length\030\003 \001(\005\022\021\n\tcollation\030\004 \001(\t\022\023\n\013prima" - + "ry_key\030\005 \001(\010\022\020\n\010nullable\030\006 \001(\010\022\030\n\020ordina" - + "l_position\030\007 \001(\005\"f\n\nMysqlTable\022\022\n\ntable_" - + "name\030\001 \001(\t\022D\n\rmysql_columns\030\002 \003(\0132-.goog" - + "le.cloud.datastream.v1alpha1.MysqlColumn" - + "\"j\n\rMysqlDatabase\022\025\n\rdatabase_name\030\001 \001(\t" - + "\022B\n\014mysql_tables\030\002 \003(\0132,.google.cloud.da" - + "tastream.v1alpha1.MysqlTable\"V\n\nMysqlRdb" - + "ms\022H\n\017mysql_databases\030\001 \003(\0132/.google.clo" - + "ud.datastream.v1alpha1.MysqlDatabase\"\226\001\n" - + "\021MysqlSourceConfig\022?\n\tallowlist\030\001 \001(\0132,." - + "google.cloud.datastream.v1alpha1.MysqlRd" - + "bms\022@\n\nrejectlist\030\002 \001(\0132,.google.cloud.d" - + "atastream.v1alpha1.MysqlRdbms\"\375\001\n\014Source" - + "Config\022+\n\036source_connection_profile_name" - + "\030\001 \001(\tB\003\340A\002\022T\n\024oracle_source_config\030d \001(" - + "\01324.google.cloud.datastream.v1alpha1.Ora" - + "cleSourceConfigH\000\022R\n\023mysql_source_config" - + "\030e \001(\01323.google.cloud.datastream.v1alpha" - + "1.MysqlSourceConfigH\000B\026\n\024source_stream_c" - + "onfig\"\020\n\016AvroFileFormat\"\212\002\n\016JsonFileForm" - + "at\022N\n\022schema_file_format\030\001 \001(\01622.google." - + "cloud.datastream.v1alpha1.SchemaFileForm" - + "at\022U\n\013compression\030\002 \001(\0162@.google.cloud.d" - + "atastream.v1alpha1.JsonFileFormat.JsonCo" - + "mpression\"Q\n\017JsonCompression\022 \n\034JSON_COM" - + "PRESSION_UNSPECIFIED\020\000\022\022\n\016NO_COMPRESSION" - + "\020\001\022\010\n\004GZIP\020\002\"\362\002\n\024GcsDestinationConfig\022\014\n" - + "\004path\030\001 \001(\t\022L\n\017gcs_file_format\030\002 \001(\0162/.g" - + "oogle.cloud.datastream.v1alpha1.GcsFileF" - + "ormatB\002\030\001\022\030\n\020file_rotation_mb\030\003 \001(\005\0229\n\026f" - + "ile_rotation_interval\030\004 \001(\0132\031.google.pro" - + "tobuf.Duration\022L\n\020avro_file_format\030d \001(\013" - + "20.google.cloud.datastream.v1alpha1.Avro" - + "FileFormatH\000\022L\n\020json_file_format\030e \001(\01320" - + ".google.cloud.datastream.v1alpha1.JsonFi" - + "leFormatH\000B\r\n\013file_format\"\274\001\n\021Destinatio" - + "nConfig\0220\n#destination_connection_profil" - + "e_name\030\001 \001(\tB\003\340A\002\022X\n\026gcs_destination_con" - + "fig\030d \001(\01326.google.cloud.datastream.v1al" - + "pha1.GcsDestinationConfigH\000B\033\n\031destinati" - + "on_stream_config\"\330\t\n\006Stream\022\021\n\004name\030\001 \001(" - + "\tB\003\340A\003\0224\n\013create_time\030\002 \001(\0132\032.google.pro" - + "tobuf.TimestampB\003\340A\003\0224\n\013update_time\030\003 \001(" - + "\0132\032.google.protobuf.TimestampB\003\340A\003\022D\n\006la" - + "bels\030\004 \003(\01324.google.cloud.datastream.v1a" - + "lpha1.Stream.LabelsEntry\022\031\n\014display_name" - + "\030\005 \001(\tB\003\340A\002\022J\n\rsource_config\030\006 \001(\0132..goo" - + "gle.cloud.datastream.v1alpha1.SourceConf" - + "igB\003\340A\002\022T\n\022destination_config\030\007 \001(\01323.go" - + "ogle.cloud.datastream.v1alpha1.Destinati" - + "onConfigB\003\340A\002\022=\n\005state\030\010 \001(\0162..google.cl" - + "oud.datastream.v1alpha1.Stream.State\022T\n\014" - + "backfill_all\030e \001(\0132<.google.cloud.datast" - + "ream.v1alpha1.Stream.BackfillAllStrategy" - + "H\000\022V\n\rbackfill_none\030f \001(\0132=.google.cloud" - + ".datastream.v1alpha1.Stream.BackfillNone" - + "StrategyH\000\022<\n\006errors\030\t \003(\0132\'.google.clou" - + "d.datastream.v1alpha1.ErrorB\003\340A\003\032\313\001\n\023Bac" - + "kfillAllStrategy\022P\n\027oracle_excluded_obje" - + "cts\030\001 \001(\0132-.google.cloud.datastream.v1al" - + "pha1.OracleRdbmsH\000\022N\n\026mysql_excluded_obj" - + "ects\030\002 \001(\0132,.google.cloud.datastream.v1a" - + "lpha1.MysqlRdbmsH\000B\022\n\020excluded_objects\032\026" - + "\n\024BackfillNoneStrategy\032-\n\013LabelsEntry\022\013\n" - + "\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\225\001\n\005State\022" - + "\025\n\021STATE_UNSPECIFIED\020\000\022\013\n\007CREATED\020\001\022\013\n\007R" - + "UNNING\020\002\022\n\n\006PAUSED\020\003\022\017\n\013MAINTENANCE\020\004\022\n\n" - + "\006FAILED\020\005\022\026\n\022FAILED_PERMANENTLY\020\006\022\014\n\010STA" - + "RTING\020\007\022\014\n\010DRAINING\020\010:_\352A\\\n datastream.g" - + "oogleapis.com/Stream\0228projects/{project}" - + "/locations/{location}/streams/{stream}B\023" - + "\n\021backfill_strategy\"\343\001\n\005Error\022\016\n\006reason\030" - + "\001 \001(\t\022\022\n\nerror_uuid\030\002 \001(\t\022\017\n\007message\030\003 \001" - + "(\t\022.\n\nerror_time\030\004 \001(\0132\032.google.protobuf" - + ".Timestamp\022E\n\007details\030\005 \003(\01324.google.clo" - + "ud.datastream.v1alpha1.Error.DetailsEntr" - + "y\032.\n\014DetailsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030" - + "\002 \001(\t:\0028\001\"U\n\020ValidationResult\022A\n\013validat" - + "ions\030\001 \003(\0132,.google.cloud.datastream.v1a" - + "lpha1.Validation\"\206\002\n\nValidation\022\023\n\013descr" - + "iption\030\001 \001(\t\022C\n\006status\030\002 \001(\01623.google.cl" - + "oud.datastream.v1alpha1.Validation.Statu" - + "s\022D\n\007message\030\003 \003(\01323.google.cloud.datast" - + "ream.v1alpha1.ValidationMessage\022\014\n\004code\030" - + "\004 \001(\t\"J\n\006Status\022\026\n\022STATUS_UNSPECIFIED\020\000\022" - + "\020\n\014NOT_EXECUTED\020\001\022\n\n\006FAILED\020\002\022\n\n\006PASSED\020" - + "\003\"\272\002\n\021ValidationMessage\022\017\n\007message\030\001 \001(\t" - + "\022H\n\005level\030\002 \001(\01629.google.cloud.datastrea" - + "m.v1alpha1.ValidationMessage.Level\022S\n\010me" - + "tadata\030\003 \003(\0132A.google.cloud.datastream.v" - + "1alpha1.ValidationMessage.MetadataEntry\022" - + "\014\n\004code\030\004 \001(\t\032/\n\rMetadataEntry\022\013\n\003key\030\001 " - + "\001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"6\n\005Level\022\025\n\021LEVEL" - + "_UNSPECIFIED\020\000\022\013\n\007WARNING\020\001\022\t\n\005ERROR\020\002*>" - + "\n\rGcsFileFormat\022\037\n\033GCS_FILE_FORMAT_UNSPE" - + "CIFIED\020\000\022\010\n\004AVRO\020\001\032\002\030\001*`\n\020SchemaFileForm" - + "at\022\"\n\036SCHEMA_FILE_FORMAT_UNSPECIFIED\020\000\022\022" - + "\n\016NO_SCHEMA_FILE\020\001\022\024\n\020AVRO_SCHEMA_FILE\020\002" - + "B\377\001\n$com.google.cloud.datastream.v1alpha" - + "1B\035CloudDatastreamResourcesProtoP\001ZJgoog" - + "le.golang.org/genproto/googleapis/cloud/" - + "datastream/v1alpha1;datastream\252\002 Google." - + "Cloud.Datastream.V1Alpha1\312\002 Google\\Cloud" - + "\\Datastream\\V1alpha1\352\002#Google::Cloud::Da" - + "tastream::V1alpha1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_datastream_v1alpha1_OracleProfile_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_datastream_v1alpha1_OracleProfile_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datastream_v1alpha1_OracleProfile_descriptor, - new java.lang.String[] { - "Hostname", "Port", "Username", "Password", "DatabaseService", "ConnectionAttributes", - }); - internal_static_google_cloud_datastream_v1alpha1_OracleProfile_ConnectionAttributesEntry_descriptor = - internal_static_google_cloud_datastream_v1alpha1_OracleProfile_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_datastream_v1alpha1_OracleProfile_ConnectionAttributesEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datastream_v1alpha1_OracleProfile_ConnectionAttributesEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_datastream_v1alpha1_MysqlProfile_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_datastream_v1alpha1_MysqlProfile_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datastream_v1alpha1_MysqlProfile_descriptor, - new java.lang.String[] { - "Hostname", "Port", "Username", "Password", "SslConfig", - }); - internal_static_google_cloud_datastream_v1alpha1_GcsProfile_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_datastream_v1alpha1_GcsProfile_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datastream_v1alpha1_GcsProfile_descriptor, - new java.lang.String[] { - "BucketName", "RootPath", - }); - internal_static_google_cloud_datastream_v1alpha1_NoConnectivitySettings_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_datastream_v1alpha1_NoConnectivitySettings_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datastream_v1alpha1_NoConnectivitySettings_descriptor, - new java.lang.String[] {}); - internal_static_google_cloud_datastream_v1alpha1_StaticServiceIpConnectivity_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_datastream_v1alpha1_StaticServiceIpConnectivity_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datastream_v1alpha1_StaticServiceIpConnectivity_descriptor, - new java.lang.String[] {}); - internal_static_google_cloud_datastream_v1alpha1_ForwardSshTunnelConnectivity_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_datastream_v1alpha1_ForwardSshTunnelConnectivity_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datastream_v1alpha1_ForwardSshTunnelConnectivity_descriptor, - new java.lang.String[] { - "Hostname", "Username", "Port", "Password", "PrivateKey", "AuthenticationMethod", - }); - internal_static_google_cloud_datastream_v1alpha1_VpcPeeringConfig_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_datastream_v1alpha1_VpcPeeringConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datastream_v1alpha1_VpcPeeringConfig_descriptor, - new java.lang.String[] { - "VpcName", "Subnet", - }); - internal_static_google_cloud_datastream_v1alpha1_PrivateConnection_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_datastream_v1alpha1_PrivateConnection_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datastream_v1alpha1_PrivateConnection_descriptor, - new java.lang.String[] { - "Name", - "CreateTime", - "UpdateTime", - "Labels", - "DisplayName", - "State", - "Error", - "VpcPeeringConfig", - }); - internal_static_google_cloud_datastream_v1alpha1_PrivateConnection_LabelsEntry_descriptor = - internal_static_google_cloud_datastream_v1alpha1_PrivateConnection_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_datastream_v1alpha1_PrivateConnection_LabelsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datastream_v1alpha1_PrivateConnection_LabelsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_datastream_v1alpha1_PrivateConnectivity_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_datastream_v1alpha1_PrivateConnectivity_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datastream_v1alpha1_PrivateConnectivity_descriptor, - new java.lang.String[] { - "PrivateConnectionName", - }); - internal_static_google_cloud_datastream_v1alpha1_Route_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_datastream_v1alpha1_Route_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datastream_v1alpha1_Route_descriptor, - new java.lang.String[] { - "Name", - "CreateTime", - "UpdateTime", - "Labels", - "DisplayName", - "DestinationAddress", - "DestinationPort", - }); - internal_static_google_cloud_datastream_v1alpha1_Route_LabelsEntry_descriptor = - internal_static_google_cloud_datastream_v1alpha1_Route_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_datastream_v1alpha1_Route_LabelsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datastream_v1alpha1_Route_LabelsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_datastream_v1alpha1_MysqlSslConfig_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_datastream_v1alpha1_MysqlSslConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datastream_v1alpha1_MysqlSslConfig_descriptor, - new java.lang.String[] { - "ClientKey", - "ClientKeySet", - "ClientCertificate", - "ClientCertificateSet", - "CaCertificate", - "CaCertificateSet", - }); - internal_static_google_cloud_datastream_v1alpha1_ConnectionProfile_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_datastream_v1alpha1_ConnectionProfile_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datastream_v1alpha1_ConnectionProfile_descriptor, - new java.lang.String[] { - "Name", - "CreateTime", - "UpdateTime", - "Labels", - "DisplayName", - "OracleProfile", - "GcsProfile", - "MysqlProfile", - "NoConnectivity", - "StaticServiceIpConnectivity", - "ForwardSshConnectivity", - "PrivateConnectivity", - "Profile", - "Connectivity", - }); - internal_static_google_cloud_datastream_v1alpha1_ConnectionProfile_LabelsEntry_descriptor = - internal_static_google_cloud_datastream_v1alpha1_ConnectionProfile_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_datastream_v1alpha1_ConnectionProfile_LabelsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datastream_v1alpha1_ConnectionProfile_LabelsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_datastream_v1alpha1_OracleColumn_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_datastream_v1alpha1_OracleColumn_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datastream_v1alpha1_OracleColumn_descriptor, - new java.lang.String[] { - "ColumnName", - "DataType", - "Length", - "Precision", - "Scale", - "Encoding", - "PrimaryKey", - "Nullable", - "OrdinalPosition", - }); - internal_static_google_cloud_datastream_v1alpha1_OracleTable_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_datastream_v1alpha1_OracleTable_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datastream_v1alpha1_OracleTable_descriptor, - new java.lang.String[] { - "TableName", "OracleColumns", - }); - internal_static_google_cloud_datastream_v1alpha1_OracleSchema_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_cloud_datastream_v1alpha1_OracleSchema_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datastream_v1alpha1_OracleSchema_descriptor, - new java.lang.String[] { - "SchemaName", "OracleTables", - }); - internal_static_google_cloud_datastream_v1alpha1_OracleRdbms_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_cloud_datastream_v1alpha1_OracleRdbms_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datastream_v1alpha1_OracleRdbms_descriptor, - new java.lang.String[] { - "OracleSchemas", - }); - internal_static_google_cloud_datastream_v1alpha1_OracleSourceConfig_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_cloud_datastream_v1alpha1_OracleSourceConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datastream_v1alpha1_OracleSourceConfig_descriptor, - new java.lang.String[] { - "Allowlist", "Rejectlist", - }); - internal_static_google_cloud_datastream_v1alpha1_MysqlColumn_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_cloud_datastream_v1alpha1_MysqlColumn_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datastream_v1alpha1_MysqlColumn_descriptor, - new java.lang.String[] { - "ColumnName", - "DataType", - "Length", - "Collation", - "PrimaryKey", - "Nullable", - "OrdinalPosition", - }); - internal_static_google_cloud_datastream_v1alpha1_MysqlTable_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_cloud_datastream_v1alpha1_MysqlTable_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datastream_v1alpha1_MysqlTable_descriptor, - new java.lang.String[] { - "TableName", "MysqlColumns", - }); - internal_static_google_cloud_datastream_v1alpha1_MysqlDatabase_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_google_cloud_datastream_v1alpha1_MysqlDatabase_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datastream_v1alpha1_MysqlDatabase_descriptor, - new java.lang.String[] { - "DatabaseName", "MysqlTables", - }); - internal_static_google_cloud_datastream_v1alpha1_MysqlRdbms_descriptor = - getDescriptor().getMessageTypes().get(20); - internal_static_google_cloud_datastream_v1alpha1_MysqlRdbms_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datastream_v1alpha1_MysqlRdbms_descriptor, - new java.lang.String[] { - "MysqlDatabases", - }); - internal_static_google_cloud_datastream_v1alpha1_MysqlSourceConfig_descriptor = - getDescriptor().getMessageTypes().get(21); - internal_static_google_cloud_datastream_v1alpha1_MysqlSourceConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datastream_v1alpha1_MysqlSourceConfig_descriptor, - new java.lang.String[] { - "Allowlist", "Rejectlist", - }); - internal_static_google_cloud_datastream_v1alpha1_SourceConfig_descriptor = - getDescriptor().getMessageTypes().get(22); - internal_static_google_cloud_datastream_v1alpha1_SourceConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datastream_v1alpha1_SourceConfig_descriptor, - new java.lang.String[] { - "SourceConnectionProfileName", - "OracleSourceConfig", - "MysqlSourceConfig", - "SourceStreamConfig", - }); - internal_static_google_cloud_datastream_v1alpha1_AvroFileFormat_descriptor = - getDescriptor().getMessageTypes().get(23); - internal_static_google_cloud_datastream_v1alpha1_AvroFileFormat_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datastream_v1alpha1_AvroFileFormat_descriptor, - new java.lang.String[] {}); - internal_static_google_cloud_datastream_v1alpha1_JsonFileFormat_descriptor = - getDescriptor().getMessageTypes().get(24); - internal_static_google_cloud_datastream_v1alpha1_JsonFileFormat_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datastream_v1alpha1_JsonFileFormat_descriptor, - new java.lang.String[] { - "SchemaFileFormat", "Compression", - }); - internal_static_google_cloud_datastream_v1alpha1_GcsDestinationConfig_descriptor = - getDescriptor().getMessageTypes().get(25); - internal_static_google_cloud_datastream_v1alpha1_GcsDestinationConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datastream_v1alpha1_GcsDestinationConfig_descriptor, - new java.lang.String[] { - "Path", - "GcsFileFormat", - "FileRotationMb", - "FileRotationInterval", - "AvroFileFormat", - "JsonFileFormat", - "FileFormat", - }); - internal_static_google_cloud_datastream_v1alpha1_DestinationConfig_descriptor = - getDescriptor().getMessageTypes().get(26); - internal_static_google_cloud_datastream_v1alpha1_DestinationConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datastream_v1alpha1_DestinationConfig_descriptor, - new java.lang.String[] { - "DestinationConnectionProfileName", "GcsDestinationConfig", "DestinationStreamConfig", - }); - internal_static_google_cloud_datastream_v1alpha1_Stream_descriptor = - getDescriptor().getMessageTypes().get(27); - internal_static_google_cloud_datastream_v1alpha1_Stream_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datastream_v1alpha1_Stream_descriptor, - new java.lang.String[] { - "Name", - "CreateTime", - "UpdateTime", - "Labels", - "DisplayName", - "SourceConfig", - "DestinationConfig", - "State", - "BackfillAll", - "BackfillNone", - "Errors", - "BackfillStrategy", - }); - internal_static_google_cloud_datastream_v1alpha1_Stream_BackfillAllStrategy_descriptor = - internal_static_google_cloud_datastream_v1alpha1_Stream_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_datastream_v1alpha1_Stream_BackfillAllStrategy_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datastream_v1alpha1_Stream_BackfillAllStrategy_descriptor, - new java.lang.String[] { - "OracleExcludedObjects", "MysqlExcludedObjects", "ExcludedObjects", - }); - internal_static_google_cloud_datastream_v1alpha1_Stream_BackfillNoneStrategy_descriptor = - internal_static_google_cloud_datastream_v1alpha1_Stream_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_datastream_v1alpha1_Stream_BackfillNoneStrategy_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datastream_v1alpha1_Stream_BackfillNoneStrategy_descriptor, - new java.lang.String[] {}); - internal_static_google_cloud_datastream_v1alpha1_Stream_LabelsEntry_descriptor = - internal_static_google_cloud_datastream_v1alpha1_Stream_descriptor.getNestedTypes().get(2); - internal_static_google_cloud_datastream_v1alpha1_Stream_LabelsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datastream_v1alpha1_Stream_LabelsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_datastream_v1alpha1_Error_descriptor = - getDescriptor().getMessageTypes().get(28); - internal_static_google_cloud_datastream_v1alpha1_Error_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datastream_v1alpha1_Error_descriptor, - new java.lang.String[] { - "Reason", "ErrorUuid", "Message", "ErrorTime", "Details", - }); - internal_static_google_cloud_datastream_v1alpha1_Error_DetailsEntry_descriptor = - internal_static_google_cloud_datastream_v1alpha1_Error_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_datastream_v1alpha1_Error_DetailsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datastream_v1alpha1_Error_DetailsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_datastream_v1alpha1_ValidationResult_descriptor = - getDescriptor().getMessageTypes().get(29); - internal_static_google_cloud_datastream_v1alpha1_ValidationResult_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datastream_v1alpha1_ValidationResult_descriptor, - new java.lang.String[] { - "Validations", - }); - internal_static_google_cloud_datastream_v1alpha1_Validation_descriptor = - getDescriptor().getMessageTypes().get(30); - internal_static_google_cloud_datastream_v1alpha1_Validation_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datastream_v1alpha1_Validation_descriptor, - new java.lang.String[] { - "Description", "Status", "Message", "Code", - }); - internal_static_google_cloud_datastream_v1alpha1_ValidationMessage_descriptor = - getDescriptor().getMessageTypes().get(31); - internal_static_google_cloud_datastream_v1alpha1_ValidationMessage_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datastream_v1alpha1_ValidationMessage_descriptor, - new java.lang.String[] { - "Message", "Level", "Metadata", "Code", - }); - internal_static_google_cloud_datastream_v1alpha1_ValidationMessage_MetadataEntry_descriptor = - internal_static_google_cloud_datastream_v1alpha1_ValidationMessage_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_datastream_v1alpha1_ValidationMessage_MetadataEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_datastream_v1alpha1_ValidationMessage_MetadataEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/CloudDatastreamServiceProto.java b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/CloudDatastreamServiceProto.java deleted file mode 100644 index 02306caf..00000000 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/CloudDatastreamServiceProto.java +++ /dev/null @@ -1,699 +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/datastream/v1alpha1/datastream.proto - -package com.google.cloud.datastream.v1alpha1; - -public final class CloudDatastreamServiceProto { - private CloudDatastreamServiceProto() {} - - 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_datastream_v1alpha1_DiscoverConnectionProfileRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datastream_v1alpha1_DiscoverConnectionProfileRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datastream_v1alpha1_DiscoverConnectionProfileResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datastream_v1alpha1_DiscoverConnectionProfileResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datastream_v1alpha1_FetchStaticIpsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datastream_v1alpha1_FetchStaticIpsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datastream_v1alpha1_FetchStaticIpsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datastream_v1alpha1_FetchStaticIpsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datastream_v1alpha1_FetchErrorsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datastream_v1alpha1_FetchErrorsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datastream_v1alpha1_FetchErrorsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datastream_v1alpha1_FetchErrorsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datastream_v1alpha1_ListConnectionProfilesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datastream_v1alpha1_ListConnectionProfilesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datastream_v1alpha1_ListConnectionProfilesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datastream_v1alpha1_ListConnectionProfilesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datastream_v1alpha1_GetConnectionProfileRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datastream_v1alpha1_GetConnectionProfileRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datastream_v1alpha1_CreateConnectionProfileRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datastream_v1alpha1_CreateConnectionProfileRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datastream_v1alpha1_UpdateConnectionProfileRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datastream_v1alpha1_UpdateConnectionProfileRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datastream_v1alpha1_DeleteConnectionProfileRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datastream_v1alpha1_DeleteConnectionProfileRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datastream_v1alpha1_ListStreamsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datastream_v1alpha1_ListStreamsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datastream_v1alpha1_ListStreamsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datastream_v1alpha1_ListStreamsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datastream_v1alpha1_GetStreamRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datastream_v1alpha1_GetStreamRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datastream_v1alpha1_CreateStreamRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datastream_v1alpha1_CreateStreamRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datastream_v1alpha1_UpdateStreamRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datastream_v1alpha1_UpdateStreamRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datastream_v1alpha1_DeleteStreamRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datastream_v1alpha1_DeleteStreamRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datastream_v1alpha1_OperationMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datastream_v1alpha1_OperationMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datastream_v1alpha1_CreatePrivateConnectionRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datastream_v1alpha1_CreatePrivateConnectionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datastream_v1alpha1_ListPrivateConnectionsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datastream_v1alpha1_ListPrivateConnectionsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datastream_v1alpha1_ListPrivateConnectionsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datastream_v1alpha1_ListPrivateConnectionsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datastream_v1alpha1_DeletePrivateConnectionRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datastream_v1alpha1_DeletePrivateConnectionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datastream_v1alpha1_GetPrivateConnectionRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datastream_v1alpha1_GetPrivateConnectionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datastream_v1alpha1_CreateRouteRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datastream_v1alpha1_CreateRouteRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datastream_v1alpha1_ListRoutesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datastream_v1alpha1_ListRoutesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datastream_v1alpha1_ListRoutesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datastream_v1alpha1_ListRoutesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datastream_v1alpha1_DeleteRouteRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datastream_v1alpha1_DeleteRouteRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_datastream_v1alpha1_GetRouteRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_datastream_v1alpha1_GetRouteRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n1google/cloud/datastream/v1alpha1/datas" - + "tream.proto\022 google.cloud.datastream.v1a" - + "lpha1\032\034google/api/annotations.proto\032\027goo" - + "gle/api/client.proto\032\037google/api/field_b" - + "ehavior.proto\032\031google/api/resource.proto" - + "\032;google/cloud/datastream/v1alpha1/datas" - + "tream_resources.proto\032#google/longrunnin" - + "g/operations.proto\032 google/protobuf/fiel" - + "d_mask.proto\032\037google/protobuf/timestamp." - + "proto\"\275\003\n DiscoverConnectionProfileReque" - + "st\022C\n\006parent\030\001 \001(\tB3\340A\002\372A-\022+datastream.g" - + "oogleapis.com/ConnectionProfile\022R\n\022conne" - + "ction_profile\030\310\001 \001(\01323.google.cloud.data" - + "stream.v1alpha1.ConnectionProfileH\000\022\"\n\027c" - + "onnection_profile_name\030\311\001 \001(\tH\000\022\023\n\trecur" - + "sive\030\003 \001(\010H\001\022\031\n\017recursion_depth\030\004 \001(\005H\001\022" - + "E\n\014oracle_rdbms\030d \001(\0132-.google.cloud.dat" - + "astream.v1alpha1.OracleRdbmsH\002\022C\n\013mysql_" - + "rdbms\030e \001(\0132,.google.cloud.datastream.v1" - + "alpha1.MysqlRdbmsH\002B\010\n\006targetB\007\n\005depthB\r" - + "\n\013data_object\"\276\001\n!DiscoverConnectionProf" - + "ileResponse\022E\n\014oracle_rdbms\030d \001(\0132-.goog" - + "le.cloud.datastream.v1alpha1.OracleRdbms" - + "H\000\022C\n\013mysql_rdbms\030e \001(\0132,.google.cloud.d" - + "atastream.v1alpha1.MysqlRdbmsH\000B\r\n\013data_" - + "object\"w\n\025FetchStaticIpsRequest\0227\n\004name\030" - + "\001 \001(\tB)\340A\002\372A#\n!locations.googleapis.com/" - + "Location\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_toke" - + "n\030\003 \001(\t\"E\n\026FetchStaticIpsResponse\022\022\n\nsta" - + "tic_ips\030\001 \003(\t\022\027\n\017next_page_token\030\002 \001(\t\"K" - + "\n\022FetchErrorsRequest\0225\n\006stream\030\001 \001(\tB%\372A" - + "\"\n datastream.googleapis.com/Stream\"N\n\023F" - + "etchErrorsResponse\0227\n\006errors\030\001 \003(\0132\'.goo" - + "gle.cloud.datastream.v1alpha1.Error\"\255\001\n\035" - + "ListConnectionProfilesRequest\022C\n\006parent\030" - + "\001 \001(\tB3\340A\002\372A-\022+datastream.googleapis.com" - + "/ConnectionProfile\022\021\n\tpage_size\030\002 \001(\005\022\022\n" - + "\npage_token\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\022\020\n\010ord" - + "er_by\030\005 \001(\t\"\240\001\n\036ListConnectionProfilesRe" - + "sponse\022P\n\023connection_profiles\030\001 \003(\01323.go" - + "ogle.cloud.datastream.v1alpha1.Connectio" - + "nProfile\022\027\n\017next_page_token\030\002 \001(\t\022\023\n\013unr" - + "eachable\030\003 \003(\t\"`\n\033GetConnectionProfileRe" - + "quest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+datastream." - + "googleapis.com/ConnectionProfile\"\370\001\n\036Cre" - + "ateConnectionProfileRequest\022C\n\006parent\030\001 " - + "\001(\tB3\340A\002\372A-\022+datastream.googleapis.com/C" - + "onnectionProfile\022\"\n\025connection_profile_i" - + "d\030\002 \001(\tB\003\340A\002\022T\n\022connection_profile\030\003 \001(\013" - + "23.google.cloud.datastream.v1alpha1.Conn" - + "ectionProfileB\003\340A\002\022\027\n\nrequest_id\030\004 \001(\tB\003" - + "\340A\001\"\305\001\n\036UpdateConnectionProfileRequest\0224" - + "\n\013update_mask\030\001 \001(\0132\032.google.protobuf.Fi" - + "eldMaskB\003\340A\001\022T\n\022connection_profile\030\002 \001(\013" - + "23.google.cloud.datastream.v1alpha1.Conn" - + "ectionProfileB\003\340A\002\022\027\n\nrequest_id\030\003 \001(\tB\003" - + "\340A\001\"|\n\036DeleteConnectionProfileRequest\022A\n" - + "\004name\030\001 \001(\tB3\340A\002\372A-\n+datastream.googleap" - + "is.com/ConnectionProfile\022\027\n\nrequest_id\030\002" - + " \001(\tB\003\340A\001\"\227\001\n\022ListStreamsRequest\0228\n\006pare" - + "nt\030\001 \001(\tB(\340A\002\372A\"\022 datastream.googleapis." - + "com/Stream\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_to" - + "ken\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\022\020\n\010order_by\030\005 " - + "\001(\t\"~\n\023ListStreamsResponse\0229\n\007streams\030\001 " - + "\003(\0132(.google.cloud.datastream.v1alpha1.S" - + "tream\022\027\n\017next_page_token\030\002 \001(\t\022\023\n\013unreac" - + "hable\030\003 \003(\t\"J\n\020GetStreamRequest\0226\n\004name\030" - + "\001 \001(\tB(\340A\002\372A\"\n datastream.googleapis.com" - + "/Stream\"\357\001\n\023CreateStreamRequest\0228\n\006paren" - + "t\030\001 \001(\tB(\340A\002\372A\"\022 datastream.googleapis.c" - + "om/Stream\022\026\n\tstream_id\030\002 \001(\tB\003\340A\002\022=\n\006str" - + "eam\030\003 \001(\0132(.google.cloud.datastream.v1al" - + "pha1.StreamB\003\340A\002\022\027\n\nrequest_id\030\004 \001(\tB\003\340A" - + "\001\022\032\n\rvalidate_only\030\005 \001(\010B\003\340A\001\022\022\n\005force\030\006" - + " \001(\010B\003\340A\001\"\323\001\n\023UpdateStreamRequest\0224\n\013upd" - + "ate_mask\030\001 \001(\0132\032.google.protobuf.FieldMa" - + "skB\003\340A\001\022=\n\006stream\030\002 \001(\0132(.google.cloud.d" - + "atastream.v1alpha1.StreamB\003\340A\002\022\027\n\nreques" - + "t_id\030\003 \001(\tB\003\340A\001\022\032\n\rvalidate_only\030\004 \001(\010B\003" - + "\340A\001\022\022\n\005force\030\005 \001(\010B\003\340A\001\"f\n\023DeleteStreamR" - + "equest\0226\n\004name\030\001 \001(\tB(\340A\002\372A\"\n datastream" - + ".googleapis.com/Stream\022\027\n\nrequest_id\030\002 \001" - + "(\tB\003\340A\001\"\324\002\n\021OperationMetadata\0224\n\013create_" - + "time\030\001 \001(\0132\032.google.protobuf.TimestampB\003" - + "\340A\003\0221\n\010end_time\030\002 \001(\0132\032.google.protobuf." - + "TimestampB\003\340A\003\022\023\n\006target\030\003 \001(\tB\003\340A\003\022\021\n\004v" - + "erb\030\004 \001(\tB\003\340A\003\022\033\n\016status_message\030\005 \001(\tB\003" - + "\340A\003\022#\n\026requested_cancellation\030\006 \001(\010B\003\340A\003" - + "\022\030\n\013api_version\030\007 \001(\tB\003\340A\003\022R\n\021validation" - + "_result\030\010 \001(\01322.google.cloud.datastream." - + "v1alpha1.ValidationResultB\003\340A\003\"\370\001\n\036Creat" - + "ePrivateConnectionRequest\022C\n\006parent\030\001 \001(" - + "\tB3\340A\002\372A-\022+datastream.googleapis.com/Pri" - + "vateConnection\022\"\n\025private_connection_id\030" - + "\002 \001(\tB\003\340A\002\022T\n\022private_connection\030\003 \001(\01323" - + ".google.cloud.datastream.v1alpha1.Privat" - + "eConnectionB\003\340A\002\022\027\n\nrequest_id\030\004 \001(\tB\003\340A" - + "\001\"\255\001\n\035ListPrivateConnectionsRequest\022C\n\006p" - + "arent\030\001 \001(\tB3\340A\002\372A-\022+datastream.googleap" - + "is.com/PrivateConnection\022\021\n\tpage_size\030\002 " - + "\001(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\022" - + "\020\n\010order_by\030\005 \001(\t\"\240\001\n\036ListPrivateConnect" - + "ionsResponse\022P\n\023private_connections\030\001 \003(" - + "\01323.google.cloud.datastream.v1alpha1.Pri" - + "vateConnection\022\027\n\017next_page_token\030\002 \001(\t\022" - + "\023\n\013unreachable\030\003 \003(\t\"\220\001\n\036DeletePrivateCo" - + "nnectionRequest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+d" - + "atastream.googleapis.com/PrivateConnecti" - + "on\022\027\n\nrequest_id\030\002 \001(\tB\003\340A\001\022\022\n\005force\030\003 \001" - + "(\010B\003\340A\001\"`\n\033GetPrivateConnectionRequest\022A" - + "\n\004name\030\001 \001(\tB3\340A\002\372A-\n+datastream.googlea" - + "pis.com/PrivateConnection\"\272\001\n\022CreateRout" - + "eRequest\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\022\037datast" - + "ream.googleapis.com/Route\022\025\n\010route_id\030\002 " - + "\001(\tB\003\340A\002\022;\n\005route\030\003 \001(\0132\'.google.cloud.d" - + "atastream.v1alpha1.RouteB\003\340A\002\022\027\n\nrequest" - + "_id\030\004 \001(\tB\003\340A\001\"\225\001\n\021ListRoutesRequest\0227\n\006" - + "parent\030\001 \001(\tB\'\340A\002\372A!\022\037datastream.googlea" - + "pis.com/Route\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage" - + "_token\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\022\020\n\010order_by" - + "\030\005 \001(\t\"{\n\022ListRoutesResponse\0227\n\006routes\030\001" - + " \003(\0132\'.google.cloud.datastream.v1alpha1." - + "Route\022\027\n\017next_page_token\030\002 \001(\t\022\023\n\013unreac" - + "hable\030\003 \003(\t\"d\n\022DeleteRouteRequest\0225\n\004nam" - + "e\030\001 \001(\tB\'\340A\002\372A!\n\037datastream.googleapis.c" - + "om/Route\022\027\n\nrequest_id\030\002 \001(\tB\003\340A\001\"H\n\017Get" - + "RouteRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037data" - + "stream.googleapis.com/Route2\212\'\n\nDatastre" - + "am\022\352\001\n\026ListConnectionProfiles\022?.google.c" - + "loud.datastream.v1alpha1.ListConnectionP" - + "rofilesRequest\032@.google.cloud.datastream" - + ".v1alpha1.ListConnectionProfilesResponse" - + "\"M\202\323\344\223\002>\022\022*\022" - + "\022* - * Required. The name of the connection profile resource to get. - *
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the connection profile resource to get.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/GetPrivateConnectionRequestOrBuilder.java b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/GetPrivateConnectionRequestOrBuilder.java deleted file mode 100644 index 65bfd555..00000000 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/GetPrivateConnectionRequestOrBuilder.java +++ /dev/null @@ -1,54 +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/datastream/v1alpha1/datastream.proto - -package com.google.cloud.datastream.v1alpha1; - -public interface GetPrivateConnectionRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1alpha1.GetPrivateConnectionRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the  private connectivity configuration to get.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the  private connectivity configuration to get.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/GetRouteRequestOrBuilder.java b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/GetRouteRequestOrBuilder.java deleted file mode 100644 index 6d0de9d4..00000000 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/GetRouteRequestOrBuilder.java +++ /dev/null @@ -1,54 +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/datastream/v1alpha1/datastream.proto - -package com.google.cloud.datastream.v1alpha1; - -public interface GetRouteRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1alpha1.GetRouteRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the Route resource to get.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the Route resource to get.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/GetStreamRequestOrBuilder.java b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/GetStreamRequestOrBuilder.java deleted file mode 100644 index af6e5e3a..00000000 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/GetStreamRequestOrBuilder.java +++ /dev/null @@ -1,54 +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/datastream/v1alpha1/datastream.proto - -package com.google.cloud.datastream.v1alpha1; - -public interface GetStreamRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1alpha1.GetStreamRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the stream resource to get.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the stream resource to get.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/NoConnectivitySettingsOrBuilder.java b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/NoConnectivitySettingsOrBuilder.java deleted file mode 100644 index cceee8ac..00000000 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/NoConnectivitySettingsOrBuilder.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datastream/v1alpha1/datastream_resources.proto - -package com.google.cloud.datastream.v1alpha1; - -public interface NoConnectivitySettingsOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1alpha1.NoConnectivitySettings) - com.google.protobuf.MessageOrBuilder {} diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/PrivateConnectivityOrBuilder.java b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/PrivateConnectivityOrBuilder.java deleted file mode 100644 index b5cbb65e..00000000 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/PrivateConnectivityOrBuilder.java +++ /dev/null @@ -1,38 +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/datastream/v1alpha1/datastream_resources.proto - -package com.google.cloud.datastream.v1alpha1; - -public interface PrivateConnectivityOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1alpha1.PrivateConnectivity) - com.google.protobuf.MessageOrBuilder { - - /** - * string private_connection_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The privateConnectionName. - */ - java.lang.String getPrivateConnectionName(); - /** - * string private_connection_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The bytes for privateConnectionName. - */ - com.google.protobuf.ByteString getPrivateConnectionNameBytes(); -} diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/StaticServiceIpConnectivityOrBuilder.java b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/StaticServiceIpConnectivityOrBuilder.java deleted file mode 100644 index c157c67a..00000000 --- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/StaticServiceIpConnectivityOrBuilder.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/datastream/v1alpha1/datastream_resources.proto - -package com.google.cloud.datastream.v1alpha1; - -public interface StaticServiceIpConnectivityOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.datastream.v1alpha1.StaticServiceIpConnectivity) - com.google.protobuf.MessageOrBuilder {}