map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
*/
- java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue);
+
+ /* nullable */
+ java.lang.String getLabelsOrDefault(
+ java.lang.String key,
+ /* nullable */
+ java.lang.String defaultValue);
/**
*
*
diff --git a/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/ApiOrBuilder.java b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/ApiOrBuilder.java
index 9c12895..9b9fcd2 100644
--- a/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/ApiOrBuilder.java
+++ b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/ApiOrBuilder.java
@@ -176,7 +176,12 @@ public interface ApiOrBuilder
*
* map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
*/
- java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue);
+
+ /* nullable */
+ java.lang.String getLabelsOrDefault(
+ java.lang.String key,
+ /* nullable */
+ java.lang.String defaultValue);
/**
*
*
diff --git a/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/CreateApiConfigRequest.java b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/CreateApiConfigRequest.java
index ab3d8be..14b1d03 100644
--- a/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/CreateApiConfigRequest.java
+++ b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/CreateApiConfigRequest.java
@@ -112,6 +112,8 @@ private CreateApiConfigRequest(
}
} 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 {
diff --git a/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/CreateApiRequest.java b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/CreateApiRequest.java
index e624f42..f3b3e2b 100644
--- a/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/CreateApiRequest.java
+++ b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/CreateApiRequest.java
@@ -111,6 +111,8 @@ private CreateApiRequest(
}
} 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 {
diff --git a/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/CreateGatewayRequest.java b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/CreateGatewayRequest.java
index 6101cff..c33e6d4 100644
--- a/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/CreateGatewayRequest.java
+++ b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/CreateGatewayRequest.java
@@ -112,6 +112,8 @@ private CreateGatewayRequest(
}
} 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 {
diff --git a/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/DeleteApiConfigRequest.java b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/DeleteApiConfigRequest.java
index 179ee33..5a5b29c 100644
--- a/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/DeleteApiConfigRequest.java
+++ b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/DeleteApiConfigRequest.java
@@ -88,6 +88,8 @@ private DeleteApiConfigRequest(
}
} 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 {
diff --git a/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/DeleteApiRequest.java b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/DeleteApiRequest.java
index 7f57202..6f29232 100644
--- a/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/DeleteApiRequest.java
+++ b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/DeleteApiRequest.java
@@ -88,6 +88,8 @@ private DeleteApiRequest(
}
} 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 {
diff --git a/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/DeleteGatewayRequest.java b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/DeleteGatewayRequest.java
index 3eaa2b1..78c451e 100644
--- a/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/DeleteGatewayRequest.java
+++ b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/DeleteGatewayRequest.java
@@ -88,6 +88,8 @@ private DeleteGatewayRequest(
}
} 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 {
diff --git a/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/Gateway.java b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/Gateway.java
index e9e57aa..849befa 100644
--- a/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/Gateway.java
+++ b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/Gateway.java
@@ -166,6 +166,8 @@ private Gateway(
}
} 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 {
@@ -611,7 +613,7 @@ public int getLabelsCount() {
@java.lang.Override
public boolean containsLabels(java.lang.String key) {
if (key == null) {
- throw new java.lang.NullPointerException();
+ throw new NullPointerException("map key");
}
return internalGetLabels().getMap().containsKey(key);
}
@@ -650,7 +652,7 @@ public java.util.Mapmap<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
*/
- java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue);
+
+ /* nullable */
+ java.lang.String getLabelsOrDefault(
+ java.lang.String key,
+ /* nullable */
+ java.lang.String defaultValue);
/**
*
*
diff --git a/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/GetApiConfigRequest.java b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/GetApiConfigRequest.java
index f01ed7c..29cb6b6 100644
--- a/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/GetApiConfigRequest.java
+++ b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/GetApiConfigRequest.java
@@ -96,6 +96,8 @@ private GetApiConfigRequest(
}
} 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 {
diff --git a/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/GetApiRequest.java b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/GetApiRequest.java
index 87839c7..72594c7 100644
--- a/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/GetApiRequest.java
+++ b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/GetApiRequest.java
@@ -88,6 +88,8 @@ private GetApiRequest(
}
} 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 {
diff --git a/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/GetGatewayRequest.java b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/GetGatewayRequest.java
index e55ea00..1384ffc 100644
--- a/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/GetGatewayRequest.java
+++ b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/GetGatewayRequest.java
@@ -88,6 +88,8 @@ private GetGatewayRequest(
}
} 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 {
diff --git a/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/ListApiConfigsRequest.java b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/ListApiConfigsRequest.java
index 65c9fe1..5f0f376 100644
--- a/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/ListApiConfigsRequest.java
+++ b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/ListApiConfigsRequest.java
@@ -117,6 +117,8 @@ private ListApiConfigsRequest(
}
} 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 {
diff --git a/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/ListApiConfigsResponse.java b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/ListApiConfigsResponse.java
index edbea8a..6478012 100644
--- a/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/ListApiConfigsResponse.java
+++ b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/ListApiConfigsResponse.java
@@ -112,6 +112,8 @@ private ListApiConfigsResponse(
}
} 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 {
diff --git a/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/ListApisRequest.java b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/ListApisRequest.java
index e80f9ec..280344b 100644
--- a/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/ListApisRequest.java
+++ b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/ListApisRequest.java
@@ -117,6 +117,8 @@ private ListApisRequest(
}
} 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 {
diff --git a/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/ListApisResponse.java b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/ListApisResponse.java
index f0e7d2f..d85343f 100644
--- a/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/ListApisResponse.java
+++ b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/ListApisResponse.java
@@ -112,6 +112,8 @@ private ListApisResponse(
}
} 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 {
diff --git a/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/ListGatewaysRequest.java b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/ListGatewaysRequest.java
index a8a1cb2..f8938e5 100644
--- a/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/ListGatewaysRequest.java
+++ b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/ListGatewaysRequest.java
@@ -117,6 +117,8 @@ private ListGatewaysRequest(
}
} 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 {
diff --git a/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/ListGatewaysResponse.java b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/ListGatewaysResponse.java
index 9bec075..510bb01 100644
--- a/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/ListGatewaysResponse.java
+++ b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/ListGatewaysResponse.java
@@ -112,6 +112,8 @@ private ListGatewaysResponse(
}
} 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 {
diff --git a/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/OperationMetadata.java b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/OperationMetadata.java
index 9e68d13..32df3f3 100644
--- a/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/OperationMetadata.java
+++ b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/OperationMetadata.java
@@ -163,6 +163,8 @@ private OperationMetadata(
}
} 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 {
@@ -322,6 +324,8 @@ private Diagnostic(
}
} 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 {
diff --git a/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/UpdateApiConfigRequest.java b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/UpdateApiConfigRequest.java
index f31d797..00e4f6f 100644
--- a/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/UpdateApiConfigRequest.java
+++ b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/UpdateApiConfigRequest.java
@@ -110,6 +110,8 @@ private UpdateApiConfigRequest(
}
} 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 {
diff --git a/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/UpdateApiRequest.java b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/UpdateApiRequest.java
index 0654298..84a0c55 100644
--- a/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/UpdateApiRequest.java
+++ b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/UpdateApiRequest.java
@@ -109,6 +109,8 @@ private UpdateApiRequest(
}
} 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 {
diff --git a/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/UpdateGatewayRequest.java b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/UpdateGatewayRequest.java
index a272615..8d072d9 100644
--- a/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/UpdateGatewayRequest.java
+++ b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/UpdateGatewayRequest.java
@@ -110,6 +110,8 @@ private UpdateGatewayRequest(
}
} 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 {
From 5153357ff11ab890e13d8e8340d927be90a65f60 Mon Sep 17 00:00:00 2001
From: WhiteSource Renovate {@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
* try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
* GatewayName name = GatewayName.of("[PROJECT]", "[LOCATION]", "[GATEWAY]");
* Gateway response = apiGatewayServiceClient.getGateway(name);
@@ -83,6 +85,8 @@
* To customize credentials:
*
*
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
* ApiGatewayServiceSettings apiGatewayServiceSettings =
* ApiGatewayServiceSettings.newBuilder()
* .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -94,6 +98,8 @@
* To customize the endpoint:
*
*
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
* ApiGatewayServiceSettings apiGatewayServiceSettings =
* ApiGatewayServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
* ApiGatewayServiceClient apiGatewayServiceClient =
@@ -173,6 +179,8 @@ public final OperationsClient getOperationsClient() {
* Sample code:
*
*
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
* try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
* LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
* for (Gateway element : apiGatewayServiceClient.listGateways(parent).iterateAll()) {
@@ -200,6 +208,8 @@ public final ListGatewaysPagedResponse listGateways(LocationName parent) {
* Sample code:
*
*
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
* try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
* String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
* for (Gateway element : apiGatewayServiceClient.listGateways(parent).iterateAll()) {
@@ -224,6 +234,8 @@ public final ListGatewaysPagedResponse listGateways(String parent) {
* Sample code:
*
*
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
* try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
* ListGatewaysRequest request =
* ListGatewaysRequest.newBuilder()
@@ -253,6 +265,8 @@ public final ListGatewaysPagedResponse listGateways(ListGatewaysRequest request)
* Sample code:
*
*
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
* try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
* ListGatewaysRequest request =
* ListGatewaysRequest.newBuilder()
@@ -283,6 +297,8 @@ public final ListGatewaysPagedResponse listGateways(ListGatewaysRequest request)
* Sample code:
*
*
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
* try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
* ListGatewaysRequest request =
* ListGatewaysRequest.newBuilder()
@@ -319,6 +335,8 @@ public final UnaryCallable listGatewa
* Sample code:
*
*
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
* try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
* GatewayName name = GatewayName.of("[PROJECT]", "[LOCATION]", "[GATEWAY]");
* Gateway response = apiGatewayServiceClient.getGateway(name);
@@ -342,6 +360,8 @@ public final Gateway getGateway(GatewayName name) {
* Sample code:
*
*
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
* try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
* String name = GatewayName.of("[PROJECT]", "[LOCATION]", "[GATEWAY]").toString();
* Gateway response = apiGatewayServiceClient.getGateway(name);
@@ -364,6 +384,8 @@ public final Gateway getGateway(String name) {
* Sample code:
*
*
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
* try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
* GetGatewayRequest request =
* GetGatewayRequest.newBuilder()
@@ -387,6 +409,8 @@ public final Gateway getGateway(GetGatewayRequest request) {
* Sample code:
*
*
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
* try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
* GetGatewayRequest request =
* GetGatewayRequest.newBuilder()
@@ -409,6 +433,8 @@ public final UnaryCallable getGatewayCallable() {
* Sample code:
*
*
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
* try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
* LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
* Gateway gateway = Gateway.newBuilder().build();
@@ -443,6 +469,8 @@ public final OperationFuture createGatewayAsync(
* Sample code:
*
*
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
* try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
* String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
* Gateway gateway = Gateway.newBuilder().build();
@@ -477,6 +505,8 @@ public final OperationFuture createGatewayAsync(
* Sample code:
*
*
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
* try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
* CreateGatewayRequest request =
* CreateGatewayRequest.newBuilder()
@@ -503,6 +533,8 @@ public final OperationFuture createGatewayAsync(
* Sample code:
*
*
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
* try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
* CreateGatewayRequest request =
* CreateGatewayRequest.newBuilder()
@@ -529,6 +561,8 @@ public final OperationFuture createGatewayAsync(
* Sample code:
*
*
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
* try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
* CreateGatewayRequest request =
* CreateGatewayRequest.newBuilder()
@@ -554,6 +588,8 @@ public final UnaryCallable createGatewayCallabl
* Sample code:
*
*
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
* try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
* Gateway gateway = Gateway.newBuilder().build();
* FieldMask updateMask = FieldMask.newBuilder().build();
@@ -582,6 +618,8 @@ public final OperationFuture updateGatewayAsync(
* Sample code:
*
*
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
* try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
* UpdateGatewayRequest request =
* UpdateGatewayRequest.newBuilder()
@@ -607,6 +645,8 @@ public final OperationFuture updateGatewayAsync(
* Sample code:
*
*
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
* try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
* UpdateGatewayRequest request =
* UpdateGatewayRequest.newBuilder()
@@ -632,6 +672,8 @@ public final OperationFuture updateGatewayAsync(
* Sample code:
*
*
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
* try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
* UpdateGatewayRequest request =
* UpdateGatewayRequest.newBuilder()
@@ -656,6 +698,8 @@ public final UnaryCallable updateGatewayCallabl
* Sample code:
*
*
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
* try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
* GatewayName name = GatewayName.of("[PROJECT]", "[LOCATION]", "[GATEWAY]");
* apiGatewayServiceClient.deleteGatewayAsync(name).get();
@@ -679,6 +723,8 @@ public final OperationFuture deleteGatewayAsync(Gatewa
* Sample code:
*
*
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
* try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
* String name = GatewayName.of("[PROJECT]", "[LOCATION]", "[GATEWAY]").toString();
* apiGatewayServiceClient.deleteGatewayAsync(name).get();
@@ -701,6 +747,8 @@ public final OperationFuture deleteGatewayAsync(String
* Sample code:
*
*
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
* try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
* DeleteGatewayRequest request =
* DeleteGatewayRequest.newBuilder()
@@ -725,6 +773,8 @@ public final OperationFuture deleteGatewayAsync(
* Sample code:
*
*
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
* try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
* DeleteGatewayRequest request =
* DeleteGatewayRequest.newBuilder()
@@ -749,6 +799,8 @@ public final OperationFuture deleteGatewayAsync(
* Sample code:
*
*
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
* try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
* DeleteGatewayRequest request =
* DeleteGatewayRequest.newBuilder()
@@ -772,6 +824,8 @@ public final UnaryCallable deleteGatewayCallabl
* Sample code:
*
*
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
* try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
* LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
* for (Api element : apiGatewayServiceClient.listApis(parent).iterateAll()) {
@@ -797,6 +851,8 @@ public final ListApisPagedResponse listApis(LocationName parent) {
* Sample code:
*
*
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
* try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
* String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
* for (Api element : apiGatewayServiceClient.listApis(parent).iterateAll()) {
@@ -821,6 +877,8 @@ public final ListApisPagedResponse listApis(String parent) {
* Sample code:
*
*
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
* try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
* ListApisRequest request =
* ListApisRequest.newBuilder()
@@ -850,6 +908,8 @@ public final ListApisPagedResponse listApis(ListApisRequest request) {
* Sample code:
*
*
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
* try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
* ListApisRequest request =
* ListApisRequest.newBuilder()
@@ -878,6 +938,8 @@ public final UnaryCallable listApisPaged
* Sample code:
*
*
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
* try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
* ListApisRequest request =
* ListApisRequest.newBuilder()
@@ -913,6 +975,8 @@ public final UnaryCallable listApisCallable()
* Sample code:
*
*
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
* try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
* ApiName name = ApiName.of("[PROJECT]", "[API]");
* Api response = apiGatewayServiceClient.getApi(name);
@@ -935,6 +999,8 @@ public final Api getApi(ApiName name) {
* Sample code:
*
*
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
* try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
* String name = ApiName.of("[PROJECT]", "[API]").toString();
* Api response = apiGatewayServiceClient.getApi(name);
@@ -956,6 +1022,8 @@ public final Api getApi(String name) {
* Sample code:
*
*
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
* try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
* GetApiRequest request =
* GetApiRequest.newBuilder().setName(ApiName.of("[PROJECT]", "[API]").toString()).build();
@@ -977,6 +1045,8 @@ public final Api getApi(GetApiRequest request) {
* Sample code:
*
*
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
* try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
* GetApiRequest request =
* GetApiRequest.newBuilder().setName(ApiName.of("[PROJECT]", "[API]").toString()).build();
@@ -997,6 +1067,8 @@ public final UnaryCallable getApiCallable() {
* Sample code:
*
*
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
* try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
* LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
* Api api = Api.newBuilder().build();
@@ -1030,6 +1102,8 @@ public final OperationFuture createApiAsync(
* Sample code:
*
*
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
* try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
* String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
* Api api = Api.newBuilder().build();
@@ -1059,6 +1133,8 @@ public final OperationFuture createApiAsync(
* Sample code:
*
*
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
* try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
* CreateApiRequest request =
* CreateApiRequest.newBuilder()
@@ -1084,6 +1160,8 @@ public final OperationFuture createApiAsync(CreateApiReq
* Sample code:
*
*
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
* try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
* CreateApiRequest request =
* CreateApiRequest.newBuilder()
@@ -1110,6 +1188,8 @@ public final OperationFuture createApiAsync(CreateApiReq
* Sample code:
*
*
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
* try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
* CreateApiRequest request =
* CreateApiRequest.newBuilder()
@@ -1134,6 +1214,8 @@ public final UnaryCallable createApiCallable() {
* Sample code:
*
*
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
* try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
* Api api = Api.newBuilder().build();
* FieldMask updateMask = FieldMask.newBuilder().build();
@@ -1162,6 +1244,8 @@ public final OperationFuture updateApiAsync(
* Sample code:
*
*
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
* try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
* UpdateApiRequest request =
* UpdateApiRequest.newBuilder()
@@ -1186,6 +1270,8 @@ public final OperationFuture updateApiAsync(UpdateApiReq
* Sample code:
*
*
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
* try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
* UpdateApiRequest request =
* UpdateApiRequest.newBuilder()
@@ -1211,6 +1297,8 @@ public final OperationFuture updateApiAsync(UpdateApiReq
* Sample code:
*
*
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
* try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
* UpdateApiRequest request =
* UpdateApiRequest.newBuilder()
@@ -1234,6 +1322,8 @@ public final UnaryCallable updateApiCallable() {
* Sample code:
*
*
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
* try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
* ApiName name = ApiName.of("[PROJECT]", "[API]");
* apiGatewayServiceClient.deleteApiAsync(name).get();
@@ -1256,6 +1346,8 @@ public final OperationFuture deleteApiAsync(ApiName na
* Sample code:
*
*
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
* try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
* String name = ApiName.of("[PROJECT]", "[API]").toString();
* apiGatewayServiceClient.deleteApiAsync(name).get();
@@ -1277,6 +1369,8 @@ public final OperationFuture deleteApiAsync(String nam
* Sample code:
*
*
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
* try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
* DeleteApiRequest request =
* DeleteApiRequest.newBuilder()
@@ -1300,6 +1394,8 @@ public final OperationFuture deleteApiAsync(DeleteApiR
* Sample code:
*
*
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
* try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
* DeleteApiRequest request =
* DeleteApiRequest.newBuilder()
@@ -1324,6 +1420,8 @@ public final OperationFuture deleteApiAsync(DeleteApiR
* Sample code:
*
*
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
* try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
* DeleteApiRequest request =
* DeleteApiRequest.newBuilder()
@@ -1346,6 +1444,8 @@ public final UnaryCallable deleteApiCallable() {
* Sample code:
*
*
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
* try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
* ApiName parent = ApiName.of("[PROJECT]", "[API]");
* for (ApiConfig element : apiGatewayServiceClient.listApiConfigs(parent).iterateAll()) {
@@ -1373,6 +1473,8 @@ public final ListApiConfigsPagedResponse listApiConfigs(ApiName parent) {
* Sample code:
*
*
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
* try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
* String parent = ApiName.of("[PROJECT]", "[API]").toString();
* for (ApiConfig element : apiGatewayServiceClient.listApiConfigs(parent).iterateAll()) {
@@ -1397,6 +1499,8 @@ public final ListApiConfigsPagedResponse listApiConfigs(String parent) {
* Sample code:
*
*
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
* try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
* ListApiConfigsRequest request =
* ListApiConfigsRequest.newBuilder()
@@ -1426,6 +1530,8 @@ public final ListApiConfigsPagedResponse listApiConfigs(ListApiConfigsRequest re
* Sample code:
*
*
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
* try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
* ListApiConfigsRequest request =
* ListApiConfigsRequest.newBuilder()
@@ -1456,6 +1562,8 @@ public final ListApiConfigsPagedResponse listApiConfigs(ListApiConfigsRequest re
* Sample code:
*
*
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
* try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
* ListApiConfigsRequest request =
* ListApiConfigsRequest.newBuilder()
@@ -1493,6 +1601,8 @@ public final ListApiConfigsPagedResponse listApiConfigs(ListApiConfigsRequest re
* Sample code:
*
*
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
* try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
* ApiConfigName name = ApiConfigName.of("[PROJECT]", "[API]", "[API_CONFIG]");
* ApiConfig response = apiGatewayServiceClient.getApiConfig(name);
@@ -1516,6 +1626,8 @@ public final ApiConfig getApiConfig(ApiConfigName name) {
* Sample code:
*
*
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
* try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
* String name = ApiConfigName.of("[PROJECT]", "[API]", "[API_CONFIG]").toString();
* ApiConfig response = apiGatewayServiceClient.getApiConfig(name);
@@ -1538,6 +1650,8 @@ public final ApiConfig getApiConfig(String name) {
* Sample code:
*
*
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
* try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
* GetApiConfigRequest request =
* GetApiConfigRequest.newBuilder()
@@ -1561,6 +1675,8 @@ public final ApiConfig getApiConfig(GetApiConfigRequest request) {
* Sample code:
*
*
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
* try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
* GetApiConfigRequest request =
* GetApiConfigRequest.newBuilder()
@@ -1584,6 +1700,8 @@ public final UnaryCallable getApiConfigCallable(
* Sample code:
*
*
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
* try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
* ApiName parent = ApiName.of("[PROJECT]", "[API]");
* ApiConfig apiConfig = ApiConfig.newBuilder().build();
@@ -1618,6 +1736,8 @@ public final OperationFuture createApiConfigAsync(
* Sample code:
*
*
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
* try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
* String parent = ApiName.of("[PROJECT]", "[API]").toString();
* ApiConfig apiConfig = ApiConfig.newBuilder().build();
@@ -1652,6 +1772,8 @@ public final OperationFuture createApiConfigAsync(
* Sample code:
*
*
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
* try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
* CreateApiConfigRequest request =
* CreateApiConfigRequest.newBuilder()
@@ -1678,6 +1800,8 @@ public final OperationFuture createApiConfigAsync(
* Sample code:
*
*
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
* try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
* CreateApiConfigRequest request =
* CreateApiConfigRequest.newBuilder()
@@ -1704,6 +1828,8 @@ public final OperationFuture createApiConfigAsync(
* Sample code:
*
*
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
* try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
* CreateApiConfigRequest request =
* CreateApiConfigRequest.newBuilder()
@@ -1729,6 +1855,8 @@ public final UnaryCallable createApiConfigCal
* Sample code:
*
*
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
* try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
* ApiConfig apiConfig = ApiConfig.newBuilder().build();
* FieldMask updateMask = FieldMask.newBuilder().build();
@@ -1761,6 +1889,8 @@ public final OperationFuture updateApiConfigAsync(
* Sample code:
*
*
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
* try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
* UpdateApiConfigRequest request =
* UpdateApiConfigRequest.newBuilder()
@@ -1786,6 +1916,8 @@ public final OperationFuture updateApiConfigAsync(
* Sample code:
*
*
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
* try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
* UpdateApiConfigRequest request =
* UpdateApiConfigRequest.newBuilder()
@@ -1811,6 +1943,8 @@ public final OperationFuture updateApiConfigAsync(
* Sample code:
*
*
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
* try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
* UpdateApiConfigRequest request =
* UpdateApiConfigRequest.newBuilder()
@@ -1835,6 +1969,8 @@ public final UnaryCallable updateApiConfigCal
* Sample code:
*
*
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
* try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
* ApiConfigName name = ApiConfigName.of("[PROJECT]", "[API]", "[API_CONFIG]");
* apiGatewayServiceClient.deleteApiConfigAsync(name).get();
@@ -1858,6 +1994,8 @@ public final OperationFuture deleteApiConfigAsync(ApiC
* Sample code:
*
*
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
* try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
* String name = ApiConfigName.of("[PROJECT]", "[API]", "[API_CONFIG]").toString();
* apiGatewayServiceClient.deleteApiConfigAsync(name).get();
@@ -1880,6 +2018,8 @@ public final OperationFuture deleteApiConfigAsync(Stri
* Sample code:
*
*
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
* try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
* DeleteApiConfigRequest request =
* DeleteApiConfigRequest.newBuilder()
@@ -1904,6 +2044,8 @@ public final OperationFuture deleteApiConfigAsync(
* Sample code:
*
*
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
* try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
* DeleteApiConfigRequest request =
* DeleteApiConfigRequest.newBuilder()
@@ -1928,6 +2070,8 @@ public final OperationFuture deleteApiConfigAsync(
* Sample code:
*
*
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
* try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
* DeleteApiConfigRequest request =
* DeleteApiConfigRequest.newBuilder()
diff --git a/google-cloud-api-gateway/src/main/java/com/google/cloud/apigateway/v1/ApiGatewayServiceSettings.java b/google-cloud-api-gateway/src/main/java/com/google/cloud/apigateway/v1/ApiGatewayServiceSettings.java
index a2b278f..babbd4c 100644
--- a/google-cloud-api-gateway/src/main/java/com/google/cloud/apigateway/v1/ApiGatewayServiceSettings.java
+++ b/google-cloud-api-gateway/src/main/java/com/google/cloud/apigateway/v1/ApiGatewayServiceSettings.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2021 Google LLC
+ * 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.
@@ -57,6 +57,8 @@
* For example, to set the total timeout of getGateway to 30 seconds:
*
*
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
* ApiGatewayServiceSettings.Builder apiGatewayServiceSettingsBuilder =
* ApiGatewayServiceSettings.newBuilder();
* apiGatewayServiceSettingsBuilder
diff --git a/google-cloud-api-gateway/src/main/java/com/google/cloud/apigateway/v1/package-info.java b/google-cloud-api-gateway/src/main/java/com/google/cloud/apigateway/v1/package-info.java
index 72ab23c..e412fbd 100644
--- a/google-cloud-api-gateway/src/main/java/com/google/cloud/apigateway/v1/package-info.java
+++ b/google-cloud-api-gateway/src/main/java/com/google/cloud/apigateway/v1/package-info.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2021 Google LLC
+ * 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.
@@ -24,6 +24,8 @@
* Sample for ApiGatewayServiceClient:
*
*
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
* try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
* GatewayName name = GatewayName.of("[PROJECT]", "[LOCATION]", "[GATEWAY]");
* Gateway response = apiGatewayServiceClient.getGateway(name);
diff --git a/google-cloud-api-gateway/src/main/java/com/google/cloud/apigateway/v1/stub/ApiGatewayServiceStub.java b/google-cloud-api-gateway/src/main/java/com/google/cloud/apigateway/v1/stub/ApiGatewayServiceStub.java
index b4f2928..5bad47c 100644
--- a/google-cloud-api-gateway/src/main/java/com/google/cloud/apigateway/v1/stub/ApiGatewayServiceStub.java
+++ b/google-cloud-api-gateway/src/main/java/com/google/cloud/apigateway/v1/stub/ApiGatewayServiceStub.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2021 Google LLC
+ * 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.
diff --git a/google-cloud-api-gateway/src/main/java/com/google/cloud/apigateway/v1/stub/ApiGatewayServiceStubSettings.java b/google-cloud-api-gateway/src/main/java/com/google/cloud/apigateway/v1/stub/ApiGatewayServiceStubSettings.java
index 77252db..758eb78 100644
--- a/google-cloud-api-gateway/src/main/java/com/google/cloud/apigateway/v1/stub/ApiGatewayServiceStubSettings.java
+++ b/google-cloud-api-gateway/src/main/java/com/google/cloud/apigateway/v1/stub/ApiGatewayServiceStubSettings.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2021 Google LLC
+ * 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.
@@ -97,6 +97,8 @@
* For example, to set the total timeout of getGateway to 30 seconds:
*
*
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
* ApiGatewayServiceStubSettings.Builder apiGatewayServiceSettingsBuilder =
* ApiGatewayServiceStubSettings.newBuilder();
* apiGatewayServiceSettingsBuilder
diff --git a/google-cloud-api-gateway/src/main/java/com/google/cloud/apigateway/v1/stub/GrpcApiGatewayServiceCallableFactory.java b/google-cloud-api-gateway/src/main/java/com/google/cloud/apigateway/v1/stub/GrpcApiGatewayServiceCallableFactory.java
index 036824e..d545670 100644
--- a/google-cloud-api-gateway/src/main/java/com/google/cloud/apigateway/v1/stub/GrpcApiGatewayServiceCallableFactory.java
+++ b/google-cloud-api-gateway/src/main/java/com/google/cloud/apigateway/v1/stub/GrpcApiGatewayServiceCallableFactory.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2021 Google LLC
+ * 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.
diff --git a/google-cloud-api-gateway/src/main/java/com/google/cloud/apigateway/v1/stub/GrpcApiGatewayServiceStub.java b/google-cloud-api-gateway/src/main/java/com/google/cloud/apigateway/v1/stub/GrpcApiGatewayServiceStub.java
index 88b42b6..cc5cc1f 100644
--- a/google-cloud-api-gateway/src/main/java/com/google/cloud/apigateway/v1/stub/GrpcApiGatewayServiceStub.java
+++ b/google-cloud-api-gateway/src/main/java/com/google/cloud/apigateway/v1/stub/GrpcApiGatewayServiceStub.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2021 Google LLC
+ * 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.
diff --git a/google-cloud-api-gateway/src/test/java/com/google/cloud/apigateway/v1/ApiGatewayServiceClientTest.java b/google-cloud-api-gateway/src/test/java/com/google/cloud/apigateway/v1/ApiGatewayServiceClientTest.java
index 575220a..53d2804 100644
--- a/google-cloud-api-gateway/src/test/java/com/google/cloud/apigateway/v1/ApiGatewayServiceClientTest.java
+++ b/google-cloud-api-gateway/src/test/java/com/google/cloud/apigateway/v1/ApiGatewayServiceClientTest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2021 Google LLC
+ * 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.
diff --git a/google-cloud-api-gateway/src/test/java/com/google/cloud/apigateway/v1/MockApiGatewayService.java b/google-cloud-api-gateway/src/test/java/com/google/cloud/apigateway/v1/MockApiGatewayService.java
index d857bbc..0459613 100644
--- a/google-cloud-api-gateway/src/test/java/com/google/cloud/apigateway/v1/MockApiGatewayService.java
+++ b/google-cloud-api-gateway/src/test/java/com/google/cloud/apigateway/v1/MockApiGatewayService.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2021 Google LLC
+ * 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.
diff --git a/google-cloud-api-gateway/src/test/java/com/google/cloud/apigateway/v1/MockApiGatewayServiceImpl.java b/google-cloud-api-gateway/src/test/java/com/google/cloud/apigateway/v1/MockApiGatewayServiceImpl.java
index 0eaf14e..4b3e430 100644
--- a/google-cloud-api-gateway/src/test/java/com/google/cloud/apigateway/v1/MockApiGatewayServiceImpl.java
+++ b/google-cloud-api-gateway/src/test/java/com/google/cloud/apigateway/v1/MockApiGatewayServiceImpl.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2021 Google LLC
+ * 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.
diff --git a/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/ApiConfigName.java b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/ApiConfigName.java
index 7df1d75..fa747fe 100644
--- a/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/ApiConfigName.java
+++ b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/ApiConfigName.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2021 Google LLC
+ * 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.
diff --git a/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/ApiName.java b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/ApiName.java
index 02b475c..858f867 100644
--- a/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/ApiName.java
+++ b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/ApiName.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2021 Google LLC
+ * 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.
diff --git a/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/GatewayName.java b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/GatewayName.java
index e92f33a..8beb8cb 100644
--- a/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/GatewayName.java
+++ b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/GatewayName.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2021 Google LLC
+ * 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.
diff --git a/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/LocationName.java b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/LocationName.java
index 7f54590..fa19355 100644
--- a/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/LocationName.java
+++ b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/LocationName.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2021 Google LLC
+ * 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.
From decbf7709a09d8017739af59def32079a0f691af Mon Sep 17 00:00:00 2001
From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com>
Date: Thu, 19 May 2022 21:02:23 +0000
Subject: [PATCH 10/12] feat: add build scripts for native image testing in
Java 17 (#1440) (#252)
Source-Link: https://github.com/googleapis/synthtool/commit/505ce5a7edb58bf6d9d4de10b4bb4e81000ae324
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:2567a120ce90fadb6201999b87d649d9f67459de28815ad239bce9ebfaa18a74
---
.github/.OwlBot.lock.yaml | 4 +--
.kokoro/build.sh | 5 ++++
.kokoro/presubmit/graalvm-native-17.cfg | 33 +++++++++++++++++++++++++
3 files changed, 40 insertions(+), 2 deletions(-)
create mode 100644 .kokoro/presubmit/graalvm-native-17.cfg
diff --git a/.github/.OwlBot.lock.yaml b/.github/.OwlBot.lock.yaml
index f60d774..a79f062 100644
--- a/.github/.OwlBot.lock.yaml
+++ b/.github/.OwlBot.lock.yaml
@@ -13,5 +13,5 @@
# limitations under the License.
docker:
image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest
- digest: sha256:fc52b202aa298a50a12c64efd04fea3884d867947effe2fa85382a246c09e813
-# created: 2022-04-06T16:30:03.627422514Z
+ digest: sha256:2567a120ce90fadb6201999b87d649d9f67459de28815ad239bce9ebfaa18a74
+# created: 2022-05-19T15:12:45.278246753Z
diff --git a/.kokoro/build.sh b/.kokoro/build.sh
index 0a7f752..e0c3601 100755
--- a/.kokoro/build.sh
+++ b/.kokoro/build.sh
@@ -74,6 +74,11 @@ graalvm)
mvn -B ${INTEGRATION_TEST_ARGS} -ntp -Pnative -Penable-integration-tests test
RETURN_CODE=$?
;;
+graalvm17)
+ # Run Unit and Integration Tests with Native Image
+ mvn -B ${INTEGRATION_TEST_ARGS} -ntp -Pnative -Penable-integration-tests test
+ RETURN_CODE=$?
+ ;;
samples)
SAMPLES_DIR=samples
# only run ITs in snapshot/ on presubmit PRs. run ITs in all 3 samples/ subdirectories otherwise.
diff --git a/.kokoro/presubmit/graalvm-native-17.cfg b/.kokoro/presubmit/graalvm-native-17.cfg
new file mode 100644
index 0000000..a3f7fb9
--- /dev/null
+++ b/.kokoro/presubmit/graalvm-native-17.cfg
@@ -0,0 +1,33 @@
+# Format: //devtools/kokoro/config/proto/build.proto
+
+# Configure the docker image for kokoro-trampoline.
+env_vars: {
+ key: "TRAMPOLINE_IMAGE"
+ value: "gcr.io/cloud-devrel-kokoro-resources/graalvm17"
+}
+
+env_vars: {
+ key: "JOB_TYPE"
+ value: "graalvm17"
+}
+
+# TODO: remove this after we've migrated all tests and scripts
+env_vars: {
+ key: "GCLOUD_PROJECT"
+ value: "gcloud-devel"
+}
+
+env_vars: {
+ key: "GOOGLE_CLOUD_PROJECT"
+ value: "gcloud-devel"
+}
+
+env_vars: {
+ key: "GOOGLE_APPLICATION_CREDENTIALS"
+ value: "secret_manager/java-it-service-account"
+}
+
+env_vars: {
+ key: "SECRET_MANAGER_KEYS"
+ value: "java-it-service-account"
+}
\ No newline at end of file
From 3f074760eb3ae37f6147f5e7d88bad5d95368a06 Mon Sep 17 00:00:00 2001
From: WhiteSource Renovate
Date: Thu, 19 May 2022 23:22:16 +0200
Subject: [PATCH 11/12] deps: update dependency
com.google.cloud:google-cloud-shared-dependencies to v2.12.0 (#251)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
[](https://renovatebot.com)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [com.google.cloud:google-cloud-shared-dependencies](https://togithub.com/googleapis/java-shared-dependencies) | `2.10.0` -> `2.12.0` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) |
---
### Release Notes
googleapis/java-shared-dependencies
### [`v2.12.0`](https://togithub.com/googleapis/java-shared-dependencies/blob/HEAD/CHANGELOG.md#2120-httpsgithubcomgoogleapisjava-shared-dependenciescomparev2110v2120-2022-05-19)
[Compare Source](https://togithub.com/googleapis/java-shared-dependencies/compare/v2.11.0...v2.12.0)
##### Features
- add build scripts for native image testing in Java 17 ([#1440](https://togithub.com/googleapis/java-shared-dependencies/issues/1440)) ([#697](https://togithub.com/googleapis/java-shared-dependencies/issues/697)) ([f10ec4e](https://togithub.com/googleapis/java-shared-dependencies/commit/f10ec4e664d8fde868effe366b7182a5fad08dd0))
##### Dependencies
- update gax.version to v2.18.1 ([#695](https://togithub.com/googleapis/java-shared-dependencies/issues/695)) ([09bc61c](https://togithub.com/googleapis/java-shared-dependencies/commit/09bc61c9152a99bfe87554a07324f15ae6217d6e))
- update google.core.version to v2.7.1 ([#698](https://togithub.com/googleapis/java-shared-dependencies/issues/698)) ([43de259](https://togithub.com/googleapis/java-shared-dependencies/commit/43de2593f1a6e8fa5e34799364ab683246ddd449))
### [`v2.11.0`](https://togithub.com/googleapis/java-shared-dependencies/blob/HEAD/CHANGELOG.md#2110-httpsgithubcomgoogleapisjava-shared-dependenciescomparev2100v2110-2022-05-18)
[Compare Source](https://togithub.com/googleapis/java-shared-dependencies/compare/v2.10.0...v2.11.0)
##### Features
- next release from main branch is 2.11.0 ([#674](https://togithub.com/googleapis/java-shared-dependencies/issues/674)) ([611e3b7](https://togithub.com/googleapis/java-shared-dependencies/commit/611e3b7c50108a71efc94415166b85d2bf8647e5))
##### Dependencies
- update dependency com.fasterxml.jackson:jackson-bom to v2.13.3 ([#689](https://togithub.com/googleapis/java-shared-dependencies/issues/689)) ([03897e3](https://togithub.com/googleapis/java-shared-dependencies/commit/03897e30a71f8f1aa37233da2433ee5afccc1d61))
- update dependency com.google.api-client:google-api-client-bom to v1.34.1 ([#685](https://togithub.com/googleapis/java-shared-dependencies/issues/685)) ([9bc0557](https://togithub.com/googleapis/java-shared-dependencies/commit/9bc0557d8ce2f3d8dc7c8ffafdd36fd4c03e2df5))
- update dependency com.google.api:api-common to v2.2.0 ([#690](https://togithub.com/googleapis/java-shared-dependencies/issues/690)) ([47a8736](https://togithub.com/googleapis/java-shared-dependencies/commit/47a87365e51f73132b15b054d85f8c9baa8e89f6))
- update dependency com.google.auth:google-auth-library-bom to v1.7.0 ([#691](https://togithub.com/googleapis/java-shared-dependencies/issues/691)) ([ec6aab7](https://togithub.com/googleapis/java-shared-dependencies/commit/ec6aab72eaed43574efe47a696bba6a612f161bb))
- update dependency com.google.errorprone:error_prone_annotations to v2.13.1 ([#672](https://togithub.com/googleapis/java-shared-dependencies/issues/672)) ([8c7e530](https://togithub.com/googleapis/java-shared-dependencies/commit/8c7e530d3c7170b2fb76cc27a05164524ba4e00b))
- update dependency com.google.http-client:google-http-client-bom to v1.41.8 ([#684](https://togithub.com/googleapis/java-shared-dependencies/issues/684)) ([1305356](https://togithub.com/googleapis/java-shared-dependencies/commit/1305356775247dbb641b60654ac56da43513088e))
- update dependency com.google.protobuf:protobuf-bom to v3.20.1 ([#678](https://togithub.com/googleapis/java-shared-dependencies/issues/678)) ([3e6d4a1](https://togithub.com/googleapis/java-shared-dependencies/commit/3e6d4a1a8e5d45723071a62c99bb1ab87d2b2b84))
- update dependency io.grpc:grpc-bom to v1.46.0 ([#680](https://togithub.com/googleapis/java-shared-dependencies/issues/680)) ([b8a052b](https://togithub.com/googleapis/java-shared-dependencies/commit/b8a052b75a1bc2703500b4f31c5c6dac887ab8be))
- update dependency org.checkerframework:checker-qual to v3.22.0 ([#683](https://togithub.com/googleapis/java-shared-dependencies/issues/683)) ([b0a30cd](https://togithub.com/googleapis/java-shared-dependencies/commit/b0a30cdecae8dcfb3a6d36e3f194c39a0086673e))
- update gax.version to v2.17.0 ([#687](https://togithub.com/googleapis/java-shared-dependencies/issues/687)) ([e0e89ea](https://togithub.com/googleapis/java-shared-dependencies/commit/e0e89eade481effc723c9c7261f2ebf4e5883621))
- update gax.version to v2.18.0 ([#692](https://togithub.com/googleapis/java-shared-dependencies/issues/692)) ([9536612](https://togithub.com/googleapis/java-shared-dependencies/commit/9536612c77af1e4d912c5b63515ea6f750e53810))
- update google.core.version to v2.6.1 ([#671](https://togithub.com/googleapis/java-shared-dependencies/issues/671)) ([e3d1aeb](https://togithub.com/googleapis/java-shared-dependencies/commit/e3d1aebed31f8e91109d5865afd9525ac3595c90))
- update google.core.version to v2.7.0 ([#693](https://togithub.com/googleapis/java-shared-dependencies/issues/693)) ([2171677](https://togithub.com/googleapis/java-shared-dependencies/commit/2171677e16190de9f37dc16c924d829ea8ccd86c))
- update iam.version to v1.3.2 ([#673](https://togithub.com/googleapis/java-shared-dependencies/issues/673)) ([9882baa](https://togithub.com/googleapis/java-shared-dependencies/commit/9882baa3ecc8d7584788af1916f0d8c5ec670b5c))
- update iam.version to v1.3.3 ([#679](https://togithub.com/googleapis/java-shared-dependencies/issues/679)) ([9fe34c8](https://togithub.com/googleapis/java-shared-dependencies/commit/9fe34c89eabed5eeebad986bffeeeb64dbbc38c1))
- update iam.version to v1.3.4 ([#686](https://togithub.com/googleapis/java-shared-dependencies/issues/686)) ([4e95b3a](https://togithub.com/googleapis/java-shared-dependencies/commit/4e95b3a1d4302812338c220df316391c19ef7473))
- update opencensus.version to v0.31.1 ([#682](https://togithub.com/googleapis/java-shared-dependencies/issues/682)) ([5d25746](https://togithub.com/googleapis/java-shared-dependencies/commit/5d25746bc6c9329b240204cbe7b83e2fee4c6cb3))
---
### Configuration
📅 **Schedule**: At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
â™» **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] If you want to rebase/retry this PR, click this checkbox.
---
This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-api-gateway).
---
pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index a11d285..6e198d0 100644
--- a/pom.xml
+++ b/pom.xml
@@ -76,7 +76,7 @@
com.google.cloud
google-cloud-shared-dependencies
- 2.10.0
+ 2.12.0
pom
import
From 25689c3ca0b5223932fe92d31b014f5606bcf52a Mon Sep 17 00:00:00 2001
From: "release-please[bot]"
<55107282+release-please[bot]@users.noreply.github.com>
Date: Tue, 24 May 2022 03:32:17 +0000
Subject: [PATCH 12/12] chore(main): release 2.2.0 (#253)
:robot: I have created a release *beep* *boop*
---
## [2.2.0](https://github.com/googleapis/java-api-gateway/compare/v2.1.12...v2.2.0) (2022-05-19)
### Features
* add build scripts for native image testing in Java 17 ([#1440](https://github.com/googleapis/java-api-gateway/issues/1440)) ([#252](https://github.com/googleapis/java-api-gateway/issues/252)) ([decbf77](https://github.com/googleapis/java-api-gateway/commit/decbf7709a09d8017739af59def32079a0f691af))
### Dependencies
* update dependency com.google.cloud:google-cloud-shared-dependencies to v2.12.0 ([#251](https://github.com/googleapis/java-api-gateway/issues/251)) ([3f07476](https://github.com/googleapis/java-api-gateway/commit/3f074760eb3ae37f6147f5e7d88bad5d95368a06))
---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
---
CHANGELOG.md | 12 ++++++++++++
google-cloud-api-gateway-bom/pom.xml | 8 ++++----
google-cloud-api-gateway/pom.xml | 4 ++--
grpc-google-cloud-api-gateway-v1/pom.xml | 4 ++--
pom.xml | 8 ++++----
proto-google-cloud-api-gateway-v1/pom.xml | 4 ++--
versions.txt | 6 +++---
7 files changed, 29 insertions(+), 17 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 84ac985..57aa057 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,17 @@
# Changelog
+## [2.2.0](https://github.com/googleapis/java-api-gateway/compare/v2.1.12...v2.2.0) (2022-05-19)
+
+
+### Features
+
+* add build scripts for native image testing in Java 17 ([#1440](https://github.com/googleapis/java-api-gateway/issues/1440)) ([#252](https://github.com/googleapis/java-api-gateway/issues/252)) ([decbf77](https://github.com/googleapis/java-api-gateway/commit/decbf7709a09d8017739af59def32079a0f691af))
+
+
+### Dependencies
+
+* update dependency com.google.cloud:google-cloud-shared-dependencies to v2.12.0 ([#251](https://github.com/googleapis/java-api-gateway/issues/251)) ([3f07476](https://github.com/googleapis/java-api-gateway/commit/3f074760eb3ae37f6147f5e7d88bad5d95368a06))
+
### [2.1.12](https://github.com/googleapis/java-api-gateway/compare/v2.1.11...v2.1.12) (2022-04-15)
diff --git a/google-cloud-api-gateway-bom/pom.xml b/google-cloud-api-gateway-bom/pom.xml
index faf8f59..c72032f 100644
--- a/google-cloud-api-gateway-bom/pom.xml
+++ b/google-cloud-api-gateway-bom/pom.xml
@@ -3,7 +3,7 @@
4.0.0
com.google.cloud
google-cloud-api-gateway-bom
- 2.1.13-SNAPSHOT
+ 2.2.0
pom
com.google.cloud
@@ -56,17 +56,17 @@
com.google.cloud
google-cloud-api-gateway
- 2.1.13-SNAPSHOT
+ 2.2.0
com.google.api.grpc
grpc-google-cloud-api-gateway-v1
- 2.1.13-SNAPSHOT
+ 2.2.0
com.google.api.grpc
proto-google-cloud-api-gateway-v1
- 2.1.13-SNAPSHOT
+ 2.2.0