Skip to content
This repository has been archived by the owner on Sep 16, 2023. It is now read-only.

Commit

Permalink
fix: update gapic-generator-java with mock service generation fixes (#…
Browse files Browse the repository at this point in the history
…242)

- [ ] Regenerate this pull request now.

PiperOrigin-RevId: 457524730

Source-Link: googleapis/googleapis@917e7f2

Source-Link: https://github.com/googleapis/googleapis-gen/commit/2497f9a069d3f6b2d6810d5a4e239cda1e7e5a39
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMjQ5N2Y5YTA2OWQzZjZiMmQ2ODEwZDVhNGUyMzljZGExZTdlNWEzOSJ9
  • Loading branch information
gcf-owl-bot[bot] authored Jun 28, 2022
1 parent cfe483e commit e0a62e9
Show file tree
Hide file tree
Showing 40 changed files with 64 additions and 102 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

import com.google.api.core.ApiFuture;
import com.google.api.core.ApiFutures;
import com.google.api.core.BetaApi;
import com.google.api.gax.core.BackgroundResource;
import com.google.api.gax.httpjson.longrunning.OperationsClient;
import com.google.api.gax.longrunning.OperationFuture;
Expand Down Expand Up @@ -187,6 +188,7 @@ public final com.google.longrunning.OperationsClient getOperationsClient() {
* Returns the OperationsClient that can be used to query the status of a long-running operation
* returned by another API method call.
*/
@BetaApi
public final OperationsClient getHttpJsonOperationsClient() {
return httpJsonOperationsClient;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ public final com.google.longrunning.OperationsClient getOperationsClient() {
* Returns the OperationsClient that can be used to query the status of a long-running operation
* returned by another API method call.
*/
@BetaApi
public final OperationsClient getHttpJsonOperationsClient() {
return httpJsonOperationsClient;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ public final com.google.longrunning.OperationsClient getOperationsClient() {
* Returns the OperationsClient that can be used to query the status of a long-running operation
* returned by another API method call.
*/
@BetaApi
public final OperationsClient getHttpJsonOperationsClient() {
return httpJsonOperationsClient;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@

package com.google.cloud.domains.v1.samples;

// [START
// domains_v1_generated_domainsclient_configurecontactsettings_registrationnamecontactsettingsfieldmask_sync]
// [START domains_v1_generated_domainsclient_configurecontactsettings_registrationnamecontactsettingsfieldmask_sync]
import com.google.cloud.domains.v1.ContactSettings;
import com.google.cloud.domains.v1.DomainsClient;
import com.google.cloud.domains.v1.Registration;
Expand Down Expand Up @@ -46,5 +45,4 @@ public static void syncConfigureContactSettingsRegistrationnameContactsettingsFi
}
}
}
// [END
// domains_v1_generated_domainsclient_configurecontactsettings_registrationnamecontactsettingsfieldmask_sync]
// [END domains_v1_generated_domainsclient_configurecontactsettings_registrationnamecontactsettingsfieldmask_sync]
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@

package com.google.cloud.domains.v1.samples;

// [START
// domains_v1_generated_domainsclient_configurecontactsettings_stringcontactsettingsfieldmask_sync]
// [START domains_v1_generated_domainsclient_configurecontactsettings_stringcontactsettingsfieldmask_sync]
import com.google.cloud.domains.v1.ContactSettings;
import com.google.cloud.domains.v1.DomainsClient;
import com.google.cloud.domains.v1.Registration;
Expand Down Expand Up @@ -45,5 +44,4 @@ public static void syncConfigureContactSettingsStringContactsettingsFieldmask()
}
}
}
// [END
// domains_v1_generated_domainsclient_configurecontactsettings_stringcontactsettingsfieldmask_sync]
// [END domains_v1_generated_domainsclient_configurecontactsettings_stringcontactsettingsfieldmask_sync]
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@

package com.google.cloud.domains.v1.samples;

// [START
// domains_v1_generated_domainsclient_configurednssettings_registrationnamednssettingsfieldmask_sync]
// [START domains_v1_generated_domainsclient_configurednssettings_registrationnamednssettingsfieldmask_sync]
import com.google.cloud.domains.v1.DnsSettings;
import com.google.cloud.domains.v1.DomainsClient;
import com.google.cloud.domains.v1.Registration;
Expand All @@ -44,5 +43,4 @@ public static void syncConfigureDnsSettingsRegistrationnameDnssettingsFieldmask(
}
}
}
// [END
// domains_v1_generated_domainsclient_configurednssettings_registrationnamednssettingsfieldmask_sync]
// [END domains_v1_generated_domainsclient_configurednssettings_registrationnamednssettingsfieldmask_sync]
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@

package com.google.cloud.domains.v1.samples;

// [START
// domains_v1_generated_domainsclient_configuremanagementsettings_registrationnamemanagementsettingsfieldmask_sync]
// [START domains_v1_generated_domainsclient_configuremanagementsettings_registrationnamemanagementsettingsfieldmask_sync]
import com.google.cloud.domains.v1.DomainsClient;
import com.google.cloud.domains.v1.ManagementSettings;
import com.google.cloud.domains.v1.Registration;
Expand Down Expand Up @@ -46,5 +45,4 @@ public static void syncConfigureManagementSettingsRegistrationnameManagementsett
}
}
}
// [END
// domains_v1_generated_domainsclient_configuremanagementsettings_registrationnamemanagementsettingsfieldmask_sync]
// [END domains_v1_generated_domainsclient_configuremanagementsettings_registrationnamemanagementsettingsfieldmask_sync]
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@

package com.google.cloud.domains.v1.samples;

// [START
// domains_v1_generated_domainsclient_configuremanagementsettings_stringmanagementsettingsfieldmask_sync]
// [START domains_v1_generated_domainsclient_configuremanagementsettings_stringmanagementsettingsfieldmask_sync]
import com.google.cloud.domains.v1.DomainsClient;
import com.google.cloud.domains.v1.ManagementSettings;
import com.google.cloud.domains.v1.Registration;
Expand Down Expand Up @@ -46,5 +45,4 @@ public static void syncConfigureManagementSettingsStringManagementsettingsFieldm
}
}
}
// [END
// domains_v1_generated_domainsclient_configuremanagementsettings_stringmanagementsettingsfieldmask_sync]
// [END domains_v1_generated_domainsclient_configuremanagementsettings_stringmanagementsettingsfieldmask_sync]
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
import com.google.cloud.domains.v1.DeleteRegistrationRequest;
import com.google.cloud.domains.v1.DomainsClient;
import com.google.cloud.domains.v1.RegistrationName;
import com.google.protobuf.Empty;

public class SyncDeleteRegistration {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
// [START domains_v1_generated_domainsclient_deleteregistration_registrationname_sync]
import com.google.cloud.domains.v1.DomainsClient;
import com.google.cloud.domains.v1.RegistrationName;
import com.google.protobuf.Empty;

public class SyncDeleteRegistrationRegistrationname {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
// [START domains_v1_generated_domainsclient_deleteregistration_string_sync]
import com.google.cloud.domains.v1.DomainsClient;
import com.google.cloud.domains.v1.RegistrationName;
import com.google.protobuf.Empty;

public class SyncDeleteRegistrationString {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@

package com.google.cloud.domains.v1.samples;

// [START
// domains_v1_generated_domainsclient_transferdomain_locationnameregistrationmoneyauthorizationcode_sync]
// [START domains_v1_generated_domainsclient_transferdomain_locationnameregistrationmoneyauthorizationcode_sync]
import com.google.cloud.domains.v1.AuthorizationCode;
import com.google.cloud.domains.v1.DomainsClient;
import com.google.cloud.domains.v1.LocationName;
Expand Down Expand Up @@ -46,5 +45,4 @@ public static void syncTransferDomainLocationnameRegistrationMoneyAuthorizationc
}
}
}
// [END
// domains_v1_generated_domainsclient_transferdomain_locationnameregistrationmoneyauthorizationcode_sync]
// [END domains_v1_generated_domainsclient_transferdomain_locationnameregistrationmoneyauthorizationcode_sync]
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@

package com.google.cloud.domains.v1.samples;

// [START
// domains_v1_generated_domainsclient_transferdomain_stringregistrationmoneyauthorizationcode_sync]
// [START domains_v1_generated_domainsclient_transferdomain_stringregistrationmoneyauthorizationcode_sync]
import com.google.cloud.domains.v1.AuthorizationCode;
import com.google.cloud.domains.v1.DomainsClient;
import com.google.cloud.domains.v1.LocationName;
Expand Down Expand Up @@ -45,5 +44,4 @@ public static void syncTransferDomainStringRegistrationMoneyAuthorizationcode()
}
}
}
// [END
// domains_v1_generated_domainsclient_transferdomain_stringregistrationmoneyauthorizationcode_sync]
// [END domains_v1_generated_domainsclient_transferdomain_stringregistrationmoneyauthorizationcode_sync]
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@

package com.google.cloud.domains.v1alpha2.samples;

// [START
// domains_v1alpha2_generated_domainsclient_configurecontactsettings_registrationnamecontactsettingsfieldmask_sync]
// [START domains_v1alpha2_generated_domainsclient_configurecontactsettings_registrationnamecontactsettingsfieldmask_sync]
import com.google.cloud.domains.v1alpha2.ContactSettings;
import com.google.cloud.domains.v1alpha2.DomainsClient;
import com.google.cloud.domains.v1alpha2.Registration;
Expand Down Expand Up @@ -46,5 +45,4 @@ public static void syncConfigureContactSettingsRegistrationnameContactsettingsFi
}
}
}
// [END
// domains_v1alpha2_generated_domainsclient_configurecontactsettings_registrationnamecontactsettingsfieldmask_sync]
// [END domains_v1alpha2_generated_domainsclient_configurecontactsettings_registrationnamecontactsettingsfieldmask_sync]
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@

package com.google.cloud.domains.v1alpha2.samples;

// [START
// domains_v1alpha2_generated_domainsclient_configurecontactsettings_stringcontactsettingsfieldmask_sync]
// [START domains_v1alpha2_generated_domainsclient_configurecontactsettings_stringcontactsettingsfieldmask_sync]
import com.google.cloud.domains.v1alpha2.ContactSettings;
import com.google.cloud.domains.v1alpha2.DomainsClient;
import com.google.cloud.domains.v1alpha2.Registration;
Expand Down Expand Up @@ -45,5 +44,4 @@ public static void syncConfigureContactSettingsStringContactsettingsFieldmask()
}
}
}
// [END
// domains_v1alpha2_generated_domainsclient_configurecontactsettings_stringcontactsettingsfieldmask_sync]
// [END domains_v1alpha2_generated_domainsclient_configurecontactsettings_stringcontactsettingsfieldmask_sync]
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@

package com.google.cloud.domains.v1alpha2.samples;

// [START
// domains_v1alpha2_generated_domainsclient_configurednssettings_registrationnamednssettingsfieldmask_sync]
// [START domains_v1alpha2_generated_domainsclient_configurednssettings_registrationnamednssettingsfieldmask_sync]
import com.google.cloud.domains.v1alpha2.DnsSettings;
import com.google.cloud.domains.v1alpha2.DomainsClient;
import com.google.cloud.domains.v1alpha2.Registration;
Expand All @@ -44,5 +43,4 @@ public static void syncConfigureDnsSettingsRegistrationnameDnssettingsFieldmask(
}
}
}
// [END
// domains_v1alpha2_generated_domainsclient_configurednssettings_registrationnamednssettingsfieldmask_sync]
// [END domains_v1alpha2_generated_domainsclient_configurednssettings_registrationnamednssettingsfieldmask_sync]
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@

package com.google.cloud.domains.v1alpha2.samples;

// [START
// domains_v1alpha2_generated_domainsclient_configurednssettings_stringdnssettingsfieldmask_sync]
// [START domains_v1alpha2_generated_domainsclient_configurednssettings_stringdnssettingsfieldmask_sync]
import com.google.cloud.domains.v1alpha2.DnsSettings;
import com.google.cloud.domains.v1alpha2.DomainsClient;
import com.google.cloud.domains.v1alpha2.Registration;
Expand All @@ -43,5 +42,4 @@ public static void syncConfigureDnsSettingsStringDnssettingsFieldmask() throws E
}
}
}
// [END
// domains_v1alpha2_generated_domainsclient_configurednssettings_stringdnssettingsfieldmask_sync]
// [END domains_v1alpha2_generated_domainsclient_configurednssettings_stringdnssettingsfieldmask_sync]
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@

package com.google.cloud.domains.v1alpha2.samples;

// [START
// domains_v1alpha2_generated_domainsclient_configuremanagementsettings_registrationnamemanagementsettingsfieldmask_sync]
// [START domains_v1alpha2_generated_domainsclient_configuremanagementsettings_registrationnamemanagementsettingsfieldmask_sync]
import com.google.cloud.domains.v1alpha2.DomainsClient;
import com.google.cloud.domains.v1alpha2.ManagementSettings;
import com.google.cloud.domains.v1alpha2.Registration;
Expand Down Expand Up @@ -46,5 +45,4 @@ public static void syncConfigureManagementSettingsRegistrationnameManagementsett
}
}
}
// [END
// domains_v1alpha2_generated_domainsclient_configuremanagementsettings_registrationnamemanagementsettingsfieldmask_sync]
// [END domains_v1alpha2_generated_domainsclient_configuremanagementsettings_registrationnamemanagementsettingsfieldmask_sync]
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@

package com.google.cloud.domains.v1alpha2.samples;

// [START
// domains_v1alpha2_generated_domainsclient_configuremanagementsettings_stringmanagementsettingsfieldmask_sync]
// [START domains_v1alpha2_generated_domainsclient_configuremanagementsettings_stringmanagementsettingsfieldmask_sync]
import com.google.cloud.domains.v1alpha2.DomainsClient;
import com.google.cloud.domains.v1alpha2.ManagementSettings;
import com.google.cloud.domains.v1alpha2.Registration;
Expand Down Expand Up @@ -46,5 +45,4 @@ public static void syncConfigureManagementSettingsStringManagementsettingsFieldm
}
}
}
// [END
// domains_v1alpha2_generated_domainsclient_configuremanagementsettings_stringmanagementsettingsfieldmask_sync]
// [END domains_v1alpha2_generated_domainsclient_configuremanagementsettings_stringmanagementsettingsfieldmask_sync]
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
import com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest;
import com.google.cloud.domains.v1alpha2.DomainsClient;
import com.google.cloud.domains.v1alpha2.RegistrationName;
import com.google.protobuf.Empty;

public class SyncDeleteRegistration {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
// [START domains_v1alpha2_generated_domainsclient_deleteregistration_registrationname_sync]
import com.google.cloud.domains.v1alpha2.DomainsClient;
import com.google.cloud.domains.v1alpha2.RegistrationName;
import com.google.protobuf.Empty;

public class SyncDeleteRegistrationRegistrationname {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
// [START domains_v1alpha2_generated_domainsclient_deleteregistration_string_sync]
import com.google.cloud.domains.v1alpha2.DomainsClient;
import com.google.cloud.domains.v1alpha2.RegistrationName;
import com.google.protobuf.Empty;

public class SyncDeleteRegistrationString {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@

package com.google.cloud.domains.v1alpha2.samples;

// [START
// domains_v1alpha2_generated_domainsclient_registerdomain_locationnameregistrationmoney_sync]
// [START domains_v1alpha2_generated_domainsclient_registerdomain_locationnameregistrationmoney_sync]
import com.google.cloud.domains.v1alpha2.DomainsClient;
import com.google.cloud.domains.v1alpha2.LocationName;
import com.google.cloud.domains.v1alpha2.Registration;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@

package com.google.cloud.domains.v1alpha2.samples;

// [START
// domains_v1alpha2_generated_domainsclient_retrieveregisterparameters_locationnamestring_sync]
// [START domains_v1alpha2_generated_domainsclient_retrieveregisterparameters_locationnamestring_sync]
import com.google.cloud.domains.v1alpha2.DomainsClient;
import com.google.cloud.domains.v1alpha2.LocationName;
import com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@

package com.google.cloud.domains.v1alpha2.samples;

// [START
// domains_v1alpha2_generated_domainsclient_retrievetransferparameters_locationnamestring_sync]
// [START domains_v1alpha2_generated_domainsclient_retrievetransferparameters_locationnamestring_sync]
import com.google.cloud.domains.v1alpha2.DomainsClient;
import com.google.cloud.domains.v1alpha2.LocationName;
import com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@

package com.google.cloud.domains.v1alpha2.samples;

// [START
// domains_v1alpha2_generated_domainsclient_transferdomain_locationnameregistrationmoneyauthorizationcode_sync]
// [START domains_v1alpha2_generated_domainsclient_transferdomain_locationnameregistrationmoneyauthorizationcode_sync]
import com.google.cloud.domains.v1alpha2.AuthorizationCode;
import com.google.cloud.domains.v1alpha2.DomainsClient;
import com.google.cloud.domains.v1alpha2.LocationName;
Expand Down Expand Up @@ -46,5 +45,4 @@ public static void syncTransferDomainLocationnameRegistrationMoneyAuthorizationc
}
}
}
// [END
// domains_v1alpha2_generated_domainsclient_transferdomain_locationnameregistrationmoneyauthorizationcode_sync]
// [END domains_v1alpha2_generated_domainsclient_transferdomain_locationnameregistrationmoneyauthorizationcode_sync]
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@

package com.google.cloud.domains.v1alpha2.samples;

// [START
// domains_v1alpha2_generated_domainsclient_transferdomain_stringregistrationmoneyauthorizationcode_sync]
// [START domains_v1alpha2_generated_domainsclient_transferdomain_stringregistrationmoneyauthorizationcode_sync]
import com.google.cloud.domains.v1alpha2.AuthorizationCode;
import com.google.cloud.domains.v1alpha2.DomainsClient;
import com.google.cloud.domains.v1alpha2.LocationName;
Expand Down Expand Up @@ -45,5 +44,4 @@ public static void syncTransferDomainStringRegistrationMoneyAuthorizationcode()
}
}
}
// [END
// domains_v1alpha2_generated_domainsclient_transferdomain_stringregistrationmoneyauthorizationcode_sync]
// [END domains_v1alpha2_generated_domainsclient_transferdomain_stringregistrationmoneyauthorizationcode_sync]
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@

package com.google.cloud.domains.v1beta1.samples;

// [START
// domains_v1beta1_generated_domainsclient_configurecontactsettings_registrationnamecontactsettingsfieldmask_sync]
// [START domains_v1beta1_generated_domainsclient_configurecontactsettings_registrationnamecontactsettingsfieldmask_sync]
import com.google.cloud.domains.v1beta1.ContactSettings;
import com.google.cloud.domains.v1beta1.DomainsClient;
import com.google.cloud.domains.v1beta1.Registration;
Expand Down Expand Up @@ -46,5 +45,4 @@ public static void syncConfigureContactSettingsRegistrationnameContactsettingsFi
}
}
}
// [END
// domains_v1beta1_generated_domainsclient_configurecontactsettings_registrationnamecontactsettingsfieldmask_sync]
// [END domains_v1beta1_generated_domainsclient_configurecontactsettings_registrationnamecontactsettingsfieldmask_sync]
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@

package com.google.cloud.domains.v1beta1.samples;

// [START
// domains_v1beta1_generated_domainsclient_configurecontactsettings_stringcontactsettingsfieldmask_sync]
// [START domains_v1beta1_generated_domainsclient_configurecontactsettings_stringcontactsettingsfieldmask_sync]
import com.google.cloud.domains.v1beta1.ContactSettings;
import com.google.cloud.domains.v1beta1.DomainsClient;
import com.google.cloud.domains.v1beta1.Registration;
Expand Down Expand Up @@ -45,5 +44,4 @@ public static void syncConfigureContactSettingsStringContactsettingsFieldmask()
}
}
}
// [END
// domains_v1beta1_generated_domainsclient_configurecontactsettings_stringcontactsettingsfieldmask_sync]
// [END domains_v1beta1_generated_domainsclient_configurecontactsettings_stringcontactsettingsfieldmask_sync]
Loading

0 comments on commit e0a62e9

Please sign in to comment.