getRouteCallable() {
* {@code
* try (DatastreamClient datastreamClient = DatastreamClient.create()) {
* PrivateConnectionName parent =
- * PrivateConnectionName.of("[PROJECT]", "[LOCATION]", "[PRIVATECONNECTION]");
+ * PrivateConnectionName.of("[PROJECT]", "[LOCATION]", "[PRIVATE_CONNECTION]");
* for (Route element : datastreamClient.listRoutes(parent).iterateAll()) {
* // doThingsWith(element);
* }
@@ -2518,7 +2486,7 @@ public final ListRoutesPagedResponse listRoutes(PrivateConnectionName parent) {
* {@code
* try (DatastreamClient datastreamClient = DatastreamClient.create()) {
* String parent =
- * RouteName.of("[PROJECT]", "[LOCATION]", "[PRIVATECONNECTION]", "[ROUTE]").toString();
+ * PrivateConnectionName.of("[PROJECT]", "[LOCATION]", "[PRIVATE_CONNECTION]").toString();
* for (Route element : datastreamClient.listRoutes(parent).iterateAll()) {
* // doThingsWith(element);
* }
@@ -2544,7 +2512,7 @@ public final ListRoutesPagedResponse listRoutes(String parent) {
* ListRoutesRequest request =
* ListRoutesRequest.newBuilder()
* .setParent(
- * RouteName.of("[PROJECT]", "[LOCATION]", "[PRIVATECONNECTION]", "[ROUTE]")
+ * PrivateConnectionName.of("[PROJECT]", "[LOCATION]", "[PRIVATE_CONNECTION]")
* .toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
@@ -2575,7 +2543,7 @@ public final ListRoutesPagedResponse listRoutes(ListRoutesRequest request) {
* ListRoutesRequest request =
* ListRoutesRequest.newBuilder()
* .setParent(
- * RouteName.of("[PROJECT]", "[LOCATION]", "[PRIVATECONNECTION]", "[ROUTE]")
+ * PrivateConnectionName.of("[PROJECT]", "[LOCATION]", "[PRIVATE_CONNECTION]")
* .toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
@@ -2605,7 +2573,7 @@ public final UnaryCallable listRoute
* ListRoutesRequest request =
* ListRoutesRequest.newBuilder()
* .setParent(
- * RouteName.of("[PROJECT]", "[LOCATION]", "[PRIVATECONNECTION]", "[ROUTE]")
+ * PrivateConnectionName.of("[PROJECT]", "[LOCATION]", "[PRIVATE_CONNECTION]")
* .toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
@@ -2639,7 +2607,7 @@ public final UnaryCallable listRoutesCall
*
* {@code
* try (DatastreamClient datastreamClient = DatastreamClient.create()) {
- * RouteName name = RouteName.of("[PROJECT]", "[LOCATION]", "[PRIVATECONNECTION]", "[ROUTE]");
+ * RouteName name = RouteName.of("[PROJECT]", "[LOCATION]", "[PRIVATE_CONNECTION]", "[ROUTE]");
* datastreamClient.deleteRouteAsync(name).get();
* }
* }
@@ -2662,7 +2630,7 @@ public final OperationFuture deleteRouteAsync(RouteNam
* {@code
* try (DatastreamClient datastreamClient = DatastreamClient.create()) {
* String name =
- * RouteName.of("[PROJECT]", "[LOCATION]", "[PRIVATECONNECTION]", "[ROUTE]").toString();
+ * RouteName.of("[PROJECT]", "[LOCATION]", "[PRIVATE_CONNECTION]", "[ROUTE]").toString();
* datastreamClient.deleteRouteAsync(name).get();
* }
* }
@@ -2686,7 +2654,7 @@ public final OperationFuture deleteRouteAsync(String n
* DeleteRouteRequest request =
* DeleteRouteRequest.newBuilder()
* .setName(
- * RouteName.of("[PROJECT]", "[LOCATION]", "[PRIVATECONNECTION]", "[ROUTE]")
+ * RouteName.of("[PROJECT]", "[LOCATION]", "[PRIVATE_CONNECTION]", "[ROUTE]")
* .toString())
* .setRequestId("requestId693933066")
* .build();
@@ -2713,7 +2681,7 @@ public final OperationFuture deleteRouteAsync(
* DeleteRouteRequest request =
* DeleteRouteRequest.newBuilder()
* .setName(
- * RouteName.of("[PROJECT]", "[LOCATION]", "[PRIVATECONNECTION]", "[ROUTE]")
+ * RouteName.of("[PROJECT]", "[LOCATION]", "[PRIVATE_CONNECTION]", "[ROUTE]")
* .toString())
* .setRequestId("requestId693933066")
* .build();
@@ -2740,7 +2708,7 @@ public final OperationFuture deleteRouteAsync(
* DeleteRouteRequest request =
* DeleteRouteRequest.newBuilder()
* .setName(
- * RouteName.of("[PROJECT]", "[LOCATION]", "[PRIVATECONNECTION]", "[ROUTE]")
+ * RouteName.of("[PROJECT]", "[LOCATION]", "[PRIVATE_CONNECTION]", "[ROUTE]")
* .toString())
* .setRequestId("requestId693933066")
* .build();
diff --git a/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/package-info.java b/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/package-info.java
index f9cab39f..c01a8ba2 100644
--- a/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/package-info.java
+++ b/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/package-info.java
@@ -26,7 +26,7 @@
* {@code
* try (DatastreamClient datastreamClient = DatastreamClient.create()) {
* ConnectionProfileName name =
- * ConnectionProfileName.of("[PROJECT]", "[LOCATION]", "[CONNECTIONPROFILE]");
+ * ConnectionProfileName.of("[PROJECT]", "[LOCATION]", "[CONNECTION_PROFILE]");
* ConnectionProfile response = datastreamClient.getConnectionProfile(name);
* }
* }
diff --git a/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/stub/DatastreamStubSettings.java b/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/stub/DatastreamStubSettings.java
index 54f0b03f..8c09735a 100644
--- a/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/stub/DatastreamStubSettings.java
+++ b/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/stub/DatastreamStubSettings.java
@@ -723,7 +723,9 @@ public static List getDefaultServiceScopes() {
/** Returns a builder for the default credentials for this service. */
public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder() {
- return GoogleCredentialsProvider.newBuilder().setScopesToApply(DEFAULT_SERVICE_SCOPES);
+ return GoogleCredentialsProvider.newBuilder()
+ .setScopesToApply(DEFAULT_SERVICE_SCOPES)
+ .setUseJwtAccessWithScope(true);
}
/** Returns a builder for the default ChannelProvider for this service. */
diff --git a/google-cloud-datastream/src/test/java/com/google/cloud/datastream/v1alpha1/DatastreamClientTest.java b/google-cloud-datastream/src/test/java/com/google/cloud/datastream/v1alpha1/DatastreamClientTest.java
index 5f89da30..6bd13c59 100644
--- a/google-cloud-datastream/src/test/java/com/google/cloud/datastream/v1alpha1/DatastreamClientTest.java
+++ b/google-cloud-datastream/src/test/java/com/google/cloud/datastream/v1alpha1/DatastreamClientTest.java
@@ -186,7 +186,7 @@ public void getConnectionProfileTest() throws Exception {
ConnectionProfile expectedResponse =
ConnectionProfile.newBuilder()
.setName(
- ConnectionProfileName.of("[PROJECT]", "[LOCATION]", "[CONNECTIONPROFILE]")
+ ConnectionProfileName.of("[PROJECT]", "[LOCATION]", "[CONNECTION_PROFILE]")
.toString())
.setCreateTime(Timestamp.newBuilder().build())
.setUpdateTime(Timestamp.newBuilder().build())
@@ -196,7 +196,7 @@ public void getConnectionProfileTest() throws Exception {
mockDatastream.addResponse(expectedResponse);
ConnectionProfileName name =
- ConnectionProfileName.of("[PROJECT]", "[LOCATION]", "[CONNECTIONPROFILE]");
+ ConnectionProfileName.of("[PROJECT]", "[LOCATION]", "[CONNECTION_PROFILE]");
ConnectionProfile actualResponse = client.getConnectionProfile(name);
Assert.assertEquals(expectedResponse, actualResponse);
@@ -220,7 +220,7 @@ public void getConnectionProfileExceptionTest() throws Exception {
try {
ConnectionProfileName name =
- ConnectionProfileName.of("[PROJECT]", "[LOCATION]", "[CONNECTIONPROFILE]");
+ ConnectionProfileName.of("[PROJECT]", "[LOCATION]", "[CONNECTION_PROFILE]");
client.getConnectionProfile(name);
Assert.fail("No exception raised");
} catch (InvalidArgumentException e) {
@@ -233,7 +233,7 @@ public void getConnectionProfileTest2() throws Exception {
ConnectionProfile expectedResponse =
ConnectionProfile.newBuilder()
.setName(
- ConnectionProfileName.of("[PROJECT]", "[LOCATION]", "[CONNECTIONPROFILE]")
+ ConnectionProfileName.of("[PROJECT]", "[LOCATION]", "[CONNECTION_PROFILE]")
.toString())
.setCreateTime(Timestamp.newBuilder().build())
.setUpdateTime(Timestamp.newBuilder().build())
@@ -278,7 +278,7 @@ public void createConnectionProfileTest() throws Exception {
ConnectionProfile expectedResponse =
ConnectionProfile.newBuilder()
.setName(
- ConnectionProfileName.of("[PROJECT]", "[LOCATION]", "[CONNECTIONPROFILE]")
+ ConnectionProfileName.of("[PROJECT]", "[LOCATION]", "[CONNECTION_PROFILE]")
.toString())
.setCreateTime(Timestamp.newBuilder().build())
.setUpdateTime(Timestamp.newBuilder().build())
@@ -338,7 +338,7 @@ public void createConnectionProfileTest2() throws Exception {
ConnectionProfile expectedResponse =
ConnectionProfile.newBuilder()
.setName(
- ConnectionProfileName.of("[PROJECT]", "[LOCATION]", "[CONNECTIONPROFILE]")
+ ConnectionProfileName.of("[PROJECT]", "[LOCATION]", "[CONNECTION_PROFILE]")
.toString())
.setCreateTime(Timestamp.newBuilder().build())
.setUpdateTime(Timestamp.newBuilder().build())
@@ -398,7 +398,7 @@ public void updateConnectionProfileTest() throws Exception {
ConnectionProfile expectedResponse =
ConnectionProfile.newBuilder()
.setName(
- ConnectionProfileName.of("[PROJECT]", "[LOCATION]", "[CONNECTIONPROFILE]")
+ ConnectionProfileName.of("[PROJECT]", "[LOCATION]", "[CONNECTION_PROFILE]")
.toString())
.setCreateTime(Timestamp.newBuilder().build())
.setUpdateTime(Timestamp.newBuilder().build())
@@ -462,7 +462,7 @@ public void deleteConnectionProfileTest() throws Exception {
mockDatastream.addResponse(resultOperation);
ConnectionProfileName name =
- ConnectionProfileName.of("[PROJECT]", "[LOCATION]", "[CONNECTIONPROFILE]");
+ ConnectionProfileName.of("[PROJECT]", "[LOCATION]", "[CONNECTION_PROFILE]");
client.deleteConnectionProfileAsync(name).get();
@@ -485,7 +485,7 @@ public void deleteConnectionProfileExceptionTest() throws Exception {
try {
ConnectionProfileName name =
- ConnectionProfileName.of("[PROJECT]", "[LOCATION]", "[CONNECTIONPROFILE]");
+ ConnectionProfileName.of("[PROJECT]", "[LOCATION]", "[CONNECTION_PROFILE]");
client.deleteConnectionProfileAsync(name).get();
Assert.fail("No exception raised");
} catch (ExecutionException e) {
@@ -546,9 +546,7 @@ public void discoverConnectionProfileTest() throws Exception {
DiscoverConnectionProfileRequest request =
DiscoverConnectionProfileRequest.newBuilder()
- .setParent(
- ConnectionProfileName.of("[PROJECT]", "[LOCATION]", "[CONNECTIONPROFILE]")
- .toString())
+ .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
.build();
DiscoverConnectionProfileResponse actualResponse = client.discoverConnectionProfile(request);
@@ -581,9 +579,7 @@ public void discoverConnectionProfileExceptionTest() throws Exception {
try {
DiscoverConnectionProfileRequest request =
DiscoverConnectionProfileRequest.newBuilder()
- .setParent(
- ConnectionProfileName.of("[PROJECT]", "[LOCATION]", "[CONNECTIONPROFILE]")
- .toString())
+ .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
.build();
client.discoverConnectionProfile(request);
Assert.fail("No exception raised");
@@ -1171,7 +1167,7 @@ public void createPrivateConnectionTest() throws Exception {
PrivateConnection expectedResponse =
PrivateConnection.newBuilder()
.setName(
- PrivateConnectionName.of("[PROJECT]", "[LOCATION]", "[PRIVATECONNECTION]")
+ PrivateConnectionName.of("[PROJECT]", "[LOCATION]", "[PRIVATE_CONNECTION]")
.toString())
.setCreateTime(Timestamp.newBuilder().build())
.setUpdateTime(Timestamp.newBuilder().build())
@@ -1233,7 +1229,7 @@ public void createPrivateConnectionTest2() throws Exception {
PrivateConnection expectedResponse =
PrivateConnection.newBuilder()
.setName(
- PrivateConnectionName.of("[PROJECT]", "[LOCATION]", "[PRIVATECONNECTION]")
+ PrivateConnectionName.of("[PROJECT]", "[LOCATION]", "[PRIVATE_CONNECTION]")
.toString())
.setCreateTime(Timestamp.newBuilder().build())
.setUpdateTime(Timestamp.newBuilder().build())
@@ -1295,7 +1291,7 @@ public void getPrivateConnectionTest() throws Exception {
PrivateConnection expectedResponse =
PrivateConnection.newBuilder()
.setName(
- PrivateConnectionName.of("[PROJECT]", "[LOCATION]", "[PRIVATECONNECTION]")
+ PrivateConnectionName.of("[PROJECT]", "[LOCATION]", "[PRIVATE_CONNECTION]")
.toString())
.setCreateTime(Timestamp.newBuilder().build())
.setUpdateTime(Timestamp.newBuilder().build())
@@ -1307,7 +1303,7 @@ public void getPrivateConnectionTest() throws Exception {
mockDatastream.addResponse(expectedResponse);
PrivateConnectionName name =
- PrivateConnectionName.of("[PROJECT]", "[LOCATION]", "[PRIVATECONNECTION]");
+ PrivateConnectionName.of("[PROJECT]", "[LOCATION]", "[PRIVATE_CONNECTION]");
PrivateConnection actualResponse = client.getPrivateConnection(name);
Assert.assertEquals(expectedResponse, actualResponse);
@@ -1331,7 +1327,7 @@ public void getPrivateConnectionExceptionTest() throws Exception {
try {
PrivateConnectionName name =
- PrivateConnectionName.of("[PROJECT]", "[LOCATION]", "[PRIVATECONNECTION]");
+ PrivateConnectionName.of("[PROJECT]", "[LOCATION]", "[PRIVATE_CONNECTION]");
client.getPrivateConnection(name);
Assert.fail("No exception raised");
} catch (InvalidArgumentException e) {
@@ -1344,7 +1340,7 @@ public void getPrivateConnectionTest2() throws Exception {
PrivateConnection expectedResponse =
PrivateConnection.newBuilder()
.setName(
- PrivateConnectionName.of("[PROJECT]", "[LOCATION]", "[PRIVATECONNECTION]")
+ PrivateConnectionName.of("[PROJECT]", "[LOCATION]", "[PRIVATE_CONNECTION]")
.toString())
.setCreateTime(Timestamp.newBuilder().build())
.setUpdateTime(Timestamp.newBuilder().build())
@@ -1488,7 +1484,7 @@ public void deletePrivateConnectionTest() throws Exception {
mockDatastream.addResponse(resultOperation);
PrivateConnectionName name =
- PrivateConnectionName.of("[PROJECT]", "[LOCATION]", "[PRIVATECONNECTION]");
+ PrivateConnectionName.of("[PROJECT]", "[LOCATION]", "[PRIVATE_CONNECTION]");
client.deletePrivateConnectionAsync(name).get();
@@ -1511,7 +1507,7 @@ public void deletePrivateConnectionExceptionTest() throws Exception {
try {
PrivateConnectionName name =
- PrivateConnectionName.of("[PROJECT]", "[LOCATION]", "[PRIVATECONNECTION]");
+ PrivateConnectionName.of("[PROJECT]", "[LOCATION]", "[PRIVATE_CONNECTION]");
client.deletePrivateConnectionAsync(name).get();
Assert.fail("No exception raised");
} catch (ExecutionException e) {
@@ -1569,7 +1565,7 @@ public void createRouteTest() throws Exception {
Route expectedResponse =
Route.newBuilder()
.setName(
- RouteName.of("[PROJECT]", "[LOCATION]", "[PRIVATECONNECTION]", "[ROUTE]")
+ RouteName.of("[PROJECT]", "[LOCATION]", "[PRIVATE_CONNECTION]", "[ROUTE]")
.toString())
.setCreateTime(Timestamp.newBuilder().build())
.setUpdateTime(Timestamp.newBuilder().build())
@@ -1587,7 +1583,7 @@ public void createRouteTest() throws Exception {
mockDatastream.addResponse(resultOperation);
PrivateConnectionName parent =
- PrivateConnectionName.of("[PROJECT]", "[LOCATION]", "[PRIVATECONNECTION]");
+ PrivateConnectionName.of("[PROJECT]", "[LOCATION]", "[PRIVATE_CONNECTION]");
Route route = Route.newBuilder().build();
String routeId = "routeId1385647428";
@@ -1614,7 +1610,7 @@ public void createRouteExceptionTest() throws Exception {
try {
PrivateConnectionName parent =
- PrivateConnectionName.of("[PROJECT]", "[LOCATION]", "[PRIVATECONNECTION]");
+ PrivateConnectionName.of("[PROJECT]", "[LOCATION]", "[PRIVATE_CONNECTION]");
Route route = Route.newBuilder().build();
String routeId = "routeId1385647428";
client.createRouteAsync(parent, route, routeId).get();
@@ -1631,7 +1627,7 @@ public void createRouteTest2() throws Exception {
Route expectedResponse =
Route.newBuilder()
.setName(
- RouteName.of("[PROJECT]", "[LOCATION]", "[PRIVATECONNECTION]", "[ROUTE]")
+ RouteName.of("[PROJECT]", "[LOCATION]", "[PRIVATE_CONNECTION]", "[ROUTE]")
.toString())
.setCreateTime(Timestamp.newBuilder().build())
.setUpdateTime(Timestamp.newBuilder().build())
@@ -1691,7 +1687,7 @@ public void getRouteTest() throws Exception {
Route expectedResponse =
Route.newBuilder()
.setName(
- RouteName.of("[PROJECT]", "[LOCATION]", "[PRIVATECONNECTION]", "[ROUTE]")
+ RouteName.of("[PROJECT]", "[LOCATION]", "[PRIVATE_CONNECTION]", "[ROUTE]")
.toString())
.setCreateTime(Timestamp.newBuilder().build())
.setUpdateTime(Timestamp.newBuilder().build())
@@ -1702,7 +1698,7 @@ public void getRouteTest() throws Exception {
.build();
mockDatastream.addResponse(expectedResponse);
- RouteName name = RouteName.of("[PROJECT]", "[LOCATION]", "[PRIVATECONNECTION]", "[ROUTE]");
+ RouteName name = RouteName.of("[PROJECT]", "[LOCATION]", "[PRIVATE_CONNECTION]", "[ROUTE]");
Route actualResponse = client.getRoute(name);
Assert.assertEquals(expectedResponse, actualResponse);
@@ -1724,7 +1720,7 @@ public void getRouteExceptionTest() throws Exception {
mockDatastream.addException(exception);
try {
- RouteName name = RouteName.of("[PROJECT]", "[LOCATION]", "[PRIVATECONNECTION]", "[ROUTE]");
+ RouteName name = RouteName.of("[PROJECT]", "[LOCATION]", "[PRIVATE_CONNECTION]", "[ROUTE]");
client.getRoute(name);
Assert.fail("No exception raised");
} catch (InvalidArgumentException e) {
@@ -1737,7 +1733,7 @@ public void getRouteTest2() throws Exception {
Route expectedResponse =
Route.newBuilder()
.setName(
- RouteName.of("[PROJECT]", "[LOCATION]", "[PRIVATECONNECTION]", "[ROUTE]")
+ RouteName.of("[PROJECT]", "[LOCATION]", "[PRIVATE_CONNECTION]", "[ROUTE]")
.toString())
.setCreateTime(Timestamp.newBuilder().build())
.setUpdateTime(Timestamp.newBuilder().build())
@@ -1789,7 +1785,7 @@ public void listRoutesTest() throws Exception {
mockDatastream.addResponse(expectedResponse);
PrivateConnectionName parent =
- PrivateConnectionName.of("[PROJECT]", "[LOCATION]", "[PRIVATECONNECTION]");
+ PrivateConnectionName.of("[PROJECT]", "[LOCATION]", "[PRIVATE_CONNECTION]");
ListRoutesPagedResponse pagedListResponse = client.listRoutes(parent);
@@ -1816,7 +1812,7 @@ public void listRoutesExceptionTest() throws Exception {
try {
PrivateConnectionName parent =
- PrivateConnectionName.of("[PROJECT]", "[LOCATION]", "[PRIVATECONNECTION]");
+ PrivateConnectionName.of("[PROJECT]", "[LOCATION]", "[PRIVATE_CONNECTION]");
client.listRoutes(parent);
Assert.fail("No exception raised");
} catch (InvalidArgumentException e) {
@@ -1879,7 +1875,7 @@ public void deleteRouteTest() throws Exception {
.build();
mockDatastream.addResponse(resultOperation);
- RouteName name = RouteName.of("[PROJECT]", "[LOCATION]", "[PRIVATECONNECTION]", "[ROUTE]");
+ RouteName name = RouteName.of("[PROJECT]", "[LOCATION]", "[PRIVATE_CONNECTION]", "[ROUTE]");
client.deleteRouteAsync(name).get();
@@ -1900,7 +1896,7 @@ public void deleteRouteExceptionTest() throws Exception {
mockDatastream.addException(exception);
try {
- RouteName name = RouteName.of("[PROJECT]", "[LOCATION]", "[PRIVATECONNECTION]", "[ROUTE]");
+ RouteName name = RouteName.of("[PROJECT]", "[LOCATION]", "[PRIVATE_CONNECTION]", "[ROUTE]");
client.deleteRouteAsync(name).get();
Assert.fail("No exception raised");
} catch (ExecutionException e) {
diff --git a/grpc-google-cloud-datastream-v1alpha1/pom.xml b/grpc-google-cloud-datastream-v1alpha1/pom.xml
index 871dca78..eb31b487 100644
--- a/grpc-google-cloud-datastream-v1alpha1/pom.xml
+++ b/grpc-google-cloud-datastream-v1alpha1/pom.xml
@@ -4,13 +4,13 @@
4.0.0
com.google.api.grpc
grpc-google-cloud-datastream-v1alpha1
- 0.2.1
+ 0.3.0
grpc-google-cloud-datastream-v1alpha1
GRPC library for google-cloud-datastream
com.google.cloud
google-cloud-datastream-parent
- 0.2.1
+ 0.3.0
diff --git a/grpc-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DatastreamGrpc.java b/grpc-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DatastreamGrpc.java
index ba2b1be2..d1c53d48 100644
--- a/grpc-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DatastreamGrpc.java
+++ b/grpc-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DatastreamGrpc.java
@@ -27,6 +27,7 @@
@javax.annotation.Generated(
value = "by gRPC proto compiler",
comments = "Source: google/cloud/datastream/v1alpha1/datastream.proto")
+@io.grpc.stub.annotations.GrpcGenerated
public final class DatastreamGrpc {
private DatastreamGrpc() {}
diff --git a/pom.xml b/pom.xml
index 36f518e9..ebb1ce94 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,7 +4,7 @@
com.google.cloud
google-cloud-datastream-parent
pom
- 0.2.1
+ 0.3.0
Google Datastream Parent
https://github.com/googleapis/java-datastream
@@ -14,7 +14,7 @@
com.google.cloud
google-cloud-shared-config
- 1.0.1
+ 1.2.2
@@ -69,23 +69,23 @@
com.google.cloud
google-cloud-datastream
- 0.2.1
+ 0.3.0
com.google.api.grpc
grpc-google-cloud-datastream-v1alpha1
- 0.2.1
+ 0.3.0
com.google.api.grpc
proto-google-cloud-datastream-v1alpha1
- 0.2.1
+ 0.3.0
com.google.cloud
google-cloud-shared-dependencies
- 2.1.0
+ 2.5.1
pom
import
@@ -148,7 +148,7 @@
org.apache.maven.plugins
maven-javadoc-plugin
- 3.3.0
+ 3.3.1
html
diff --git a/proto-google-cloud-datastream-v1alpha1/pom.xml b/proto-google-cloud-datastream-v1alpha1/pom.xml
index b6ba6118..a560c74b 100644
--- a/proto-google-cloud-datastream-v1alpha1/pom.xml
+++ b/proto-google-cloud-datastream-v1alpha1/pom.xml
@@ -4,13 +4,13 @@
4.0.0
com.google.api.grpc
proto-google-cloud-datastream-v1alpha1
- 0.2.1
+ 0.3.0
proto-google-cloud-datastream-v1alpha1
Proto library for google-cloud-datastream
com.google.cloud
google-cloud-datastream-parent
- 0.2.1
+ 0.3.0
diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/CloudDatastreamResourcesProto.java b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/CloudDatastreamResourcesProto.java
index f898181d..3c834769 100644
--- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/CloudDatastreamResourcesProto.java
+++ b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/CloudDatastreamResourcesProto.java
@@ -226,7 +226,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\004port\030\003 \001(\005\022\027\n\010password\030d \001(\tB\003\340A\004H\000\022\032\n\013"
+ "private_key\030e \001(\tB\003\340A\004H\000B\027\n\025authenticati"
+ "on_method\">\n\020VpcPeeringConfig\022\025\n\010vpc_nam"
- + "e\030\001 \001(\tB\003\340A\002\022\023\n\006subnet\030\002 \001(\tB\003\340A\002\"\323\005\n\021Pr"
+ + "e\030\001 \001(\tB\003\340A\002\022\023\n\006subnet\030\002 \001(\tB\003\340A\002\"\324\005\n\021Pr"
+ "ivateConnection\022\021\n\004name\030\001 \001(\tB\003\340A\003\0224\n\013cr"
+ "eate_time\030\002 \001(\0132\032.google.protobuf.Timest"
+ "ampB\003\340A\003\0224\n\013update_time\030\003 \001(\0132\032.google.p"
@@ -241,179 +241,179 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "ream.v1alpha1.VpcPeeringConfig\032-\n\013Labels"
+ "Entry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"E\n"
+ "\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\014\n\010CREATIN"
- + "G\020\001\022\013\n\007CREATED\020\002\022\n\n\006FAILED\020\003:\200\001\352A}\n+data"
+ + "G\020\001\022\013\n\007CREATED\020\002\022\n\n\006FAILED\020\003:\201\001\352A~\n+data"
+ "stream.googleapis.com/PrivateConnection\022"
- + "Nprojects/{project}/locations/{location}"
- + "/privateConnections/{privateConnection}\""
- + ";\n\023PrivateConnectivity\022$\n\027private_connec"
- + "tion_name\030\001 \001(\tB\003\340A\002\"\330\003\n\005Route\022\021\n\004name\030\001"
- + " \001(\tB\003\340A\003\0224\n\013create_time\030\002 \001(\0132\032.google."
- + "protobuf.TimestampB\003\340A\003\0224\n\013update_time\030\003"
- + " \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022C\n"
- + "\006labels\030\004 \003(\01323.google.cloud.datastream."
- + "v1alpha1.Route.LabelsEntry\022\031\n\014display_na"
- + "me\030\005 \001(\tB\003\340A\002\022 \n\023destination_address\030\006 \001"
- + "(\tB\003\340A\002\022\030\n\020destination_port\030\007 \001(\005\032-\n\013Lab"
- + "elsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001"
- + ":\204\001\352A\200\001\n\037datastream.googleapis.com/Route"
- + "\022]projects/{project}/locations/{location"
- + "}/privateConnections/{privateConnection}"
- + "/routes/{route}\"\312\001\n\016MysqlSslConfig\022\027\n\ncl"
- + "ient_key\030\013 \001(\tB\003\340A\004\022\033\n\016client_key_set\030\014 "
- + "\001(\010B\003\340A\003\022\037\n\022client_certificate\030\r \001(\tB\003\340A"
- + "\004\022#\n\026client_certificate_set\030\016 \001(\010B\003\340A\003\022\033"
- + "\n\016ca_certificate\030\017 \001(\tB\003\340A\004\022\037\n\022ca_certif"
- + "icate_set\030\020 \001(\010B\003\340A\003\"\241\010\n\021ConnectionProfi"
- + "le\022\021\n\004name\030\001 \001(\tB\003\340A\003\0224\n\013create_time\030\002 \001"
- + "(\0132\032.google.protobuf.TimestampB\003\340A\003\0224\n\013u"
- + "pdate_time\030\003 \001(\0132\032.google.protobuf.Times"
- + "tampB\003\340A\003\022O\n\006labels\030\004 \003(\0132?.google.cloud"
- + ".datastream.v1alpha1.ConnectionProfile.L"
- + "abelsEntry\022\031\n\014display_name\030\005 \001(\tB\003\340A\002\022I\n"
- + "\016oracle_profile\030d \001(\0132/.google.cloud.dat"
- + "astream.v1alpha1.OracleProfileH\000\022C\n\013gcs_"
- + "profile\030e \001(\0132,.google.cloud.datastream."
- + "v1alpha1.GcsProfileH\000\022G\n\rmysql_profile\030f"
- + " \001(\0132..google.cloud.datastream.v1alpha1."
- + "MysqlProfileH\000\022T\n\017no_connectivity\030\310\001 \001(\013"
- + "28.google.cloud.datastream.v1alpha1.NoCo"
- + "nnectivitySettingsH\001\022h\n\036static_service_i"
- + "p_connectivity\030\311\001 \001(\0132=.google.cloud.dat"
- + "astream.v1alpha1.StaticServiceIpConnecti"
- + "vityH\001\022c\n\030forward_ssh_connectivity\030\312\001 \001("
- + "\0132>.google.cloud.datastream.v1alpha1.For"
- + "wardSshTunnelConnectivityH\001\022V\n\024private_c"
- + "onnectivity\030\313\001 \001(\01325.google.cloud.datast"
- + "ream.v1alpha1.PrivateConnectivityH\001\032-\n\013L"
- + "abelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\002"
- + "8\001:\200\001\352A}\n+datastream.googleapis.com/Conn"
- + "ectionProfile\022Nprojects/{project}/locati"
- + "ons/{location}/connectionProfiles/{conne"
- + "ctionProfile}B\t\n\007profileB\016\n\014connectivity"
- + "\"\273\001\n\014OracleColumn\022\023\n\013column_name\030\001 \001(\t\022\021"
- + "\n\tdata_type\030\002 \001(\t\022\016\n\006length\030\003 \001(\005\022\021\n\tpre"
- + "cision\030\004 \001(\005\022\r\n\005scale\030\005 \001(\005\022\020\n\010encoding\030"
- + "\006 \001(\t\022\023\n\013primary_key\030\007 \001(\010\022\020\n\010nullable\030\010"
- + " \001(\010\022\030\n\020ordinal_position\030\t \001(\005\"i\n\013Oracle"
- + "Table\022\022\n\ntable_name\030\001 \001(\t\022F\n\016oracle_colu"
- + "mns\030\002 \003(\0132..google.cloud.datastream.v1al"
- + "pha1.OracleColumn\"i\n\014OracleSchema\022\023\n\013sch"
- + "ema_name\030\001 \001(\t\022D\n\roracle_tables\030\002 \003(\0132-."
- + "google.cloud.datastream.v1alpha1.OracleT"
- + "able\"U\n\013OracleRdbms\022F\n\016oracle_schemas\030\001 "
- + "\003(\0132..google.cloud.datastream.v1alpha1.O"
- + "racleSchema\"\231\001\n\022OracleSourceConfig\022@\n\tal"
- + "lowlist\030\001 \001(\0132-.google.cloud.datastream."
- + "v1alpha1.OracleRdbms\022A\n\nrejectlist\030\002 \001(\013"
+ + "Oprojects/{project}/locations/{location}"
+ + "/privateConnections/{private_connection}"
+ + "\";\n\023PrivateConnectivity\022$\n\027private_conne"
+ + "ction_name\030\001 \001(\tB\003\340A\002\"\331\003\n\005Route\022\021\n\004name\030"
+ + "\001 \001(\tB\003\340A\003\0224\n\013create_time\030\002 \001(\0132\032.google"
+ + ".protobuf.TimestampB\003\340A\003\0224\n\013update_time\030"
+ + "\003 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022C"
+ + "\n\006labels\030\004 \003(\01323.google.cloud.datastream"
+ + ".v1alpha1.Route.LabelsEntry\022\031\n\014display_n"
+ + "ame\030\005 \001(\tB\003\340A\002\022 \n\023destination_address\030\006 "
+ + "\001(\tB\003\340A\002\022\030\n\020destination_port\030\007 \001(\005\032-\n\013La"
+ + "belsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028"
+ + "\001:\205\001\352A\201\001\n\037datastream.googleapis.com/Rout"
+ + "e\022^projects/{project}/locations/{locatio"
+ + "n}/privateConnections/{private_connectio"
+ + "n}/routes/{route}\"\312\001\n\016MysqlSslConfig\022\027\n\n"
+ + "client_key\030\013 \001(\tB\003\340A\004\022\033\n\016client_key_set\030"
+ + "\014 \001(\010B\003\340A\003\022\037\n\022client_certificate\030\r \001(\tB\003"
+ + "\340A\004\022#\n\026client_certificate_set\030\016 \001(\010B\003\340A\003"
+ + "\022\033\n\016ca_certificate\030\017 \001(\tB\003\340A\004\022\037\n\022ca_cert"
+ + "ificate_set\030\020 \001(\010B\003\340A\003\"\242\010\n\021ConnectionPro"
+ + "file\022\021\n\004name\030\001 \001(\tB\003\340A\003\0224\n\013create_time\030\002"
+ + " \001(\0132\032.google.protobuf.TimestampB\003\340A\003\0224\n"
+ + "\013update_time\030\003 \001(\0132\032.google.protobuf.Tim"
+ + "estampB\003\340A\003\022O\n\006labels\030\004 \003(\0132?.google.clo"
+ + "ud.datastream.v1alpha1.ConnectionProfile"
+ + ".LabelsEntry\022\031\n\014display_name\030\005 \001(\tB\003\340A\002\022"
+ + "I\n\016oracle_profile\030d \001(\0132/.google.cloud.d"
+ + "atastream.v1alpha1.OracleProfileH\000\022C\n\013gc"
+ + "s_profile\030e \001(\0132,.google.cloud.datastrea"
+ + "m.v1alpha1.GcsProfileH\000\022G\n\rmysql_profile"
+ + "\030f \001(\0132..google.cloud.datastream.v1alpha"
+ + "1.MysqlProfileH\000\022T\n\017no_connectivity\030\310\001 \001"
+ + "(\01328.google.cloud.datastream.v1alpha1.No"
+ + "ConnectivitySettingsH\001\022h\n\036static_service"
+ + "_ip_connectivity\030\311\001 \001(\0132=.google.cloud.d"
+ + "atastream.v1alpha1.StaticServiceIpConnec"
+ + "tivityH\001\022c\n\030forward_ssh_connectivity\030\312\001 "
+ + "\001(\0132>.google.cloud.datastream.v1alpha1.F"
+ + "orwardSshTunnelConnectivityH\001\022V\n\024private"
+ + "_connectivity\030\313\001 \001(\01325.google.cloud.data"
+ + "stream.v1alpha1.PrivateConnectivityH\001\032-\n"
+ + "\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t"
+ + ":\0028\001:\201\001\352A~\n+datastream.googleapis.com/Co"
+ + "nnectionProfile\022Oprojects/{project}/loca"
+ + "tions/{location}/connectionProfiles/{con"
+ + "nection_profile}B\t\n\007profileB\016\n\014connectiv"
+ + "ity\"\273\001\n\014OracleColumn\022\023\n\013column_name\030\001 \001("
+ + "\t\022\021\n\tdata_type\030\002 \001(\t\022\016\n\006length\030\003 \001(\005\022\021\n\t"
+ + "precision\030\004 \001(\005\022\r\n\005scale\030\005 \001(\005\022\020\n\010encodi"
+ + "ng\030\006 \001(\t\022\023\n\013primary_key\030\007 \001(\010\022\020\n\010nullabl"
+ + "e\030\010 \001(\010\022\030\n\020ordinal_position\030\t \001(\005\"i\n\013Ora"
+ + "cleTable\022\022\n\ntable_name\030\001 \001(\t\022F\n\016oracle_c"
+ + "olumns\030\002 \003(\0132..google.cloud.datastream.v"
+ + "1alpha1.OracleColumn\"i\n\014OracleSchema\022\023\n\013"
+ + "schema_name\030\001 \001(\t\022D\n\roracle_tables\030\002 \003(\013"
+ "2-.google.cloud.datastream.v1alpha1.Orac"
- + "leRdbms\"\231\001\n\013MysqlColumn\022\023\n\013column_name\030\001"
- + " \001(\t\022\021\n\tdata_type\030\002 \001(\t\022\016\n\006length\030\003 \001(\005\022"
- + "\021\n\tcollation\030\004 \001(\t\022\023\n\013primary_key\030\005 \001(\010\022"
- + "\020\n\010nullable\030\006 \001(\010\022\030\n\020ordinal_position\030\007 "
- + "\001(\005\"f\n\nMysqlTable\022\022\n\ntable_name\030\001 \001(\t\022D\n"
- + "\rmysql_columns\030\002 \003(\0132-.google.cloud.data"
- + "stream.v1alpha1.MysqlColumn\"j\n\rMysqlData"
- + "base\022\025\n\rdatabase_name\030\001 \001(\t\022B\n\014mysql_tab"
- + "les\030\002 \003(\0132,.google.cloud.datastream.v1al"
- + "pha1.MysqlTable\"V\n\nMysqlRdbms\022H\n\017mysql_d"
- + "atabases\030\001 \003(\0132/.google.cloud.datastream"
- + ".v1alpha1.MysqlDatabase\"\226\001\n\021MysqlSourceC"
- + "onfig\022?\n\tallowlist\030\001 \001(\0132,.google.cloud."
- + "datastream.v1alpha1.MysqlRdbms\022@\n\nreject"
- + "list\030\002 \001(\0132,.google.cloud.datastream.v1a"
- + "lpha1.MysqlRdbms\"\375\001\n\014SourceConfig\022+\n\036sou"
- + "rce_connection_profile_name\030\001 \001(\tB\003\340A\002\022T"
- + "\n\024oracle_source_config\030d \001(\01324.google.cl"
- + "oud.datastream.v1alpha1.OracleSourceConf"
- + "igH\000\022R\n\023mysql_source_config\030e \001(\01323.goog"
- + "le.cloud.datastream.v1alpha1.MysqlSource"
- + "ConfigH\000B\026\n\024source_stream_config\"\020\n\016Avro"
- + "FileFormat\"\212\002\n\016JsonFileFormat\022N\n\022schema_"
- + "file_format\030\001 \001(\01622.google.cloud.datastr"
- + "eam.v1alpha1.SchemaFileFormat\022U\n\013compres"
- + "sion\030\002 \001(\0162@.google.cloud.datastream.v1a"
- + "lpha1.JsonFileFormat.JsonCompression\"Q\n\017"
- + "JsonCompression\022 \n\034JSON_COMPRESSION_UNSP"
- + "ECIFIED\020\000\022\022\n\016NO_COMPRESSION\020\001\022\010\n\004GZIP\020\002\""
- + "\362\002\n\024GcsDestinationConfig\022\014\n\004path\030\001 \001(\t\022L"
- + "\n\017gcs_file_format\030\002 \001(\0162/.google.cloud.d"
- + "atastream.v1alpha1.GcsFileFormatB\002\030\001\022\030\n\020"
- + "file_rotation_mb\030\003 \001(\005\0229\n\026file_rotation_"
- + "interval\030\004 \001(\0132\031.google.protobuf.Duratio"
- + "n\022L\n\020avro_file_format\030d \001(\01320.google.clo"
- + "ud.datastream.v1alpha1.AvroFileFormatH\000\022"
- + "L\n\020json_file_format\030e \001(\01320.google.cloud"
- + ".datastream.v1alpha1.JsonFileFormatH\000B\r\n"
- + "\013file_format\"\274\001\n\021DestinationConfig\0220\n#de"
- + "stination_connection_profile_name\030\001 \001(\tB"
- + "\003\340A\002\022X\n\026gcs_destination_config\030d \001(\01326.g"
- + "oogle.cloud.datastream.v1alpha1.GcsDesti"
- + "nationConfigH\000B\033\n\031destination_stream_con"
- + "fig\"\330\t\n\006Stream\022\021\n\004name\030\001 \001(\tB\003\340A\003\0224\n\013cre"
- + "ate_time\030\002 \001(\0132\032.google.protobuf.Timesta"
- + "mpB\003\340A\003\0224\n\013update_time\030\003 \001(\0132\032.google.pr"
- + "otobuf.TimestampB\003\340A\003\022D\n\006labels\030\004 \003(\01324."
- + "google.cloud.datastream.v1alpha1.Stream."
- + "LabelsEntry\022\031\n\014display_name\030\005 \001(\tB\003\340A\002\022J"
- + "\n\rsource_config\030\006 \001(\0132..google.cloud.dat"
- + "astream.v1alpha1.SourceConfigB\003\340A\002\022T\n\022de"
- + "stination_config\030\007 \001(\01323.google.cloud.da"
- + "tastream.v1alpha1.DestinationConfigB\003\340A\002"
- + "\022=\n\005state\030\010 \001(\0162..google.cloud.datastrea"
- + "m.v1alpha1.Stream.State\022T\n\014backfill_all\030"
- + "e \001(\0132<.google.cloud.datastream.v1alpha1"
- + ".Stream.BackfillAllStrategyH\000\022V\n\rbackfil"
- + "l_none\030f \001(\0132=.google.cloud.datastream.v"
- + "1alpha1.Stream.BackfillNoneStrategyH\000\022<\n"
- + "\006errors\030\t \003(\0132\'.google.cloud.datastream."
- + "v1alpha1.ErrorB\003\340A\003\032\313\001\n\023BackfillAllStrat"
- + "egy\022P\n\027oracle_excluded_objects\030\001 \001(\0132-.g"
- + "oogle.cloud.datastream.v1alpha1.OracleRd"
- + "bmsH\000\022N\n\026mysql_excluded_objects\030\002 \001(\0132,."
- + "google.cloud.datastream.v1alpha1.MysqlRd"
- + "bmsH\000B\022\n\020excluded_objects\032\026\n\024BackfillNon"
- + "eStrategy\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n"
- + "\005value\030\002 \001(\t:\0028\001\"\225\001\n\005State\022\025\n\021STATE_UNSP"
- + "ECIFIED\020\000\022\013\n\007CREATED\020\001\022\013\n\007RUNNING\020\002\022\n\n\006P"
- + "AUSED\020\003\022\017\n\013MAINTENANCE\020\004\022\n\n\006FAILED\020\005\022\026\n\022"
- + "FAILED_PERMANENTLY\020\006\022\014\n\010STARTING\020\007\022\014\n\010DR"
- + "AINING\020\010:_\352A\\\n datastream.googleapis.com"
- + "/Stream\0228projects/{project}/locations/{l"
- + "ocation}/streams/{stream}B\023\n\021backfill_st"
- + "rategy\"\343\001\n\005Error\022\016\n\006reason\030\001 \001(\t\022\022\n\nerro"
- + "r_uuid\030\002 \001(\t\022\017\n\007message\030\003 \001(\t\022.\n\nerror_t"
- + "ime\030\004 \001(\0132\032.google.protobuf.Timestamp\022E\n"
- + "\007details\030\005 \003(\01324.google.cloud.datastream"
- + ".v1alpha1.Error.DetailsEntry\032.\n\014DetailsE"
- + "ntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"U\n\020"
- + "ValidationResult\022A\n\013validations\030\001 \003(\0132,."
- + "google.cloud.datastream.v1alpha1.Validat"
- + "ion\"\206\002\n\nValidation\022\023\n\013description\030\001 \001(\t\022"
- + "C\n\006status\030\002 \001(\01623.google.cloud.datastrea"
- + "m.v1alpha1.Validation.Status\022D\n\007message\030"
- + "\003 \003(\01323.google.cloud.datastream.v1alpha1"
- + ".ValidationMessage\022\014\n\004code\030\004 \001(\t\"J\n\006Stat"
- + "us\022\026\n\022STATUS_UNSPECIFIED\020\000\022\020\n\014NOT_EXECUT"
- + "ED\020\001\022\n\n\006FAILED\020\002\022\n\n\006PASSED\020\003\"\272\002\n\021Validat"
- + "ionMessage\022\017\n\007message\030\001 \001(\t\022H\n\005level\030\002 \001"
- + "(\01629.google.cloud.datastream.v1alpha1.Va"
- + "lidationMessage.Level\022S\n\010metadata\030\003 \003(\0132"
- + "A.google.cloud.datastream.v1alpha1.Valid"
- + "ationMessage.MetadataEntry\022\014\n\004code\030\004 \001(\t"
- + "\032/\n\rMetadataEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030"
- + "\002 \001(\t:\0028\001\"6\n\005Level\022\025\n\021LEVEL_UNSPECIFIED\020"
- + "\000\022\013\n\007WARNING\020\001\022\t\n\005ERROR\020\002*>\n\rGcsFileForm"
- + "at\022\037\n\033GCS_FILE_FORMAT_UNSPECIFIED\020\000\022\010\n\004A"
- + "VRO\020\001\032\002\030\001*`\n\020SchemaFileFormat\022\"\n\036SCHEMA_"
- + "FILE_FORMAT_UNSPECIFIED\020\000\022\022\n\016NO_SCHEMA_F"
- + "ILE\020\001\022\024\n\020AVRO_SCHEMA_FILE\020\002B\377\001\n$com.goog"
- + "le.cloud.datastream.v1alpha1B\035CloudDatas"
- + "treamResourcesProtoP\001ZJgoogle.golang.org"
- + "/genproto/googleapis/cloud/datastream/v1"
- + "alpha1;datastream\252\002 Google.Cloud.Datastr"
- + "eam.V1Alpha1\312\002 Google\\Cloud\\Datastream\\V"
- + "1alpha1\352\002#Google::Cloud::Datastream::V1a"
- + "lpha1b\006proto3"
+ + "leTable\"U\n\013OracleRdbms\022F\n\016oracle_schemas"
+ + "\030\001 \003(\0132..google.cloud.datastream.v1alpha"
+ + "1.OracleSchema\"\231\001\n\022OracleSourceConfig\022@\n"
+ + "\tallowlist\030\001 \001(\0132-.google.cloud.datastre"
+ + "am.v1alpha1.OracleRdbms\022A\n\nrejectlist\030\002 "
+ + "\001(\0132-.google.cloud.datastream.v1alpha1.O"
+ + "racleRdbms\"\231\001\n\013MysqlColumn\022\023\n\013column_nam"
+ + "e\030\001 \001(\t\022\021\n\tdata_type\030\002 \001(\t\022\016\n\006length\030\003 \001"
+ + "(\005\022\021\n\tcollation\030\004 \001(\t\022\023\n\013primary_key\030\005 \001"
+ + "(\010\022\020\n\010nullable\030\006 \001(\010\022\030\n\020ordinal_position"
+ + "\030\007 \001(\005\"f\n\nMysqlTable\022\022\n\ntable_name\030\001 \001(\t"
+ + "\022D\n\rmysql_columns\030\002 \003(\0132-.google.cloud.d"
+ + "atastream.v1alpha1.MysqlColumn\"j\n\rMysqlD"
+ + "atabase\022\025\n\rdatabase_name\030\001 \001(\t\022B\n\014mysql_"
+ + "tables\030\002 \003(\0132,.google.cloud.datastream.v"
+ + "1alpha1.MysqlTable\"V\n\nMysqlRdbms\022H\n\017mysq"
+ + "l_databases\030\001 \003(\0132/.google.cloud.datastr"
+ + "eam.v1alpha1.MysqlDatabase\"\226\001\n\021MysqlSour"
+ + "ceConfig\022?\n\tallowlist\030\001 \001(\0132,.google.clo"
+ + "ud.datastream.v1alpha1.MysqlRdbms\022@\n\nrej"
+ + "ectlist\030\002 \001(\0132,.google.cloud.datastream."
+ + "v1alpha1.MysqlRdbms\"\375\001\n\014SourceConfig\022+\n\036"
+ + "source_connection_profile_name\030\001 \001(\tB\003\340A"
+ + "\002\022T\n\024oracle_source_config\030d \001(\01324.google"
+ + ".cloud.datastream.v1alpha1.OracleSourceC"
+ + "onfigH\000\022R\n\023mysql_source_config\030e \001(\01323.g"
+ + "oogle.cloud.datastream.v1alpha1.MysqlSou"
+ + "rceConfigH\000B\026\n\024source_stream_config\"\020\n\016A"
+ + "vroFileFormat\"\212\002\n\016JsonFileFormat\022N\n\022sche"
+ + "ma_file_format\030\001 \001(\01622.google.cloud.data"
+ + "stream.v1alpha1.SchemaFileFormat\022U\n\013comp"
+ + "ression\030\002 \001(\0162@.google.cloud.datastream."
+ + "v1alpha1.JsonFileFormat.JsonCompression\""
+ + "Q\n\017JsonCompression\022 \n\034JSON_COMPRESSION_U"
+ + "NSPECIFIED\020\000\022\022\n\016NO_COMPRESSION\020\001\022\010\n\004GZIP"
+ + "\020\002\"\362\002\n\024GcsDestinationConfig\022\014\n\004path\030\001 \001("
+ + "\t\022L\n\017gcs_file_format\030\002 \001(\0162/.google.clou"
+ + "d.datastream.v1alpha1.GcsFileFormatB\002\030\001\022"
+ + "\030\n\020file_rotation_mb\030\003 \001(\005\0229\n\026file_rotati"
+ + "on_interval\030\004 \001(\0132\031.google.protobuf.Dura"
+ + "tion\022L\n\020avro_file_format\030d \001(\01320.google."
+ + "cloud.datastream.v1alpha1.AvroFileFormat"
+ + "H\000\022L\n\020json_file_format\030e \001(\01320.google.cl"
+ + "oud.datastream.v1alpha1.JsonFileFormatH\000"
+ + "B\r\n\013file_format\"\274\001\n\021DestinationConfig\0220\n"
+ + "#destination_connection_profile_name\030\001 \001"
+ + "(\tB\003\340A\002\022X\n\026gcs_destination_config\030d \001(\0132"
+ + "6.google.cloud.datastream.v1alpha1.GcsDe"
+ + "stinationConfigH\000B\033\n\031destination_stream_"
+ + "config\"\330\t\n\006Stream\022\021\n\004name\030\001 \001(\tB\003\340A\003\0224\n\013"
+ + "create_time\030\002 \001(\0132\032.google.protobuf.Time"
+ + "stampB\003\340A\003\0224\n\013update_time\030\003 \001(\0132\032.google"
+ + ".protobuf.TimestampB\003\340A\003\022D\n\006labels\030\004 \003(\013"
+ + "24.google.cloud.datastream.v1alpha1.Stre"
+ + "am.LabelsEntry\022\031\n\014display_name\030\005 \001(\tB\003\340A"
+ + "\002\022J\n\rsource_config\030\006 \001(\0132..google.cloud."
+ + "datastream.v1alpha1.SourceConfigB\003\340A\002\022T\n"
+ + "\022destination_config\030\007 \001(\01323.google.cloud"
+ + ".datastream.v1alpha1.DestinationConfigB\003"
+ + "\340A\002\022=\n\005state\030\010 \001(\0162..google.cloud.datast"
+ + "ream.v1alpha1.Stream.State\022T\n\014backfill_a"
+ + "ll\030e \001(\0132<.google.cloud.datastream.v1alp"
+ + "ha1.Stream.BackfillAllStrategyH\000\022V\n\rback"
+ + "fill_none\030f \001(\0132=.google.cloud.datastrea"
+ + "m.v1alpha1.Stream.BackfillNoneStrategyH\000"
+ + "\022<\n\006errors\030\t \003(\0132\'.google.cloud.datastre"
+ + "am.v1alpha1.ErrorB\003\340A\003\032\313\001\n\023BackfillAllSt"
+ + "rategy\022P\n\027oracle_excluded_objects\030\001 \001(\0132"
+ + "-.google.cloud.datastream.v1alpha1.Oracl"
+ + "eRdbmsH\000\022N\n\026mysql_excluded_objects\030\002 \001(\013"
+ + "2,.google.cloud.datastream.v1alpha1.Mysq"
+ + "lRdbmsH\000B\022\n\020excluded_objects\032\026\n\024Backfill"
+ + "NoneStrategy\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t"
+ + "\022\r\n\005value\030\002 \001(\t:\0028\001\"\225\001\n\005State\022\025\n\021STATE_U"
+ + "NSPECIFIED\020\000\022\013\n\007CREATED\020\001\022\013\n\007RUNNING\020\002\022\n"
+ + "\n\006PAUSED\020\003\022\017\n\013MAINTENANCE\020\004\022\n\n\006FAILED\020\005\022"
+ + "\026\n\022FAILED_PERMANENTLY\020\006\022\014\n\010STARTING\020\007\022\014\n"
+ + "\010DRAINING\020\010:_\352A\\\n datastream.googleapis."
+ + "com/Stream\0228projects/{project}/locations"
+ + "/{location}/streams/{stream}B\023\n\021backfill"
+ + "_strategy\"\343\001\n\005Error\022\016\n\006reason\030\001 \001(\t\022\022\n\ne"
+ + "rror_uuid\030\002 \001(\t\022\017\n\007message\030\003 \001(\t\022.\n\nerro"
+ + "r_time\030\004 \001(\0132\032.google.protobuf.Timestamp"
+ + "\022E\n\007details\030\005 \003(\01324.google.cloud.datastr"
+ + "eam.v1alpha1.Error.DetailsEntry\032.\n\014Detai"
+ + "lsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\""
+ + "U\n\020ValidationResult\022A\n\013validations\030\001 \003(\013"
+ + "2,.google.cloud.datastream.v1alpha1.Vali"
+ + "dation\"\206\002\n\nValidation\022\023\n\013description\030\001 \001"
+ + "(\t\022C\n\006status\030\002 \001(\01623.google.cloud.datast"
+ + "ream.v1alpha1.Validation.Status\022D\n\007messa"
+ + "ge\030\003 \003(\01323.google.cloud.datastream.v1alp"
+ + "ha1.ValidationMessage\022\014\n\004code\030\004 \001(\t\"J\n\006S"
+ + "tatus\022\026\n\022STATUS_UNSPECIFIED\020\000\022\020\n\014NOT_EXE"
+ + "CUTED\020\001\022\n\n\006FAILED\020\002\022\n\n\006PASSED\020\003\"\272\002\n\021Vali"
+ + "dationMessage\022\017\n\007message\030\001 \001(\t\022H\n\005level\030"
+ + "\002 \001(\01629.google.cloud.datastream.v1alpha1"
+ + ".ValidationMessage.Level\022S\n\010metadata\030\003 \003"
+ + "(\0132A.google.cloud.datastream.v1alpha1.Va"
+ + "lidationMessage.MetadataEntry\022\014\n\004code\030\004 "
+ + "\001(\t\032/\n\rMetadataEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005val"
+ + "ue\030\002 \001(\t:\0028\001\"6\n\005Level\022\025\n\021LEVEL_UNSPECIFI"
+ + "ED\020\000\022\013\n\007WARNING\020\001\022\t\n\005ERROR\020\002*>\n\rGcsFileF"
+ + "ormat\022\037\n\033GCS_FILE_FORMAT_UNSPECIFIED\020\000\022\010"
+ + "\n\004AVRO\020\001\032\002\030\001*`\n\020SchemaFileFormat\022\"\n\036SCHE"
+ + "MA_FILE_FORMAT_UNSPECIFIED\020\000\022\022\n\016NO_SCHEM"
+ + "A_FILE\020\001\022\024\n\020AVRO_SCHEMA_FILE\020\002B\377\001\n$com.g"
+ + "oogle.cloud.datastream.v1alpha1B\035CloudDa"
+ + "tastreamResourcesProtoP\001ZJgoogle.golang."
+ + "org/genproto/googleapis/cloud/datastream"
+ + "/v1alpha1;datastream\252\002 Google.Cloud.Data"
+ + "stream.V1Alpha1\312\002 Google\\Cloud\\Datastrea"
+ + "m\\V1alpha1\352\002#Google::Cloud::Datastream::"
+ + "V1alpha1b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ConnectionProfile.java b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ConnectionProfile.java
index aa3834ea..51b23c3e 100644
--- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ConnectionProfile.java
+++ b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ConnectionProfile.java
@@ -1091,7 +1091,7 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (!getNameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
}
if (createTime_ != null) {
@@ -1102,7 +1102,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
}
com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 4);
- if (!getDisplayNameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, displayName_);
}
if (profileCase_ == 100) {
@@ -1139,7 +1139,7 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (!getNameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
}
if (createTime_ != null) {
@@ -1158,7 +1158,7 @@ public int getSerializedSize() {
.build();
size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, labels__);
}
- if (!getDisplayNameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, displayName_);
}
if (profileCase_ == 100) {
diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ConnectionProfileName.java b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ConnectionProfileName.java
index a4a96289..244e99db 100644
--- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ConnectionProfileName.java
+++ b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ConnectionProfileName.java
@@ -29,9 +29,9 @@
// AUTO-GENERATED DOCUMENTATION AND CLASS.
@Generated("by gapic-generator-java")
public class ConnectionProfileName implements ResourceName {
- private static final PathTemplate PROJECT_LOCATION_CONNECTIONPROFILE =
+ private static final PathTemplate PROJECT_LOCATION_CONNECTION_PROFILE =
PathTemplate.createWithoutUrlEncoding(
- "projects/{project}/locations/{location}/connectionProfiles/{connectionProfile}");
+ "projects/{project}/locations/{location}/connectionProfiles/{connection_profile}");
private volatile Map fieldValuesMap;
private final String project;
private final String location;
@@ -93,9 +93,10 @@ public static ConnectionProfileName parse(String formattedString) {
return null;
}
Map matchMap =
- PROJECT_LOCATION_CONNECTIONPROFILE.validatedMatch(
+ PROJECT_LOCATION_CONNECTION_PROFILE.validatedMatch(
formattedString, "ConnectionProfileName.parse: formattedString not in valid format");
- return of(matchMap.get("project"), matchMap.get("location"), matchMap.get("connectionProfile"));
+ return of(
+ matchMap.get("project"), matchMap.get("location"), matchMap.get("connection_profile"));
}
public static List parseList(List formattedStrings) {
@@ -119,7 +120,7 @@ public static List toStringList(List values) {
}
public static boolean isParsableFrom(String formattedString) {
- return PROJECT_LOCATION_CONNECTIONPROFILE.matches(formattedString);
+ return PROJECT_LOCATION_CONNECTION_PROFILE.matches(formattedString);
}
@Override
@@ -135,7 +136,7 @@ public Map getFieldValuesMap() {
fieldMapBuilder.put("location", location);
}
if (connectionProfile != null) {
- fieldMapBuilder.put("connectionProfile", connectionProfile);
+ fieldMapBuilder.put("connection_profile", connectionProfile);
}
fieldValuesMap = fieldMapBuilder.build();
}
@@ -150,8 +151,8 @@ public String getFieldValue(String fieldName) {
@Override
public String toString() {
- return PROJECT_LOCATION_CONNECTIONPROFILE.instantiate(
- "project", project, "location", location, "connectionProfile", connectionProfile);
+ return PROJECT_LOCATION_CONNECTION_PROFILE.instantiate(
+ "project", project, "location", location, "connection_profile", connectionProfile);
}
@Override
@@ -180,7 +181,9 @@ public int hashCode() {
return h;
}
- /** Builder for projects/{project}/locations/{location}/connectionProfiles/{connectionProfile}. */
+ /**
+ * Builder for projects/{project}/locations/{location}/connectionProfiles/{connection_profile}.
+ */
public static class Builder {
private String project;
private String location;
diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/CreateConnectionProfileRequest.java b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/CreateConnectionProfileRequest.java
index 689a8577..f968f508 100644
--- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/CreateConnectionProfileRequest.java
+++ b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/CreateConnectionProfileRequest.java
@@ -377,16 +377,16 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (!getParentBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_);
}
- if (!getConnectionProfileIdBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(connectionProfileId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, connectionProfileId_);
}
if (connectionProfile_ != null) {
output.writeMessage(3, getConnectionProfile());
}
- if (!getRequestIdBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, requestId_);
}
unknownFields.writeTo(output);
@@ -398,16 +398,16 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (!getParentBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_);
}
- if (!getConnectionProfileIdBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(connectionProfileId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, connectionProfileId_);
}
if (connectionProfile_ != null) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getConnectionProfile());
}
- if (!getRequestIdBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, requestId_);
}
size += unknownFields.getSerializedSize();
diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/CreatePrivateConnectionRequest.java b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/CreatePrivateConnectionRequest.java
index 3f8c36a8..cf7f35a7 100644
--- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/CreatePrivateConnectionRequest.java
+++ b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/CreatePrivateConnectionRequest.java
@@ -377,16 +377,16 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (!getParentBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_);
}
- if (!getPrivateConnectionIdBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(privateConnectionId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, privateConnectionId_);
}
if (privateConnection_ != null) {
output.writeMessage(3, getPrivateConnection());
}
- if (!getRequestIdBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, requestId_);
}
unknownFields.writeTo(output);
@@ -398,16 +398,16 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (!getParentBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_);
}
- if (!getPrivateConnectionIdBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(privateConnectionId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, privateConnectionId_);
}
if (privateConnection_ != null) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getPrivateConnection());
}
- if (!getRequestIdBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, requestId_);
}
size += unknownFields.getSerializedSize();
diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/CreateRouteRequest.java b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/CreateRouteRequest.java
index a1e5c6bd..1373a0bd 100644
--- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/CreateRouteRequest.java
+++ b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/CreateRouteRequest.java
@@ -382,16 +382,16 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (!getParentBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_);
}
- if (!getRouteIdBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(routeId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, routeId_);
}
if (route_ != null) {
output.writeMessage(3, getRoute());
}
- if (!getRequestIdBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, requestId_);
}
unknownFields.writeTo(output);
@@ -403,16 +403,16 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (!getParentBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_);
}
- if (!getRouteIdBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(routeId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, routeId_);
}
if (route_ != null) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getRoute());
}
- if (!getRequestIdBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, requestId_);
}
size += unknownFields.getSerializedSize();
diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/CreateStreamRequest.java b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/CreateStreamRequest.java
index 1e45844f..c6bf8f5a 100644
--- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/CreateStreamRequest.java
+++ b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/CreateStreamRequest.java
@@ -421,16 +421,16 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (!getParentBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_);
}
- if (!getStreamIdBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(streamId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, streamId_);
}
if (stream_ != null) {
output.writeMessage(3, getStream());
}
- if (!getRequestIdBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, requestId_);
}
if (validateOnly_ != false) {
@@ -448,16 +448,16 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (!getParentBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_);
}
- if (!getStreamIdBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(streamId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, streamId_);
}
if (stream_ != null) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getStream());
}
- if (!getRequestIdBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, requestId_);
}
if (validateOnly_ != false) {
diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DeleteConnectionProfileRequest.java b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DeleteConnectionProfileRequest.java
index 3dc27f65..0b128b4e 100644
--- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DeleteConnectionProfileRequest.java
+++ b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DeleteConnectionProfileRequest.java
@@ -248,10 +248,10 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (!getNameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
}
- if (!getRequestIdBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, requestId_);
}
unknownFields.writeTo(output);
@@ -263,10 +263,10 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (!getNameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
}
- if (!getRequestIdBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, requestId_);
}
size += unknownFields.getSerializedSize();
diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DeletePrivateConnectionRequest.java b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DeletePrivateConnectionRequest.java
index f157cea5..9f7259a6 100644
--- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DeletePrivateConnectionRequest.java
+++ b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DeletePrivateConnectionRequest.java
@@ -272,10 +272,10 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (!getNameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
}
- if (!getRequestIdBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, requestId_);
}
if (force_ != false) {
@@ -290,10 +290,10 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (!getNameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
}
- if (!getRequestIdBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, requestId_);
}
if (force_ != false) {
diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DeleteRouteRequest.java b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DeleteRouteRequest.java
index 5885df7c..11747525 100644
--- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DeleteRouteRequest.java
+++ b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DeleteRouteRequest.java
@@ -255,10 +255,10 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (!getNameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
}
- if (!getRequestIdBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, requestId_);
}
unknownFields.writeTo(output);
@@ -270,10 +270,10 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (!getNameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
}
- if (!getRequestIdBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, requestId_);
}
size += unknownFields.getSerializedSize();
diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DeleteStreamRequest.java b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DeleteStreamRequest.java
index f02cbeae..9a06c4ad 100644
--- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DeleteStreamRequest.java
+++ b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DeleteStreamRequest.java
@@ -247,10 +247,10 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (!getNameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
}
- if (!getRequestIdBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, requestId_);
}
unknownFields.writeTo(output);
@@ -262,10 +262,10 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (!getNameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
}
- if (!getRequestIdBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, requestId_);
}
size += unknownFields.getSerializedSize();
diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DestinationConfig.java b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DestinationConfig.java
index 9b06e51a..8ed63ac6 100644
--- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DestinationConfig.java
+++ b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DestinationConfig.java
@@ -279,7 +279,7 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (!getDestinationConnectionProfileNameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(destinationConnectionProfileName_)) {
com.google.protobuf.GeneratedMessageV3.writeString(
output, 1, destinationConnectionProfileName_);
}
@@ -297,7 +297,7 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (!getDestinationConnectionProfileNameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(destinationConnectionProfileName_)) {
size +=
com.google.protobuf.GeneratedMessageV3.computeStringSize(
1, destinationConnectionProfileName_);
diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DiscoverConnectionProfileRequest.java b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DiscoverConnectionProfileRequest.java
index bc8627e5..d3fe1e78 100644
--- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DiscoverConnectionProfileRequest.java
+++ b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DiscoverConnectionProfileRequest.java
@@ -691,7 +691,7 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (!getParentBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_);
}
if (depthCase_ == 3) {
@@ -721,7 +721,7 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (!getParentBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_);
}
if (depthCase_ == 3) {
diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/Error.java b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/Error.java
index f4f593aa..b3c0b40a 100644
--- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/Error.java
+++ b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/Error.java
@@ -475,13 +475,13 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (!getReasonBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(reason_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, reason_);
}
- if (!getErrorUuidBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(errorUuid_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, errorUuid_);
}
- if (!getMessageBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, message_);
}
if (errorTime_ != null) {
@@ -498,13 +498,13 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (!getReasonBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(reason_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, reason_);
}
- if (!getErrorUuidBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(errorUuid_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, errorUuid_);
}
- if (!getMessageBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, message_);
}
if (errorTime_ != null) {
diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/FetchErrorsRequest.java b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/FetchErrorsRequest.java
index 154417e4..8fa70dfb 100644
--- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/FetchErrorsRequest.java
+++ b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/FetchErrorsRequest.java
@@ -174,7 +174,7 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (!getStreamBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stream_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, stream_);
}
unknownFields.writeTo(output);
@@ -186,7 +186,7 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (!getStreamBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stream_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, stream_);
}
size += unknownFields.getSerializedSize();
diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/FetchStaticIpsRequest.java b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/FetchStaticIpsRequest.java
index c2a7b502..49c49061 100644
--- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/FetchStaticIpsRequest.java
+++ b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/FetchStaticIpsRequest.java
@@ -262,13 +262,13 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (!getNameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
}
if (pageSize_ != 0) {
output.writeInt32(2, pageSize_);
}
- if (!getPageTokenBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pageToken_);
}
unknownFields.writeTo(output);
@@ -280,13 +280,13 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (!getNameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
}
if (pageSize_ != 0) {
size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_);
}
- if (!getPageTokenBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_);
}
size += unknownFields.getSerializedSize();
diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/FetchStaticIpsResponse.java b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/FetchStaticIpsResponse.java
index 5a995de9..01212f04 100644
--- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/FetchStaticIpsResponse.java
+++ b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/FetchStaticIpsResponse.java
@@ -255,7 +255,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
for (int i = 0; i < staticIps_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, staticIps_.getRaw(i));
}
- if (!getNextPageTokenBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_);
}
unknownFields.writeTo(output);
@@ -275,7 +275,7 @@ public int getSerializedSize() {
size += dataSize;
size += 1 * getStaticIpsList().size();
}
- if (!getNextPageTokenBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_);
}
size += unknownFields.getSerializedSize();
diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ForwardSshTunnelConnectivity.java b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ForwardSshTunnelConnectivity.java
index 57920fc3..0b6b66c8 100644
--- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ForwardSshTunnelConnectivity.java
+++ b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ForwardSshTunnelConnectivity.java
@@ -455,10 +455,10 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (!getHostnameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(hostname_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, hostname_);
}
- if (!getUsernameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(username_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, username_);
}
if (port_ != 0) {
@@ -479,10 +479,10 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (!getHostnameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(hostname_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, hostname_);
}
- if (!getUsernameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(username_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, username_);
}
if (port_ != 0) {
diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/GcsDestinationConfig.java b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/GcsDestinationConfig.java
index 3156c5c1..714b6b42 100644
--- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/GcsDestinationConfig.java
+++ b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/GcsDestinationConfig.java
@@ -502,7 +502,7 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (!getPathBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, path_);
}
if (gcsFileFormat_
@@ -531,7 +531,7 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (!getPathBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, path_);
}
if (gcsFileFormat_
diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/GcsProfile.java b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/GcsProfile.java
index 548a0042..d2c9d8fd 100644
--- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/GcsProfile.java
+++ b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/GcsProfile.java
@@ -233,10 +233,10 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (!getBucketNameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(bucketName_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, bucketName_);
}
- if (!getRootPathBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(rootPath_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, rootPath_);
}
unknownFields.writeTo(output);
@@ -248,10 +248,10 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (!getBucketNameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(bucketName_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, bucketName_);
}
- if (!getRootPathBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(rootPath_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, rootPath_);
}
size += unknownFields.getSerializedSize();
diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/GetConnectionProfileRequest.java b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/GetConnectionProfileRequest.java
index b4a1488d..b9c01e72 100644
--- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/GetConnectionProfileRequest.java
+++ b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/GetConnectionProfileRequest.java
@@ -170,7 +170,7 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (!getNameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
}
unknownFields.writeTo(output);
@@ -182,7 +182,7 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (!getNameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
}
size += unknownFields.getSerializedSize();
diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/GetPrivateConnectionRequest.java b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/GetPrivateConnectionRequest.java
index 1c1d97cc..693987d4 100644
--- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/GetPrivateConnectionRequest.java
+++ b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/GetPrivateConnectionRequest.java
@@ -170,7 +170,7 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (!getNameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
}
unknownFields.writeTo(output);
@@ -182,7 +182,7 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (!getNameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
}
size += unknownFields.getSerializedSize();
diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/GetRouteRequest.java b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/GetRouteRequest.java
index 82114082..57c31d69 100644
--- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/GetRouteRequest.java
+++ b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/GetRouteRequest.java
@@ -178,7 +178,7 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (!getNameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
}
unknownFields.writeTo(output);
@@ -190,7 +190,7 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (!getNameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
}
size += unknownFields.getSerializedSize();
diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/GetStreamRequest.java b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/GetStreamRequest.java
index 6d3dac37..2dcacd58 100644
--- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/GetStreamRequest.java
+++ b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/GetStreamRequest.java
@@ -170,7 +170,7 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (!getNameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
}
unknownFields.writeTo(output);
@@ -182,7 +182,7 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (!getNameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
}
size += unknownFields.getSerializedSize();
diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListConnectionProfilesRequest.java b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListConnectionProfilesRequest.java
index 9d930f05..38be2ff1 100644
--- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListConnectionProfilesRequest.java
+++ b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListConnectionProfilesRequest.java
@@ -372,19 +372,19 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (!getParentBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_);
}
if (pageSize_ != 0) {
output.writeInt32(2, pageSize_);
}
- if (!getPageTokenBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pageToken_);
}
- if (!getFilterBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, filter_);
}
- if (!getOrderByBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, orderBy_);
}
unknownFields.writeTo(output);
@@ -396,19 +396,19 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (!getParentBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_);
}
if (pageSize_ != 0) {
size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_);
}
- if (!getPageTokenBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_);
}
- if (!getFilterBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, filter_);
}
- if (!getOrderByBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, orderBy_);
}
size += unknownFields.getSerializedSize();
diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListConnectionProfilesResponse.java b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListConnectionProfilesResponse.java
index 8f7a4c4f..cfb1289e 100644
--- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListConnectionProfilesResponse.java
+++ b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListConnectionProfilesResponse.java
@@ -343,7 +343,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
for (int i = 0; i < connectionProfiles_.size(); i++) {
output.writeMessage(1, connectionProfiles_.get(i));
}
- if (!getNextPageTokenBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_);
}
for (int i = 0; i < unreachable_.size(); i++) {
@@ -362,7 +362,7 @@ public int getSerializedSize() {
size +=
com.google.protobuf.CodedOutputStream.computeMessageSize(1, connectionProfiles_.get(i));
}
- if (!getNextPageTokenBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_);
}
{
diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListPrivateConnectionsRequest.java b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListPrivateConnectionsRequest.java
index b51967d9..852149c8 100644
--- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListPrivateConnectionsRequest.java
+++ b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListPrivateConnectionsRequest.java
@@ -375,19 +375,19 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (!getParentBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_);
}
if (pageSize_ != 0) {
output.writeInt32(2, pageSize_);
}
- if (!getPageTokenBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pageToken_);
}
- if (!getFilterBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, filter_);
}
- if (!getOrderByBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, orderBy_);
}
unknownFields.writeTo(output);
@@ -399,19 +399,19 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (!getParentBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_);
}
if (pageSize_ != 0) {
size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_);
}
- if (!getPageTokenBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_);
}
- if (!getFilterBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, filter_);
}
- if (!getOrderByBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, orderBy_);
}
size += unknownFields.getSerializedSize();
diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListPrivateConnectionsResponse.java b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListPrivateConnectionsResponse.java
index cce7e029..6c75dde9 100644
--- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListPrivateConnectionsResponse.java
+++ b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListPrivateConnectionsResponse.java
@@ -343,7 +343,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
for (int i = 0; i < privateConnections_.size(); i++) {
output.writeMessage(1, privateConnections_.get(i));
}
- if (!getNextPageTokenBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_);
}
for (int i = 0; i < unreachable_.size(); i++) {
@@ -362,7 +362,7 @@ public int getSerializedSize() {
size +=
com.google.protobuf.CodedOutputStream.computeMessageSize(1, privateConnections_.get(i));
}
- if (!getNextPageTokenBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_);
}
{
diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListRoutesRequest.java b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListRoutesRequest.java
index c8b67d4b..78e9f5c1 100644
--- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListRoutesRequest.java
+++ b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListRoutesRequest.java
@@ -383,19 +383,19 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (!getParentBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_);
}
if (pageSize_ != 0) {
output.writeInt32(2, pageSize_);
}
- if (!getPageTokenBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pageToken_);
}
- if (!getFilterBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, filter_);
}
- if (!getOrderByBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, orderBy_);
}
unknownFields.writeTo(output);
@@ -407,19 +407,19 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (!getParentBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_);
}
if (pageSize_ != 0) {
size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_);
}
- if (!getPageTokenBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_);
}
- if (!getFilterBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, filter_);
}
- if (!getOrderByBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, orderBy_);
}
size += unknownFields.getSerializedSize();
diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListRoutesResponse.java b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListRoutesResponse.java
index 4189a064..ebb391e1 100644
--- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListRoutesResponse.java
+++ b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListRoutesResponse.java
@@ -339,7 +339,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
for (int i = 0; i < routes_.size(); i++) {
output.writeMessage(1, routes_.get(i));
}
- if (!getNextPageTokenBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_);
}
for (int i = 0; i < unreachable_.size(); i++) {
@@ -357,7 +357,7 @@ public int getSerializedSize() {
for (int i = 0; i < routes_.size(); i++) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, routes_.get(i));
}
- if (!getNextPageTokenBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_);
}
{
diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListStreamsRequest.java b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListStreamsRequest.java
index a589debe..e54f166b 100644
--- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListStreamsRequest.java
+++ b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListStreamsRequest.java
@@ -372,19 +372,19 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (!getParentBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_);
}
if (pageSize_ != 0) {
output.writeInt32(2, pageSize_);
}
- if (!getPageTokenBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pageToken_);
}
- if (!getFilterBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, filter_);
}
- if (!getOrderByBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, orderBy_);
}
unknownFields.writeTo(output);
@@ -396,19 +396,19 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (!getParentBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_);
}
if (pageSize_ != 0) {
size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_);
}
- if (!getPageTokenBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_);
}
- if (!getFilterBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, filter_);
}
- if (!getOrderByBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, orderBy_);
}
size += unknownFields.getSerializedSize();
diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListStreamsResponse.java b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListStreamsResponse.java
index 82799c47..6fbdaf40 100644
--- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListStreamsResponse.java
+++ b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ListStreamsResponse.java
@@ -331,7 +331,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
for (int i = 0; i < streams_.size(); i++) {
output.writeMessage(1, streams_.get(i));
}
- if (!getNextPageTokenBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_);
}
for (int i = 0; i < unreachable_.size(); i++) {
@@ -349,7 +349,7 @@ public int getSerializedSize() {
for (int i = 0; i < streams_.size(); i++) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, streams_.get(i));
}
- if (!getNextPageTokenBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_);
}
{
diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlColumn.java b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlColumn.java
index 24c35a36..43c13c1c 100644
--- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlColumn.java
+++ b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlColumn.java
@@ -382,16 +382,16 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (!getColumnNameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(columnName_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, columnName_);
}
- if (!getDataTypeBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dataType_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, dataType_);
}
if (length_ != 0) {
output.writeInt32(3, length_);
}
- if (!getCollationBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(collation_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, collation_);
}
if (primaryKey_ != false) {
@@ -412,16 +412,16 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (!getColumnNameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(columnName_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, columnName_);
}
- if (!getDataTypeBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dataType_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, dataType_);
}
if (length_ != 0) {
size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, length_);
}
- if (!getCollationBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(collation_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, collation_);
}
if (primaryKey_ != false) {
diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlDatabase.java b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlDatabase.java
index 9f765a5b..934603c3 100644
--- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlDatabase.java
+++ b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlDatabase.java
@@ -261,7 +261,7 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (!getDatabaseNameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(databaseName_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, databaseName_);
}
for (int i = 0; i < mysqlTables_.size(); i++) {
@@ -276,7 +276,7 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (!getDatabaseNameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(databaseName_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, databaseName_);
}
for (int i = 0; i < mysqlTables_.size(); i++) {
diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlProfile.java b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlProfile.java
index 3c457ae5..ecd518d5 100644
--- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlProfile.java
+++ b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlProfile.java
@@ -380,16 +380,16 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (!getHostnameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(hostname_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, hostname_);
}
if (port_ != 0) {
output.writeInt32(2, port_);
}
- if (!getUsernameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(username_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, username_);
}
- if (!getPasswordBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(password_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, password_);
}
if (sslConfig_ != null) {
@@ -404,16 +404,16 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (!getHostnameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(hostname_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, hostname_);
}
if (port_ != 0) {
size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, port_);
}
- if (!getUsernameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(username_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, username_);
}
- if (!getPasswordBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(password_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, password_);
}
if (sslConfig_ != null) {
diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlSslConfig.java b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlSslConfig.java
index cc858ae3..749825ae 100644
--- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlSslConfig.java
+++ b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlSslConfig.java
@@ -367,19 +367,19 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (!getClientKeyBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clientKey_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 11, clientKey_);
}
if (clientKeySet_ != false) {
output.writeBool(12, clientKeySet_);
}
- if (!getClientCertificateBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clientCertificate_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 13, clientCertificate_);
}
if (clientCertificateSet_ != false) {
output.writeBool(14, clientCertificateSet_);
}
- if (!getCaCertificateBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(caCertificate_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 15, caCertificate_);
}
if (caCertificateSet_ != false) {
@@ -394,19 +394,19 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (!getClientKeyBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clientKey_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, clientKey_);
}
if (clientKeySet_ != false) {
size += com.google.protobuf.CodedOutputStream.computeBoolSize(12, clientKeySet_);
}
- if (!getClientCertificateBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clientCertificate_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, clientCertificate_);
}
if (clientCertificateSet_ != false) {
size += com.google.protobuf.CodedOutputStream.computeBoolSize(14, clientCertificateSet_);
}
- if (!getCaCertificateBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(caCertificate_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, caCertificate_);
}
if (caCertificateSet_ != false) {
diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlTable.java b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlTable.java
index f28b556e..a9cfa958 100644
--- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlTable.java
+++ b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/MysqlTable.java
@@ -272,7 +272,7 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (!getTableNameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tableName_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, tableName_);
}
for (int i = 0; i < mysqlColumns_.size(); i++) {
@@ -287,7 +287,7 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (!getTableNameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tableName_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, tableName_);
}
for (int i = 0; i < mysqlColumns_.size(); i++) {
diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/OperationMetadata.java b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/OperationMetadata.java
index f053744e..3da720c7 100644
--- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/OperationMetadata.java
+++ b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/OperationMetadata.java
@@ -577,19 +577,19 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (endTime_ != null) {
output.writeMessage(2, getEndTime());
}
- if (!getTargetBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(target_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, target_);
}
- if (!getVerbBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(verb_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, verb_);
}
- if (!getStatusMessageBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(statusMessage_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, statusMessage_);
}
if (requestedCancellation_ != false) {
output.writeBool(6, requestedCancellation_);
}
- if (!getApiVersionBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(apiVersion_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 7, apiVersion_);
}
if (validationResult_ != null) {
@@ -610,19 +610,19 @@ public int getSerializedSize() {
if (endTime_ != null) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime());
}
- if (!getTargetBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(target_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, target_);
}
- if (!getVerbBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(verb_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, verb_);
}
- if (!getStatusMessageBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(statusMessage_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, statusMessage_);
}
if (requestedCancellation_ != false) {
size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, requestedCancellation_);
}
- if (!getApiVersionBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(apiVersion_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, apiVersion_);
}
if (validationResult_ != null) {
diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/OracleColumn.java b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/OracleColumn.java
index f41a1ea1..b675565f 100644
--- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/OracleColumn.java
+++ b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/OracleColumn.java
@@ -426,10 +426,10 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (!getColumnNameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(columnName_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, columnName_);
}
- if (!getDataTypeBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dataType_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, dataType_);
}
if (length_ != 0) {
@@ -441,7 +441,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (scale_ != 0) {
output.writeInt32(5, scale_);
}
- if (!getEncodingBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(encoding_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, encoding_);
}
if (primaryKey_ != false) {
@@ -462,10 +462,10 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (!getColumnNameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(columnName_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, columnName_);
}
- if (!getDataTypeBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dataType_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, dataType_);
}
if (length_ != 0) {
@@ -477,7 +477,7 @@ public int getSerializedSize() {
if (scale_ != 0) {
size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, scale_);
}
- if (!getEncodingBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(encoding_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, encoding_);
}
if (primaryKey_ != false) {
diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/OracleProfile.java b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/OracleProfile.java
index 49f2b2ef..6fb7902e 100644
--- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/OracleProfile.java
+++ b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/OracleProfile.java
@@ -501,19 +501,19 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (!getHostnameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(hostname_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, hostname_);
}
if (port_ != 0) {
output.writeInt32(2, port_);
}
- if (!getUsernameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(username_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, username_);
}
- if (!getPasswordBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(password_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, password_);
}
- if (!getDatabaseServiceBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(databaseService_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, databaseService_);
}
com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
@@ -530,19 +530,19 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (!getHostnameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(hostname_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, hostname_);
}
if (port_ != 0) {
size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, port_);
}
- if (!getUsernameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(username_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, username_);
}
- if (!getPasswordBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(password_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, password_);
}
- if (!getDatabaseServiceBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(databaseService_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, databaseService_);
}
for (java.util.Map.Entry entry :
diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/OracleSchema.java b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/OracleSchema.java
index 7035caa7..66de52ae 100644
--- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/OracleSchema.java
+++ b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/OracleSchema.java
@@ -262,7 +262,7 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (!getSchemaNameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schemaName_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, schemaName_);
}
for (int i = 0; i < oracleTables_.size(); i++) {
@@ -277,7 +277,7 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (!getSchemaNameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schemaName_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, schemaName_);
}
for (int i = 0; i < oracleTables_.size(); i++) {
diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/OracleTable.java b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/OracleTable.java
index 93ab6d26..baf7109c 100644
--- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/OracleTable.java
+++ b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/OracleTable.java
@@ -272,7 +272,7 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (!getTableNameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tableName_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, tableName_);
}
for (int i = 0; i < oracleColumns_.size(); i++) {
@@ -287,7 +287,7 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (!getTableNameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tableName_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, tableName_);
}
for (int i = 0; i < oracleColumns_.size(); i++) {
diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/PrivateConnection.java b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/PrivateConnection.java
index e0194302..e19e3423 100644
--- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/PrivateConnection.java
+++ b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/PrivateConnection.java
@@ -834,7 +834,7 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (!getNameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
}
if (createTime_ != null) {
@@ -845,7 +845,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
}
com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 4);
- if (!getDisplayNameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, displayName_);
}
if (state_
@@ -868,7 +868,7 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (!getNameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
}
if (createTime_ != null) {
@@ -887,7 +887,7 @@ public int getSerializedSize() {
.build();
size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, labels__);
}
- if (!getDisplayNameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, displayName_);
}
if (state_
diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/PrivateConnectionName.java b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/PrivateConnectionName.java
index aa29b47e..721b0e56 100644
--- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/PrivateConnectionName.java
+++ b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/PrivateConnectionName.java
@@ -29,9 +29,9 @@
// AUTO-GENERATED DOCUMENTATION AND CLASS.
@Generated("by gapic-generator-java")
public class PrivateConnectionName implements ResourceName {
- private static final PathTemplate PROJECT_LOCATION_PRIVATECONNECTION =
+ private static final PathTemplate PROJECT_LOCATION_PRIVATE_CONNECTION =
PathTemplate.createWithoutUrlEncoding(
- "projects/{project}/locations/{location}/privateConnections/{privateConnection}");
+ "projects/{project}/locations/{location}/privateConnections/{private_connection}");
private volatile Map fieldValuesMap;
private final String project;
private final String location;
@@ -93,9 +93,10 @@ public static PrivateConnectionName parse(String formattedString) {
return null;
}
Map matchMap =
- PROJECT_LOCATION_PRIVATECONNECTION.validatedMatch(
+ PROJECT_LOCATION_PRIVATE_CONNECTION.validatedMatch(
formattedString, "PrivateConnectionName.parse: formattedString not in valid format");
- return of(matchMap.get("project"), matchMap.get("location"), matchMap.get("privateConnection"));
+ return of(
+ matchMap.get("project"), matchMap.get("location"), matchMap.get("private_connection"));
}
public static List parseList(List formattedStrings) {
@@ -119,7 +120,7 @@ public static List toStringList(List values) {
}
public static boolean isParsableFrom(String formattedString) {
- return PROJECT_LOCATION_PRIVATECONNECTION.matches(formattedString);
+ return PROJECT_LOCATION_PRIVATE_CONNECTION.matches(formattedString);
}
@Override
@@ -135,7 +136,7 @@ public Map getFieldValuesMap() {
fieldMapBuilder.put("location", location);
}
if (privateConnection != null) {
- fieldMapBuilder.put("privateConnection", privateConnection);
+ fieldMapBuilder.put("private_connection", privateConnection);
}
fieldValuesMap = fieldMapBuilder.build();
}
@@ -150,8 +151,8 @@ public String getFieldValue(String fieldName) {
@Override
public String toString() {
- return PROJECT_LOCATION_PRIVATECONNECTION.instantiate(
- "project", project, "location", location, "privateConnection", privateConnection);
+ return PROJECT_LOCATION_PRIVATE_CONNECTION.instantiate(
+ "project", project, "location", location, "private_connection", privateConnection);
}
@Override
@@ -180,7 +181,9 @@ public int hashCode() {
return h;
}
- /** Builder for projects/{project}/locations/{location}/privateConnections/{privateConnection}. */
+ /**
+ * Builder for projects/{project}/locations/{location}/privateConnections/{private_connection}.
+ */
public static class Builder {
private String project;
private String location;
diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/PrivateConnectivity.java b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/PrivateConnectivity.java
index a330a335..de9d53cd 100644
--- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/PrivateConnectivity.java
+++ b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/PrivateConnectivity.java
@@ -162,7 +162,7 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (!getPrivateConnectionNameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(privateConnectionName_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, privateConnectionName_);
}
unknownFields.writeTo(output);
@@ -174,7 +174,7 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (!getPrivateConnectionNameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(privateConnectionName_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, privateConnectionName_);
}
size += unknownFields.getSerializedSize();
diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/Route.java b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/Route.java
index 5ddd4dd4..53d8c764 100644
--- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/Route.java
+++ b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/Route.java
@@ -563,7 +563,7 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (!getNameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
}
if (createTime_ != null) {
@@ -574,10 +574,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
}
com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 4);
- if (!getDisplayNameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, displayName_);
}
- if (!getDestinationAddressBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(destinationAddress_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, destinationAddress_);
}
if (destinationPort_ != 0) {
@@ -592,7 +592,7 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (!getNameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
}
if (createTime_ != null) {
@@ -611,10 +611,10 @@ public int getSerializedSize() {
.build();
size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, labels__);
}
- if (!getDisplayNameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, displayName_);
}
- if (!getDestinationAddressBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(destinationAddress_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, destinationAddress_);
}
if (destinationPort_ != 0) {
diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/RouteName.java b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/RouteName.java
index 963d6e28..3decc4e1 100644
--- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/RouteName.java
+++ b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/RouteName.java
@@ -29,9 +29,9 @@
// AUTO-GENERATED DOCUMENTATION AND CLASS.
@Generated("by gapic-generator-java")
public class RouteName implements ResourceName {
- private static final PathTemplate PROJECT_LOCATION_PRIVATECONNECTION_ROUTE =
+ private static final PathTemplate PROJECT_LOCATION_PRIVATE_CONNECTION_ROUTE =
PathTemplate.createWithoutUrlEncoding(
- "projects/{project}/locations/{location}/privateConnections/{privateConnection}/routes/{route}");
+ "projects/{project}/locations/{location}/privateConnections/{private_connection}/routes/{route}");
private volatile Map fieldValuesMap;
private final String project;
private final String location;
@@ -103,12 +103,12 @@ public static RouteName parse(String formattedString) {
return null;
}
Map matchMap =
- PROJECT_LOCATION_PRIVATECONNECTION_ROUTE.validatedMatch(
+ PROJECT_LOCATION_PRIVATE_CONNECTION_ROUTE.validatedMatch(
formattedString, "RouteName.parse: formattedString not in valid format");
return of(
matchMap.get("project"),
matchMap.get("location"),
- matchMap.get("privateConnection"),
+ matchMap.get("private_connection"),
matchMap.get("route"));
}
@@ -133,7 +133,7 @@ public static List toStringList(List values) {
}
public static boolean isParsableFrom(String formattedString) {
- return PROJECT_LOCATION_PRIVATECONNECTION_ROUTE.matches(formattedString);
+ return PROJECT_LOCATION_PRIVATE_CONNECTION_ROUTE.matches(formattedString);
}
@Override
@@ -149,7 +149,7 @@ public Map getFieldValuesMap() {
fieldMapBuilder.put("location", location);
}
if (privateConnection != null) {
- fieldMapBuilder.put("privateConnection", privateConnection);
+ fieldMapBuilder.put("private_connection", privateConnection);
}
if (route != null) {
fieldMapBuilder.put("route", route);
@@ -167,12 +167,12 @@ public String getFieldValue(String fieldName) {
@Override
public String toString() {
- return PROJECT_LOCATION_PRIVATECONNECTION_ROUTE.instantiate(
+ return PROJECT_LOCATION_PRIVATE_CONNECTION_ROUTE.instantiate(
"project",
project,
"location",
location,
- "privateConnection",
+ "private_connection",
privateConnection,
"route",
route);
@@ -209,7 +209,7 @@ public int hashCode() {
/**
* Builder for
- * projects/{project}/locations/{location}/privateConnections/{privateConnection}/routes/{route}.
+ * projects/{project}/locations/{location}/privateConnections/{private_connection}/routes/{route}.
*/
public static class Builder {
private String project;
diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/SourceConfig.java b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/SourceConfig.java
index 292b013a..9fa9bda7 100644
--- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/SourceConfig.java
+++ b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/SourceConfig.java
@@ -367,7 +367,7 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (!getSourceConnectionProfileNameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sourceConnectionProfileName_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, sourceConnectionProfileName_);
}
if (sourceStreamConfigCase_ == 100) {
@@ -387,7 +387,7 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (!getSourceConnectionProfileNameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sourceConnectionProfileName_)) {
size +=
com.google.protobuf.GeneratedMessageV3.computeStringSize(1, sourceConnectionProfileName_);
}
diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/Stream.java b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/Stream.java
index d713b00f..caf8e406 100644
--- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/Stream.java
+++ b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/Stream.java
@@ -2946,7 +2946,7 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (!getNameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
}
if (createTime_ != null) {
@@ -2957,7 +2957,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
}
com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 4);
- if (!getDisplayNameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, displayName_);
}
if (sourceConfig_ != null) {
@@ -2990,7 +2990,7 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (!getNameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
}
if (createTime_ != null) {
@@ -3009,7 +3009,7 @@ public int getSerializedSize() {
.build();
size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, labels__);
}
- if (!getDisplayNameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, displayName_);
}
if (sourceConfig_ != null) {
diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/UpdateConnectionProfileRequest.java b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/UpdateConnectionProfileRequest.java
index 8e594783..c6d0c8d8 100644
--- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/UpdateConnectionProfileRequest.java
+++ b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/UpdateConnectionProfileRequest.java
@@ -341,7 +341,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (connectionProfile_ != null) {
output.writeMessage(2, getConnectionProfile());
}
- if (!getRequestIdBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, requestId_);
}
unknownFields.writeTo(output);
@@ -359,7 +359,7 @@ public int getSerializedSize() {
if (connectionProfile_ != null) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getConnectionProfile());
}
- if (!getRequestIdBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, requestId_);
}
size += unknownFields.getSerializedSize();
diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/UpdateStreamRequest.java b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/UpdateStreamRequest.java
index b6308b91..503775ce 100644
--- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/UpdateStreamRequest.java
+++ b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/UpdateStreamRequest.java
@@ -385,7 +385,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (stream_ != null) {
output.writeMessage(2, getStream());
}
- if (!getRequestIdBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, requestId_);
}
if (validateOnly_ != false) {
@@ -409,7 +409,7 @@ public int getSerializedSize() {
if (stream_ != null) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getStream());
}
- if (!getRequestIdBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, requestId_);
}
if (validateOnly_ != false) {
diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/Validation.java b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/Validation.java
index 7bc79458..75739ed6 100644
--- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/Validation.java
+++ b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/Validation.java
@@ -537,7 +537,7 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (!getDescriptionBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, description_);
}
if (status_
@@ -547,7 +547,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
for (int i = 0; i < message_.size(); i++) {
output.writeMessage(3, message_.get(i));
}
- if (!getCodeBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(code_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, code_);
}
unknownFields.writeTo(output);
@@ -559,7 +559,7 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (!getDescriptionBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, description_);
}
if (status_
@@ -569,7 +569,7 @@ public int getSerializedSize() {
for (int i = 0; i < message_.size(); i++) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, message_.get(i));
}
- if (!getCodeBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(code_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, code_);
}
size += unknownFields.getSerializedSize();
diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ValidationMessage.java b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ValidationMessage.java
index 0495e57b..baf32115 100644
--- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ValidationMessage.java
+++ b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/ValidationMessage.java
@@ -562,7 +562,7 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (!getMessageBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, message_);
}
if (level_
@@ -572,7 +572,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
}
com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
output, internalGetMetadata(), MetadataDefaultEntryHolder.defaultEntry, 3);
- if (!getCodeBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(code_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, code_);
}
unknownFields.writeTo(output);
@@ -584,7 +584,7 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (!getMessageBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, message_);
}
if (level_
@@ -602,7 +602,7 @@ public int getSerializedSize() {
.build();
size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, metadata__);
}
- if (!getCodeBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(code_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, code_);
}
size += unknownFields.getSerializedSize();
diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/VpcPeeringConfig.java b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/VpcPeeringConfig.java
index 27bf88a3..d31fc2ea 100644
--- a/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/VpcPeeringConfig.java
+++ b/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/VpcPeeringConfig.java
@@ -232,10 +232,10 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (!getVpcNameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(vpcName_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, vpcName_);
}
- if (!getSubnetBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subnet_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, subnet_);
}
unknownFields.writeTo(output);
@@ -247,10 +247,10 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (!getVpcNameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(vpcName_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, vpcName_);
}
- if (!getSubnetBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subnet_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, subnet_);
}
size += unknownFields.getSerializedSize();
diff --git a/proto-google-cloud-datastream-v1alpha1/src/main/proto/google/cloud/datastream/v1alpha1/datastream_resources.proto b/proto-google-cloud-datastream-v1alpha1/src/main/proto/google/cloud/datastream/v1alpha1/datastream_resources.proto
index 8b8ef5f3..73320b91 100644
--- a/proto-google-cloud-datastream-v1alpha1/src/main/proto/google/cloud/datastream/v1alpha1/datastream_resources.proto
+++ b/proto-google-cloud-datastream-v1alpha1/src/main/proto/google/cloud/datastream/v1alpha1/datastream_resources.proto
@@ -127,7 +127,7 @@ message VpcPeeringConfig {
message PrivateConnection {
option (google.api.resource) = {
type: "datastream.googleapis.com/PrivateConnection"
- pattern: "projects/{project}/locations/{location}/privateConnections/{privateConnection}"
+ pattern: "projects/{project}/locations/{location}/privateConnections/{private_connection}"
};
// Private Connection state.
@@ -179,7 +179,7 @@ message PrivateConnectivity {
message Route {
option (google.api.resource) = {
type: "datastream.googleapis.com/Route"
- pattern: "projects/{project}/locations/{location}/privateConnections/{privateConnection}/routes/{route}"
+ pattern: "projects/{project}/locations/{location}/privateConnections/{private_connection}/routes/{route}"
};
// Output only. The resource's name.
@@ -233,7 +233,7 @@ message MysqlSslConfig {
message ConnectionProfile {
option (google.api.resource) = {
type: "datastream.googleapis.com/ConnectionProfile"
- pattern: "projects/{project}/locations/{location}/connectionProfiles/{connectionProfile}"
+ pattern: "projects/{project}/locations/{location}/connectionProfiles/{connection_profile}"
};
// Output only. The resource's name.
diff --git a/renovate.json b/renovate.json
index 69a86ad8..b595383d 100644
--- a/renovate.json
+++ b/renovate.json
@@ -50,7 +50,8 @@
"^junit:junit",
"^com.google.truth:truth",
"^org.mockito:mockito-core",
- "^org.objenesis:objenesis"
+ "^org.objenesis:objenesis",
+ "^com.google.cloud:google-cloud-conformance-tests"
],
"semanticCommitType": "test",
"semanticCommitScope": "deps"
@@ -69,8 +70,5 @@
}
],
"semanticCommits": true,
- "dependencyDashboard": true,
- "dependencyDashboardLabels": [
- "type: process"
- ]
+ "dependencyDashboard": true
}
diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml
index 4668ecf9..8a2fa8b1 100644
--- a/samples/install-without-bom/pom.xml
+++ b/samples/install-without-bom/pom.xml
@@ -29,7 +29,7 @@
com.google.cloud
google-cloud-datastream
- 0.2.0
+ 0.2.1
diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml
index ccf62c70..c0775ecb 100644
--- a/samples/snapshot/pom.xml
+++ b/samples/snapshot/pom.xml
@@ -28,7 +28,7 @@
com.google.cloud
google-cloud-datastream
- 0.2.0
+ 0.2.1
diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml
index fc8acd76..e3bd158e 100644
--- a/samples/snippets/pom.xml
+++ b/samples/snippets/pom.xml
@@ -28,7 +28,7 @@
com.google.cloud
google-cloud-datastream
- 0.2.0
+ 0.2.1
diff --git a/versions.txt b/versions.txt
index 6d5c17b2..8edb85c0 100644
--- a/versions.txt
+++ b/versions.txt
@@ -1,6 +1,6 @@
# Format:
# module:released-version:current-version
-google-cloud-datastream:0.2.1:0.2.1
-grpc-google-cloud-datastream-v1alpha1:0.2.1:0.2.1
-proto-google-cloud-datastream-v1alpha1:0.2.1:0.2.1
+google-cloud-datastream:0.3.0:0.3.0
+grpc-google-cloud-datastream-v1alpha1:0.3.0:0.3.0
+proto-google-cloud-datastream-v1alpha1:0.3.0:0.3.0