{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
* try (IDSClient iDSClient = IDSClient.create()) {
* EndpointName name = EndpointName.of("[PROJECT]", "[LOCATION]", "[ENDPOINT]");
* Endpoint response = iDSClient.getEndpoint(name);
@@ -81,6 +83,8 @@
* To customize credentials:
*
*
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
* IDSSettings iDSSettings =
* IDSSettings.newBuilder()
* .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -91,6 +95,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.
* IDSSettings iDSSettings = IDSSettings.newBuilder().setEndpoint(myEndpoint).build();
* IDSClient iDSClient = IDSClient.create(iDSSettings);
* }
@@ -166,6 +172,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 (IDSClient iDSClient = IDSClient.create()) {
* LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
* for (Endpoint element : iDSClient.listEndpoints(parent).iterateAll()) {
@@ -192,6 +200,8 @@ public final ListEndpointsPagedResponse listEndpoints(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 (IDSClient iDSClient = IDSClient.create()) {
* String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
* for (Endpoint element : iDSClient.listEndpoints(parent).iterateAll()) {
@@ -215,6 +225,8 @@ public final ListEndpointsPagedResponse listEndpoints(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 (IDSClient iDSClient = IDSClient.create()) {
* ListEndpointsRequest request =
* ListEndpointsRequest.newBuilder()
@@ -244,6 +256,8 @@ public final ListEndpointsPagedResponse listEndpoints(ListEndpointsRequest reque
* Sample code:
*
*
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
* try (IDSClient iDSClient = IDSClient.create()) {
* ListEndpointsRequest request =
* ListEndpointsRequest.newBuilder()
@@ -273,6 +287,8 @@ public final ListEndpointsPagedResponse listEndpoints(ListEndpointsRequest reque
* Sample code:
*
*
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
* try (IDSClient iDSClient = IDSClient.create()) {
* ListEndpointsRequest request =
* ListEndpointsRequest.newBuilder()
@@ -308,6 +324,8 @@ public final UnaryCallable listEndp
* Sample code:
*
*
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
* try (IDSClient iDSClient = IDSClient.create()) {
* EndpointName name = EndpointName.of("[PROJECT]", "[LOCATION]", "[ENDPOINT]");
* Endpoint response = iDSClient.getEndpoint(name);
@@ -331,6 +349,8 @@ public final Endpoint getEndpoint(EndpointName name) {
* Sample code:
*
*
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
* try (IDSClient iDSClient = IDSClient.create()) {
* String name = EndpointName.of("[PROJECT]", "[LOCATION]", "[ENDPOINT]").toString();
* Endpoint response = iDSClient.getEndpoint(name);
@@ -353,6 +373,8 @@ public final Endpoint getEndpoint(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 (IDSClient iDSClient = IDSClient.create()) {
* GetEndpointRequest request =
* GetEndpointRequest.newBuilder()
@@ -376,6 +398,8 @@ public final Endpoint getEndpoint(GetEndpointRequest request) {
* Sample code:
*
*
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
* try (IDSClient iDSClient = IDSClient.create()) {
* GetEndpointRequest request =
* GetEndpointRequest.newBuilder()
@@ -398,6 +422,8 @@ public final UnaryCallable getEndpointCallable() {
* Sample code:
*
*
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
* try (IDSClient iDSClient = IDSClient.create()) {
* LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
* Endpoint endpoint = Endpoint.newBuilder().build();
@@ -432,6 +458,8 @@ public final OperationFuture createEndpointAsync(
* Sample code:
*
*
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
* try (IDSClient iDSClient = IDSClient.create()) {
* String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
* Endpoint endpoint = Endpoint.newBuilder().build();
@@ -466,6 +494,8 @@ public final OperationFuture createEndpointAsync(
* Sample code:
*
*
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
* try (IDSClient iDSClient = IDSClient.create()) {
* CreateEndpointRequest request =
* CreateEndpointRequest.newBuilder()
@@ -493,6 +523,8 @@ public final OperationFuture createEndpointAsync(
* Sample code:
*
*
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
* try (IDSClient iDSClient = IDSClient.create()) {
* CreateEndpointRequest request =
* CreateEndpointRequest.newBuilder()
@@ -520,6 +552,8 @@ public final OperationFuture createEndpointAsync(
* Sample code:
*
*
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
* try (IDSClient iDSClient = IDSClient.create()) {
* CreateEndpointRequest request =
* CreateEndpointRequest.newBuilder()
@@ -545,6 +579,8 @@ public final UnaryCallable createEndpointCalla
* Sample code:
*
*
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
* try (IDSClient iDSClient = IDSClient.create()) {
* EndpointName name = EndpointName.of("[PROJECT]", "[LOCATION]", "[ENDPOINT]");
* iDSClient.deleteEndpointAsync(name).get();
@@ -567,6 +603,8 @@ public final OperationFuture deleteEndpointAsync(Endpo
* Sample code:
*
*
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
* try (IDSClient iDSClient = IDSClient.create()) {
* String name = EndpointName.of("[PROJECT]", "[LOCATION]", "[ENDPOINT]").toString();
* iDSClient.deleteEndpointAsync(name).get();
@@ -588,6 +626,8 @@ public final OperationFuture deleteEndpointAsync(Strin
* Sample code:
*
*
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
* try (IDSClient iDSClient = IDSClient.create()) {
* DeleteEndpointRequest request =
* DeleteEndpointRequest.newBuilder()
@@ -613,6 +653,8 @@ public final OperationFuture deleteEndpointAsync(
* Sample code:
*
*
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
* try (IDSClient iDSClient = IDSClient.create()) {
* DeleteEndpointRequest request =
* DeleteEndpointRequest.newBuilder()
@@ -638,6 +680,8 @@ public final OperationFuture deleteEndpointAsync(
* Sample code:
*
*
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
* try (IDSClient iDSClient = IDSClient.create()) {
* DeleteEndpointRequest request =
* DeleteEndpointRequest.newBuilder()
diff --git a/google-cloud-ids/src/main/java/com/google/cloud/ids/v1/IDSSettings.java b/google-cloud-ids/src/main/java/com/google/cloud/ids/v1/IDSSettings.java
index 5de353d..31da22a 100644
--- a/google-cloud-ids/src/main/java/com/google/cloud/ids/v1/IDSSettings.java
+++ b/google-cloud-ids/src/main/java/com/google/cloud/ids/v1/IDSSettings.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.
@@ -55,6 +55,8 @@
* For example, to set the total timeout of getEndpoint to 30 seconds:
*
*
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
* IDSSettings.Builder iDSSettingsBuilder = IDSSettings.newBuilder();
* iDSSettingsBuilder
* .getEndpointSettings()
diff --git a/google-cloud-ids/src/main/java/com/google/cloud/ids/v1/package-info.java b/google-cloud-ids/src/main/java/com/google/cloud/ids/v1/package-info.java
index 49b1f25..b395f2a 100644
--- a/google-cloud-ids/src/main/java/com/google/cloud/ids/v1/package-info.java
+++ b/google-cloud-ids/src/main/java/com/google/cloud/ids/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.
@@ -26,6 +26,8 @@
* Sample for IDSClient:
*
*
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
* try (IDSClient iDSClient = IDSClient.create()) {
* EndpointName name = EndpointName.of("[PROJECT]", "[LOCATION]", "[ENDPOINT]");
* Endpoint response = iDSClient.getEndpoint(name);
diff --git a/google-cloud-ids/src/main/java/com/google/cloud/ids/v1/stub/GrpcIDSCallableFactory.java b/google-cloud-ids/src/main/java/com/google/cloud/ids/v1/stub/GrpcIDSCallableFactory.java
index df611ce..7a717a3 100644
--- a/google-cloud-ids/src/main/java/com/google/cloud/ids/v1/stub/GrpcIDSCallableFactory.java
+++ b/google-cloud-ids/src/main/java/com/google/cloud/ids/v1/stub/GrpcIDSCallableFactory.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-ids/src/main/java/com/google/cloud/ids/v1/stub/GrpcIDSStub.java b/google-cloud-ids/src/main/java/com/google/cloud/ids/v1/stub/GrpcIDSStub.java
index a20c5e2..7a94b57 100644
--- a/google-cloud-ids/src/main/java/com/google/cloud/ids/v1/stub/GrpcIDSStub.java
+++ b/google-cloud-ids/src/main/java/com/google/cloud/ids/v1/stub/GrpcIDSStub.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-ids/src/main/java/com/google/cloud/ids/v1/stub/IDSStub.java b/google-cloud-ids/src/main/java/com/google/cloud/ids/v1/stub/IDSStub.java
index e318430..a105e89 100644
--- a/google-cloud-ids/src/main/java/com/google/cloud/ids/v1/stub/IDSStub.java
+++ b/google-cloud-ids/src/main/java/com/google/cloud/ids/v1/stub/IDSStub.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-ids/src/main/java/com/google/cloud/ids/v1/stub/IDSStubSettings.java b/google-cloud-ids/src/main/java/com/google/cloud/ids/v1/stub/IDSStubSettings.java
index 62bc6e6..3d43894 100644
--- a/google-cloud-ids/src/main/java/com/google/cloud/ids/v1/stub/IDSStubSettings.java
+++ b/google-cloud-ids/src/main/java/com/google/cloud/ids/v1/stub/IDSStubSettings.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.
@@ -80,6 +80,8 @@
* For example, to set the total timeout of getEndpoint to 30 seconds:
*
*
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
* IDSStubSettings.Builder iDSSettingsBuilder = IDSStubSettings.newBuilder();
* iDSSettingsBuilder
* .getEndpointSettings()
diff --git a/google-cloud-ids/src/test/java/com/google/cloud/ids/v1/IDSClientTest.java b/google-cloud-ids/src/test/java/com/google/cloud/ids/v1/IDSClientTest.java
index 7fb7e18..5e19f9f 100644
--- a/google-cloud-ids/src/test/java/com/google/cloud/ids/v1/IDSClientTest.java
+++ b/google-cloud-ids/src/test/java/com/google/cloud/ids/v1/IDSClientTest.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-ids/src/test/java/com/google/cloud/ids/v1/MockIDS.java b/google-cloud-ids/src/test/java/com/google/cloud/ids/v1/MockIDS.java
index b631a43..092d459 100644
--- a/google-cloud-ids/src/test/java/com/google/cloud/ids/v1/MockIDS.java
+++ b/google-cloud-ids/src/test/java/com/google/cloud/ids/v1/MockIDS.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-ids/src/test/java/com/google/cloud/ids/v1/MockIDSImpl.java b/google-cloud-ids/src/test/java/com/google/cloud/ids/v1/MockIDSImpl.java
index e50ed61..aeabd36 100644
--- a/google-cloud-ids/src/test/java/com/google/cloud/ids/v1/MockIDSImpl.java
+++ b/google-cloud-ids/src/test/java/com/google/cloud/ids/v1/MockIDSImpl.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/grpc-google-cloud-ids-v1/pom.xml b/grpc-google-cloud-ids-v1/pom.xml
index 1ce8c1f..14eb69b 100644
--- a/grpc-google-cloud-ids-v1/pom.xml
+++ b/grpc-google-cloud-ids-v1/pom.xml
@@ -4,13 +4,13 @@
4.0.0
com.google.api.grpc
grpc-google-cloud-ids-v1
- 1.0.4
+ 1.1.0
grpc-google-cloud-ids-v1
GRPC library for google-cloud-ids
com.google.cloud
google-cloud-ids-parent
- 1.0.4
+ 1.1.0
diff --git a/pom.xml b/pom.xml
index 68d8497..0a1915a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,7 +4,7 @@
com.google.cloud
google-cloud-ids-parent
pom
- 1.0.4
+ 1.1.0
Google Intrusion Detection System Parent
https://github.com/googleapis/java-ids
@@ -14,7 +14,7 @@
com.google.cloud
google-cloud-shared-config
- 1.3.2
+ 1.4.0
@@ -69,23 +69,23 @@
com.google.cloud
google-cloud-ids
- 1.0.4
+ 1.1.0
com.google.api.grpc
grpc-google-cloud-ids-v1
- 1.0.4
+ 1.1.0
com.google.api.grpc
proto-google-cloud-ids-v1
- 1.0.4
+ 1.1.0
com.google.cloud
google-cloud-shared-dependencies
- 2.10.0
+ 2.12.0
pom
import
@@ -121,7 +121,7 @@
org.apache.maven.plugins
maven-project-info-reports-plugin
- 3.2.2
+ 3.3.0
@@ -148,7 +148,7 @@
org.apache.maven.plugins
maven-javadoc-plugin
- 3.3.2
+ 3.4.0
html
diff --git a/proto-google-cloud-ids-v1/pom.xml b/proto-google-cloud-ids-v1/pom.xml
index 2156ddb..9d02193 100644
--- a/proto-google-cloud-ids-v1/pom.xml
+++ b/proto-google-cloud-ids-v1/pom.xml
@@ -4,13 +4,13 @@
4.0.0
com.google.api.grpc
proto-google-cloud-ids-v1
- 1.0.4
+ 1.1.0
proto-google-cloud-ids-v1
Proto library for google-cloud-ids
com.google.cloud
google-cloud-ids-parent
- 1.0.4
+ 1.1.0
diff --git a/proto-google-cloud-ids-v1/src/main/java/com/google/cloud/ids/v1/CreateEndpointRequest.java b/proto-google-cloud-ids-v1/src/main/java/com/google/cloud/ids/v1/CreateEndpointRequest.java
index 3259878..139eac0 100644
--- a/proto-google-cloud-ids-v1/src/main/java/com/google/cloud/ids/v1/CreateEndpointRequest.java
+++ b/proto-google-cloud-ids-v1/src/main/java/com/google/cloud/ids/v1/CreateEndpointRequest.java
@@ -111,6 +111,8 @@ private CreateEndpointRequest(
}
} 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-ids-v1/src/main/java/com/google/cloud/ids/v1/DeleteEndpointRequest.java b/proto-google-cloud-ids-v1/src/main/java/com/google/cloud/ids/v1/DeleteEndpointRequest.java
index 912b062..5709aa3 100644
--- a/proto-google-cloud-ids-v1/src/main/java/com/google/cloud/ids/v1/DeleteEndpointRequest.java
+++ b/proto-google-cloud-ids-v1/src/main/java/com/google/cloud/ids/v1/DeleteEndpointRequest.java
@@ -88,6 +88,8 @@ private DeleteEndpointRequest(
}
} 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-ids-v1/src/main/java/com/google/cloud/ids/v1/Endpoint.java b/proto-google-cloud-ids-v1/src/main/java/com/google/cloud/ids/v1/Endpoint.java
index 36ec3b3..45d7137 100644
--- a/proto-google-cloud-ids-v1/src/main/java/com/google/cloud/ids/v1/Endpoint.java
+++ b/proto-google-cloud-ids-v1/src/main/java/com/google/cloud/ids/v1/Endpoint.java
@@ -186,6 +186,8 @@ private Endpoint(
}
} 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 {
@@ -804,7 +806,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);
}
@@ -839,7 +841,7 @@ public java.util.Map getLabelsMap() {
@java.lang.Override
public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) {
if (key == null) {
- throw new java.lang.NullPointerException();
+ throw new NullPointerException("map key");
}
java.util.Map map = internalGetLabels().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
@@ -856,7 +858,7 @@ public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.Strin
@java.lang.Override
public java.lang.String getLabelsOrThrow(java.lang.String key) {
if (key == null) {
- throw new java.lang.NullPointerException();
+ throw new NullPointerException("map key");
}
java.util.Map map = internalGetLabels().getMap();
if (!map.containsKey(key)) {
@@ -2229,7 +2231,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);
}
@@ -2265,7 +2267,7 @@ public java.util.Map getLabelsMap() {
public java.lang.String getLabelsOrDefault(
java.lang.String key, java.lang.String defaultValue) {
if (key == null) {
- throw new java.lang.NullPointerException();
+ throw new NullPointerException("map key");
}
java.util.Map map = internalGetLabels().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
@@ -2282,7 +2284,7 @@ public java.lang.String getLabelsOrDefault(
@java.lang.Override
public java.lang.String getLabelsOrThrow(java.lang.String key) {
if (key == null) {
- throw new java.lang.NullPointerException();
+ throw new NullPointerException("map key");
}
java.util.Map map = internalGetLabels().getMap();
if (!map.containsKey(key)) {
@@ -2306,7 +2308,7 @@ public Builder clearLabels() {
*/
public Builder removeLabels(java.lang.String key) {
if (key == null) {
- throw new java.lang.NullPointerException();
+ throw new NullPointerException("map key");
}
internalGetMutableLabels().getMutableMap().remove(key);
return this;
@@ -2327,11 +2329,12 @@ public java.util.Map getMutableLabels() {
*/
public Builder putLabels(java.lang.String key, java.lang.String value) {
if (key == null) {
- throw new java.lang.NullPointerException();
+ throw new NullPointerException("map key");
}
if (value == null) {
- throw new java.lang.NullPointerException();
+ throw new NullPointerException("map value");
}
+
internalGetMutableLabels().getMutableMap().put(key, value);
return this;
}
diff --git a/proto-google-cloud-ids-v1/src/main/java/com/google/cloud/ids/v1/EndpointName.java b/proto-google-cloud-ids-v1/src/main/java/com/google/cloud/ids/v1/EndpointName.java
index 7cb3387..8b28f6b 100644
--- a/proto-google-cloud-ids-v1/src/main/java/com/google/cloud/ids/v1/EndpointName.java
+++ b/proto-google-cloud-ids-v1/src/main/java/com/google/cloud/ids/v1/EndpointName.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-ids-v1/src/main/java/com/google/cloud/ids/v1/EndpointOrBuilder.java b/proto-google-cloud-ids-v1/src/main/java/com/google/cloud/ids/v1/EndpointOrBuilder.java
index 3c308b5..a5105d9 100644
--- a/proto-google-cloud-ids-v1/src/main/java/com/google/cloud/ids/v1/EndpointOrBuilder.java
+++ b/proto-google-cloud-ids-v1/src/main/java/com/google/cloud/ids/v1/EndpointOrBuilder.java
@@ -166,7 +166,12 @@ public interface EndpointOrBuilder
*
* map<string, string> labels = 4;
*/
- 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-ids-v1/src/main/java/com/google/cloud/ids/v1/GetEndpointRequest.java b/proto-google-cloud-ids-v1/src/main/java/com/google/cloud/ids/v1/GetEndpointRequest.java
index 8946330..c14474c 100644
--- a/proto-google-cloud-ids-v1/src/main/java/com/google/cloud/ids/v1/GetEndpointRequest.java
+++ b/proto-google-cloud-ids-v1/src/main/java/com/google/cloud/ids/v1/GetEndpointRequest.java
@@ -80,6 +80,8 @@ private GetEndpointRequest(
}
} 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-ids-v1/src/main/java/com/google/cloud/ids/v1/IdsProto.java b/proto-google-cloud-ids-v1/src/main/java/com/google/cloud/ids/v1/IdsProto.java
index de0dde9..f0384c8 100644
--- a/proto-google-cloud-ids-v1/src/main/java/com/google/cloud/ids/v1/IdsProto.java
+++ b/proto-google-cloud-ids-v1/src/main/java/com/google/cloud/ids/v1/IdsProto.java
@@ -136,10 +136,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "jects/*/locations/*/endpoints/*}\332A\004name\312"
+ "A*\n\025google.protobuf.Empty\022\021OperationMeta"
+ "data\032F\312A\022ids.googleapis.com\322A.https://ww"
- + "w.googleapis.com/auth/cloud-platformB]\n\027"
+ + "w.googleapis.com/auth/cloud-platformBv\n\027"
+ "com.google.cloud.ids.v1B\010IdsProtoP\001Z6goo"
+ "gle.golang.org/genproto/googleapis/cloud"
- + "/ids/v1;idsb\006proto3"
+ + "/ids/v1;ids\352\002\026Google::Cloud::IDS::V1b\006pr"
+ + "oto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
diff --git a/proto-google-cloud-ids-v1/src/main/java/com/google/cloud/ids/v1/ListEndpointsRequest.java b/proto-google-cloud-ids-v1/src/main/java/com/google/cloud/ids/v1/ListEndpointsRequest.java
index 8e44ec8..e774fa3 100644
--- a/proto-google-cloud-ids-v1/src/main/java/com/google/cloud/ids/v1/ListEndpointsRequest.java
+++ b/proto-google-cloud-ids-v1/src/main/java/com/google/cloud/ids/v1/ListEndpointsRequest.java
@@ -109,6 +109,8 @@ private ListEndpointsRequest(
}
} 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-ids-v1/src/main/java/com/google/cloud/ids/v1/ListEndpointsResponse.java b/proto-google-cloud-ids-v1/src/main/java/com/google/cloud/ids/v1/ListEndpointsResponse.java
index 1207464..faa7c93 100644
--- a/proto-google-cloud-ids-v1/src/main/java/com/google/cloud/ids/v1/ListEndpointsResponse.java
+++ b/proto-google-cloud-ids-v1/src/main/java/com/google/cloud/ids/v1/ListEndpointsResponse.java
@@ -103,6 +103,8 @@ private ListEndpointsResponse(
}
} 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-ids-v1/src/main/java/com/google/cloud/ids/v1/LocationName.java b/proto-google-cloud-ids-v1/src/main/java/com/google/cloud/ids/v1/LocationName.java
index aa255f2..a862685 100644
--- a/proto-google-cloud-ids-v1/src/main/java/com/google/cloud/ids/v1/LocationName.java
+++ b/proto-google-cloud-ids-v1/src/main/java/com/google/cloud/ids/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.
diff --git a/proto-google-cloud-ids-v1/src/main/java/com/google/cloud/ids/v1/OperationMetadata.java b/proto-google-cloud-ids-v1/src/main/java/com/google/cloud/ids/v1/OperationMetadata.java
index c9b2757..11738ef 100644
--- a/proto-google-cloud-ids-v1/src/main/java/com/google/cloud/ids/v1/OperationMetadata.java
+++ b/proto-google-cloud-ids-v1/src/main/java/com/google/cloud/ids/v1/OperationMetadata.java
@@ -147,6 +147,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 {
diff --git a/proto-google-cloud-ids-v1/src/main/proto/google/cloud/ids/v1/ids.proto b/proto-google-cloud-ids-v1/src/main/proto/google/cloud/ids/v1/ids.proto
index 6b66779..ce2c5d0 100644
--- a/proto-google-cloud-ids-v1/src/main/proto/google/cloud/ids/v1/ids.proto
+++ b/proto-google-cloud-ids-v1/src/main/proto/google/cloud/ids/v1/ids.proto
@@ -28,6 +28,7 @@ option go_package = "google.golang.org/genproto/googleapis/cloud/ids/v1;ids";
option java_multiple_files = true;
option java_outer_classname = "IdsProto";
option java_package = "com.google.cloud.ids.v1";
+option ruby_package = "Google::Cloud::IDS::V1";
// The IDS Service
service IDS {
diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml
index 5f7d1ef..8a0d665 100644
--- a/samples/install-without-bom/pom.xml
+++ b/samples/install-without-bom/pom.xml
@@ -29,7 +29,7 @@
com.google.cloud
google-cloud-ids
- 1.0.3
+ 1.0.4
diff --git a/samples/pom.xml b/samples/pom.xml
index acf8d99..6bd9ed4 100644
--- a/samples/pom.xml
+++ b/samples/pom.xml
@@ -46,7 +46,7 @@
org.sonatype.plugins
nexus-staging-maven-plugin
- 1.6.12
+ 1.6.13
true
diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml
index e260539..1f93c08 100644
--- a/samples/snapshot/pom.xml
+++ b/samples/snapshot/pom.xml
@@ -28,7 +28,7 @@
com.google.cloud
google-cloud-ids
- 1.0.4
+ 1.1.0
diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml
index 9f9a0b9..1063e5d 100644
--- a/samples/snippets/pom.xml
+++ b/samples/snippets/pom.xml
@@ -28,7 +28,7 @@
com.google.cloud
google-cloud-ids
- 1.0.3
+ 1.0.4
diff --git a/versions.txt b/versions.txt
index d2910cf..a1566e6 100644
--- a/versions.txt
+++ b/versions.txt
@@ -1,6 +1,6 @@
# Format:
# module:released-version:current-version
-google-cloud-ids:1.0.4:1.0.4
-grpc-google-cloud-ids-v1:1.0.4:1.0.4
-proto-google-cloud-ids-v1:1.0.4:1.0.4
+google-cloud-ids:1.1.0:1.1.0
+grpc-google-cloud-ids-v1:1.1.0:1.1.0
+proto-google-cloud-ids-v1:1.1.0:1.1.0