Skip to content

Commit 68ffefb

Browse files
fix: update gapic-generator-java with mock service generation fixes (googleapis#203)
- [ ] 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
1 parent 702452a commit 68ffefb

File tree

7 files changed

+9
-4
lines changed

7 files changed

+9
-4
lines changed

java-orchestration-airflow/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentsClient.java

+2
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818

1919
import com.google.api.core.ApiFuture;
2020
import com.google.api.core.ApiFutures;
21+
import com.google.api.core.BetaApi;
2122
import com.google.api.gax.core.BackgroundResource;
2223
import com.google.api.gax.httpjson.longrunning.OperationsClient;
2324
import com.google.api.gax.longrunning.OperationFuture;
@@ -187,6 +188,7 @@ public final com.google.longrunning.OperationsClient getOperationsClient() {
187188
* Returns the OperationsClient that can be used to query the status of a long-running operation
188189
* returned by another API method call.
189190
*/
191+
@BetaApi
190192
public final OperationsClient getHttpJsonOperationsClient() {
191193
return httpJsonOperationsClient;
192194
}

java-orchestration-airflow/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentsClient.java

+1
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,7 @@ public final com.google.longrunning.OperationsClient getOperationsClient() {
189189
* Returns the OperationsClient that can be used to query the status of a long-running operation
190190
* returned by another API method call.
191191
*/
192+
@BetaApi
192193
public final OperationsClient getHttpJsonOperationsClient() {
193194
return httpJsonOperationsClient;
194195
}

java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/deleteenvironment/SyncDeleteEnvironment.java

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
// [START service_v1_generated_environmentsclient_deleteenvironment_sync]
2020
import com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest;
2121
import com.google.cloud.orchestration.airflow.service.v1.EnvironmentsClient;
22+
import com.google.protobuf.Empty;
2223

2324
public class SyncDeleteEnvironment {
2425

java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1/environmentsclient/deleteenvironment/SyncDeleteEnvironmentString.java

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818

1919
// [START service_v1_generated_environmentsclient_deleteenvironment_string_sync]
2020
import com.google.cloud.orchestration.airflow.service.v1.EnvironmentsClient;
21+
import com.google.protobuf.Empty;
2122

2223
public class SyncDeleteEnvironmentString {
2324

java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/deleteenvironment/SyncDeleteEnvironment.java

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
// [START service_v1beta1_generated_environmentsclient_deleteenvironment_sync]
2020
import com.google.cloud.orchestration.airflow.service.v1beta1.DeleteEnvironmentRequest;
2121
import com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsClient;
22+
import com.google.protobuf.Empty;
2223

2324
public class SyncDeleteEnvironment {
2425

java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/deleteenvironment/SyncDeleteEnvironmentString.java

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818

1919
// [START service_v1beta1_generated_environmentsclient_deleteenvironment_string_sync]
2020
import com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsClient;
21+
import com.google.protobuf.Empty;
2122

2223
public class SyncDeleteEnvironmentString {
2324

java-orchestration-airflow/samples/snippets/generated/com/google/cloud/orchestration/airflow/service/v1beta1/environmentsclient/updateenvironment/SyncUpdateEnvironmentStringEnvironmentFieldmask.java

+2-4
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@
1616

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

19-
// [START
20-
// service_v1beta1_generated_environmentsclient_updateenvironment_stringenvironmentfieldmask_sync]
19+
// [START service_v1beta1_generated_environmentsclient_updateenvironment_stringenvironmentfieldmask_sync]
2120
import com.google.cloud.orchestration.airflow.service.v1beta1.Environment;
2221
import com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsClient;
2322
import com.google.protobuf.FieldMask;
@@ -40,5 +39,4 @@ public static void syncUpdateEnvironmentStringEnvironmentFieldmask() throws Exce
4039
}
4140
}
4241
}
43-
// [END
44-
// service_v1beta1_generated_environmentsclient_updateenvironment_stringenvironmentfieldmask_sync]
42+
// [END service_v1beta1_generated_environmentsclient_updateenvironment_stringenvironmentfieldmask_sync]

0 commit comments

Comments
 (0)