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

fix: update gapic-generator-java with mock service generation fixes #203

Merged
merged 2 commits into from
Jun 28, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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 @@ -19,6 +19,7 @@
// [START service_v1_generated_environmentsclient_deleteenvironment_sync]
import com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest;
import com.google.cloud.orchestration.airflow.service.v1.EnvironmentsClient;
import com.google.protobuf.Empty;

public class SyncDeleteEnvironment {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

// [START service_v1_generated_environmentsclient_deleteenvironment_string_sync]
import com.google.cloud.orchestration.airflow.service.v1.EnvironmentsClient;
import com.google.protobuf.Empty;

public class SyncDeleteEnvironmentString {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
// [START service_v1beta1_generated_environmentsclient_deleteenvironment_sync]
import com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest;
import com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsClient;
import com.google.protobuf.Empty;

public class SyncDeleteEnvironment {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

// [START service_v1beta1_generated_environmentsclient_deleteenvironment_string_sync]
import com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsClient;
import com.google.protobuf.Empty;

public class SyncDeleteEnvironmentString {

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

package com.google.cloud.orchestration.airflow.service.v1beta1.samples;

// [START
// service_v1beta1_generated_environmentsclient_updateenvironment_stringenvironmentfieldmask_sync]
// [START service_v1beta1_generated_environmentsclient_updateenvironment_stringenvironmentfieldmask_sync]
import com.google.cloud.orchestration.airflow.service.v1beta1.Environment;
import com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsClient;
import com.google.protobuf.FieldMask;
Expand All @@ -40,5 +39,4 @@ public static void syncUpdateEnvironmentStringEnvironmentFieldmask() throws Exce
}
}
}
// [END
// service_v1beta1_generated_environmentsclient_updateenvironment_stringenvironmentfieldmask_sync]
// [END service_v1beta1_generated_environmentsclient_updateenvironment_stringenvironmentfieldmask_sync]