diff --git a/java-datastream/README.md b/java-datastream/README.md index 6e3d1bef1f88..456748ab119a 100644 --- a/java-datastream/README.md +++ b/java-datastream/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.11.0 + 26.14.0 pom import @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-datastream.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-datastream/1.13.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-datastream/1.15.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-datastream/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/DatastreamClient.java b/java-datastream/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/DatastreamClient.java index 67a0435fee97..35f9758a4422 100644 --- a/java-datastream/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/DatastreamClient.java +++ b/java-datastream/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/DatastreamClient.java @@ -2581,6 +2581,7 @@ public final OperationFuture createPrivate * .setPrivateConnectionId("privateConnectionId-1926654532") * .setPrivateConnection(PrivateConnection.newBuilder().build()) * .setRequestId("requestId693933066") + * .setForce(true) * .build(); * PrivateConnection response = datastreamClient.createPrivateConnectionAsync(request).get(); * } @@ -2613,6 +2614,7 @@ public final OperationFuture createPrivate * .setPrivateConnectionId("privateConnectionId-1926654532") * .setPrivateConnection(PrivateConnection.newBuilder().build()) * .setRequestId("requestId693933066") + * .setForce(true) * .build(); * OperationFuture future = * datastreamClient.createPrivateConnectionOperationCallable().futureCall(request); @@ -2646,6 +2648,7 @@ public final OperationFuture createPrivate * .setPrivateConnectionId("privateConnectionId-1926654532") * .setPrivateConnection(PrivateConnection.newBuilder().build()) * .setRequestId("requestId693933066") + * .setForce(true) * .build(); * ApiFuture future = * datastreamClient.createPrivateConnectionCallable().futureCall(request); diff --git a/java-datastream/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/stub/HttpJsonDatastreamStub.java b/java-datastream/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/stub/HttpJsonDatastreamStub.java index 5d9cd3e72c6b..ec3dcc739c14 100644 --- a/java-datastream/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/stub/HttpJsonDatastreamStub.java +++ b/java-datastream/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/stub/HttpJsonDatastreamStub.java @@ -801,6 +801,7 @@ public class HttpJsonDatastreamStub extends DatastreamStub { Map> fields = new HashMap<>(); ProtoRestSerializer serializer = ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "force", request.getForce()); serializer.putQueryParam( fields, "privateConnectionId", request.getPrivateConnectionId()); serializer.putQueryParam(fields, "requestId", request.getRequestId()); diff --git a/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/BigQueryDestinationConfig.java b/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/BigQueryDestinationConfig.java index 27fb2c5eb40e..1c82a5a2971b 100644 --- a/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/BigQueryDestinationConfig.java +++ b/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/BigQueryDestinationConfig.java @@ -18,7 +18,15 @@ package com.google.cloud.datastream.v1; -/** Protobuf type {@code google.cloud.datastream.v1.BigQueryDestinationConfig} */ +/** + * + * + *
+ * BigQuery destination configuration
+ * 
+ * + * Protobuf type {@code google.cloud.datastream.v1.BigQueryDestinationConfig} + */ public final class BigQueryDestinationConfig extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.datastream.v1.BigQueryDestinationConfig) @@ -63,12 +71,24 @@ public interface SingleTargetDatasetOrBuilder com.google.protobuf.MessageOrBuilder { /** + * + * + *
+     * The dataset ID of the target dataset.
+     * 
+ * * string dataset_id = 1; * * @return The datasetId. */ java.lang.String getDatasetId(); /** + * + * + *
+     * The dataset ID of the target dataset.
+     * 
+ * * string dataset_id = 1; * * @return The bytes for datasetId. @@ -130,6 +150,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { @SuppressWarnings("serial") private volatile java.lang.Object datasetId_ = ""; /** + * + * + *
+     * The dataset ID of the target dataset.
+     * 
+ * * string dataset_id = 1; * * @return The datasetId. @@ -147,6 +173,12 @@ public java.lang.String getDatasetId() { } } /** + * + * + *
+     * The dataset ID of the target dataset.
+     * 
+ * * string dataset_id = 1; * * @return The bytes for datasetId. @@ -534,6 +566,12 @@ public Builder mergeFrom( private java.lang.Object datasetId_ = ""; /** + * + * + *
+       * The dataset ID of the target dataset.
+       * 
+ * * string dataset_id = 1; * * @return The datasetId. @@ -550,6 +588,12 @@ public java.lang.String getDatasetId() { } } /** + * + * + *
+       * The dataset ID of the target dataset.
+       * 
+ * * string dataset_id = 1; * * @return The bytes for datasetId. @@ -566,6 +610,12 @@ public com.google.protobuf.ByteString getDatasetIdBytes() { } } /** + * + * + *
+       * The dataset ID of the target dataset.
+       * 
+ * * string dataset_id = 1; * * @param value The datasetId to set. @@ -581,6 +631,12 @@ public Builder setDatasetId(java.lang.String value) { return this; } /** + * + * + *
+       * The dataset ID of the target dataset.
+       * 
+ * * string dataset_id = 1; * * @return This builder for chaining. @@ -592,6 +648,12 @@ public Builder clearDatasetId() { return this; } /** + * + * + *
+       * The dataset ID of the target dataset.
+       * 
+ * * string dataset_id = 1; * * @param value The bytes for datasetId to set. @@ -683,6 +745,12 @@ public interface SourceHierarchyDatasetsOrBuilder com.google.protobuf.MessageOrBuilder { /** + * + * + *
+     * The dataset template to use for dynamic dataset creation.
+     * 
+ * * * .google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate dataset_template = 2; * @@ -691,6 +759,12 @@ public interface SourceHierarchyDatasetsOrBuilder */ boolean hasDatasetTemplate(); /** + * + * + *
+     * The dataset template to use for dynamic dataset creation.
+     * 
+ * * * .google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate dataset_template = 2; * @@ -700,6 +774,12 @@ public interface SourceHierarchyDatasetsOrBuilder com.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate getDatasetTemplate(); /** + * + * + *
+     * The dataset template to use for dynamic dataset creation.
+     * 
+ * * * .google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate dataset_template = 2; * @@ -1985,6 +2065,12 @@ public com.google.protobuf.Parser getParserForType() { .DatasetTemplate datasetTemplate_; /** + * + * + *
+     * The dataset template to use for dynamic dataset creation.
+     * 
+ * * * .google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate dataset_template = 2; * @@ -1996,6 +2082,12 @@ public boolean hasDatasetTemplate() { return datasetTemplate_ != null; } /** + * + * + *
+     * The dataset template to use for dynamic dataset creation.
+     * 
+ * * * .google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate dataset_template = 2; * @@ -2012,6 +2104,12 @@ public boolean hasDatasetTemplate() { : datasetTemplate_; } /** + * + * + *
+     * The dataset template to use for dynamic dataset creation.
+     * 
+ * * * .google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate dataset_template = 2; * @@ -2421,6 +2519,12 @@ public Builder mergeFrom( .DatasetTemplateOrBuilder> datasetTemplateBuilder_; /** + * + * + *
+       * The dataset template to use for dynamic dataset creation.
+       * 
+ * * * .google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate dataset_template = 2; * @@ -2431,6 +2535,12 @@ public boolean hasDatasetTemplate() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * + *
+       * The dataset template to use for dynamic dataset creation.
+       * 
+ * * * .google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate dataset_template = 2; * @@ -2450,6 +2560,12 @@ public boolean hasDatasetTemplate() { } } /** + * + * + *
+       * The dataset template to use for dynamic dataset creation.
+       * 
+ * * * .google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate dataset_template = 2; * @@ -2471,6 +2587,12 @@ public Builder setDatasetTemplate( return this; } /** + * + * + *
+       * The dataset template to use for dynamic dataset creation.
+       * 
+ * * * .google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate dataset_template = 2; * @@ -2489,6 +2611,12 @@ public Builder setDatasetTemplate( return this; } /** + * + * + *
+       * The dataset template to use for dynamic dataset creation.
+       * 
+ * * * .google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate dataset_template = 2; * @@ -2515,6 +2643,12 @@ public Builder mergeDatasetTemplate( return this; } /** + * + * + *
+       * The dataset template to use for dynamic dataset creation.
+       * 
+ * * * .google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate dataset_template = 2; * @@ -2530,6 +2664,12 @@ public Builder clearDatasetTemplate() { return this; } /** + * + * + *
+       * The dataset template to use for dynamic dataset creation.
+       * 
+ * * * .google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate dataset_template = 2; * @@ -2542,6 +2682,12 @@ public Builder clearDatasetTemplate() { return getDatasetTemplateFieldBuilder().getBuilder(); } /** + * + * + *
+       * The dataset template to use for dynamic dataset creation.
+       * 
+ * * * .google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate dataset_template = 2; * @@ -2559,6 +2705,12 @@ public Builder clearDatasetTemplate() { } } /** + * + * + *
+       * The dataset template to use for dynamic dataset creation.
+       * 
+ * * * .google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate dataset_template = 2; * @@ -3101,7 +3253,15 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build Builder builder = new Builder(parent); return builder; } - /** Protobuf type {@code google.cloud.datastream.v1.BigQueryDestinationConfig} */ + /** + * + * + *
+   * BigQuery destination configuration
+   * 
+ * + * Protobuf type {@code google.cloud.datastream.v1.BigQueryDestinationConfig} + */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.datastream.v1.BigQueryDestinationConfig) diff --git a/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/CreateConnectionProfileRequest.java b/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/CreateConnectionProfileRequest.java index 685bb723803a..75b4e3199c73 100644 --- a/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/CreateConnectionProfileRequest.java +++ b/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/CreateConnectionProfileRequest.java @@ -309,8 +309,8 @@ public com.google.protobuf.ByteString getRequestIdBytes() { * * *
-   * Optional. Only validate the connection profile, but don't create any resources.
-   * The default is false.
+   * Optional. Only validate the connection profile, but don't create any
+   * resources. The default is false.
    * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; @@ -1400,8 +1400,8 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { * * *
-     * Optional. Only validate the connection profile, but don't create any resources.
-     * The default is false.
+     * Optional. Only validate the connection profile, but don't create any
+     * resources. The default is false.
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; @@ -1416,8 +1416,8 @@ public boolean getValidateOnly() { * * *
-     * Optional. Only validate the connection profile, but don't create any resources.
-     * The default is false.
+     * Optional. Only validate the connection profile, but don't create any
+     * resources. The default is false.
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; @@ -1436,8 +1436,8 @@ public Builder setValidateOnly(boolean value) { * * *
-     * Optional. Only validate the connection profile, but don't create any resources.
-     * The default is false.
+     * Optional. Only validate the connection profile, but don't create any
+     * resources. The default is false.
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/CreateConnectionProfileRequestOrBuilder.java b/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/CreateConnectionProfileRequestOrBuilder.java index eb703b7f5963..22ceda0d811b 100644 --- a/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/CreateConnectionProfileRequestOrBuilder.java +++ b/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/CreateConnectionProfileRequestOrBuilder.java @@ -167,8 +167,8 @@ public interface CreateConnectionProfileRequestOrBuilder * * *
-   * Optional. Only validate the connection profile, but don't create any resources.
-   * The default is false.
+   * Optional. Only validate the connection profile, but don't create any
+   * resources. The default is false.
    * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/CreatePrivateConnectionRequest.java b/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/CreatePrivateConnectionRequest.java index 0ac7654fdacf..dcb7fa5f0655 100644 --- a/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/CreatePrivateConnectionRequest.java +++ b/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/CreatePrivateConnectionRequest.java @@ -303,6 +303,24 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } + public static final int FORCE_FIELD_NUMBER = 6; + private boolean force_ = false; + /** + * + * + *
+   * Optional. If set to true, will skip validations.
+   * 
+ * + * bool force = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The force. + */ + @java.lang.Override + public boolean getForce() { + return force_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -329,6 +347,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, requestId_); } + if (force_ != false) { + output.writeBool(6, force_); + } getUnknownFields().writeTo(output); } @@ -350,6 +371,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, requestId_); } + if (force_ != false) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, force_); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -373,6 +397,7 @@ public boolean equals(final java.lang.Object obj) { if (!getPrivateConnection().equals(other.getPrivateConnection())) return false; } if (!getRequestId().equals(other.getRequestId())) return false; + if (getForce() != other.getForce()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -394,6 +419,8 @@ public int hashCode() { } hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().hashCode(); + hash = (37 * hash) + FORCE_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getForce()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -542,6 +569,7 @@ public Builder clear() { privateConnectionBuilder_ = null; } requestId_ = ""; + force_ = false; return this; } @@ -595,6 +623,9 @@ private void buildPartial0( if (((from_bitField0_ & 0x00000008) != 0)) { result.requestId_ = requestId_; } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.force_ = force_; + } } @java.lang.Override @@ -662,6 +693,9 @@ public Builder mergeFrom(com.google.cloud.datastream.v1.CreatePrivateConnectionR bitField0_ |= 0x00000008; onChanged(); } + if (other.getForce() != false) { + setForce(other.getForce()); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -713,6 +747,12 @@ public Builder mergeFrom( bitField0_ |= 0x00000008; break; } // case 34 + case 48: + { + force_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 48 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -1314,6 +1354,59 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { return this; } + private boolean force_; + /** + * + * + *
+     * Optional. If set to true, will skip validations.
+     * 
+ * + * bool force = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The force. + */ + @java.lang.Override + public boolean getForce() { + return force_; + } + /** + * + * + *
+     * Optional. If set to true, will skip validations.
+     * 
+ * + * bool force = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The force to set. + * @return This builder for chaining. + */ + public Builder setForce(boolean value) { + + force_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. If set to true, will skip validations.
+     * 
+ * + * bool force = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearForce() { + bitField0_ = (bitField0_ & ~0x00000010); + force_ = false; + onChanged(); + return this; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/CreatePrivateConnectionRequestOrBuilder.java b/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/CreatePrivateConnectionRequestOrBuilder.java index 92dbf640bb30..e8974a0d6c57 100644 --- a/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/CreatePrivateConnectionRequestOrBuilder.java +++ b/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/CreatePrivateConnectionRequestOrBuilder.java @@ -162,4 +162,17 @@ public interface CreatePrivateConnectionRequestOrBuilder * @return The bytes for requestId. */ com.google.protobuf.ByteString getRequestIdBytes(); + + /** + * + * + *
+   * Optional. If set to true, will skip validations.
+   * 
+ * + * bool force = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The force. + */ + boolean getForce(); } diff --git a/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DatastreamProto.java b/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DatastreamProto.java index 3de25bb34122..9a05cd6df7fd 100644 --- a/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DatastreamProto.java +++ b/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DatastreamProto.java @@ -183,291 +183,293 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "o\032\031google/api/resource.proto\0325google/clo" + "ud/datastream/v1/datastream_resources.pr" + "oto\032#google/longrunning/operations.proto" - + "\032 google/protobuf/field_mask.proto\032\037goog" - + "le/protobuf/timestamp.proto\"\375\003\n Discover" - + "ConnectionProfileRequest\022C\n\006parent\030\001 \001(\t" - + "B3\340A\002\372A-\022+datastream.googleapis.com/Conn" - + "ectionProfile\022L\n\022connection_profile\030\310\001 \001" - + "(\0132-.google.cloud.datastream.v1.Connecti" - + "onProfileH\000\022\"\n\027connection_profile_name\030\311" - + "\001 \001(\tH\000\022\030\n\016full_hierarchy\030\003 \001(\010H\001\022\031\n\017hie" - + "rarchy_depth\030\004 \001(\005H\001\022?\n\014oracle_rdbms\030d \001" - + "(\0132\'.google.cloud.datastream.v1.OracleRd" - + "bmsH\002\022=\n\013mysql_rdbms\030e \001(\0132&.google.clou" - + "d.datastream.v1.MysqlRdbmsH\002\022G\n\020postgres" - + "ql_rdbms\030f \001(\0132+.google.cloud.datastream" - + ".v1.PostgresqlRdbmsH\002B\010\n\006targetB\013\n\thiera" - + "rchyB\r\n\013data_object\"\373\001\n!DiscoverConnecti" - + "onProfileResponse\022?\n\014oracle_rdbms\030d \001(\0132" - + "\'.google.cloud.datastream.v1.OracleRdbms" - + "H\000\022=\n\013mysql_rdbms\030e \001(\0132&.google.cloud.d" - + "atastream.v1.MysqlRdbmsH\000\022G\n\020postgresql_" - + "rdbms\030f \001(\0132+.google.cloud.datastream.v1" - + ".PostgresqlRdbmsH\000B\r\n\013data_object\"w\n\025Fet" - + "chStaticIpsRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#" - + "\n!locations.googleapis.com/Location\022\021\n\tp" - + "age_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"E\n\026Fe" - + "tchStaticIpsResponse\022\022\n\nstatic_ips\030\001 \003(\t" - + "\022\027\n\017next_page_token\030\002 \001(\t\"\255\001\n\035ListConnec" - + "tionProfilesRequest\022C\n\006parent\030\001 \001(\tB3\340A\002" - + "\372A-\022+datastream.googleapis.com/Connectio" - + "nProfile\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_toke" - + "n\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\022\020\n\010order_by\030\005 \001(" - + "\t\"\232\001\n\036ListConnectionProfilesResponse\022J\n\023" - + "connection_profiles\030\001 \003(\0132-.google.cloud" - + ".datastream.v1.ConnectionProfile\022\027\n\017next" - + "_page_token\030\002 \001(\t\022\023\n\013unreachable\030\003 \003(\t\"`" - + "\n\033GetConnectionProfileRequest\022A\n\004name\030\001 " - + "\001(\tB3\340A\002\372A-\n+datastream.googleapis.com/C" - + "onnectionProfile\"\242\002\n\036CreateConnectionPro" - + "fileRequest\022C\n\006parent\030\001 \001(\tB3\340A\002\372A-\022+dat" - + "astream.googleapis.com/ConnectionProfile" - + "\022\"\n\025connection_profile_id\030\002 \001(\tB\003\340A\002\022N\n\022" - + "connection_profile\030\003 \001(\0132-.google.cloud." - + "datastream.v1.ConnectionProfileB\003\340A\002\022\027\n\n" - + "request_id\030\004 \001(\tB\003\340A\001\022\032\n\rvalidate_only\030\005" - + " \001(\010B\003\340A\001\022\022\n\005force\030\006 \001(\010B\003\340A\001\"\357\001\n\036Update" - + "ConnectionProfileRequest\0224\n\013update_mask\030" - + "\001 \001(\0132\032.google.protobuf.FieldMaskB\003\340A\001\022N" - + "\n\022connection_profile\030\002 \001(\0132-.google.clou" - + "d.datastream.v1.ConnectionProfileB\003\340A\002\022\027" - + "\n\nrequest_id\030\003 \001(\tB\003\340A\001\022\032\n\rvalidate_only" - + "\030\004 \001(\010B\003\340A\001\022\022\n\005force\030\005 \001(\010B\003\340A\001\"|\n\036Delet" - + "eConnectionProfileRequest\022A\n\004name\030\001 \001(\tB" - + "3\340A\002\372A-\n+datastream.googleapis.com/Conne" - + "ctionProfile\022\027\n\nrequest_id\030\002 \001(\tB\003\340A\001\"\227\001" - + "\n\022ListStreamsRequest\0228\n\006parent\030\001 \001(\tB(\340A" - + "\002\372A\"\022 datastream.googleapis.com/Stream\022\021" - + "\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n" - + "\006filter\030\004 \001(\t\022\020\n\010order_by\030\005 \001(\t\"x\n\023ListS" - + "treamsResponse\0223\n\007streams\030\001 \003(\0132\".google" - + ".cloud.datastream.v1.Stream\022\027\n\017next_page" - + "_token\030\002 \001(\t\022\023\n\013unreachable\030\003 \003(\t\"J\n\020Get" - + "StreamRequest\0226\n\004name\030\001 \001(\tB(\340A\002\372A\"\n dat" - + "astream.googleapis.com/Stream\"\351\001\n\023Create" - + "StreamRequest\0228\n\006parent\030\001 \001(\tB(\340A\002\372A\"\022 d" - + "atastream.googleapis.com/Stream\022\026\n\tstrea" - + "m_id\030\002 \001(\tB\003\340A\002\0227\n\006stream\030\003 \001(\0132\".google" - + ".cloud.datastream.v1.StreamB\003\340A\002\022\027\n\nrequ" - + "est_id\030\004 \001(\tB\003\340A\001\022\032\n\rvalidate_only\030\005 \001(\010" - + "B\003\340A\001\022\022\n\005force\030\006 \001(\010B\003\340A\001\"\315\001\n\023UpdateStre" - + "amRequest\0224\n\013update_mask\030\001 \001(\0132\032.google." - + "protobuf.FieldMaskB\003\340A\001\0227\n\006stream\030\002 \001(\0132" - + "\".google.cloud.datastream.v1.StreamB\003\340A\002" - + "\022\027\n\nrequest_id\030\003 \001(\tB\003\340A\001\022\032\n\rvalidate_on" - + "ly\030\004 \001(\010B\003\340A\001\022\022\n\005force\030\005 \001(\010B\003\340A\001\"f\n\023Del" - + "eteStreamRequest\0226\n\004name\030\001 \001(\tB(\340A\002\372A\"\n " - + "datastream.googleapis.com/Stream\022\027\n\nrequ" - + "est_id\030\002 \001(\tB\003\340A\001\"V\n\026GetStreamObjectRequ" - + "est\022<\n\004name\030\001 \001(\tB.\340A\002\372A(\n&datastream.go" - + "ogleapis.com/StreamObject\"\260\001\n\031LookupStre" - + "amObjectRequest\0228\n\006parent\030\001 \001(\tB(\340A\002\372A\"\n" - + " datastream.googleapis.com/Stream\022Y\n\030sou" - + "rce_object_identifier\030\002 \001(\01322.google.clo" - + "ud.datastream.v1.SourceObjectIdentifierB" - + "\003\340A\002\"Y\n\027StartBackfillJobRequest\022>\n\006objec" - + "t\030\001 \001(\tB.\340A\002\372A(\n&datastream.googleapis.c" - + "om/StreamObject\"T\n\030StartBackfillJobRespo" - + "nse\0228\n\006object\030\001 \001(\0132(.google.cloud.datas" - + "tream.v1.StreamObject\"X\n\026StopBackfillJob" - + "Request\022>\n\006object\030\001 \001(\tB.\340A\002\372A(\n&datastr" - + "eam.googleapis.com/StreamObject\"S\n\027StopB" - + "ackfillJobResponse\0228\n\006object\030\001 \001(\0132(.goo" - + "gle.cloud.datastream.v1.StreamObject\"\201\001\n" - + "\030ListStreamObjectsRequest\022>\n\006parent\030\001 \001(" - + "\tB.\340A\002\372A(\022&datastream.googleapis.com/Str" - + "eamObject\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_tok" - + "en\030\003 \001(\t\"v\n\031ListStreamObjectsResponse\022@\n" - + "\016stream_objects\030\001 \003(\0132(.google.cloud.dat" - + "astream.v1.StreamObject\022\027\n\017next_page_tok" - + "en\030\002 \001(\t\"\316\002\n\021OperationMetadata\0224\n\013create" - + "_time\030\001 \001(\0132\032.google.protobuf.TimestampB" - + "\003\340A\003\0221\n\010end_time\030\002 \001(\0132\032.google.protobuf" - + ".TimestampB\003\340A\003\022\023\n\006target\030\003 \001(\tB\003\340A\003\022\021\n\004" - + "verb\030\004 \001(\tB\003\340A\003\022\033\n\016status_message\030\005 \001(\tB" - + "\003\340A\003\022#\n\026requested_cancellation\030\006 \001(\010B\003\340A" - + "\003\022\030\n\013api_version\030\007 \001(\tB\003\340A\003\022L\n\021validatio" - + "n_result\030\010 \001(\0132,.google.cloud.datastream" - + ".v1.ValidationResultB\003\340A\003\"\362\001\n\036CreatePriv" - + "ateConnectionRequest\022C\n\006parent\030\001 \001(\tB3\340A" - + "\002\372A-\022+datastream.googleapis.com/PrivateC" - + "onnection\022\"\n\025private_connection_id\030\002 \001(\t" - + "B\003\340A\002\022N\n\022private_connection\030\003 \001(\0132-.goog" - + "le.cloud.datastream.v1.PrivateConnection" - + "B\003\340A\002\022\027\n\nrequest_id\030\004 \001(\tB\003\340A\001\"\255\001\n\035ListP" - + "rivateConnectionsRequest\022C\n\006parent\030\001 \001(\t" - + "B3\340A\002\372A-\022+datastream.googleapis.com/Priv" - + "ateConnection\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage" - + "_token\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\022\020\n\010order_by" - + "\030\005 \001(\t\"\232\001\n\036ListPrivateConnectionsRespons" - + "e\022J\n\023private_connections\030\001 \003(\0132-.google." - + "cloud.datastream.v1.PrivateConnection\022\027\n" - + "\017next_page_token\030\002 \001(\t\022\023\n\013unreachable\030\003 " - + "\003(\t\"\220\001\n\036DeletePrivateConnectionRequest\022A" - + "\n\004name\030\001 \001(\tB3\340A\002\372A-\n+datastream.googlea" - + "pis.com/PrivateConnection\022\027\n\nrequest_id\030" - + "\002 \001(\tB\003\340A\001\022\022\n\005force\030\003 \001(\010B\003\340A\001\"`\n\033GetPri" - + "vateConnectionRequest\022A\n\004name\030\001 \001(\tB3\340A\002" - + "\372A-\n+datastream.googleapis.com/PrivateCo" - + "nnection\"\264\001\n\022CreateRouteRequest\0227\n\006paren" - + "t\030\001 \001(\tB\'\340A\002\372A!\022\037datastream.googleapis.c" - + "om/Route\022\025\n\010route_id\030\002 \001(\tB\003\340A\002\0225\n\005route" - + "\030\003 \001(\0132!.google.cloud.datastream.v1.Rout" - + "eB\003\340A\002\022\027\n\nrequest_id\030\004 \001(\tB\003\340A\001\"\225\001\n\021List" - + "RoutesRequest\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\022\037d" - + "atastream.googleapis.com/Route\022\021\n\tpage_s" - + "ize\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n\006filter\030" - + "\004 \001(\t\022\020\n\010order_by\030\005 \001(\t\"u\n\022ListRoutesRes" - + "ponse\0221\n\006routes\030\001 \003(\0132!.google.cloud.dat" - + "astream.v1.Route\022\027\n\017next_page_token\030\002 \001(" - + "\t\022\023\n\013unreachable\030\003 \003(\t\"d\n\022DeleteRouteReq" - + "uest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037datastream.g" - + "oogleapis.com/Route\022\027\n\nrequest_id\030\002 \001(\tB" - + "\003\340A\001\"H\n\017GetRouteRequest\0225\n\004name\030\001 \001(\tB\'\340" - + "A\002\372A!\n\037datastream.googleapis.com/Route2\375" - + "*\n\nDatastream\022\330\001\n\026ListConnectionProfiles" - + "\0229.google.cloud.datastream.v1.ListConnec" - + "tionProfilesRequest\032:.google.cloud.datas" - + "tream.v1.ListConnectionProfilesResponse\"" - + "G\202\323\344\223\0028\0226/v1/{parent=projects/*/location" - + "s/*}/connectionProfiles\332A\006parent\022\305\001\n\024Get" - + "ConnectionProfile\0227.google.cloud.datastr" - + "eam.v1.GetConnectionProfileRequest\032-.goo" - + "gle.cloud.datastream.v1.ConnectionProfil" - + "e\"E\202\323\344\223\0028\0226/v1/{name=projects/*/location" - + "s/*/connectionProfiles/*}\332A\004name\022\244\002\n\027Cre" - + "ateConnectionProfile\022:.google.cloud.data" - + "stream.v1.CreateConnectionProfileRequest" - + "\032\035.google.longrunning.Operation\"\255\001\202\323\344\223\002L" - + "\"6/v1/{parent=projects/*/locations/*}/co" - + "nnectionProfiles:\022connection_profile\332A/p" - + "arent,connection_profile,connection_prof" - + "ile_id\312A&\n\021ConnectionProfile\022\021OperationM" - + "etadata\022\246\002\n\027UpdateConnectionProfile\022:.go" - + "ogle.cloud.datastream.v1.UpdateConnectio" - + "nProfileRequest\032\035.google.longrunning.Ope" - + "ration\"\257\001\202\323\344\223\002_2I/v1/{connection_profile" - + ".name=projects/*/locations/*/connectionP" - + "rofiles/*}:\022connection_profile\332A\036connect" - + "ion_profile,update_mask\312A&\n\021ConnectionPr" - + "ofile\022\021OperationMetadata\022\350\001\n\027DeleteConne" - + "ctionProfile\022:.google.cloud.datastream.v" - + "1.DeleteConnectionProfileRequest\032\035.googl" - + "e.longrunning.Operation\"r\202\323\344\223\0028*6/v1/{na" - + "me=projects/*/locations/*/connectionProf" - + "iles/*}\332A\004name\312A*\n\025google.protobuf.Empty" - + "\022\021OperationMetadata\022\344\001\n\031DiscoverConnecti" - + "onProfile\022<.google.cloud.datastream.v1.D" - + "iscoverConnectionProfileRequest\032=.google" - + ".cloud.datastream.v1.DiscoverConnectionP" - + "rofileResponse\"J\202\323\344\223\002D\"?/v1/{parent=proj" - + "ects/*/locations/*}/connectionProfiles:d" - + "iscover:\001*\022\254\001\n\013ListStreams\022..google.clou" - + "d.datastream.v1.ListStreamsRequest\032/.goo" - + "gle.cloud.datastream.v1.ListStreamsRespo" - + "nse\"<\202\323\344\223\002-\022+/v1/{parent=projects/*/loca" - + "tions/*}/streams\332A\006parent\022\231\001\n\tGetStream\022" - + ",.google.cloud.datastream.v1.GetStreamRe" - + "quest\032\".google.cloud.datastream.v1.Strea" - + "m\":\202\323\344\223\002-\022+/v1/{name=projects/*/location" - + "s/*/streams/*}\332A\004name\022\323\001\n\014CreateStream\022/" - + ".google.cloud.datastream.v1.CreateStream" - + "Request\032\035.google.longrunning.Operation\"s" - + "\202\323\344\223\0025\"+/v1/{parent=projects/*/locations" - + "/*}/streams:\006stream\332A\027parent,stream,stre" - + "am_id\312A\033\n\006Stream\022\021OperationMetadata\022\325\001\n\014" - + "UpdateStream\022/.google.cloud.datastream.v" - + "1.UpdateStreamRequest\032\035.google.longrunni" - + "ng.Operation\"u\202\323\344\223\002<22/v1/{stream.name=p" - + "rojects/*/locations/*/streams/*}:\006stream" - + "\332A\022stream,update_mask\312A\033\n\006Stream\022\021Operat" - + "ionMetadata\022\307\001\n\014DeleteStream\022/.google.cl" - + "oud.datastream.v1.DeleteStreamRequest\032\035." - + "google.longrunning.Operation\"g\202\323\344\223\002-*+/v" - + "1/{name=projects/*/locations/*/streams/*" - + "}\332A\004name\312A*\n\025google.protobuf.Empty\022\021Oper" - + "ationMetadata\022\265\001\n\017GetStreamObject\0222.goog" - + "le.cloud.datastream.v1.GetStreamObjectRe" - + "quest\032(.google.cloud.datastream.v1.Strea" - + "mObject\"D\202\323\344\223\0027\0225/v1/{name=projects/*/lo" - + "cations/*/streams/*/objects/*}\332A\004name\022\276\001" - + "\n\022LookupStreamObject\0225.google.cloud.data" - + "stream.v1.LookupStreamObjectRequest\032(.go" - + "ogle.cloud.datastream.v1.StreamObject\"G\202" - + "\323\344\223\002A\"\n\006object\030\001 \001(\tB.\340A" + + "\002\372A(\n&datastream.googleapis.com/StreamOb" + + "ject\"T\n\030StartBackfillJobResponse\0228\n\006obje" + + "ct\030\001 \001(\0132(.google.cloud.datastream.v1.St" + + "reamObject\"X\n\026StopBackfillJobRequest\022>\n\006" + + "object\030\001 \001(\tB.\340A\002\372A(\n&datastream.googlea" + + "pis.com/StreamObject\"S\n\027StopBackfillJobR" + + "esponse\0228\n\006object\030\001 \001(\0132(.google.cloud.d" + + "atastream.v1.StreamObject\"\201\001\n\030ListStream" + + "ObjectsRequest\022>\n\006parent\030\001 \001(\tB.\340A\002\372A(\022&" + + "datastream.googleapis.com/StreamObject\022\021" + + "\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"v\n" + + "\031ListStreamObjectsResponse\022@\n\016stream_obj" + + "ects\030\001 \003(\0132(.google.cloud.datastream.v1." + + "StreamObject\022\027\n\017next_page_token\030\002 \001(\t\"\316\002" + + "\n\021OperationMetadata\0224\n\013create_time\030\001 \001(\013" + + "2\032.google.protobuf.TimestampB\003\340A\003\0221\n\010end" + + "_time\030\002 \001(\0132\032.google.protobuf.TimestampB" + + "\003\340A\003\022\023\n\006target\030\003 \001(\tB\003\340A\003\022\021\n\004verb\030\004 \001(\tB" + + "\003\340A\003\022\033\n\016status_message\030\005 \001(\tB\003\340A\003\022#\n\026req" + + "uested_cancellation\030\006 \001(\010B\003\340A\003\022\030\n\013api_ve" + + "rsion\030\007 \001(\tB\003\340A\003\022L\n\021validation_result\030\010 " + + "\001(\0132,.google.cloud.datastream.v1.Validat" + + "ionResultB\003\340A\003\"\206\002\n\036CreatePrivateConnecti" + + "onRequest\022C\n\006parent\030\001 \001(\tB3\340A\002\372A-\022+datas" + + "tream.googleapis.com/PrivateConnection\022\"" + + "\n\025private_connection_id\030\002 \001(\tB\003\340A\002\022N\n\022pr" + + "ivate_connection\030\003 \001(\0132-.google.cloud.da" + + "tastream.v1.PrivateConnectionB\003\340A\002\022\027\n\nre" + + "quest_id\030\004 \001(\tB\003\340A\001\022\022\n\005force\030\006 \001(\010B\003\340A\001\"" + + "\255\001\n\035ListPrivateConnectionsRequest\022C\n\006par" + + "ent\030\001 \001(\tB3\340A\002\372A-\022+datastream.googleapis" + + ".com/PrivateConnection\022\021\n\tpage_size\030\002 \001(" + + "\005\022\022\n\npage_token\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\022\020\n" + + "\010order_by\030\005 \001(\t\"\232\001\n\036ListPrivateConnectio" + + "nsResponse\022J\n\023private_connections\030\001 \003(\0132" + + "-.google.cloud.datastream.v1.PrivateConn" + + "ection\022\027\n\017next_page_token\030\002 \001(\t\022\023\n\013unrea" + + "chable\030\003 \003(\t\"\220\001\n\036DeletePrivateConnection" + + "Request\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+datastrea" + + "m.googleapis.com/PrivateConnection\022\027\n\nre" + + "quest_id\030\002 \001(\tB\003\340A\001\022\022\n\005force\030\003 \001(\010B\003\340A\001\"" + + "`\n\033GetPrivateConnectionRequest\022A\n\004name\030\001" + + " \001(\tB3\340A\002\372A-\n+datastream.googleapis.com/" + + "PrivateConnection\"\264\001\n\022CreateRouteRequest" + + "\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\022\037datastream.goo" + + "gleapis.com/Route\022\025\n\010route_id\030\002 \001(\tB\003\340A\002" + + "\0225\n\005route\030\003 \001(\0132!.google.cloud.datastrea" + + "m.v1.RouteB\003\340A\002\022\027\n\nrequest_id\030\004 \001(\tB\003\340A\001" + + "\"\225\001\n\021ListRoutesRequest\0227\n\006parent\030\001 \001(\tB\'" + + "\340A\002\372A!\022\037datastream.googleapis.com/Route\022" + + "\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\016" + + "\n\006filter\030\004 \001(\t\022\020\n\010order_by\030\005 \001(\t\"u\n\022List" + + "RoutesResponse\0221\n\006routes\030\001 \003(\0132!.google." + + "cloud.datastream.v1.Route\022\027\n\017next_page_t" + + "oken\030\002 \001(\t\022\023\n\013unreachable\030\003 \003(\t\"d\n\022Delet" + + "eRouteRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037dat" + + "astream.googleapis.com/Route\022\027\n\nrequest_" + + "id\030\002 \001(\tB\003\340A\001\"H\n\017GetRouteRequest\0225\n\004name" + + "\030\001 \001(\tB\'\340A\002\372A!\n\037datastream.googleapis.co" + + "m/Route2\375*\n\nDatastream\022\330\001\n\026ListConnectio" + + "nProfiles\0229.google.cloud.datastream.v1.L" + + "istConnectionProfilesRequest\032:.google.cl" + + "oud.datastream.v1.ListConnectionProfiles" + + "Response\"G\202\323\344\223\0028\0226/v1/{parent=projects/*" + + "/locations/*}/connectionProfiles\332A\006paren" + + "t\022\305\001\n\024GetConnectionProfile\0227.google.clou" + + "d.datastream.v1.GetConnectionProfileRequ" + + "est\032-.google.cloud.datastream.v1.Connect" + + "ionProfile\"E\202\323\344\223\0028\0226/v1/{name=projects/*" + + "/locations/*/connectionProfiles/*}\332A\004nam" + + "e\022\244\002\n\027CreateConnectionProfile\022:.google.c" + + "loud.datastream.v1.CreateConnectionProfi" + + "leRequest\032\035.google.longrunning.Operation" + + "\"\255\001\202\323\344\223\002L\"6/v1/{parent=projects/*/locati" + + "ons/*}/connectionProfiles:\022connection_pr" + + "ofile\332A/parent,connection_profile,connec" + + "tion_profile_id\312A&\n\021ConnectionProfile\022\021O" + + "perationMetadata\022\246\002\n\027UpdateConnectionPro" + + "file\022:.google.cloud.datastream.v1.Update" + + "ConnectionProfileRequest\032\035.google.longru" + + "nning.Operation\"\257\001\202\323\344\223\002_2I/v1/{connectio" + + "n_profile.name=projects/*/locations/*/co" + + "nnectionProfiles/*}:\022connection_profile\332" + + "A\036connection_profile,update_mask\312A&\n\021Con" + + "nectionProfile\022\021OperationMetadata\022\350\001\n\027De" + + "leteConnectionProfile\022:.google.cloud.dat" + + "astream.v1.DeleteConnectionProfileReques" + + "t\032\035.google.longrunning.Operation\"r\202\323\344\223\0028" + + "*6/v1/{name=projects/*/locations/*/conne" + + "ctionProfiles/*}\332A\004name\312A*\n\025google.proto" + + "buf.Empty\022\021OperationMetadata\022\344\001\n\031Discove" + + "rConnectionProfile\022<.google.cloud.datast" + + "ream.v1.DiscoverConnectionProfileRequest" + + "\032=.google.cloud.datastream.v1.DiscoverCo" + + "nnectionProfileResponse\"J\202\323\344\223\002D\"?/v1/{pa" + + "rent=projects/*/locations/*}/connectionP" + + "rofiles:discover:\001*\022\254\001\n\013ListStreams\022..go" + + "ogle.cloud.datastream.v1.ListStreamsRequ" + + "est\032/.google.cloud.datastream.v1.ListStr" + + "eamsResponse\"<\202\323\344\223\002-\022+/v1/{parent=projec" + + "ts/*/locations/*}/streams\332A\006parent\022\231\001\n\tG" + + "etStream\022,.google.cloud.datastream.v1.Ge" + + "tStreamRequest\032\".google.cloud.datastream" + + ".v1.Stream\":\202\323\344\223\002-\022+/v1/{name=projects/*" + + "/locations/*/streams/*}\332A\004name\022\323\001\n\014Creat" + + "eStream\022/.google.cloud.datastream.v1.Cre" + + "ateStreamRequest\032\035.google.longrunning.Op" + + "eration\"s\202\323\344\223\0025\"+/v1/{parent=projects/*/" + + "locations/*}/streams:\006stream\332A\027parent,st" + + "ream,stream_id\312A\033\n\006Stream\022\021OperationMeta" + + "data\022\325\001\n\014UpdateStream\022/.google.cloud.dat" + + "astream.v1.UpdateStreamRequest\032\035.google." + + "longrunning.Operation\"u\202\323\344\223\002<22/v1/{stre" + + "am.name=projects/*/locations/*/streams/*" + + "}:\006stream\332A\022stream,update_mask\312A\033\n\006Strea" + + "m\022\021OperationMetadata\022\307\001\n\014DeleteStream\022/." + + "google.cloud.datastream.v1.DeleteStreamR" + + "equest\032\035.google.longrunning.Operation\"g\202" + + "\323\344\223\002-*+/v1/{name=projects/*/locations/*/" + + "streams/*}\332A\004name\312A*\n\025google.protobuf.Em" + + "pty\022\021OperationMetadata\022\265\001\n\017GetStreamObje" + + "ct\0222.google.cloud.datastream.v1.GetStrea" + + "mObjectRequest\032(.google.cloud.datastream" + + ".v1.StreamObject\"D\202\323\344\223\0027\0225/v1/{name=proj" + + "ects/*/locations/*/streams/*/objects/*}\332" + + "A\004name\022\276\001\n\022LookupStreamObject\0225.google.c" + + "loud.datastream.v1.LookupStreamObjectReq" + + "uest\032(.google.cloud.datastream.v1.Stream" + + "Object\"G\202\323\344\223\002A\"cl" - + "oud.google.com/go/datastream/apiv1/datas" - + "treampb;datastreampb\252\002\032Google.Cloud.Data" - + "stream.V1\312\002\032Google\\Cloud\\Datastream\\V1\352\002" - + "\035Google::Cloud::Datastream::V1b\006proto3" + + "name\022\330\001\n\026ListPrivateConnections\0229.google" + + ".cloud.datastream.v1.ListPrivateConnecti" + + "onsRequest\032:.google.cloud.datastream.v1." + + "ListPrivateConnectionsResponse\"G\202\323\344\223\0028\0226" + + "/v1/{parent=projects/*/locations/*}/priv" + + "ateConnections\332A\006parent\022\350\001\n\027DeletePrivat" + + "eConnection\022:.google.cloud.datastream.v1" + + ".DeletePrivateConnectionRequest\032\035.google" + + ".longrunning.Operation\"r\202\323\344\223\0028*6/v1/{nam" + + "e=projects/*/locations/*/privateConnecti" + + "ons/*}\332A\004name\312A*\n\025google.protobuf.Empty\022" + + "\021OperationMetadata\022\342\001\n\013CreateRoute\022..goo" + + "gle.cloud.datastream.v1.CreateRouteReque" + + "st\032\035.google.longrunning.Operation\"\203\001\202\323\344\223" + + "\002H\"?/v1/{parent=projects/*/locations/*/p" + + "rivateConnections/*}/routes:\005route\332A\025par" + + "ent,route,route_id\312A\032\n\005Route\022\021OperationM" + + "etadata\022\252\001\n\010GetRoute\022+.google.cloud.data" + + "stream.v1.GetRouteRequest\032!.google.cloud" + + ".datastream.v1.Route\"N\202\323\344\223\002A\022?/v1/{name=" + + "projects/*/locations/*/privateConnection" + + "s/*/routes/*}\332A\004name\022\275\001\n\nListRoutes\022-.go" + + "ogle.cloud.datastream.v1.ListRoutesReque" + + "st\032..google.cloud.datastream.v1.ListRout" + + "esResponse\"P\202\323\344\223\002A\022?/v1/{parent=projects" + + "/*/locations/*/privateConnections/*}/rou" + + "tes\332A\006parent\022\331\001\n\013DeleteRoute\022..google.cl" + + "oud.datastream.v1.DeleteRouteRequest\032\035.g" + + "oogle.longrunning.Operation\"{\202\323\344\223\002A*?/v1" + + "/{name=projects/*/locations/*/privateCon" + + "nections/*/routes/*}\332A\004name\312A*\n\025google.p" + + "rotobuf.Empty\022\021OperationMetadata\032M\312A\031dat" + + "astream.googleapis.com\322A.https://www.goo" + + "gleapis.com/auth/cloud-platformB\315\001\n\036com." + + "google.cloud.datastream.v1B\017DatastreamPr" + + "otoP\001Z>cloud.google.com/go/datastream/ap" + + "iv1/datastreampb;datastreampb\252\002\032Google.C" + + "loud.Datastream.V1\312\002\032Google\\Cloud\\Datast" + + "ream\\V1\352\002\035Google::Cloud::Datastream::V1b" + + "\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -479,6 +481,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.api.ResourceProto.getDescriptor(), com.google.cloud.datastream.v1.DatastreamResourcesProto.getDescriptor(), com.google.longrunning.OperationsProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), com.google.protobuf.FieldMaskProto.getDescriptor(), com.google.protobuf.TimestampProto.getDescriptor(), }); @@ -710,7 +713,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_datastream_v1_CreatePrivateConnectionRequest_descriptor, new java.lang.String[] { - "Parent", "PrivateConnectionId", "PrivateConnection", "RequestId", + "Parent", "PrivateConnectionId", "PrivateConnection", "RequestId", "Force", }); internal_static_google_cloud_datastream_v1_ListPrivateConnectionsRequest_descriptor = getDescriptor().getMessageTypes().get(26); @@ -801,6 +804,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.api.ResourceProto.getDescriptor(); com.google.cloud.datastream.v1.DatastreamResourcesProto.getDescriptor(); com.google.longrunning.OperationsProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); com.google.protobuf.FieldMaskProto.getDescriptor(); com.google.protobuf.TimestampProto.getDescriptor(); } diff --git a/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DatastreamResourcesProto.java b/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DatastreamResourcesProto.java index e1b2218d84c6..f5637009022f 100644 --- a/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DatastreamResourcesProto.java +++ b/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DatastreamResourcesProto.java @@ -377,51 +377,54 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + ">\n\roracle_tables\030\002 \003(\0132\'.google.cloud.da" + "tastream.v1.OracleTable\"O\n\013OracleRdbms\022@" + "\n\016oracle_schemas\030\001 \003(\0132(.google.cloud.da" - + "tastream.v1.OracleSchema\"\300\003\n\022OracleSourc" + + "tastream.v1.OracleSchema\"\347\003\n\022OracleSourc" + "eConfig\022@\n\017include_objects\030\001 \001(\0132\'.googl" + "e.cloud.datastream.v1.OracleRdbms\022@\n\017exc" + "lude_objects\030\002 \001(\0132\'.google.cloud.datast" + "ream.v1.OracleRdbms\022 \n\030max_concurrent_cd" - + "c_tasks\030\003 \001(\005\022]\n\022drop_large_objects\030d \001(" - + "\0132?.google.cloud.datastream.v1.OracleSou" - + "rceConfig.DropLargeObjectsH\000\022a\n\024stream_l" - + "arge_objects\030f \001(\0132A.google.cloud.datast" - + "ream.v1.OracleSourceConfig.StreamLargeOb" - + "jectsH\000\032\022\n\020DropLargeObjects\032\024\n\022StreamLar" - + "geObjectsB\030\n\026large_objects_handling\"\250\001\n\020" - + "PostgresqlColumn\022\016\n\006column\030\001 \001(\t\022\021\n\tdata" - + "_type\030\002 \001(\t\022\016\n\006length\030\003 \001(\005\022\021\n\tprecision" - + "\030\004 \001(\005\022\r\n\005scale\030\005 \001(\005\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\"j\n\017PostgresqlTable\022\r\n\005table\030\001 \001(\t" - + "\022H\n\022postgresql_columns\030\002 \003(\0132,.google.cl" - + "oud.datastream.v1.PostgresqlColumn\"j\n\020Po" - + "stgresqlSchema\022\016\n\006schema\030\001 \001(\t\022F\n\021postgr" - + "esql_tables\030\002 \003(\0132+.google.cloud.datastr" - + "eam.v1.PostgresqlTable\"[\n\017PostgresqlRdbm" - + "s\022H\n\022postgresql_schemas\030\001 \003(\0132,.google.c" - + "loud.datastream.v1.PostgresqlSchema\"\335\001\n\026" - + "PostgresqlSourceConfig\022D\n\017include_object" - + "s\030\001 \001(\0132+.google.cloud.datastream.v1.Pos" - + "tgresqlRdbms\022D\n\017exclude_objects\030\002 \001(\0132+." - + "google.cloud.datastream.v1.PostgresqlRdb" - + "ms\022\035\n\020replication_slot\030\003 \001(\tB\003\340A\002\022\030\n\013pub" - + "lication\030\004 \001(\tB\003\340A\002\"\224\001\n\013MysqlColumn\022\016\n\006c" - + "olumn\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_posi" - + "tion\030\007 \001(\005\"[\n\nMysqlTable\022\r\n\005table\030\001 \001(\t\022" - + ">\n\rmysql_columns\030\002 \003(\0132\'.google.cloud.da" - + "tastream.v1.MysqlColumn\"_\n\rMysqlDatabase" - + "\022\020\n\010database\030\001 \001(\t\022<\n\014mysql_tables\030\002 \003(\013" - + "2&.google.cloud.datastream.v1.MysqlTable" - + "\"P\n\nMysqlRdbms\022B\n\017mysql_databases\030\001 \003(\0132" - + ").google.cloud.datastream.v1.MysqlDataba" - + "se\"\267\001\n\021MysqlSourceConfig\022?\n\017include_obje" - + "cts\030\001 \001(\0132&.google.cloud.datastream.v1.M" - + "ysqlRdbms\022?\n\017exclude_objects\030\002 \001(\0132&.goo" - + "gle.cloud.datastream.v1.MysqlRdbms\022 \n\030ma" - + "x_concurrent_cdc_tasks\030\003 \001(\005\"\364\002\n\014SourceC" + + "c_tasks\030\003 \001(\005\022%\n\035max_concurrent_backfill" + + "_tasks\030\004 \001(\005\022]\n\022drop_large_objects\030d \001(\013" + + "2?.google.cloud.datastream.v1.OracleSour" + + "ceConfig.DropLargeObjectsH\000\022a\n\024stream_la" + + "rge_objects\030f \001(\0132A.google.cloud.datastr" + + "eam.v1.OracleSourceConfig.StreamLargeObj" + + "ectsH\000\032\022\n\020DropLargeObjects\032\024\n\022StreamLarg" + + "eObjectsB\030\n\026large_objects_handling\"\250\001\n\020P" + + "ostgresqlColumn\022\016\n\006column\030\001 \001(\t\022\021\n\tdata_" + + "type\030\002 \001(\t\022\016\n\006length\030\003 \001(\005\022\021\n\tprecision\030" + + "\004 \001(\005\022\r\n\005scale\030\005 \001(\005\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\"j\n\017PostgresqlTable\022\r\n\005table\030\001 \001(\t\022" + + "H\n\022postgresql_columns\030\002 \003(\0132,.google.clo" + + "ud.datastream.v1.PostgresqlColumn\"j\n\020Pos" + + "tgresqlSchema\022\016\n\006schema\030\001 \001(\t\022F\n\021postgre" + + "sql_tables\030\002 \003(\0132+.google.cloud.datastre" + + "am.v1.PostgresqlTable\"[\n\017PostgresqlRdbms" + + "\022H\n\022postgresql_schemas\030\001 \003(\0132,.google.cl" + + "oud.datastream.v1.PostgresqlSchema\"\207\002\n\026P" + + "ostgresqlSourceConfig\022D\n\017include_objects" + + "\030\001 \001(\0132+.google.cloud.datastream.v1.Post" + + "gresqlRdbms\022D\n\017exclude_objects\030\002 \001(\0132+.g" + + "oogle.cloud.datastream.v1.PostgresqlRdbm" + + "s\022 \n\020replication_slot\030\003 \001(\tB\006\340A\002\340A\005\022\030\n\013p" + + "ublication\030\004 \001(\tB\003\340A\002\022%\n\035max_concurrent_" + + "backfill_tasks\030\005 \001(\005\"\224\001\n\013MysqlColumn\022\016\n\006" + + "column\030\001 \001(\t\022\021\n\tdata_type\030\002 \001(\t\022\016\n\006lengt" + + "h\030\003 \001(\005\022\021\n\tcollation\030\004 \001(\t\022\023\n\013primary_ke" + + "y\030\005 \001(\010\022\020\n\010nullable\030\006 \001(\010\022\030\n\020ordinal_pos" + + "ition\030\007 \001(\005\"[\n\nMysqlTable\022\r\n\005table\030\001 \001(\t" + + "\022>\n\rmysql_columns\030\002 \003(\0132\'.google.cloud.d" + + "atastream.v1.MysqlColumn\"_\n\rMysqlDatabas" + + "e\022\020\n\010database\030\001 \001(\t\022<\n\014mysql_tables\030\002 \003(" + + "\0132&.google.cloud.datastream.v1.MysqlTabl" + + "e\"P\n\nMysqlRdbms\022B\n\017mysql_databases\030\001 \003(\013" + + "2).google.cloud.datastream.v1.MysqlDatab" + + "ase\"\336\001\n\021MysqlSourceConfig\022?\n\017include_obj" + + "ects\030\001 \001(\0132&.google.cloud.datastream.v1." + + "MysqlRdbms\022?\n\017exclude_objects\030\002 \001(\0132&.go" + + "ogle.cloud.datastream.v1.MysqlRdbms\022 \n\030m" + + "ax_concurrent_cdc_tasks\030\003 \001(\005\022%\n\035max_con" + + "current_backfill_tasks\030\004 \001(\005\"\364\002\n\014SourceC" + "onfig\022V\n\031source_connection_profile\030\001 \001(\t" + "B3\340A\002\372A-\n+datastream.googleapis.com/Conn" + "ectionProfile\022N\n\024oracle_source_config\030d " @@ -801,6 +804,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "IncludeObjects", "ExcludeObjects", "MaxConcurrentCdcTasks", + "MaxConcurrentBackfillTasks", "DropLargeObjects", "StreamLargeObjects", "LargeObjectsHandling", @@ -866,7 +870,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_datastream_v1_PostgresqlSourceConfig_descriptor, new java.lang.String[] { - "IncludeObjects", "ExcludeObjects", "ReplicationSlot", "Publication", + "IncludeObjects", + "ExcludeObjects", + "ReplicationSlot", + "Publication", + "MaxConcurrentBackfillTasks", }); internal_static_google_cloud_datastream_v1_MysqlColumn_descriptor = getDescriptor().getMessageTypes().get(23); @@ -912,7 +920,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_datastream_v1_MysqlSourceConfig_descriptor, new java.lang.String[] { - "IncludeObjects", "ExcludeObjects", "MaxConcurrentCdcTasks", + "IncludeObjects", + "ExcludeObjects", + "MaxConcurrentCdcTasks", + "MaxConcurrentBackfillTasks", }); internal_static_google_cloud_datastream_v1_SourceConfig_descriptor = getDescriptor().getMessageTypes().get(28); diff --git a/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DeletePrivateConnectionRequest.java b/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DeletePrivateConnectionRequest.java index 80c1c348590d..37d19bdf9747 100644 --- a/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DeletePrivateConnectionRequest.java +++ b/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DeletePrivateConnectionRequest.java @@ -201,8 +201,8 @@ public com.google.protobuf.ByteString getRequestIdBytes() { * * *
-   * Optional. If set to true, any child routes that belong to this PrivateConnection will
-   * also be deleted.
+   * Optional. If set to true, any child routes that belong to this
+   * PrivateConnection will also be deleted.
    * 
* * bool force = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -883,8 +883,8 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { * * *
-     * Optional. If set to true, any child routes that belong to this PrivateConnection will
-     * also be deleted.
+     * Optional. If set to true, any child routes that belong to this
+     * PrivateConnection will also be deleted.
      * 
* * bool force = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -899,8 +899,8 @@ public boolean getForce() { * * *
-     * Optional. If set to true, any child routes that belong to this PrivateConnection will
-     * also be deleted.
+     * Optional. If set to true, any child routes that belong to this
+     * PrivateConnection will also be deleted.
      * 
* * bool force = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -919,8 +919,8 @@ public Builder setForce(boolean value) { * * *
-     * Optional. If set to true, any child routes that belong to this PrivateConnection will
-     * also be deleted.
+     * Optional. If set to true, any child routes that belong to this
+     * PrivateConnection will also be deleted.
      * 
* * bool force = 3 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DeletePrivateConnectionRequestOrBuilder.java b/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DeletePrivateConnectionRequestOrBuilder.java index f0b90236d297..2cd02b0b8bb9 100644 --- a/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DeletePrivateConnectionRequestOrBuilder.java +++ b/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DeletePrivateConnectionRequestOrBuilder.java @@ -101,8 +101,8 @@ public interface DeletePrivateConnectionRequestOrBuilder * * *
-   * Optional. If set to true, any child routes that belong to this PrivateConnection will
-   * also be deleted.
+   * Optional. If set to true, any child routes that belong to this
+   * PrivateConnection will also be deleted.
    * 
* * bool force = 3 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DiscoverConnectionProfileRequest.java b/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DiscoverConnectionProfileRequest.java index 07777bb85d44..3fadca8bff6f 100644 --- a/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DiscoverConnectionProfileRequest.java +++ b/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DiscoverConnectionProfileRequest.java @@ -220,8 +220,8 @@ public DataObjectCase getDataObjectCase() { * * *
-   * Required. The parent resource of the connection profile type. Must be in the
-   * format `projects/*/locations/*`.
+   * Required. The parent resource of the connection profile type. Must be in
+   * the format `projects/*/locations/*`.
    * 
* * @@ -246,8 +246,8 @@ public java.lang.String getParent() { * * *
-   * Required. The parent resource of the connection profile type. Must be in the
-   * format `projects/*/locations/*`.
+   * Required. The parent resource of the connection profile type. Must be in
+   * the format `projects/*/locations/*`.
    * 
* * @@ -1279,8 +1279,8 @@ public Builder clearDataObject() { * * *
-     * Required. The parent resource of the connection profile type. Must be in the
-     * format `projects/*/locations/*`.
+     * Required. The parent resource of the connection profile type. Must be in
+     * the format `projects/*/locations/*`.
      * 
* * @@ -1304,8 +1304,8 @@ public java.lang.String getParent() { * * *
-     * Required. The parent resource of the connection profile type. Must be in the
-     * format `projects/*/locations/*`.
+     * Required. The parent resource of the connection profile type. Must be in
+     * the format `projects/*/locations/*`.
      * 
* * @@ -1329,8 +1329,8 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-     * Required. The parent resource of the connection profile type. Must be in the
-     * format `projects/*/locations/*`.
+     * Required. The parent resource of the connection profile type. Must be in
+     * the format `projects/*/locations/*`.
      * 
* * @@ -1353,8 +1353,8 @@ public Builder setParent(java.lang.String value) { * * *
-     * Required. The parent resource of the connection profile type. Must be in the
-     * format `projects/*/locations/*`.
+     * Required. The parent resource of the connection profile type. Must be in
+     * the format `projects/*/locations/*`.
      * 
* * @@ -1373,8 +1373,8 @@ public Builder clearParent() { * * *
-     * Required. The parent resource of the connection profile type. Must be in the
-     * format `projects/*/locations/*`.
+     * Required. The parent resource of the connection profile type. Must be in
+     * the format `projects/*/locations/*`.
      * 
* * diff --git a/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DiscoverConnectionProfileRequestOrBuilder.java b/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DiscoverConnectionProfileRequestOrBuilder.java index d8e5477f2370..28bd4ea979f3 100644 --- a/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DiscoverConnectionProfileRequestOrBuilder.java +++ b/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DiscoverConnectionProfileRequestOrBuilder.java @@ -27,8 +27,8 @@ public interface DiscoverConnectionProfileRequestOrBuilder * * *
-   * Required. The parent resource of the connection profile type. Must be in the
-   * format `projects/*/locations/*`.
+   * Required. The parent resource of the connection profile type. Must be in
+   * the format `projects/*/locations/*`.
    * 
* * @@ -42,8 +42,8 @@ public interface DiscoverConnectionProfileRequestOrBuilder * * *
-   * Required. The parent resource of the connection profile type. Must be in the
-   * format `projects/*/locations/*`.
+   * Required. The parent resource of the connection profile type. Must be in
+   * the format `projects/*/locations/*`.
    * 
* * diff --git a/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/FetchStaticIpsRequest.java b/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/FetchStaticIpsRequest.java index d9e103e185bd..d1c5dc804ec6 100644 --- a/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/FetchStaticIpsRequest.java +++ b/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/FetchStaticIpsRequest.java @@ -76,8 +76,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. The resource name for the location for which static IPs should be returned.
-   * Must be in the format `projects/*/locations/*`.
+   * Required. The resource name for the location for which static IPs should be
+   * returned. Must be in the format `projects/*/locations/*`.
    * 
* * @@ -102,8 +102,8 @@ public java.lang.String getName() { * * *
-   * Required. The resource name for the location for which static IPs should be returned.
-   * Must be in the format `projects/*/locations/*`.
+   * Required. The resource name for the location for which static IPs should be
+   * returned. Must be in the format `projects/*/locations/*`.
    * 
* * @@ -589,8 +589,8 @@ public Builder mergeFrom( * * *
-     * Required. The resource name for the location for which static IPs should be returned.
-     * Must be in the format `projects/*/locations/*`.
+     * Required. The resource name for the location for which static IPs should be
+     * returned. Must be in the format `projects/*/locations/*`.
      * 
* * @@ -614,8 +614,8 @@ public java.lang.String getName() { * * *
-     * Required. The resource name for the location for which static IPs should be returned.
-     * Must be in the format `projects/*/locations/*`.
+     * Required. The resource name for the location for which static IPs should be
+     * returned. Must be in the format `projects/*/locations/*`.
      * 
* * @@ -639,8 +639,8 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Required. The resource name for the location for which static IPs should be returned.
-     * Must be in the format `projects/*/locations/*`.
+     * Required. The resource name for the location for which static IPs should be
+     * returned. Must be in the format `projects/*/locations/*`.
      * 
* * @@ -663,8 +663,8 @@ public Builder setName(java.lang.String value) { * * *
-     * Required. The resource name for the location for which static IPs should be returned.
-     * Must be in the format `projects/*/locations/*`.
+     * Required. The resource name for the location for which static IPs should be
+     * returned. Must be in the format `projects/*/locations/*`.
      * 
* * @@ -683,8 +683,8 @@ public Builder clearName() { * * *
-     * Required. The resource name for the location for which static IPs should be returned.
-     * Must be in the format `projects/*/locations/*`.
+     * Required. The resource name for the location for which static IPs should be
+     * returned. Must be in the format `projects/*/locations/*`.
      * 
* * diff --git a/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/FetchStaticIpsRequestOrBuilder.java b/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/FetchStaticIpsRequestOrBuilder.java index 09c66d82c081..be3eb2fd93b5 100644 --- a/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/FetchStaticIpsRequestOrBuilder.java +++ b/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/FetchStaticIpsRequestOrBuilder.java @@ -27,8 +27,8 @@ public interface FetchStaticIpsRequestOrBuilder * * *
-   * Required. The resource name for the location for which static IPs should be returned.
-   * Must be in the format `projects/*/locations/*`.
+   * Required. The resource name for the location for which static IPs should be
+   * returned. Must be in the format `projects/*/locations/*`.
    * 
* * @@ -42,8 +42,8 @@ public interface FetchStaticIpsRequestOrBuilder * * *
-   * Required. The resource name for the location for which static IPs should be returned.
-   * Must be in the format `projects/*/locations/*`.
+   * Required. The resource name for the location for which static IPs should be
+   * returned. Must be in the format `projects/*/locations/*`.
    * 
* * diff --git a/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/GcsDestinationConfig.java b/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/GcsDestinationConfig.java index e62f16a71ae7..34cf322345cd 100644 --- a/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/GcsDestinationConfig.java +++ b/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/GcsDestinationConfig.java @@ -190,7 +190,8 @@ public int getFileRotationMb() { * *
    * The maximum duration for which new events are added before a file is
-   * closed and a new file is created.
+   * closed and a new file is created. Values within the range of 15-60 seconds
+   * are allowed.
    * 
* * .google.protobuf.Duration file_rotation_interval = 3; @@ -206,7 +207,8 @@ public boolean hasFileRotationInterval() { * *
    * The maximum duration for which new events are added before a file is
-   * closed and a new file is created.
+   * closed and a new file is created. Values within the range of 15-60 seconds
+   * are allowed.
    * 
* * .google.protobuf.Duration file_rotation_interval = 3; @@ -224,7 +226,8 @@ public com.google.protobuf.Duration getFileRotationInterval() { * *
    * The maximum duration for which new events are added before a file is
-   * closed and a new file is created.
+   * closed and a new file is created. Values within the range of 15-60 seconds
+   * are allowed.
    * 
* * .google.protobuf.Duration file_rotation_interval = 3; @@ -1009,7 +1012,8 @@ public Builder clearFileRotationMb() { * *
      * The maximum duration for which new events are added before a file is
-     * closed and a new file is created.
+     * closed and a new file is created. Values within the range of 15-60 seconds
+     * are allowed.
      * 
* * .google.protobuf.Duration file_rotation_interval = 3; @@ -1024,7 +1028,8 @@ public boolean hasFileRotationInterval() { * *
      * The maximum duration for which new events are added before a file is
-     * closed and a new file is created.
+     * closed and a new file is created. Values within the range of 15-60 seconds
+     * are allowed.
      * 
* * .google.protobuf.Duration file_rotation_interval = 3; @@ -1045,7 +1050,8 @@ public com.google.protobuf.Duration getFileRotationInterval() { * *
      * The maximum duration for which new events are added before a file is
-     * closed and a new file is created.
+     * closed and a new file is created. Values within the range of 15-60 seconds
+     * are allowed.
      * 
* * .google.protobuf.Duration file_rotation_interval = 3; @@ -1068,7 +1074,8 @@ public Builder setFileRotationInterval(com.google.protobuf.Duration value) { * *
      * The maximum duration for which new events are added before a file is
-     * closed and a new file is created.
+     * closed and a new file is created. Values within the range of 15-60 seconds
+     * are allowed.
      * 
* * .google.protobuf.Duration file_rotation_interval = 3; @@ -1088,7 +1095,8 @@ public Builder setFileRotationInterval(com.google.protobuf.Duration.Builder buil * *
      * The maximum duration for which new events are added before a file is
-     * closed and a new file is created.
+     * closed and a new file is created. Values within the range of 15-60 seconds
+     * are allowed.
      * 
* * .google.protobuf.Duration file_rotation_interval = 3; @@ -1114,7 +1122,8 @@ public Builder mergeFileRotationInterval(com.google.protobuf.Duration value) { * *
      * The maximum duration for which new events are added before a file is
-     * closed and a new file is created.
+     * closed and a new file is created. Values within the range of 15-60 seconds
+     * are allowed.
      * 
* * .google.protobuf.Duration file_rotation_interval = 3; @@ -1134,7 +1143,8 @@ public Builder clearFileRotationInterval() { * *
      * The maximum duration for which new events are added before a file is
-     * closed and a new file is created.
+     * closed and a new file is created. Values within the range of 15-60 seconds
+     * are allowed.
      * 
* * .google.protobuf.Duration file_rotation_interval = 3; @@ -1149,7 +1159,8 @@ public com.google.protobuf.Duration.Builder getFileRotationIntervalBuilder() { * *
      * The maximum duration for which new events are added before a file is
-     * closed and a new file is created.
+     * closed and a new file is created. Values within the range of 15-60 seconds
+     * are allowed.
      * 
* * .google.protobuf.Duration file_rotation_interval = 3; @@ -1168,7 +1179,8 @@ public com.google.protobuf.DurationOrBuilder getFileRotationIntervalOrBuilder() * *
      * The maximum duration for which new events are added before a file is
-     * closed and a new file is created.
+     * closed and a new file is created. Values within the range of 15-60 seconds
+     * are allowed.
      * 
* * .google.protobuf.Duration file_rotation_interval = 3; diff --git a/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/GcsDestinationConfigOrBuilder.java b/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/GcsDestinationConfigOrBuilder.java index 0730c1a9cbe3..729161dc735c 100644 --- a/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/GcsDestinationConfigOrBuilder.java +++ b/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/GcsDestinationConfigOrBuilder.java @@ -66,7 +66,8 @@ public interface GcsDestinationConfigOrBuilder * *
    * The maximum duration for which new events are added before a file is
-   * closed and a new file is created.
+   * closed and a new file is created. Values within the range of 15-60 seconds
+   * are allowed.
    * 
* * .google.protobuf.Duration file_rotation_interval = 3; @@ -79,7 +80,8 @@ public interface GcsDestinationConfigOrBuilder * *
    * The maximum duration for which new events are added before a file is
-   * closed and a new file is created.
+   * closed and a new file is created. Values within the range of 15-60 seconds
+   * are allowed.
    * 
* * .google.protobuf.Duration file_rotation_interval = 3; @@ -92,7 +94,8 @@ public interface GcsDestinationConfigOrBuilder * *
    * The maximum duration for which new events are added before a file is
-   * closed and a new file is created.
+   * closed and a new file is created. Values within the range of 15-60 seconds
+   * are allowed.
    * 
* * .google.protobuf.Duration file_rotation_interval = 3; diff --git a/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListPrivateConnectionsRequest.java b/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListPrivateConnectionsRequest.java index 424be8a89e7f..c1057b8d788b 100644 --- a/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListPrivateConnectionsRequest.java +++ b/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListPrivateConnectionsRequest.java @@ -78,7 +78,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. The parent that owns the collection of private connectivity configurations.
+   * Required. The parent that owns the collection of private connectivity
+   * configurations.
    * 
* * @@ -103,7 +104,8 @@ public java.lang.String getParent() { * * *
-   * Required. The parent that owns the collection of private connectivity configurations.
+   * Required. The parent that owns the collection of private connectivity
+   * configurations.
    * 
* * @@ -752,7 +754,8 @@ public Builder mergeFrom( * * *
-     * Required. The parent that owns the collection of private connectivity configurations.
+     * Required. The parent that owns the collection of private connectivity
+     * configurations.
      * 
* * @@ -776,7 +779,8 @@ public java.lang.String getParent() { * * *
-     * Required. The parent that owns the collection of private connectivity configurations.
+     * Required. The parent that owns the collection of private connectivity
+     * configurations.
      * 
* * @@ -800,7 +804,8 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-     * Required. The parent that owns the collection of private connectivity configurations.
+     * Required. The parent that owns the collection of private connectivity
+     * configurations.
      * 
* * @@ -823,7 +828,8 @@ public Builder setParent(java.lang.String value) { * * *
-     * Required. The parent that owns the collection of private connectivity configurations.
+     * Required. The parent that owns the collection of private connectivity
+     * configurations.
      * 
* * @@ -842,7 +848,8 @@ public Builder clearParent() { * * *
-     * Required. The parent that owns the collection of private connectivity configurations.
+     * Required. The parent that owns the collection of private connectivity
+     * configurations.
      * 
* * diff --git a/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListPrivateConnectionsRequestOrBuilder.java b/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListPrivateConnectionsRequestOrBuilder.java index 85a2b1a63223..3afa793b2c92 100644 --- a/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListPrivateConnectionsRequestOrBuilder.java +++ b/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/ListPrivateConnectionsRequestOrBuilder.java @@ -27,7 +27,8 @@ public interface ListPrivateConnectionsRequestOrBuilder * * *
-   * Required. The parent that owns the collection of private connectivity configurations.
+   * Required. The parent that owns the collection of private connectivity
+   * configurations.
    * 
* * @@ -41,7 +42,8 @@ public interface ListPrivateConnectionsRequestOrBuilder * * *
-   * Required. The parent that owns the collection of private connectivity configurations.
+   * Required. The parent that owns the collection of private connectivity
+   * configurations.
    * 
* * diff --git a/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/MysqlSourceConfig.java b/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/MysqlSourceConfig.java index c3a42f63e924..bc5d433af9ea 100644 --- a/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/MysqlSourceConfig.java +++ b/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/MysqlSourceConfig.java @@ -184,6 +184,26 @@ public int getMaxConcurrentCdcTasks() { return maxConcurrentCdcTasks_; } + public static final int MAX_CONCURRENT_BACKFILL_TASKS_FIELD_NUMBER = 4; + private int maxConcurrentBackfillTasks_ = 0; + /** + * + * + *
+   * Maximum number of concurrent backfill tasks. The number should be non
+   * negative. If not set (or set to 0), the system's default value will be
+   * used.
+   * 
+ * + * int32 max_concurrent_backfill_tasks = 4; + * + * @return The maxConcurrentBackfillTasks. + */ + @java.lang.Override + public int getMaxConcurrentBackfillTasks() { + return maxConcurrentBackfillTasks_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -207,6 +227,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (maxConcurrentCdcTasks_ != 0) { output.writeInt32(3, maxConcurrentCdcTasks_); } + if (maxConcurrentBackfillTasks_ != 0) { + output.writeInt32(4, maxConcurrentBackfillTasks_); + } getUnknownFields().writeTo(output); } @@ -225,6 +248,10 @@ public int getSerializedSize() { if (maxConcurrentCdcTasks_ != 0) { size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, maxConcurrentCdcTasks_); } + if (maxConcurrentBackfillTasks_ != 0) { + size += + com.google.protobuf.CodedOutputStream.computeInt32Size(4, maxConcurrentBackfillTasks_); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -250,6 +277,7 @@ public boolean equals(final java.lang.Object obj) { if (!getExcludeObjects().equals(other.getExcludeObjects())) return false; } if (getMaxConcurrentCdcTasks() != other.getMaxConcurrentCdcTasks()) return false; + if (getMaxConcurrentBackfillTasks() != other.getMaxConcurrentBackfillTasks()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -271,6 +299,8 @@ public int hashCode() { } hash = (37 * hash) + MAX_CONCURRENT_CDC_TASKS_FIELD_NUMBER; hash = (53 * hash) + getMaxConcurrentCdcTasks(); + hash = (37 * hash) + MAX_CONCURRENT_BACKFILL_TASKS_FIELD_NUMBER; + hash = (53 * hash) + getMaxConcurrentBackfillTasks(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -421,6 +451,7 @@ public Builder clear() { excludeObjectsBuilder_ = null; } maxConcurrentCdcTasks_ = 0; + maxConcurrentBackfillTasks_ = 0; return this; } @@ -468,6 +499,9 @@ private void buildPartial0(com.google.cloud.datastream.v1.MysqlSourceConfig resu if (((from_bitField0_ & 0x00000004) != 0)) { result.maxConcurrentCdcTasks_ = maxConcurrentCdcTasks_; } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.maxConcurrentBackfillTasks_ = maxConcurrentBackfillTasks_; + } } @java.lang.Override @@ -525,6 +559,9 @@ public Builder mergeFrom(com.google.cloud.datastream.v1.MysqlSourceConfig other) if (other.getMaxConcurrentCdcTasks() != 0) { setMaxConcurrentCdcTasks(other.getMaxConcurrentCdcTasks()); } + if (other.getMaxConcurrentBackfillTasks() != 0) { + setMaxConcurrentBackfillTasks(other.getMaxConcurrentBackfillTasks()); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -569,6 +606,12 @@ public Builder mergeFrom( bitField0_ |= 0x00000004; break; } // case 24 + case 32: + { + maxConcurrentBackfillTasks_ = input.readInt32(); + bitField0_ |= 0x00000008; + break; + } // case 32 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -1012,6 +1055,65 @@ public Builder clearMaxConcurrentCdcTasks() { return this; } + private int maxConcurrentBackfillTasks_; + /** + * + * + *
+     * Maximum number of concurrent backfill tasks. The number should be non
+     * negative. If not set (or set to 0), the system's default value will be
+     * used.
+     * 
+ * + * int32 max_concurrent_backfill_tasks = 4; + * + * @return The maxConcurrentBackfillTasks. + */ + @java.lang.Override + public int getMaxConcurrentBackfillTasks() { + return maxConcurrentBackfillTasks_; + } + /** + * + * + *
+     * Maximum number of concurrent backfill tasks. The number should be non
+     * negative. If not set (or set to 0), the system's default value will be
+     * used.
+     * 
+ * + * int32 max_concurrent_backfill_tasks = 4; + * + * @param value The maxConcurrentBackfillTasks to set. + * @return This builder for chaining. + */ + public Builder setMaxConcurrentBackfillTasks(int value) { + + maxConcurrentBackfillTasks_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+     * Maximum number of concurrent backfill tasks. The number should be non
+     * negative. If not set (or set to 0), the system's default value will be
+     * used.
+     * 
+ * + * int32 max_concurrent_backfill_tasks = 4; + * + * @return This builder for chaining. + */ + public Builder clearMaxConcurrentBackfillTasks() { + bitField0_ = (bitField0_ & ~0x00000008); + maxConcurrentBackfillTasks_ = 0; + onChanged(); + return this; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/MysqlSourceConfigOrBuilder.java b/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/MysqlSourceConfigOrBuilder.java index a547dbbf4e9c..9f5406854cd5 100644 --- a/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/MysqlSourceConfigOrBuilder.java +++ b/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/MysqlSourceConfigOrBuilder.java @@ -106,4 +106,19 @@ public interface MysqlSourceConfigOrBuilder * @return The maxConcurrentCdcTasks. */ int getMaxConcurrentCdcTasks(); + + /** + * + * + *
+   * Maximum number of concurrent backfill tasks. The number should be non
+   * negative. If not set (or set to 0), the system's default value will be
+   * used.
+   * 
+ * + * int32 max_concurrent_backfill_tasks = 4; + * + * @return The maxConcurrentBackfillTasks. + */ + int getMaxConcurrentBackfillTasks(); } diff --git a/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/MysqlSslConfig.java b/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/MysqlSslConfig.java index 3c5b0cb2c9d7..b7ca66a6f088 100644 --- a/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/MysqlSslConfig.java +++ b/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/MysqlSslConfig.java @@ -223,8 +223,8 @@ public boolean getClientCertificateSet() { * * *
-   * Input only. PEM-encoded certificate of the CA that signed the source database
-   * server's certificate.
+   * Input only. PEM-encoded certificate of the CA that signed the source
+   * database server's certificate.
    * 
* * string ca_certificate = 5 [(.google.api.field_behavior) = INPUT_ONLY]; @@ -247,8 +247,8 @@ public java.lang.String getCaCertificate() { * * *
-   * Input only. PEM-encoded certificate of the CA that signed the source database
-   * server's certificate.
+   * Input only. PEM-encoded certificate of the CA that signed the source
+   * database server's certificate.
    * 
* * string ca_certificate = 5 [(.google.api.field_behavior) = INPUT_ONLY]; @@ -1084,8 +1084,8 @@ public Builder clearClientCertificateSet() { * * *
-     * Input only. PEM-encoded certificate of the CA that signed the source database
-     * server's certificate.
+     * Input only. PEM-encoded certificate of the CA that signed the source
+     * database server's certificate.
      * 
* * string ca_certificate = 5 [(.google.api.field_behavior) = INPUT_ONLY]; @@ -1107,8 +1107,8 @@ public java.lang.String getCaCertificate() { * * *
-     * Input only. PEM-encoded certificate of the CA that signed the source database
-     * server's certificate.
+     * Input only. PEM-encoded certificate of the CA that signed the source
+     * database server's certificate.
      * 
* * string ca_certificate = 5 [(.google.api.field_behavior) = INPUT_ONLY]; @@ -1130,8 +1130,8 @@ public com.google.protobuf.ByteString getCaCertificateBytes() { * * *
-     * Input only. PEM-encoded certificate of the CA that signed the source database
-     * server's certificate.
+     * Input only. PEM-encoded certificate of the CA that signed the source
+     * database server's certificate.
      * 
* * string ca_certificate = 5 [(.google.api.field_behavior) = INPUT_ONLY]; @@ -1152,8 +1152,8 @@ public Builder setCaCertificate(java.lang.String value) { * * *
-     * Input only. PEM-encoded certificate of the CA that signed the source database
-     * server's certificate.
+     * Input only. PEM-encoded certificate of the CA that signed the source
+     * database server's certificate.
      * 
* * string ca_certificate = 5 [(.google.api.field_behavior) = INPUT_ONLY]; @@ -1170,8 +1170,8 @@ public Builder clearCaCertificate() { * * *
-     * Input only. PEM-encoded certificate of the CA that signed the source database
-     * server's certificate.
+     * Input only. PEM-encoded certificate of the CA that signed the source
+     * database server's certificate.
      * 
* * string ca_certificate = 5 [(.google.api.field_behavior) = INPUT_ONLY]; diff --git a/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/MysqlSslConfigOrBuilder.java b/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/MysqlSslConfigOrBuilder.java index 19562b09cb5f..07af8fd62db3 100644 --- a/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/MysqlSslConfigOrBuilder.java +++ b/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/MysqlSslConfigOrBuilder.java @@ -111,8 +111,8 @@ public interface MysqlSslConfigOrBuilder * * *
-   * Input only. PEM-encoded certificate of the CA that signed the source database
-   * server's certificate.
+   * Input only. PEM-encoded certificate of the CA that signed the source
+   * database server's certificate.
    * 
* * string ca_certificate = 5 [(.google.api.field_behavior) = INPUT_ONLY]; @@ -124,8 +124,8 @@ public interface MysqlSslConfigOrBuilder * * *
-   * Input only. PEM-encoded certificate of the CA that signed the source database
-   * server's certificate.
+   * Input only. PEM-encoded certificate of the CA that signed the source
+   * database server's certificate.
    * 
* * string ca_certificate = 5 [(.google.api.field_behavior) = INPUT_ONLY]; diff --git a/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/OperationMetadata.java b/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/OperationMetadata.java index b27109694984..995f8801b199 100644 --- a/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/OperationMetadata.java +++ b/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/OperationMetadata.java @@ -329,8 +329,9 @@ public com.google.protobuf.ByteString getStatusMessageBytes() { *
    * Output only. Identifies whether the user has requested cancellation
    * of the operation. Operations that have successfully been cancelled
-   * have [Operation.error][] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1,
-   * corresponding to `Code.CANCELLED`.
+   * have [Operation.error][] value with a
+   * [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to
+   * `Code.CANCELLED`.
    * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -1694,8 +1695,9 @@ public Builder setStatusMessageBytes(com.google.protobuf.ByteString value) { *
      * Output only. Identifies whether the user has requested cancellation
      * of the operation. Operations that have successfully been cancelled
-     * have [Operation.error][] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1,
-     * corresponding to `Code.CANCELLED`.
+     * have [Operation.error][] value with a
+     * [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to
+     * `Code.CANCELLED`.
      * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -1712,8 +1714,9 @@ public boolean getRequestedCancellation() { *
      * Output only. Identifies whether the user has requested cancellation
      * of the operation. Operations that have successfully been cancelled
-     * have [Operation.error][] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1,
-     * corresponding to `Code.CANCELLED`.
+     * have [Operation.error][] value with a
+     * [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to
+     * `Code.CANCELLED`.
      * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -1734,8 +1737,9 @@ public Builder setRequestedCancellation(boolean value) { *
      * Output only. Identifies whether the user has requested cancellation
      * of the operation. Operations that have successfully been cancelled
-     * have [Operation.error][] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1,
-     * corresponding to `Code.CANCELLED`.
+     * have [Operation.error][] value with a
+     * [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to
+     * `Code.CANCELLED`.
      * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; diff --git a/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/OperationMetadataOrBuilder.java b/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/OperationMetadataOrBuilder.java index fd0a674fad61..1590aa252da8 100644 --- a/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/OperationMetadataOrBuilder.java +++ b/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/OperationMetadataOrBuilder.java @@ -180,8 +180,9 @@ public interface OperationMetadataOrBuilder *
    * Output only. Identifies whether the user has requested cancellation
    * of the operation. Operations that have successfully been cancelled
-   * have [Operation.error][] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1,
-   * corresponding to `Code.CANCELLED`.
+   * have [Operation.error][] value with a
+   * [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to
+   * `Code.CANCELLED`.
    * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; diff --git a/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/OracleSourceConfig.java b/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/OracleSourceConfig.java index d057a866c1ce..c754794d7d5d 100644 --- a/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/OracleSourceConfig.java +++ b/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/OracleSourceConfig.java @@ -1095,8 +1095,8 @@ public com.google.cloud.datastream.v1.OracleRdbmsOrBuilder getExcludeObjectsOrBu * * *
-   * Maximum number of concurrent CDC tasks. The number should be non negative.
-   * If not set (or set to 0), the system's default value will be used.
+   * Maximum number of concurrent CDC tasks. The number should be non-negative.
+   * If not set (or set to 0), the system's default value is used.
    * 
* * int32 max_concurrent_cdc_tasks = 3; @@ -1108,6 +1108,25 @@ public int getMaxConcurrentCdcTasks() { return maxConcurrentCdcTasks_; } + public static final int MAX_CONCURRENT_BACKFILL_TASKS_FIELD_NUMBER = 4; + private int maxConcurrentBackfillTasks_ = 0; + /** + * + * + *
+   * Maximum number of concurrent backfill tasks. The number should be
+   * non-negative. If not set (or set to 0), the system's default value is used.
+   * 
+ * + * int32 max_concurrent_backfill_tasks = 4; + * + * @return The maxConcurrentBackfillTasks. + */ + @java.lang.Override + public int getMaxConcurrentBackfillTasks() { + return maxConcurrentBackfillTasks_; + } + public static final int DROP_LARGE_OBJECTS_FIELD_NUMBER = 100; /** * @@ -1170,7 +1189,7 @@ public com.google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjects getDro * * *
-   * Stream large object values.
+   * Stream large object values. NOTE: This feature is currently experimental.
    * 
* * @@ -1187,7 +1206,7 @@ public boolean hasStreamLargeObjects() { * * *
-   * Stream large object values.
+   * Stream large object values. NOTE: This feature is currently experimental.
    * 
* * @@ -1210,7 +1229,7 @@ public boolean hasStreamLargeObjects() { * * *
-   * Stream large object values.
+   * Stream large object values. NOTE: This feature is currently experimental.
    * 
* * @@ -1251,6 +1270,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (maxConcurrentCdcTasks_ != 0) { output.writeInt32(3, maxConcurrentCdcTasks_); } + if (maxConcurrentBackfillTasks_ != 0) { + output.writeInt32(4, maxConcurrentBackfillTasks_); + } if (largeObjectsHandlingCase_ == 100) { output.writeMessage( 100, @@ -1281,6 +1303,10 @@ public int getSerializedSize() { if (maxConcurrentCdcTasks_ != 0) { size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, maxConcurrentCdcTasks_); } + if (maxConcurrentBackfillTasks_ != 0) { + size += + com.google.protobuf.CodedOutputStream.computeInt32Size(4, maxConcurrentBackfillTasks_); + } if (largeObjectsHandlingCase_ == 100) { size += com.google.protobuf.CodedOutputStream.computeMessageSize( @@ -1320,6 +1346,7 @@ public boolean equals(final java.lang.Object obj) { if (!getExcludeObjects().equals(other.getExcludeObjects())) return false; } if (getMaxConcurrentCdcTasks() != other.getMaxConcurrentCdcTasks()) return false; + if (getMaxConcurrentBackfillTasks() != other.getMaxConcurrentBackfillTasks()) return false; if (!getLargeObjectsHandlingCase().equals(other.getLargeObjectsHandlingCase())) return false; switch (largeObjectsHandlingCase_) { case 100: @@ -1352,6 +1379,8 @@ public int hashCode() { } hash = (37 * hash) + MAX_CONCURRENT_CDC_TASKS_FIELD_NUMBER; hash = (53 * hash) + getMaxConcurrentCdcTasks(); + hash = (37 * hash) + MAX_CONCURRENT_BACKFILL_TASKS_FIELD_NUMBER; + hash = (53 * hash) + getMaxConcurrentBackfillTasks(); switch (largeObjectsHandlingCase_) { case 100: hash = (37 * hash) + DROP_LARGE_OBJECTS_FIELD_NUMBER; @@ -1514,6 +1543,7 @@ public Builder clear() { excludeObjectsBuilder_ = null; } maxConcurrentCdcTasks_ = 0; + maxConcurrentBackfillTasks_ = 0; if (dropLargeObjectsBuilder_ != null) { dropLargeObjectsBuilder_.clear(); } @@ -1570,6 +1600,9 @@ private void buildPartial0(com.google.cloud.datastream.v1.OracleSourceConfig res if (((from_bitField0_ & 0x00000004) != 0)) { result.maxConcurrentCdcTasks_ = maxConcurrentCdcTasks_; } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.maxConcurrentBackfillTasks_ = maxConcurrentBackfillTasks_; + } } private void buildPartialOneofs(com.google.cloud.datastream.v1.OracleSourceConfig result) { @@ -1638,6 +1671,9 @@ public Builder mergeFrom(com.google.cloud.datastream.v1.OracleSourceConfig other if (other.getMaxConcurrentCdcTasks() != 0) { setMaxConcurrentCdcTasks(other.getMaxConcurrentCdcTasks()); } + if (other.getMaxConcurrentBackfillTasks() != 0) { + setMaxConcurrentBackfillTasks(other.getMaxConcurrentBackfillTasks()); + } switch (other.getLargeObjectsHandlingCase()) { case DROP_LARGE_OBJECTS: { @@ -1698,6 +1734,12 @@ public Builder mergeFrom( bitField0_ |= 0x00000004; break; } // case 24 + case 32: + { + maxConcurrentBackfillTasks_ = input.readInt32(); + bitField0_ |= 0x00000008; + break; + } // case 32 case 802: { input.readMessage( @@ -2118,8 +2160,8 @@ public com.google.cloud.datastream.v1.OracleRdbmsOrBuilder getExcludeObjectsOrBu * * *
-     * Maximum number of concurrent CDC tasks. The number should be non negative.
-     * If not set (or set to 0), the system's default value will be used.
+     * Maximum number of concurrent CDC tasks. The number should be non-negative.
+     * If not set (or set to 0), the system's default value is used.
      * 
* * int32 max_concurrent_cdc_tasks = 3; @@ -2134,8 +2176,8 @@ public int getMaxConcurrentCdcTasks() { * * *
-     * Maximum number of concurrent CDC tasks. The number should be non negative.
-     * If not set (or set to 0), the system's default value will be used.
+     * Maximum number of concurrent CDC tasks. The number should be non-negative.
+     * If not set (or set to 0), the system's default value is used.
      * 
* * int32 max_concurrent_cdc_tasks = 3; @@ -2154,8 +2196,8 @@ public Builder setMaxConcurrentCdcTasks(int value) { * * *
-     * Maximum number of concurrent CDC tasks. The number should be non negative.
-     * If not set (or set to 0), the system's default value will be used.
+     * Maximum number of concurrent CDC tasks. The number should be non-negative.
+     * If not set (or set to 0), the system's default value is used.
      * 
* * int32 max_concurrent_cdc_tasks = 3; @@ -2169,6 +2211,62 @@ public Builder clearMaxConcurrentCdcTasks() { return this; } + private int maxConcurrentBackfillTasks_; + /** + * + * + *
+     * Maximum number of concurrent backfill tasks. The number should be
+     * non-negative. If not set (or set to 0), the system's default value is used.
+     * 
+ * + * int32 max_concurrent_backfill_tasks = 4; + * + * @return The maxConcurrentBackfillTasks. + */ + @java.lang.Override + public int getMaxConcurrentBackfillTasks() { + return maxConcurrentBackfillTasks_; + } + /** + * + * + *
+     * Maximum number of concurrent backfill tasks. The number should be
+     * non-negative. If not set (or set to 0), the system's default value is used.
+     * 
+ * + * int32 max_concurrent_backfill_tasks = 4; + * + * @param value The maxConcurrentBackfillTasks to set. + * @return This builder for chaining. + */ + public Builder setMaxConcurrentBackfillTasks(int value) { + + maxConcurrentBackfillTasks_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+     * Maximum number of concurrent backfill tasks. The number should be
+     * non-negative. If not set (or set to 0), the system's default value is used.
+     * 
+ * + * int32 max_concurrent_backfill_tasks = 4; + * + * @return This builder for chaining. + */ + public Builder clearMaxConcurrentBackfillTasks() { + bitField0_ = (bitField0_ & ~0x00000008); + maxConcurrentBackfillTasks_ = 0; + onChanged(); + return this; + } + private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjects, com.google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjects.Builder, @@ -2422,7 +2520,7 @@ public Builder clearDropLargeObjects() { * * *
-     * Stream large object values.
+     * Stream large object values. NOTE: This feature is currently experimental.
      * 
* * @@ -2439,7 +2537,7 @@ public boolean hasStreamLargeObjects() { * * *
-     * Stream large object values.
+     * Stream large object values. NOTE: This feature is currently experimental.
      * 
* * @@ -2470,7 +2568,7 @@ public boolean hasStreamLargeObjects() { * * *
-     * Stream large object values.
+     * Stream large object values. NOTE: This feature is currently experimental.
      * 
* * @@ -2495,7 +2593,7 @@ public Builder setStreamLargeObjects( * * *
-     * Stream large object values.
+     * Stream large object values. NOTE: This feature is currently experimental.
      * 
* * @@ -2518,7 +2616,7 @@ public Builder setStreamLargeObjects( * * *
-     * Stream large object values.
+     * Stream large object values. NOTE: This feature is currently experimental.
      * 
* * @@ -2556,7 +2654,7 @@ public Builder mergeStreamLargeObjects( * * *
-     * Stream large object values.
+     * Stream large object values. NOTE: This feature is currently experimental.
      * 
* * @@ -2583,7 +2681,7 @@ public Builder clearStreamLargeObjects() { * * *
-     * Stream large object values.
+     * Stream large object values. NOTE: This feature is currently experimental.
      * 
* * @@ -2598,7 +2696,7 @@ public Builder clearStreamLargeObjects() { * * *
-     * Stream large object values.
+     * Stream large object values. NOTE: This feature is currently experimental.
      * 
* * @@ -2623,7 +2721,7 @@ public Builder clearStreamLargeObjects() { * * *
-     * Stream large object values.
+     * Stream large object values. NOTE: This feature is currently experimental.
      * 
* * diff --git a/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/OracleSourceConfigOrBuilder.java b/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/OracleSourceConfigOrBuilder.java index f21df17f7bcd..d69281c22a50 100644 --- a/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/OracleSourceConfigOrBuilder.java +++ b/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/OracleSourceConfigOrBuilder.java @@ -97,8 +97,8 @@ public interface OracleSourceConfigOrBuilder * * *
-   * Maximum number of concurrent CDC tasks. The number should be non negative.
-   * If not set (or set to 0), the system's default value will be used.
+   * Maximum number of concurrent CDC tasks. The number should be non-negative.
+   * If not set (or set to 0), the system's default value is used.
    * 
* * int32 max_concurrent_cdc_tasks = 3; @@ -107,6 +107,20 @@ public interface OracleSourceConfigOrBuilder */ int getMaxConcurrentCdcTasks(); + /** + * + * + *
+   * Maximum number of concurrent backfill tasks. The number should be
+   * non-negative. If not set (or set to 0), the system's default value is used.
+   * 
+ * + * int32 max_concurrent_backfill_tasks = 4; + * + * @return The maxConcurrentBackfillTasks. + */ + int getMaxConcurrentBackfillTasks(); + /** * * @@ -150,7 +164,7 @@ public interface OracleSourceConfigOrBuilder * * *
-   * Stream large object values.
+   * Stream large object values. NOTE: This feature is currently experimental.
    * 
* * @@ -164,7 +178,7 @@ public interface OracleSourceConfigOrBuilder * * *
-   * Stream large object values.
+   * Stream large object values. NOTE: This feature is currently experimental.
    * 
* * @@ -178,7 +192,7 @@ public interface OracleSourceConfigOrBuilder * * *
-   * Stream large object values.
+   * Stream large object values. NOTE: This feature is currently experimental.
    * 
* * diff --git a/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/PostgresqlSourceConfig.java b/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/PostgresqlSourceConfig.java index d9d42f296b0b..bbf4f5218472 100644 --- a/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/PostgresqlSourceConfig.java +++ b/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/PostgresqlSourceConfig.java @@ -176,11 +176,13 @@ public com.google.cloud.datastream.v1.PostgresqlRdbmsOrBuilder getExcludeObjects * * *
-   * Required. The name of the logical replication slot that's configured with the
-   * pgoutput plugin.
+   * Required. Immutable. The name of the logical replication slot that's
+   * configured with the pgoutput plugin.
    * 
* - * string replication_slot = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * string replication_slot = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * * * @return The replicationSlot. */ @@ -200,11 +202,13 @@ public java.lang.String getReplicationSlot() { * * *
-   * Required. The name of the logical replication slot that's configured with the
-   * pgoutput plugin.
+   * Required. Immutable. The name of the logical replication slot that's
+   * configured with the pgoutput plugin.
    * 
* - * string replication_slot = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * string replication_slot = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * * * @return The bytes for replicationSlot. */ @@ -229,8 +233,8 @@ public com.google.protobuf.ByteString getReplicationSlotBytes() { * * *
-   * Required. The name of the publication that includes the set of all tables that are
-   * defined in the stream's include_objects.
+   * Required. The name of the publication that includes the set of all tables
+   * that are defined in the stream's include_objects.
    * 
* * string publication = 4 [(.google.api.field_behavior) = REQUIRED]; @@ -253,8 +257,8 @@ public java.lang.String getPublication() { * * *
-   * Required. The name of the publication that includes the set of all tables that are
-   * defined in the stream's include_objects.
+   * Required. The name of the publication that includes the set of all tables
+   * that are defined in the stream's include_objects.
    * 
* * string publication = 4 [(.google.api.field_behavior) = REQUIRED]; @@ -274,6 +278,26 @@ public com.google.protobuf.ByteString getPublicationBytes() { } } + public static final int MAX_CONCURRENT_BACKFILL_TASKS_FIELD_NUMBER = 5; + private int maxConcurrentBackfillTasks_ = 0; + /** + * + * + *
+   * Maximum number of concurrent backfill tasks. The number should be non
+   * negative. If not set (or set to 0), the system's default value will be
+   * used.
+   * 
+ * + * int32 max_concurrent_backfill_tasks = 5; + * + * @return The maxConcurrentBackfillTasks. + */ + @java.lang.Override + public int getMaxConcurrentBackfillTasks() { + return maxConcurrentBackfillTasks_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -300,6 +324,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(publication_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, publication_); } + if (maxConcurrentBackfillTasks_ != 0) { + output.writeInt32(5, maxConcurrentBackfillTasks_); + } getUnknownFields().writeTo(output); } @@ -321,6 +348,10 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(publication_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, publication_); } + if (maxConcurrentBackfillTasks_ != 0) { + size += + com.google.protobuf.CodedOutputStream.computeInt32Size(5, maxConcurrentBackfillTasks_); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -347,6 +378,7 @@ public boolean equals(final java.lang.Object obj) { } if (!getReplicationSlot().equals(other.getReplicationSlot())) return false; if (!getPublication().equals(other.getPublication())) return false; + if (getMaxConcurrentBackfillTasks() != other.getMaxConcurrentBackfillTasks()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -370,6 +402,8 @@ public int hashCode() { hash = (53 * hash) + getReplicationSlot().hashCode(); hash = (37 * hash) + PUBLICATION_FIELD_NUMBER; hash = (53 * hash) + getPublication().hashCode(); + hash = (37 * hash) + MAX_CONCURRENT_BACKFILL_TASKS_FIELD_NUMBER; + hash = (53 * hash) + getMaxConcurrentBackfillTasks(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -522,6 +556,7 @@ public Builder clear() { } replicationSlot_ = ""; publication_ = ""; + maxConcurrentBackfillTasks_ = 0; return this; } @@ -572,6 +607,9 @@ private void buildPartial0(com.google.cloud.datastream.v1.PostgresqlSourceConfig if (((from_bitField0_ & 0x00000008) != 0)) { result.publication_ = publication_; } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.maxConcurrentBackfillTasks_ = maxConcurrentBackfillTasks_; + } } @java.lang.Override @@ -636,6 +674,9 @@ public Builder mergeFrom(com.google.cloud.datastream.v1.PostgresqlSourceConfig o bitField0_ |= 0x00000008; onChanged(); } + if (other.getMaxConcurrentBackfillTasks() != 0) { + setMaxConcurrentBackfillTasks(other.getMaxConcurrentBackfillTasks()); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -686,6 +727,12 @@ public Builder mergeFrom( bitField0_ |= 0x00000008; break; } // case 34 + case 40: + { + maxConcurrentBackfillTasks_ = input.readInt32(); + bitField0_ |= 0x00000010; + break; + } // case 40 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -1080,11 +1127,13 @@ public com.google.cloud.datastream.v1.PostgresqlRdbmsOrBuilder getExcludeObjects * * *
-     * Required. The name of the logical replication slot that's configured with the
-     * pgoutput plugin.
+     * Required. Immutable. The name of the logical replication slot that's
+     * configured with the pgoutput plugin.
      * 
* - * string replication_slot = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * string replication_slot = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * * * @return The replicationSlot. */ @@ -1103,11 +1152,13 @@ public java.lang.String getReplicationSlot() { * * *
-     * Required. The name of the logical replication slot that's configured with the
-     * pgoutput plugin.
+     * Required. Immutable. The name of the logical replication slot that's
+     * configured with the pgoutput plugin.
      * 
* - * string replication_slot = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * string replication_slot = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * * * @return The bytes for replicationSlot. */ @@ -1126,11 +1177,13 @@ public com.google.protobuf.ByteString getReplicationSlotBytes() { * * *
-     * Required. The name of the logical replication slot that's configured with the
-     * pgoutput plugin.
+     * Required. Immutable. The name of the logical replication slot that's
+     * configured with the pgoutput plugin.
      * 
* - * string replication_slot = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * string replication_slot = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * * * @param value The replicationSlot to set. * @return This builder for chaining. @@ -1148,11 +1201,13 @@ public Builder setReplicationSlot(java.lang.String value) { * * *
-     * Required. The name of the logical replication slot that's configured with the
-     * pgoutput plugin.
+     * Required. Immutable. The name of the logical replication slot that's
+     * configured with the pgoutput plugin.
      * 
* - * string replication_slot = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * string replication_slot = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * * * @return This builder for chaining. */ @@ -1166,11 +1221,13 @@ public Builder clearReplicationSlot() { * * *
-     * Required. The name of the logical replication slot that's configured with the
-     * pgoutput plugin.
+     * Required. Immutable. The name of the logical replication slot that's
+     * configured with the pgoutput plugin.
      * 
* - * string replication_slot = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * string replication_slot = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * * * @param value The bytes for replicationSlot to set. * @return This builder for chaining. @@ -1191,8 +1248,8 @@ public Builder setReplicationSlotBytes(com.google.protobuf.ByteString value) { * * *
-     * Required. The name of the publication that includes the set of all tables that are
-     * defined in the stream's include_objects.
+     * Required. The name of the publication that includes the set of all tables
+     * that are defined in the stream's include_objects.
      * 
* * string publication = 4 [(.google.api.field_behavior) = REQUIRED]; @@ -1214,8 +1271,8 @@ public java.lang.String getPublication() { * * *
-     * Required. The name of the publication that includes the set of all tables that are
-     * defined in the stream's include_objects.
+     * Required. The name of the publication that includes the set of all tables
+     * that are defined in the stream's include_objects.
      * 
* * string publication = 4 [(.google.api.field_behavior) = REQUIRED]; @@ -1237,8 +1294,8 @@ public com.google.protobuf.ByteString getPublicationBytes() { * * *
-     * Required. The name of the publication that includes the set of all tables that are
-     * defined in the stream's include_objects.
+     * Required. The name of the publication that includes the set of all tables
+     * that are defined in the stream's include_objects.
      * 
* * string publication = 4 [(.google.api.field_behavior) = REQUIRED]; @@ -1259,8 +1316,8 @@ public Builder setPublication(java.lang.String value) { * * *
-     * Required. The name of the publication that includes the set of all tables that are
-     * defined in the stream's include_objects.
+     * Required. The name of the publication that includes the set of all tables
+     * that are defined in the stream's include_objects.
      * 
* * string publication = 4 [(.google.api.field_behavior) = REQUIRED]; @@ -1277,8 +1334,8 @@ public Builder clearPublication() { * * *
-     * Required. The name of the publication that includes the set of all tables that are
-     * defined in the stream's include_objects.
+     * Required. The name of the publication that includes the set of all tables
+     * that are defined in the stream's include_objects.
      * 
* * string publication = 4 [(.google.api.field_behavior) = REQUIRED]; @@ -1297,6 +1354,65 @@ public Builder setPublicationBytes(com.google.protobuf.ByteString value) { return this; } + private int maxConcurrentBackfillTasks_; + /** + * + * + *
+     * Maximum number of concurrent backfill tasks. The number should be non
+     * negative. If not set (or set to 0), the system's default value will be
+     * used.
+     * 
+ * + * int32 max_concurrent_backfill_tasks = 5; + * + * @return The maxConcurrentBackfillTasks. + */ + @java.lang.Override + public int getMaxConcurrentBackfillTasks() { + return maxConcurrentBackfillTasks_; + } + /** + * + * + *
+     * Maximum number of concurrent backfill tasks. The number should be non
+     * negative. If not set (or set to 0), the system's default value will be
+     * used.
+     * 
+ * + * int32 max_concurrent_backfill_tasks = 5; + * + * @param value The maxConcurrentBackfillTasks to set. + * @return This builder for chaining. + */ + public Builder setMaxConcurrentBackfillTasks(int value) { + + maxConcurrentBackfillTasks_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * + * + *
+     * Maximum number of concurrent backfill tasks. The number should be non
+     * negative. If not set (or set to 0), the system's default value will be
+     * used.
+     * 
+ * + * int32 max_concurrent_backfill_tasks = 5; + * + * @return This builder for chaining. + */ + public Builder clearMaxConcurrentBackfillTasks() { + bitField0_ = (bitField0_ & ~0x00000010); + maxConcurrentBackfillTasks_ = 0; + onChanged(); + return this; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/PostgresqlSourceConfigOrBuilder.java b/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/PostgresqlSourceConfigOrBuilder.java index 392de3dc37b2..ccbfe53d519a 100644 --- a/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/PostgresqlSourceConfigOrBuilder.java +++ b/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/PostgresqlSourceConfigOrBuilder.java @@ -97,11 +97,13 @@ public interface PostgresqlSourceConfigOrBuilder * * *
-   * Required. The name of the logical replication slot that's configured with the
-   * pgoutput plugin.
+   * Required. Immutable. The name of the logical replication slot that's
+   * configured with the pgoutput plugin.
    * 
* - * string replication_slot = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * string replication_slot = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * * * @return The replicationSlot. */ @@ -110,11 +112,13 @@ public interface PostgresqlSourceConfigOrBuilder * * *
-   * Required. The name of the logical replication slot that's configured with the
-   * pgoutput plugin.
+   * Required. Immutable. The name of the logical replication slot that's
+   * configured with the pgoutput plugin.
    * 
* - * string replication_slot = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * string replication_slot = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * * * @return The bytes for replicationSlot. */ @@ -124,8 +128,8 @@ public interface PostgresqlSourceConfigOrBuilder * * *
-   * Required. The name of the publication that includes the set of all tables that are
-   * defined in the stream's include_objects.
+   * Required. The name of the publication that includes the set of all tables
+   * that are defined in the stream's include_objects.
    * 
* * string publication = 4 [(.google.api.field_behavior) = REQUIRED]; @@ -137,8 +141,8 @@ public interface PostgresqlSourceConfigOrBuilder * * *
-   * Required. The name of the publication that includes the set of all tables that are
-   * defined in the stream's include_objects.
+   * Required. The name of the publication that includes the set of all tables
+   * that are defined in the stream's include_objects.
    * 
* * string publication = 4 [(.google.api.field_behavior) = REQUIRED]; @@ -146,4 +150,19 @@ public interface PostgresqlSourceConfigOrBuilder * @return The bytes for publication. */ com.google.protobuf.ByteString getPublicationBytes(); + + /** + * + * + *
+   * Maximum number of concurrent backfill tasks. The number should be non
+   * negative. If not set (or set to 0), the system's default value will be
+   * used.
+   * 
+ * + * int32 max_concurrent_backfill_tasks = 5; + * + * @return The maxConcurrentBackfillTasks. + */ + int getMaxConcurrentBackfillTasks(); } diff --git a/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/PrivateConnection.java b/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/PrivateConnection.java index 064647101b3e..48e68c9bf256 100644 --- a/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/PrivateConnection.java +++ b/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/PrivateConnection.java @@ -653,7 +653,8 @@ public com.google.cloud.datastream.v1.PrivateConnection.State getState() { * * *
-   * Output only. In case of error, the details of the error in a user-friendly format.
+   * Output only. In case of error, the details of the error in a user-friendly
+   * format.
    * 
* * .google.cloud.datastream.v1.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -669,7 +670,8 @@ public boolean hasError() { * * *
-   * Output only. In case of error, the details of the error in a user-friendly format.
+   * Output only. In case of error, the details of the error in a user-friendly
+   * format.
    * 
* * .google.cloud.datastream.v1.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -685,7 +687,8 @@ public com.google.cloud.datastream.v1.Error getError() { * * *
-   * Output only. In case of error, the details of the error in a user-friendly format.
+   * Output only. In case of error, the details of the error in a user-friendly
+   * format.
    * 
* * .google.cloud.datastream.v1.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -2208,7 +2211,8 @@ public Builder clearState() { * * *
-     * Output only. In case of error, the details of the error in a user-friendly format.
+     * Output only. In case of error, the details of the error in a user-friendly
+     * format.
      * 
* * @@ -2224,7 +2228,8 @@ public boolean hasError() { * * *
-     * Output only. In case of error, the details of the error in a user-friendly format.
+     * Output only. In case of error, the details of the error in a user-friendly
+     * format.
      * 
* * @@ -2244,7 +2249,8 @@ public com.google.cloud.datastream.v1.Error getError() { * * *
-     * Output only. In case of error, the details of the error in a user-friendly format.
+     * Output only. In case of error, the details of the error in a user-friendly
+     * format.
      * 
* * @@ -2268,7 +2274,8 @@ public Builder setError(com.google.cloud.datastream.v1.Error value) { * * *
-     * Output only. In case of error, the details of the error in a user-friendly format.
+     * Output only. In case of error, the details of the error in a user-friendly
+     * format.
      * 
* * @@ -2289,7 +2296,8 @@ public Builder setError(com.google.cloud.datastream.v1.Error.Builder builderForV * * *
-     * Output only. In case of error, the details of the error in a user-friendly format.
+     * Output only. In case of error, the details of the error in a user-friendly
+     * format.
      * 
* * @@ -2316,7 +2324,8 @@ public Builder mergeError(com.google.cloud.datastream.v1.Error value) { * * *
-     * Output only. In case of error, the details of the error in a user-friendly format.
+     * Output only. In case of error, the details of the error in a user-friendly
+     * format.
      * 
* * @@ -2337,7 +2346,8 @@ public Builder clearError() { * * *
-     * Output only. In case of error, the details of the error in a user-friendly format.
+     * Output only. In case of error, the details of the error in a user-friendly
+     * format.
      * 
* * @@ -2353,7 +2363,8 @@ public com.google.cloud.datastream.v1.Error.Builder getErrorBuilder() { * * *
-     * Output only. In case of error, the details of the error in a user-friendly format.
+     * Output only. In case of error, the details of the error in a user-friendly
+     * format.
      * 
* * @@ -2371,7 +2382,8 @@ public com.google.cloud.datastream.v1.ErrorOrBuilder getErrorOrBuilder() { * * *
-     * Output only. In case of error, the details of the error in a user-friendly format.
+     * Output only. In case of error, the details of the error in a user-friendly
+     * format.
      * 
* * diff --git a/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/PrivateConnectionOrBuilder.java b/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/PrivateConnectionOrBuilder.java index 224e89bfe1af..fcb83752892b 100644 --- a/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/PrivateConnectionOrBuilder.java +++ b/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/PrivateConnectionOrBuilder.java @@ -240,7 +240,8 @@ java.lang.String getLabelsOrDefault( * * *
-   * Output only. In case of error, the details of the error in a user-friendly format.
+   * Output only. In case of error, the details of the error in a user-friendly
+   * format.
    * 
* * .google.cloud.datastream.v1.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -253,7 +254,8 @@ java.lang.String getLabelsOrDefault( * * *
-   * Output only. In case of error, the details of the error in a user-friendly format.
+   * Output only. In case of error, the details of the error in a user-friendly
+   * format.
    * 
* * .google.cloud.datastream.v1.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -266,7 +268,8 @@ java.lang.String getLabelsOrDefault( * * *
-   * Output only. In case of error, the details of the error in a user-friendly format.
+   * Output only. In case of error, the details of the error in a user-friendly
+   * format.
    * 
* * .google.cloud.datastream.v1.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; diff --git a/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StartBackfillJobRequest.java b/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StartBackfillJobRequest.java index 7b48d2e913d8..5a2e99856901 100644 --- a/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StartBackfillJobRequest.java +++ b/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StartBackfillJobRequest.java @@ -75,7 +75,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. The name of the stream object resource to start a backfill job for.
+   * Required. The name of the stream object resource to start a backfill job
+   * for.
    * 
* * @@ -100,7 +101,8 @@ public java.lang.String getObject() { * * *
-   * Required. The name of the stream object resource to start a backfill job for.
+   * Required. The name of the stream object resource to start a backfill job
+   * for.
    * 
* * @@ -470,7 +472,8 @@ public Builder mergeFrom( * * *
-     * Required. The name of the stream object resource to start a backfill job for.
+     * Required. The name of the stream object resource to start a backfill job
+     * for.
      * 
* * @@ -494,7 +497,8 @@ public java.lang.String getObject() { * * *
-     * Required. The name of the stream object resource to start a backfill job for.
+     * Required. The name of the stream object resource to start a backfill job
+     * for.
      * 
* * @@ -518,7 +522,8 @@ public com.google.protobuf.ByteString getObjectBytes() { * * *
-     * Required. The name of the stream object resource to start a backfill job for.
+     * Required. The name of the stream object resource to start a backfill job
+     * for.
      * 
* * @@ -541,7 +546,8 @@ public Builder setObject(java.lang.String value) { * * *
-     * Required. The name of the stream object resource to start a backfill job for.
+     * Required. The name of the stream object resource to start a backfill job
+     * for.
      * 
* * @@ -560,7 +566,8 @@ public Builder clearObject() { * * *
-     * Required. The name of the stream object resource to start a backfill job for.
+     * Required. The name of the stream object resource to start a backfill job
+     * for.
      * 
* * diff --git a/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StartBackfillJobRequestOrBuilder.java b/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StartBackfillJobRequestOrBuilder.java index b4adbe22e5f7..9f94c7fac8db 100644 --- a/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StartBackfillJobRequestOrBuilder.java +++ b/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StartBackfillJobRequestOrBuilder.java @@ -27,7 +27,8 @@ public interface StartBackfillJobRequestOrBuilder * * *
-   * Required. The name of the stream object resource to start a backfill job for.
+   * Required. The name of the stream object resource to start a backfill job
+   * for.
    * 
* * @@ -41,7 +42,8 @@ public interface StartBackfillJobRequestOrBuilder * * *
-   * Required. The name of the stream object resource to start a backfill job for.
+   * Required. The name of the stream object resource to start a backfill job
+   * for.
    * 
* * diff --git a/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StaticServiceIpConnectivity.java b/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StaticServiceIpConnectivity.java index 9965364195a2..6adb975dbcdf 100644 --- a/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StaticServiceIpConnectivity.java +++ b/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StaticServiceIpConnectivity.java @@ -22,7 +22,9 @@ * * *
- * Static IP address connectivity.
+ * Static IP address connectivity. Used when the source database is configured
+ * to allow incoming connections from the Datastream public IP addresses
+ * for the region specified in the connection profile.
  * 
* * Protobuf type {@code google.cloud.datastream.v1.StaticServiceIpConnectivity} @@ -220,7 +222,9 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Static IP address connectivity.
+   * Static IP address connectivity. Used when the source database is configured
+   * to allow incoming connections from the Datastream public IP addresses
+   * for the region specified in the connection profile.
    * 
* * Protobuf type {@code google.cloud.datastream.v1.StaticServiceIpConnectivity} diff --git a/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StopBackfillJobRequest.java b/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StopBackfillJobRequest.java index 9524cb513ade..436d785c1c42 100644 --- a/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StopBackfillJobRequest.java +++ b/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StopBackfillJobRequest.java @@ -76,7 +76,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. The name of the stream object resource to stop the backfill job for.
+   * Required. The name of the stream object resource to stop the backfill job
+   * for.
    * 
* * @@ -101,7 +102,8 @@ public java.lang.String getObject() { * * *
-   * Required. The name of the stream object resource to stop the backfill job for.
+   * Required. The name of the stream object resource to stop the backfill job
+   * for.
    * 
* * @@ -472,7 +474,8 @@ public Builder mergeFrom( * * *
-     * Required. The name of the stream object resource to stop the backfill job for.
+     * Required. The name of the stream object resource to stop the backfill job
+     * for.
      * 
* * @@ -496,7 +499,8 @@ public java.lang.String getObject() { * * *
-     * Required. The name of the stream object resource to stop the backfill job for.
+     * Required. The name of the stream object resource to stop the backfill job
+     * for.
      * 
* * @@ -520,7 +524,8 @@ public com.google.protobuf.ByteString getObjectBytes() { * * *
-     * Required. The name of the stream object resource to stop the backfill job for.
+     * Required. The name of the stream object resource to stop the backfill job
+     * for.
      * 
* * @@ -543,7 +548,8 @@ public Builder setObject(java.lang.String value) { * * *
-     * Required. The name of the stream object resource to stop the backfill job for.
+     * Required. The name of the stream object resource to stop the backfill job
+     * for.
      * 
* * @@ -562,7 +568,8 @@ public Builder clearObject() { * * *
-     * Required. The name of the stream object resource to stop the backfill job for.
+     * Required. The name of the stream object resource to stop the backfill job
+     * for.
      * 
* * diff --git a/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StopBackfillJobRequestOrBuilder.java b/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StopBackfillJobRequestOrBuilder.java index 2852177482fd..97dac58975d9 100644 --- a/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StopBackfillJobRequestOrBuilder.java +++ b/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/StopBackfillJobRequestOrBuilder.java @@ -27,7 +27,8 @@ public interface StopBackfillJobRequestOrBuilder * * *
-   * Required. The name of the stream object resource to stop the backfill job for.
+   * Required. The name of the stream object resource to stop the backfill job
+   * for.
    * 
* * @@ -41,7 +42,8 @@ public interface StopBackfillJobRequestOrBuilder * * *
-   * Required. The name of the stream object resource to stop the backfill job for.
+   * Required. The name of the stream object resource to stop the backfill job
+   * for.
    * 
* * diff --git a/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/UpdateConnectionProfileRequest.java b/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/UpdateConnectionProfileRequest.java index 4e41b902cf07..137a6b94669d 100644 --- a/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/UpdateConnectionProfileRequest.java +++ b/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/UpdateConnectionProfileRequest.java @@ -262,8 +262,8 @@ public com.google.protobuf.ByteString getRequestIdBytes() { * * *
-   * Optional. Only validate the connection profile, but don't update any resources.
-   * The default is false.
+   * Optional. Only validate the connection profile, but don't update any
+   * resources. The default is false.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; @@ -1342,8 +1342,8 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { * * *
-     * Optional. Only validate the connection profile, but don't update any resources.
-     * The default is false.
+     * Optional. Only validate the connection profile, but don't update any
+     * resources. The default is false.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; @@ -1358,8 +1358,8 @@ public boolean getValidateOnly() { * * *
-     * Optional. Only validate the connection profile, but don't update any resources.
-     * The default is false.
+     * Optional. Only validate the connection profile, but don't update any
+     * resources. The default is false.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; @@ -1378,8 +1378,8 @@ public Builder setValidateOnly(boolean value) { * * *
-     * Optional. Only validate the connection profile, but don't update any resources.
-     * The default is false.
+     * Optional. Only validate the connection profile, but don't update any
+     * resources. The default is false.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/UpdateConnectionProfileRequestOrBuilder.java b/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/UpdateConnectionProfileRequestOrBuilder.java index cdd173161b0a..ce0220ab04d2 100644 --- a/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/UpdateConnectionProfileRequestOrBuilder.java +++ b/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/UpdateConnectionProfileRequestOrBuilder.java @@ -163,8 +163,8 @@ public interface UpdateConnectionProfileRequestOrBuilder * * *
-   * Optional. Only validate the connection profile, but don't update any resources.
-   * The default is false.
+   * Optional. Only validate the connection profile, but don't update any
+   * resources. The default is false.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/UpdateStreamRequest.java b/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/UpdateStreamRequest.java index 77cc04865c28..397bc203fcd7 100644 --- a/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/UpdateStreamRequest.java +++ b/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/UpdateStreamRequest.java @@ -254,8 +254,8 @@ public com.google.protobuf.ByteString getRequestIdBytes() { * * *
-   * Optional. Only validate the stream with the changes, without actually updating it.
-   * The default is false.
+   * Optional. Only validate the stream with the changes, without actually
+   * updating it. The default is false.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; @@ -1323,8 +1323,8 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { * * *
-     * Optional. Only validate the stream with the changes, without actually updating it.
-     * The default is false.
+     * Optional. Only validate the stream with the changes, without actually
+     * updating it. The default is false.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; @@ -1339,8 +1339,8 @@ public boolean getValidateOnly() { * * *
-     * Optional. Only validate the stream with the changes, without actually updating it.
-     * The default is false.
+     * Optional. Only validate the stream with the changes, without actually
+     * updating it. The default is false.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; @@ -1359,8 +1359,8 @@ public Builder setValidateOnly(boolean value) { * * *
-     * Optional. Only validate the stream with the changes, without actually updating it.
-     * The default is false.
+     * Optional. Only validate the stream with the changes, without actually
+     * updating it. The default is false.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/UpdateStreamRequestOrBuilder.java b/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/UpdateStreamRequestOrBuilder.java index 3daa8f061aa1..ffe1453e4023 100644 --- a/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/UpdateStreamRequestOrBuilder.java +++ b/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/UpdateStreamRequestOrBuilder.java @@ -160,8 +160,8 @@ public interface UpdateStreamRequestOrBuilder * * *
-   * Optional. Only validate the stream with the changes, without actually updating it.
-   * The default is false.
+   * Optional. Only validate the stream with the changes, without actually
+   * updating it. The default is false.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/java-datastream/proto-google-cloud-datastream-v1/src/main/proto/google/cloud/datastream/v1/datastream.proto b/java-datastream/proto-google-cloud-datastream-v1/src/main/proto/google/cloud/datastream/v1/datastream.proto index cd9770794501..bf0b13f5e2a2 100644 --- a/java-datastream/proto-google-cloud-datastream-v1/src/main/proto/google/cloud/datastream/v1/datastream.proto +++ b/java-datastream/proto-google-cloud-datastream-v1/src/main/proto/google/cloud/datastream/v1/datastream.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -22,6 +22,7 @@ import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/cloud/datastream/v1/datastream_resources.proto"; import "google/longrunning/operations.proto"; +import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; @@ -36,11 +37,13 @@ option ruby_package = "Google::Cloud::Datastream::V1"; // Datastream service service Datastream { option (google.api.default_host) = "datastream.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/cloud-platform"; // Use this method to list connection profiles created in a project and // location. - rpc ListConnectionProfiles(ListConnectionProfilesRequest) returns (ListConnectionProfilesResponse) { + rpc ListConnectionProfiles(ListConnectionProfilesRequest) + returns (ListConnectionProfilesResponse) { option (google.api.http) = { get: "/v1/{parent=projects/*/locations/*}/connectionProfiles" }; @@ -48,7 +51,8 @@ service Datastream { } // Use this method to get details about a connection profile. - rpc GetConnectionProfile(GetConnectionProfileRequest) returns (ConnectionProfile) { + rpc GetConnectionProfile(GetConnectionProfileRequest) + returns (ConnectionProfile) { option (google.api.http) = { get: "/v1/{name=projects/*/locations/*/connectionProfiles/*}" }; @@ -56,12 +60,14 @@ service Datastream { } // Use this method to create a connection profile in a project and location. - rpc CreateConnectionProfile(CreateConnectionProfileRequest) returns (google.longrunning.Operation) { + rpc CreateConnectionProfile(CreateConnectionProfileRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{parent=projects/*/locations/*}/connectionProfiles" body: "connection_profile" }; - option (google.api.method_signature) = "parent,connection_profile,connection_profile_id"; + option (google.api.method_signature) = + "parent,connection_profile,connection_profile_id"; option (google.longrunning.operation_info) = { response_type: "ConnectionProfile" metadata_type: "OperationMetadata" @@ -69,7 +75,8 @@ service Datastream { } // Use this method to update the parameters of a connection profile. - rpc UpdateConnectionProfile(UpdateConnectionProfileRequest) returns (google.longrunning.Operation) { + rpc UpdateConnectionProfile(UpdateConnectionProfileRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { patch: "/v1/{connection_profile.name=projects/*/locations/*/connectionProfiles/*}" body: "connection_profile" @@ -82,7 +89,8 @@ service Datastream { } // Use this method to delete a connection profile. - rpc DeleteConnectionProfile(DeleteConnectionProfileRequest) returns (google.longrunning.Operation) { + rpc DeleteConnectionProfile(DeleteConnectionProfileRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { delete: "/v1/{name=projects/*/locations/*/connectionProfiles/*}" }; @@ -97,7 +105,8 @@ service Datastream { // The discover API call exposes the data objects and metadata belonging to // the profile. Typically, a request returns children data objects of a // parent data object that's optionally supplied in the request. - rpc DiscoverConnectionProfile(DiscoverConnectionProfileRequest) returns (DiscoverConnectionProfileResponse) { + rpc DiscoverConnectionProfile(DiscoverConnectionProfileRequest) + returns (DiscoverConnectionProfileResponse) { option (google.api.http) = { post: "/v1/{parent=projects/*/locations/*}/connectionProfiles:discover" body: "*" @@ -175,7 +184,8 @@ service Datastream { } // Use this method to list the objects of a specific stream. - rpc ListStreamObjects(ListStreamObjectsRequest) returns (ListStreamObjectsResponse) { + rpc ListStreamObjects(ListStreamObjectsRequest) + returns (ListStreamObjectsResponse) { option (google.api.http) = { get: "/v1/{parent=projects/*/locations/*/streams/*}/objects" }; @@ -183,7 +193,8 @@ service Datastream { } // Use this method to start a backfill job for the specified stream object. - rpc StartBackfillJob(StartBackfillJobRequest) returns (StartBackfillJobResponse) { + rpc StartBackfillJob(StartBackfillJobRequest) + returns (StartBackfillJobResponse) { option (google.api.http) = { post: "/v1/{object=projects/*/locations/*/streams/*/objects/*}:startBackfillJob" body: "*" @@ -192,7 +203,8 @@ service Datastream { } // Use this method to stop a backfill job for the specified stream object. - rpc StopBackfillJob(StopBackfillJobRequest) returns (StopBackfillJobResponse) { + rpc StopBackfillJob(StopBackfillJobRequest) + returns (StopBackfillJobResponse) { option (google.api.http) = { post: "/v1/{object=projects/*/locations/*/streams/*/objects/*}:stopBackfillJob" body: "*" @@ -210,12 +222,14 @@ service Datastream { } // Use this method to create a private connectivity configuration. - rpc CreatePrivateConnection(CreatePrivateConnectionRequest) returns (google.longrunning.Operation) { + rpc CreatePrivateConnection(CreatePrivateConnectionRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{parent=projects/*/locations/*}/privateConnections" body: "private_connection" }; - option (google.api.method_signature) = "parent,private_connection,private_connection_id"; + option (google.api.method_signature) = + "parent,private_connection,private_connection_id"; option (google.longrunning.operation_info) = { response_type: "PrivateConnection" metadata_type: "OperationMetadata" @@ -223,7 +237,8 @@ service Datastream { } // Use this method to get details about a private connectivity configuration. - rpc GetPrivateConnection(GetPrivateConnectionRequest) returns (PrivateConnection) { + rpc GetPrivateConnection(GetPrivateConnectionRequest) + returns (PrivateConnection) { option (google.api.http) = { get: "/v1/{name=projects/*/locations/*/privateConnections/*}" }; @@ -232,7 +247,8 @@ service Datastream { // Use this method to list private connectivity configurations in a project // and location. - rpc ListPrivateConnections(ListPrivateConnectionsRequest) returns (ListPrivateConnectionsResponse) { + rpc ListPrivateConnections(ListPrivateConnectionsRequest) + returns (ListPrivateConnectionsResponse) { option (google.api.http) = { get: "/v1/{parent=projects/*/locations/*}/privateConnections" }; @@ -240,7 +256,8 @@ service Datastream { } // Use this method to delete a private connectivity configuration. - rpc DeletePrivateConnection(DeletePrivateConnectionRequest) returns (google.longrunning.Operation) { + rpc DeletePrivateConnection(DeletePrivateConnectionRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { delete: "/v1/{name=projects/*/locations/*/privateConnections/*}" }; @@ -297,8 +314,8 @@ service Datastream { // Request message for 'discover' ConnectionProfile request. message DiscoverConnectionProfileRequest { - // Required. The parent resource of the connection profile type. Must be in the - // format `projects/*/locations/*`. + // Required. The parent resource of the connection profile type. Must be in + // the format `projects/*/locations/*`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -355,8 +372,8 @@ message DiscoverConnectionProfileResponse { // Request message for 'FetchStaticIps' request. message FetchStaticIpsRequest { - // Required. The resource name for the location for which static IPs should be returned. - // Must be in the format `projects/*/locations/*`. + // Required. The resource name for the location for which static IPs should be + // returned. Must be in the format `projects/*/locations/*`. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -449,7 +466,8 @@ message CreateConnectionProfileRequest { string connection_profile_id = 2 [(google.api.field_behavior) = REQUIRED]; // Required. The connection profile resource to create. - ConnectionProfile connection_profile = 3 [(google.api.field_behavior) = REQUIRED]; + ConnectionProfile connection_profile = 3 + [(google.api.field_behavior) = REQUIRED]; // Optional. A request ID to identify requests. Specify a unique request ID // so that if you must retry your request, the server will know to ignore @@ -466,8 +484,8 @@ message CreateConnectionProfileRequest { // not supported (00000000-0000-0000-0000-000000000000). string request_id = 4 [(google.api.field_behavior) = OPTIONAL]; - // Optional. Only validate the connection profile, but don't create any resources. - // The default is false. + // Optional. Only validate the connection profile, but don't create any + // resources. The default is false. bool validate_only = 5 [(google.api.field_behavior) = OPTIONAL]; // Optional. Create the connection profile without validating it. @@ -481,10 +499,12 @@ message UpdateConnectionProfileRequest { // The fields specified in the update_mask are relative to the resource, not // the full request. A field will be overwritten if it is in the mask. If the // user does not provide a mask then all fields will be overwritten. - google.protobuf.FieldMask update_mask = 1 [(google.api.field_behavior) = OPTIONAL]; + google.protobuf.FieldMask update_mask = 1 + [(google.api.field_behavior) = OPTIONAL]; // Required. The connection profile to update. - ConnectionProfile connection_profile = 2 [(google.api.field_behavior) = REQUIRED]; + ConnectionProfile connection_profile = 2 + [(google.api.field_behavior) = REQUIRED]; // Optional. A request ID to identify requests. Specify a unique request ID // so that if you must retry your request, the server will know to ignore @@ -501,8 +521,8 @@ message UpdateConnectionProfileRequest { // not supported (00000000-0000-0000-0000-000000000000). string request_id = 3 [(google.api.field_behavior) = OPTIONAL]; - // Optional. Only validate the connection profile, but don't update any resources. - // The default is false. + // Optional. Only validate the connection profile, but don't update any + // resources. The default is false. bool validate_only = 4 [(google.api.field_behavior) = OPTIONAL]; // Optional. Update the connection profile without validating it. @@ -634,7 +654,8 @@ message UpdateStreamRequest { // The fields specified in the update_mask are relative to the resource, not // the full request. A field will be overwritten if it is in the mask. If the // user does not provide a mask then all fields will be overwritten. - google.protobuf.FieldMask update_mask = 1 [(google.api.field_behavior) = OPTIONAL]; + google.protobuf.FieldMask update_mask = 1 + [(google.api.field_behavior) = OPTIONAL]; // Required. The stream resource to update. Stream stream = 2 [(google.api.field_behavior) = REQUIRED]; @@ -654,8 +675,8 @@ message UpdateStreamRequest { // not supported (00000000-0000-0000-0000-000000000000). string request_id = 3 [(google.api.field_behavior) = OPTIONAL]; - // Optional. Only validate the stream with the changes, without actually updating it. - // The default is false. + // Optional. Only validate the stream with the changes, without actually + // updating it. The default is false. bool validate_only = 4 [(google.api.field_behavior) = OPTIONAL]; // Optional. Update the stream without validating it. @@ -711,12 +732,14 @@ message LookupStreamObjectRequest { ]; // Required. The source object identifier which maps to the stream object. - SourceObjectIdentifier source_object_identifier = 2 [(google.api.field_behavior) = REQUIRED]; + SourceObjectIdentifier source_object_identifier = 2 + [(google.api.field_behavior) = REQUIRED]; } // Request for manually initiating a backfill job for a specific stream object. message StartBackfillJobRequest { - // Required. The name of the stream object resource to start a backfill job for. + // Required. The name of the stream object resource to start a backfill job + // for. string object = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -734,7 +757,8 @@ message StartBackfillJobResponse { // Request for manually stopping a running backfill job for a specific stream // object. message StopBackfillJobRequest { - // Required. The name of the stream object resource to stop the backfill job for. + // Required. The name of the stream object resource to stop the backfill job + // for. string object = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -784,10 +808,12 @@ message ListStreamObjectsResponse { // Represents the metadata of the long-running operation. message OperationMetadata { // Output only. The time the operation was created. - google.protobuf.Timestamp create_time = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 1 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The time the operation finished running. - google.protobuf.Timestamp end_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp end_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Server-defined resource path for the target of the operation. string target = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -800,15 +826,17 @@ message OperationMetadata { // Output only. Identifies whether the user has requested cancellation // of the operation. Operations that have successfully been cancelled - // have [Operation.error][] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1, - // corresponding to `Code.CANCELLED`. + // have [Operation.error][] value with a + // [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to + // `Code.CANCELLED`. bool requested_cancellation = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. API version used to start the operation. string api_version = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Results of executed validations if there are any. - ValidationResult validation_result = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; + ValidationResult validation_result = 8 + [(google.api.field_behavior) = OUTPUT_ONLY]; } // Request for creating a private connection. @@ -825,7 +853,8 @@ message CreatePrivateConnectionRequest { string private_connection_id = 2 [(google.api.field_behavior) = REQUIRED]; // Required. The Private Connectivity resource to create. - PrivateConnection private_connection = 3 [(google.api.field_behavior) = REQUIRED]; + PrivateConnection private_connection = 3 + [(google.api.field_behavior) = REQUIRED]; // Optional. A request ID to identify requests. Specify a unique request ID // so that if you must retry your request, the server will know to ignore @@ -841,11 +870,15 @@ message CreatePrivateConnectionRequest { // The request ID must be a valid UUID with the exception that zero UUID is // not supported (00000000-0000-0000-0000-000000000000). string request_id = 4 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. If set to true, will skip validations. + bool force = 6 [(google.api.field_behavior) = OPTIONAL]; } // Request for listing private connections. message ListPrivateConnectionsRequest { - // Required. The parent that owns the collection of private connectivity configurations. + // Required. The parent that owns the collection of private connectivity + // configurations. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -912,8 +945,8 @@ message DeletePrivateConnectionRequest { // not supported (00000000-0000-0000-0000-000000000000). string request_id = 2 [(google.api.field_behavior) = OPTIONAL]; - // Optional. If set to true, any child routes that belong to this PrivateConnection will - // also be deleted. + // Optional. If set to true, any child routes that belong to this + // PrivateConnection will also be deleted. bool force = 3 [(google.api.field_behavior) = OPTIONAL]; } diff --git a/java-datastream/proto-google-cloud-datastream-v1/src/main/proto/google/cloud/datastream/v1/datastream_resources.proto b/java-datastream/proto-google-cloud-datastream-v1/src/main/proto/google/cloud/datastream/v1/datastream_resources.proto index 80a8deeaefbd..1007939dc8bc 100644 --- a/java-datastream/proto-google-cloud-datastream-v1/src/main/proto/google/cloud/datastream/v1/datastream_resources.proto +++ b/java-datastream/proto-google-cloud-datastream-v1/src/main/proto/google/cloud/datastream/v1/datastream_resources.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -103,14 +103,12 @@ message GcsProfile { } // BigQuery warehouse profile. -message BigQueryProfile { +message BigQueryProfile {} -} - -// Static IP address connectivity. -message StaticServiceIpConnectivity { - -} +// Static IP address connectivity. Used when the source database is configured +// to allow incoming connections from the Datastream public IP addresses +// for the region specified in the connection profile. +message StaticServiceIpConnectivity {} // Forward SSH Tunnel connectivity. message ForwardSshTunnelConnectivity { @@ -181,10 +179,12 @@ message PrivateConnection { string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The create time of the resource. - google.protobuf.Timestamp create_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The update time of the resource. - google.protobuf.Timestamp update_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Labels. map labels = 4; @@ -195,7 +195,8 @@ message PrivateConnection { // Output only. The state of the Private Connection. State state = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. In case of error, the details of the error in a user-friendly format. + // Output only. In case of error, the details of the error in a user-friendly + // format. Error error = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; // VPC Peering Config. @@ -226,10 +227,12 @@ message Route { string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The create time of the resource. - google.protobuf.Timestamp create_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The update time of the resource. - google.protobuf.Timestamp update_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Labels. map labels = 4; @@ -262,8 +265,8 @@ message MysqlSslConfig { // Output only. Indicates whether the client_certificate field is set. bool client_certificate_set = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Input only. PEM-encoded certificate of the CA that signed the source database - // server's certificate. + // Input only. PEM-encoded certificate of the CA that signed the source + // database server's certificate. string ca_certificate = 5 [(google.api.field_behavior) = INPUT_ONLY]; // Output only. Indicates whether the ca_certificate field is set. @@ -282,10 +285,12 @@ message ConnectionProfile { string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The create time of the resource. - google.protobuf.Timestamp create_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The update time of the resource. - google.protobuf.Timestamp update_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Labels. map labels = 4; @@ -383,14 +388,10 @@ message OracleRdbms { // Oracle data source configuration message OracleSourceConfig { // Configuration to drop large object values. - message DropLargeObjects { - - } + message DropLargeObjects {} // Configuration to stream large object values. - message StreamLargeObjects { - - } + message StreamLargeObjects {} // Oracle objects to include in the stream. OracleRdbms include_objects = 1; @@ -398,16 +399,20 @@ message OracleSourceConfig { // Oracle objects to exclude from the stream. OracleRdbms exclude_objects = 2; - // Maximum number of concurrent CDC tasks. The number should be non negative. - // If not set (or set to 0), the system's default value will be used. + // Maximum number of concurrent CDC tasks. The number should be non-negative. + // If not set (or set to 0), the system's default value is used. int32 max_concurrent_cdc_tasks = 3; + // Maximum number of concurrent backfill tasks. The number should be + // non-negative. If not set (or set to 0), the system's default value is used. + int32 max_concurrent_backfill_tasks = 4; + // The configuration for handle Oracle large objects. oneof large_objects_handling { // Drop large object values. DropLargeObjects drop_large_objects = 100; - // Stream large object values. + // Stream large object values. NOTE: This feature is currently experimental. StreamLargeObjects stream_large_objects = 102; } } @@ -473,13 +478,21 @@ message PostgresqlSourceConfig { // PostgreSQL objects to exclude from the stream. PostgresqlRdbms exclude_objects = 2; - // Required. The name of the logical replication slot that's configured with the - // pgoutput plugin. - string replication_slot = 3 [(google.api.field_behavior) = REQUIRED]; + // Required. Immutable. The name of the logical replication slot that's + // configured with the pgoutput plugin. + string replication_slot = 3 [ + (google.api.field_behavior) = REQUIRED, + (google.api.field_behavior) = IMMUTABLE + ]; - // Required. The name of the publication that includes the set of all tables that are - // defined in the stream's include_objects. + // Required. The name of the publication that includes the set of all tables + // that are defined in the stream's include_objects. string publication = 4 [(google.api.field_behavior) = REQUIRED]; + + // Maximum number of concurrent backfill tasks. The number should be non + // negative. If not set (or set to 0), the system's default value will be + // used. + int32 max_concurrent_backfill_tasks = 5; } // MySQL Column. @@ -544,6 +557,11 @@ message MysqlSourceConfig { // Maximum number of concurrent CDC tasks. The number should be non negative. // If not set (or set to 0), the system's default value will be used. int32 max_concurrent_cdc_tasks = 3; + + // Maximum number of concurrent backfill tasks. The number should be non + // negative. If not set (or set to 0), the system's default value will be + // used. + int32 max_concurrent_backfill_tasks = 4; } // The configuration of the stream source. @@ -571,9 +589,7 @@ message SourceConfig { } // AVRO file format configuration. -message AvroFileFormat { - -} +message AvroFileFormat {} // JSON file format configuration. message JsonFileFormat { @@ -617,7 +633,8 @@ message GcsDestinationConfig { int32 file_rotation_mb = 2; // The maximum duration for which new events are added before a file is - // closed and a new file is created. + // closed and a new file is created. Values within the range of 15-60 seconds + // are allowed. google.protobuf.Duration file_rotation_interval = 3; // File Format that the data should be written in. @@ -630,9 +647,11 @@ message GcsDestinationConfig { } } +// BigQuery destination configuration message BigQueryDestinationConfig { // A single target dataset to which all data will be streamed. message SingleTargetDataset { + // The dataset ID of the target dataset. string dataset_id = 1; } @@ -661,6 +680,7 @@ message BigQueryDestinationConfig { string kms_key_name = 3; } + // The dataset template to use for dynamic dataset creation. DatasetTemplate dataset_template = 2; } @@ -759,18 +779,18 @@ message Stream { } // Backfill strategy to disable automatic backfill for the Stream's objects. - message BackfillNoneStrategy { - - } + message BackfillNoneStrategy {} // Output only. The stream's name. string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The creation time of the stream. - google.protobuf.Timestamp create_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The last update time of the stream. - google.protobuf.Timestamp update_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Labels. map labels = 4; @@ -782,7 +802,8 @@ message Stream { SourceConfig source_config = 6 [(google.api.field_behavior) = REQUIRED]; // Required. Destination connection profile configuration. - DestinationConfig destination_config = 7 [(google.api.field_behavior) = REQUIRED]; + DestinationConfig destination_config = 7 + [(google.api.field_behavior) = REQUIRED]; // The state of the stream. State state = 8; @@ -804,7 +825,8 @@ message Stream { // If provided, it will be used to encrypt the data. // If left blank, data will be encrypted using an internal Stream-specific // encryption key provisioned through KMS. - optional string customer_managed_encryption_key = 10 [(google.api.field_behavior) = IMMUTABLE]; + optional string customer_managed_encryption_key = 10 + [(google.api.field_behavior) = IMMUTABLE]; } // A specific stream object (e.g a specific DB table). @@ -818,10 +840,12 @@ message StreamObject { string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The creation time of the object. - google.protobuf.Timestamp create_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The last update time of the object. - google.protobuf.Timestamp update_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Required. Display name. string display_name = 5 [(google.api.field_behavior) = REQUIRED]; @@ -930,10 +954,12 @@ message BackfillJob { Trigger trigger = 2; // Output only. Backfill job's start time. - google.protobuf.Timestamp last_start_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp last_start_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Backfill job's end time. - google.protobuf.Timestamp last_end_time = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp last_end_time = 4 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Errors which caused the backfill job to fail. repeated Error errors = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; diff --git a/java-datastream/samples/snippets/generated/com/google/cloud/datastream/v1/datastream/createprivateconnection/AsyncCreatePrivateConnection.java b/java-datastream/samples/snippets/generated/com/google/cloud/datastream/v1/datastream/createprivateconnection/AsyncCreatePrivateConnection.java index 00754e7922f3..aed4113809ed 100644 --- a/java-datastream/samples/snippets/generated/com/google/cloud/datastream/v1/datastream/createprivateconnection/AsyncCreatePrivateConnection.java +++ b/java-datastream/samples/snippets/generated/com/google/cloud/datastream/v1/datastream/createprivateconnection/AsyncCreatePrivateConnection.java @@ -43,6 +43,7 @@ public static void asyncCreatePrivateConnection() throws Exception { .setPrivateConnectionId("privateConnectionId-1926654532") .setPrivateConnection(PrivateConnection.newBuilder().build()) .setRequestId("requestId693933066") + .setForce(true) .build(); ApiFuture future = datastreamClient.createPrivateConnectionCallable().futureCall(request); diff --git a/java-datastream/samples/snippets/generated/com/google/cloud/datastream/v1/datastream/createprivateconnection/AsyncCreatePrivateConnectionLRO.java b/java-datastream/samples/snippets/generated/com/google/cloud/datastream/v1/datastream/createprivateconnection/AsyncCreatePrivateConnectionLRO.java index cf9574f8bd5a..2fec769278fc 100644 --- a/java-datastream/samples/snippets/generated/com/google/cloud/datastream/v1/datastream/createprivateconnection/AsyncCreatePrivateConnectionLRO.java +++ b/java-datastream/samples/snippets/generated/com/google/cloud/datastream/v1/datastream/createprivateconnection/AsyncCreatePrivateConnectionLRO.java @@ -43,6 +43,7 @@ public static void asyncCreatePrivateConnectionLRO() throws Exception { .setPrivateConnectionId("privateConnectionId-1926654532") .setPrivateConnection(PrivateConnection.newBuilder().build()) .setRequestId("requestId693933066") + .setForce(true) .build(); OperationFuture future = datastreamClient.createPrivateConnectionOperationCallable().futureCall(request); diff --git a/java-datastream/samples/snippets/generated/com/google/cloud/datastream/v1/datastream/createprivateconnection/SyncCreatePrivateConnection.java b/java-datastream/samples/snippets/generated/com/google/cloud/datastream/v1/datastream/createprivateconnection/SyncCreatePrivateConnection.java index 61a4b6b69602..50f0c77c2d0a 100644 --- a/java-datastream/samples/snippets/generated/com/google/cloud/datastream/v1/datastream/createprivateconnection/SyncCreatePrivateConnection.java +++ b/java-datastream/samples/snippets/generated/com/google/cloud/datastream/v1/datastream/createprivateconnection/SyncCreatePrivateConnection.java @@ -41,6 +41,7 @@ public static void syncCreatePrivateConnection() throws Exception { .setPrivateConnectionId("privateConnectionId-1926654532") .setPrivateConnection(PrivateConnection.newBuilder().build()) .setRequestId("requestId693933066") + .setForce(true) .build(); PrivateConnection response = datastreamClient.createPrivateConnectionAsync(request).get(); }