Skip to content

Commit

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

- [ ] 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 4fbef60 commit 4de2039
Show file tree
Hide file tree
Showing 13 changed files with 15 additions and 8 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 @@ -192,6 +193,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.apigateway.v1.samples;

// [START
// apigateway_v1_generated_apigatewayserviceclient_createapiconfig_apinameapiconfigstring_sync]
// [START apigateway_v1_generated_apigatewayserviceclient_createapiconfig_apinameapiconfigstring_sync]
import com.google.cloud.apigateway.v1.ApiConfig;
import com.google.cloud.apigateway.v1.ApiGatewayServiceClient;
import com.google.cloud.apigateway.v1.ApiName;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@

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

// [START
// apigateway_v1_generated_apigatewayserviceclient_createapiconfig_stringapiconfigstring_sync]
// [START apigateway_v1_generated_apigatewayserviceclient_createapiconfig_stringapiconfigstring_sync]
import com.google.cloud.apigateway.v1.ApiConfig;
import com.google.cloud.apigateway.v1.ApiGatewayServiceClient;
import com.google.cloud.apigateway.v1.ApiName;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@

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

// [START
// apigateway_v1_generated_apigatewayserviceclient_creategateway_locationnamegatewaystring_sync]
// [START apigateway_v1_generated_apigatewayserviceclient_creategateway_locationnamegatewaystring_sync]
import com.google.cloud.apigateway.v1.ApiGatewayServiceClient;
import com.google.cloud.apigateway.v1.Gateway;
import com.google.cloud.apigateway.v1.LocationName;
Expand All @@ -40,5 +39,4 @@ public static void syncCreateGatewayLocationnameGatewayString() throws Exception
}
}
}
// [END
// apigateway_v1_generated_apigatewayserviceclient_creategateway_locationnamegatewaystring_sync]
// [END apigateway_v1_generated_apigatewayserviceclient_creategateway_locationnamegatewaystring_sync]
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
import com.google.cloud.apigateway.v1.ApiGatewayServiceClient;
import com.google.cloud.apigateway.v1.ApiName;
import com.google.cloud.apigateway.v1.DeleteApiRequest;
import com.google.protobuf.Empty;

public class SyncDeleteApi {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
// [START apigateway_v1_generated_apigatewayserviceclient_deleteapi_apiname_sync]
import com.google.cloud.apigateway.v1.ApiGatewayServiceClient;
import com.google.cloud.apigateway.v1.ApiName;
import com.google.protobuf.Empty;

public class SyncDeleteApiApiname {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
// [START apigateway_v1_generated_apigatewayserviceclient_deleteapi_string_sync]
import com.google.cloud.apigateway.v1.ApiGatewayServiceClient;
import com.google.cloud.apigateway.v1.ApiName;
import com.google.protobuf.Empty;

public class SyncDeleteApiString {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
import com.google.cloud.apigateway.v1.ApiConfigName;
import com.google.cloud.apigateway.v1.ApiGatewayServiceClient;
import com.google.cloud.apigateway.v1.DeleteApiConfigRequest;
import com.google.protobuf.Empty;

public class SyncDeleteApiConfig {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
// [START apigateway_v1_generated_apigatewayserviceclient_deleteapiconfig_apiconfigname_sync]
import com.google.cloud.apigateway.v1.ApiConfigName;
import com.google.cloud.apigateway.v1.ApiGatewayServiceClient;
import com.google.protobuf.Empty;

public class SyncDeleteApiConfigApiconfigname {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
// [START apigateway_v1_generated_apigatewayserviceclient_deleteapiconfig_string_sync]
import com.google.cloud.apigateway.v1.ApiConfigName;
import com.google.cloud.apigateway.v1.ApiGatewayServiceClient;
import com.google.protobuf.Empty;

public class SyncDeleteApiConfigString {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
import com.google.cloud.apigateway.v1.ApiGatewayServiceClient;
import com.google.cloud.apigateway.v1.DeleteGatewayRequest;
import com.google.cloud.apigateway.v1.GatewayName;
import com.google.protobuf.Empty;

public class SyncDeleteGateway {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
// [START apigateway_v1_generated_apigatewayserviceclient_deletegateway_gatewayname_sync]
import com.google.cloud.apigateway.v1.ApiGatewayServiceClient;
import com.google.cloud.apigateway.v1.GatewayName;
import com.google.protobuf.Empty;

public class SyncDeleteGatewayGatewayname {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
// [START apigateway_v1_generated_apigatewayserviceclient_deletegateway_string_sync]
import com.google.cloud.apigateway.v1.ApiGatewayServiceClient;
import com.google.cloud.apigateway.v1.GatewayName;
import com.google.protobuf.Empty;

public class SyncDeleteGatewayString {

Expand Down

0 comments on commit 4de2039

Please sign in to comment.