From 20d3623d36ad9f919ce2d4a727b50fc9692adfa0 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Wed, 20 Oct 2021 21:40:14 +0000 Subject: [PATCH] chore(filestore): add common_java_proto dep to java_assembly_pkg (#79) - [x] Regenerate this pull request now. PiperOrigin-RevId: 403182344 Source-Link: https://github.com/googleapis/googleapis/commit/b44c45ca32db478554a3b8e2e04d317ed2f466f4 Source-Link: https://github.com/googleapis/googleapis-gen/commit/35bc860f6a1b0c4330fd895bd30a7faa446b28b1 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMzViYzg2MGY2YTFiMGM0MzMwZmQ4OTViZDMwYTdmYWE0NDZiMjhiMSJ9 fix(filestore): add missing operation_metadata.proto import --- .../cloud/filestore/v1/package-info.java | 4 +- .../CloudFilestoreManagerStubSettings.java | 4 +- .../CloudFilestoreManagerStubSettings.java | 4 +- .../cloud/common/OperationMetadata.java | 16 +- .../com/google/cloud/filestore/v1/Backup.java | 84 ++--- .../cloud/filestore/v1/BackupOrBuilder.java | 18 +- .../v1/CloudFilestoreServiceProto.java | 343 +++++++++--------- .../filestore/v1/CreateBackupRequest.java | 8 +- .../filestore/v1/CreateInstanceRequest.java | 8 +- .../filestore/v1/DeleteBackupRequest.java | 4 +- .../filestore/v1/DeleteInstanceRequest.java | 4 +- .../cloud/filestore/v1/FileShareConfig.java | 4 +- .../cloud/filestore/v1/GetBackupRequest.java | 4 +- .../filestore/v1/GetInstanceRequest.java | 4 +- .../google/cloud/filestore/v1/Instance.java | 16 +- .../filestore/v1/ListBackupsRequest.java | 86 ++--- .../v1/ListBackupsRequestOrBuilder.java | 20 +- .../filestore/v1/ListBackupsResponse.java | 4 +- .../filestore/v1/ListInstancesRequest.java | 58 +-- .../v1/ListInstancesRequestOrBuilder.java | 12 +- .../filestore/v1/ListInstancesResponse.java | 4 +- .../cloud/filestore/v1/NetworkConfig.java | 8 +- .../filestore/v1/RestoreInstanceRequest.java | 36 +- .../v1/RestoreInstanceRequestOrBuilder.java | 8 +- .../filestore/v1/UpdateBackupRequest.java | 48 +-- .../v1/UpdateBackupRequestOrBuilder.java | 12 +- .../v1/cloud_filestore_service.proto | 110 +++--- .../cloud/common/OperationMetadata.java | 16 +- .../cloud/filestore/v1beta1/Backup.java | 16 +- .../v1beta1/CreateBackupRequest.java | 8 +- .../v1beta1/CreateInstanceRequest.java | 8 +- .../v1beta1/DeleteBackupRequest.java | 4 +- .../v1beta1/DeleteInstanceRequest.java | 4 +- .../filestore/v1beta1/FileShareConfig.java | 4 +- .../filestore/v1beta1/GetBackupRequest.java | 4 +- .../filestore/v1beta1/GetInstanceRequest.java | 4 +- .../cloud/filestore/v1beta1/Instance.java | 16 +- .../filestore/v1beta1/ListBackupsRequest.java | 16 +- .../v1beta1/ListBackupsResponse.java | 4 +- .../v1beta1/ListInstancesRequest.java | 16 +- .../v1beta1/ListInstancesResponse.java | 4 +- .../filestore/v1beta1/NetworkConfig.java | 8 +- .../v1beta1/RestoreInstanceRequest.java | 8 +- 43 files changed, 541 insertions(+), 530 deletions(-) diff --git a/google-cloud-filestore/src/main/java/com/google/cloud/filestore/v1/package-info.java b/google-cloud-filestore/src/main/java/com/google/cloud/filestore/v1/package-info.java index 0978e29f..37c701c0 100644 --- a/google-cloud-filestore/src/main/java/com/google/cloud/filestore/v1/package-info.java +++ b/google-cloud-filestore/src/main/java/com/google/cloud/filestore/v1/package-info.java @@ -15,7 +15,9 @@ */ /** - * The interfaces provided are listed below, along with usage samples. + * A client to Cloud Filestore API + * + *
The interfaces provided are listed below, along with usage samples. * *
======================= CloudFilestoreManagerClient =======================
*
diff --git a/google-cloud-filestore/src/main/java/com/google/cloud/filestore/v1/stub/CloudFilestoreManagerStubSettings.java b/google-cloud-filestore/src/main/java/com/google/cloud/filestore/v1/stub/CloudFilestoreManagerStubSettings.java
index 6356e47a..8d6b90c7 100644
--- a/google-cloud-filestore/src/main/java/com/google/cloud/filestore/v1/stub/CloudFilestoreManagerStubSettings.java
+++ b/google-cloud-filestore/src/main/java/com/google/cloud/filestore/v1/stub/CloudFilestoreManagerStubSettings.java
@@ -380,7 +380,9 @@ public static List
- * Output only. The size of the storage used by the backup. As backups share storage,
- * this number is expected to change with backup creation/deletion.
+ * Output only. The size of the storage used by the backup. As backups share
+ * storage, this number is expected to change with backup creation/deletion.
*
*
* int64 storage_bytes = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
@@ -860,8 +860,8 @@ public com.google.protobuf.ByteString getSourceFileShareBytes() {
*
*
*
- * Output only. The service tier of the source Cloud Filestore instance that this backup
- * is created from.
+ * Output only. The service tier of the source Cloud Filestore instance that
+ * this backup is created from.
*
*
*
@@ -878,8 +878,8 @@ public int getSourceInstanceTierValue() {
*
*
*
- * Output only. The service tier of the source Cloud Filestore instance that this backup
- * is created from.
+ * Output only. The service tier of the source Cloud Filestore instance that
+ * this backup is created from.
*
*
*
@@ -902,9 +902,9 @@ public com.google.cloud.filestore.v1.Instance.Tier getSourceInstanceTier() {
*
*
*
- * Output only. Amount of bytes that will be downloaded if the backup is restored. This
- * may be different than storage bytes, since sequential backups of the same
- * disk will share storage.
+ * Output only. Amount of bytes that will be downloaded if the backup is
+ * restored. This may be different than storage bytes, since sequential
+ * backups of the same disk will share storage.
*
*
* int64 download_bytes = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
@@ -984,10 +984,10 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (!getNameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
}
- if (!getDescriptionBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, description_);
}
if (state_ != com.google.cloud.filestore.v1.Backup.State.STATE_UNSPECIFIED.getNumber()) {
@@ -1004,10 +1004,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (storageBytes_ != 0L) {
output.writeInt64(7, storageBytes_);
}
- if (!getSourceInstanceBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sourceInstance_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 8, sourceInstance_);
}
- if (!getSourceFileShareBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sourceFileShare_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 9, sourceFileShare_);
}
if (sourceInstanceTier_
@@ -1029,10 +1029,10 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (!getNameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
}
- if (!getDescriptionBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, description_);
}
if (state_ != com.google.cloud.filestore.v1.Backup.State.STATE_UNSPECIFIED.getNumber()) {
@@ -1057,10 +1057,10 @@ public int getSerializedSize() {
if (storageBytes_ != 0L) {
size += com.google.protobuf.CodedOutputStream.computeInt64Size(7, storageBytes_);
}
- if (!getSourceInstanceBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sourceInstance_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, sourceInstance_);
}
- if (!getSourceFileShareBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sourceFileShare_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, sourceFileShare_);
}
if (sourceInstanceTier_
@@ -2246,8 +2246,8 @@ public Builder clearCapacityGb() {
*
*
*
- * Output only. The size of the storage used by the backup. As backups share storage,
- * this number is expected to change with backup creation/deletion.
+ * Output only. The size of the storage used by the backup. As backups share
+ * storage, this number is expected to change with backup creation/deletion.
*
*
* int64 storage_bytes = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
@@ -2262,8 +2262,8 @@ public long getStorageBytes() {
*
*
*
- * Output only. The size of the storage used by the backup. As backups share storage,
- * this number is expected to change with backup creation/deletion.
+ * Output only. The size of the storage used by the backup. As backups share
+ * storage, this number is expected to change with backup creation/deletion.
*
*
* int64 storage_bytes = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
@@ -2281,8 +2281,8 @@ public Builder setStorageBytes(long value) {
*
*
*
- * Output only. The size of the storage used by the backup. As backups share storage,
- * this number is expected to change with backup creation/deletion.
+ * Output only. The size of the storage used by the backup. As backups share
+ * storage, this number is expected to change with backup creation/deletion.
*
*
* int64 storage_bytes = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
@@ -2528,8 +2528,8 @@ public Builder setSourceFileShareBytes(com.google.protobuf.ByteString value) {
*
*
*
- * Output only. The service tier of the source Cloud Filestore instance that this backup
- * is created from.
+ * Output only. The service tier of the source Cloud Filestore instance that
+ * this backup is created from.
*
*
*
@@ -2546,8 +2546,8 @@ public int getSourceInstanceTierValue() {
*
*
*
- * Output only. The service tier of the source Cloud Filestore instance that this backup
- * is created from.
+ * Output only. The service tier of the source Cloud Filestore instance that
+ * this backup is created from.
*
*
*
@@ -2567,8 +2567,8 @@ public Builder setSourceInstanceTierValue(int value) {
*
*
*
- * Output only. The service tier of the source Cloud Filestore instance that this backup
- * is created from.
+ * Output only. The service tier of the source Cloud Filestore instance that
+ * this backup is created from.
*
*
*
@@ -2588,8 +2588,8 @@ public com.google.cloud.filestore.v1.Instance.Tier getSourceInstanceTier() {
*
*
*
- * Output only. The service tier of the source Cloud Filestore instance that this backup
- * is created from.
+ * Output only. The service tier of the source Cloud Filestore instance that
+ * this backup is created from.
*
*
*
@@ -2612,8 +2612,8 @@ public Builder setSourceInstanceTier(com.google.cloud.filestore.v1.Instance.Tier
*
*
*
- * Output only. The service tier of the source Cloud Filestore instance that this backup
- * is created from.
+ * Output only. The service tier of the source Cloud Filestore instance that
+ * this backup is created from.
*
*
*
@@ -2634,9 +2634,9 @@ public Builder clearSourceInstanceTier() {
*
*
*
- * Output only. Amount of bytes that will be downloaded if the backup is restored. This
- * may be different than storage bytes, since sequential backups of the same
- * disk will share storage.
+ * Output only. Amount of bytes that will be downloaded if the backup is
+ * restored. This may be different than storage bytes, since sequential
+ * backups of the same disk will share storage.
*
*
* int64 download_bytes = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
@@ -2651,9 +2651,9 @@ public long getDownloadBytes() {
*
*
*
- * Output only. Amount of bytes that will be downloaded if the backup is restored. This
- * may be different than storage bytes, since sequential backups of the same
- * disk will share storage.
+ * Output only. Amount of bytes that will be downloaded if the backup is
+ * restored. This may be different than storage bytes, since sequential
+ * backups of the same disk will share storage.
*
*
* int64 download_bytes = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
@@ -2671,9 +2671,9 @@ public Builder setDownloadBytes(long value) {
*
*
*
- * Output only. Amount of bytes that will be downloaded if the backup is restored. This
- * may be different than storage bytes, since sequential backups of the same
- * disk will share storage.
+ * Output only. Amount of bytes that will be downloaded if the backup is
+ * restored. This may be different than storage bytes, since sequential
+ * backups of the same disk will share storage.
*
*
* int64 download_bytes = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
diff --git a/proto-google-cloud-filestore-v1/src/main/java/com/google/cloud/filestore/v1/BackupOrBuilder.java b/proto-google-cloud-filestore-v1/src/main/java/com/google/cloud/filestore/v1/BackupOrBuilder.java
index b95431d1..2c7cf378 100644
--- a/proto-google-cloud-filestore-v1/src/main/java/com/google/cloud/filestore/v1/BackupOrBuilder.java
+++ b/proto-google-cloud-filestore-v1/src/main/java/com/google/cloud/filestore/v1/BackupOrBuilder.java
@@ -215,8 +215,8 @@ public interface BackupOrBuilder
*
*
*
- * Output only. The size of the storage used by the backup. As backups share storage,
- * this number is expected to change with backup creation/deletion.
+ * Output only. The size of the storage used by the backup. As backups share
+ * storage, this number is expected to change with backup creation/deletion.
*
*
* int64 storage_bytes = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
@@ -285,8 +285,8 @@ public interface BackupOrBuilder
*
*
*
- * Output only. The service tier of the source Cloud Filestore instance that this backup
- * is created from.
+ * Output only. The service tier of the source Cloud Filestore instance that
+ * this backup is created from.
*
*
*
@@ -300,8 +300,8 @@ public interface BackupOrBuilder
*
*
*
- * Output only. The service tier of the source Cloud Filestore instance that this backup
- * is created from.
+ * Output only. The service tier of the source Cloud Filestore instance that
+ * this backup is created from.
*
*
*
@@ -316,9 +316,9 @@ public interface BackupOrBuilder
*
*
*
- * Output only. Amount of bytes that will be downloaded if the backup is restored. This
- * may be different than storage bytes, since sequential backups of the same
- * disk will share storage.
+ * Output only. Amount of bytes that will be downloaded if the backup is
+ * restored. This may be different than storage bytes, since sequential
+ * backups of the same disk will share storage.
*
*
* int64 download_bytes = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
diff --git a/proto-google-cloud-filestore-v1/src/main/java/com/google/cloud/filestore/v1/CloudFilestoreServiceProto.java b/proto-google-cloud-filestore-v1/src/main/java/com/google/cloud/filestore/v1/CloudFilestoreServiceProto.java
index 8ad23d1e..108e446f 100644
--- a/proto-google-cloud-filestore-v1/src/main/java/com/google/cloud/filestore/v1/CloudFilestoreServiceProto.java
+++ b/proto-google-cloud-filestore-v1/src/main/java/com/google/cloud/filestore/v1/CloudFilestoreServiceProto.java
@@ -121,176 +121,177 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "e.v1\032\034google/api/annotations.proto\032\027goog"
+ "le/api/client.proto\032\037google/api/field_be"
+ "havior.proto\032\031google/api/resource.proto\032"
- + "#google/longrunning/operations.proto\032 go"
- + "ogle/protobuf/field_mask.proto\032\037google/p"
- + "rotobuf/timestamp.proto\032\036google/protobuf"
- + "/wrappers.proto\"\327\001\n\rNetworkConfig\022\017\n\007net"
- + "work\030\001 \001(\t\022C\n\005modes\030\003 \003(\01624.google.cloud"
- + ".filestore.v1.NetworkConfig.AddressMode\022"
- + "\031\n\021reserved_ip_range\030\004 \001(\t\022\031\n\014ip_address"
- + "es\030\005 \003(\tB\003\340A\003\":\n\013AddressMode\022\034\n\030ADDRESS_"
- + "MODE_UNSPECIFIED\020\000\022\r\n\tMODE_IPV4\020\001\"\301\001\n\017Fi"
- + "leShareConfig\022\014\n\004name\030\001 \001(\t\022\023\n\013capacity_"
- + "gb\030\002 \001(\003\0228\n\rsource_backup\030\010 \001(\tB\037\372A\034\n\032fi"
- + "le.googleapis.com/BackupH\000\022G\n\022nfs_export"
- + "_options\030\007 \003(\0132+.google.cloud.filestore."
- + "v1.NfsExportOptionsB\010\n\006source\"\375\002\n\020NfsExp"
- + "ortOptions\022\021\n\tip_ranges\030\001 \003(\t\022K\n\013access_"
- + "mode\030\002 \001(\01626.google.cloud.filestore.v1.N"
- + "fsExportOptions.AccessMode\022K\n\013squash_mod"
- + "e\030\003 \001(\01626.google.cloud.filestore.v1.NfsE"
- + "xportOptions.SquashMode\022\020\n\010anon_uid\030\004 \001("
- + "\003\022\020\n\010anon_gid\030\005 \001(\003\"H\n\nAccessMode\022\033\n\027ACC"
- + "ESS_MODE_UNSPECIFIED\020\000\022\r\n\tREAD_ONLY\020\001\022\016\n"
- + "\nREAD_WRITE\020\002\"N\n\nSquashMode\022\033\n\027SQUASH_MO"
- + "DE_UNSPECIFIED\020\000\022\022\n\016NO_ROOT_SQUASH\020\001\022\017\n\013"
- + "ROOT_SQUASH\020\002\"\353\006\n\010Instance\022\021\n\004name\030\001 \001(\t"
- + "B\003\340A\003\022\023\n\013description\030\002 \001(\t\022=\n\005state\030\005 \001("
- + "\0162).google.cloud.filestore.v1.Instance.S"
- + "tateB\003\340A\003\022\033\n\016status_message\030\006 \001(\tB\003\340A\003\0224"
- + "\n\013create_time\030\007 \001(\0132\032.google.protobuf.Ti"
- + "mestampB\003\340A\003\0226\n\004tier\030\010 \001(\0162(.google.clou"
- + "d.filestore.v1.Instance.Tier\022?\n\006labels\030\t"
- + " \003(\0132/.google.cloud.filestore.v1.Instanc"
- + "e.LabelsEntry\022?\n\013file_shares\030\n \003(\0132*.goo"
- + "gle.cloud.filestore.v1.FileShareConfig\022:"
- + "\n\010networks\030\013 \003(\0132(.google.cloud.filestor"
- + "e.v1.NetworkConfig\022\014\n\004etag\030\014 \001(\t\0226\n\rsati"
- + "sfies_pzs\030\r \001(\0132\032.google.protobuf.BoolVa"
- + "lueB\003\340A\003\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005"
- + "value\030\002 \001(\t:\0028\001\"n\n\005State\022\025\n\021STATE_UNSPEC"
- + "IFIED\020\000\022\014\n\010CREATING\020\001\022\t\n\005READY\020\002\022\r\n\tREPA"
- + "IRING\020\003\022\014\n\010DELETING\020\004\022\t\n\005ERROR\020\006\022\r\n\tREST"
- + "ORING\020\007\"i\n\004Tier\022\024\n\020TIER_UNSPECIFIED\020\000\022\014\n"
- + "\010STANDARD\020\001\022\013\n\007PREMIUM\020\002\022\r\n\tBASIC_HDD\020\003\022"
- + "\r\n\tBASIC_SSD\020\004\022\022\n\016HIGH_SCALE_SSD\020\005:_\352A\\\n"
- + "\034file.googleapis.com/Instance\022
- * Required. The project and location for which to retrieve backup information,
- * in the format `projects/{project_number}/locations/{location}`.
- * In Cloud Filestore, backup locations map to GCP regions,
- * for example **us-west1**.
- * To retrieve backup information for all locations, use "-" for the
+ * Required. The project and location for which to retrieve backup
+ * information, in the format
+ * `projects/{project_number}/locations/{location}`. In Cloud Filestore,
+ * backup locations map to GCP regions, for example **us-west1**. To retrieve
+ * backup information for all locations, use "-" for the
* `{location}` value.
*
*
@@ -176,11 +176,11 @@ public java.lang.String getParent() {
*
*
*
- * Required. The project and location for which to retrieve backup information,
- * in the format `projects/{project_number}/locations/{location}`.
- * In Cloud Filestore, backup locations map to GCP regions,
- * for example **us-west1**.
- * To retrieve backup information for all locations, use "-" for the
+ * Required. The project and location for which to retrieve backup
+ * information, in the format
+ * `projects/{project_number}/locations/{location}`. In Cloud Filestore,
+ * backup locations map to GCP regions, for example **us-west1**. To retrieve
+ * backup information for all locations, use "-" for the
* `{location}` value.
*
*
@@ -384,19 +384,19 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (!getParentBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_);
}
if (pageSize_ != 0) {
output.writeInt32(2, pageSize_);
}
- if (!getPageTokenBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pageToken_);
}
- if (!getOrderByBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, orderBy_);
}
- if (!getFilterBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, filter_);
}
unknownFields.writeTo(output);
@@ -408,19 +408,19 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (!getParentBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_);
}
if (pageSize_ != 0) {
size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_);
}
- if (!getPageTokenBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_);
}
- if (!getOrderByBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, orderBy_);
}
- if (!getFilterBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, filter_);
}
size += unknownFields.getSerializedSize();
@@ -755,11 +755,11 @@ public Builder mergeFrom(
*
*
*
- * Required. The project and location for which to retrieve backup information,
- * in the format `projects/{project_number}/locations/{location}`.
- * In Cloud Filestore, backup locations map to GCP regions,
- * for example **us-west1**.
- * To retrieve backup information for all locations, use "-" for the
+ * Required. The project and location for which to retrieve backup
+ * information, in the format
+ * `projects/{project_number}/locations/{location}`. In Cloud Filestore,
+ * backup locations map to GCP regions, for example **us-west1**. To retrieve
+ * backup information for all locations, use "-" for the
* `{location}` value.
*
*
@@ -784,11 +784,11 @@ public java.lang.String getParent() {
*
*
*
- * Required. The project and location for which to retrieve backup information,
- * in the format `projects/{project_number}/locations/{location}`.
- * In Cloud Filestore, backup locations map to GCP regions,
- * for example **us-west1**.
- * To retrieve backup information for all locations, use "-" for the
+ * Required. The project and location for which to retrieve backup
+ * information, in the format
+ * `projects/{project_number}/locations/{location}`. In Cloud Filestore,
+ * backup locations map to GCP regions, for example **us-west1**. To retrieve
+ * backup information for all locations, use "-" for the
* `{location}` value.
*
*
@@ -813,11 +813,11 @@ public com.google.protobuf.ByteString getParentBytes() {
*
*
*
- * Required. The project and location for which to retrieve backup information,
- * in the format `projects/{project_number}/locations/{location}`.
- * In Cloud Filestore, backup locations map to GCP regions,
- * for example **us-west1**.
- * To retrieve backup information for all locations, use "-" for the
+ * Required. The project and location for which to retrieve backup
+ * information, in the format
+ * `projects/{project_number}/locations/{location}`. In Cloud Filestore,
+ * backup locations map to GCP regions, for example **us-west1**. To retrieve
+ * backup information for all locations, use "-" for the
* `{location}` value.
*
*
@@ -841,11 +841,11 @@ public Builder setParent(java.lang.String value) {
*
*
*
- * Required. The project and location for which to retrieve backup information,
- * in the format `projects/{project_number}/locations/{location}`.
- * In Cloud Filestore, backup locations map to GCP regions,
- * for example **us-west1**.
- * To retrieve backup information for all locations, use "-" for the
+ * Required. The project and location for which to retrieve backup
+ * information, in the format
+ * `projects/{project_number}/locations/{location}`. In Cloud Filestore,
+ * backup locations map to GCP regions, for example **us-west1**. To retrieve
+ * backup information for all locations, use "-" for the
* `{location}` value.
*
*
@@ -865,11 +865,11 @@ public Builder clearParent() {
*
*
*
- * Required. The project and location for which to retrieve backup information,
- * in the format `projects/{project_number}/locations/{location}`.
- * In Cloud Filestore, backup locations map to GCP regions,
- * for example **us-west1**.
- * To retrieve backup information for all locations, use "-" for the
+ * Required. The project and location for which to retrieve backup
+ * information, in the format
+ * `projects/{project_number}/locations/{location}`. In Cloud Filestore,
+ * backup locations map to GCP regions, for example **us-west1**. To retrieve
+ * backup information for all locations, use "-" for the
* `{location}` value.
*
*
diff --git a/proto-google-cloud-filestore-v1/src/main/java/com/google/cloud/filestore/v1/ListBackupsRequestOrBuilder.java b/proto-google-cloud-filestore-v1/src/main/java/com/google/cloud/filestore/v1/ListBackupsRequestOrBuilder.java
index 0c9ed2a6..06e25d2c 100644
--- a/proto-google-cloud-filestore-v1/src/main/java/com/google/cloud/filestore/v1/ListBackupsRequestOrBuilder.java
+++ b/proto-google-cloud-filestore-v1/src/main/java/com/google/cloud/filestore/v1/ListBackupsRequestOrBuilder.java
@@ -27,11 +27,11 @@ public interface ListBackupsRequestOrBuilder
*
*
*
- * Required. The project and location for which to retrieve backup information,
- * in the format `projects/{project_number}/locations/{location}`.
- * In Cloud Filestore, backup locations map to GCP regions,
- * for example **us-west1**.
- * To retrieve backup information for all locations, use "-" for the
+ * Required. The project and location for which to retrieve backup
+ * information, in the format
+ * `projects/{project_number}/locations/{location}`. In Cloud Filestore,
+ * backup locations map to GCP regions, for example **us-west1**. To retrieve
+ * backup information for all locations, use "-" for the
* `{location}` value.
*
*
@@ -46,11 +46,11 @@ public interface ListBackupsRequestOrBuilder
*
*
*
- * Required. The project and location for which to retrieve backup information,
- * in the format `projects/{project_number}/locations/{location}`.
- * In Cloud Filestore, backup locations map to GCP regions,
- * for example **us-west1**.
- * To retrieve backup information for all locations, use "-" for the
+ * Required. The project and location for which to retrieve backup
+ * information, in the format
+ * `projects/{project_number}/locations/{location}`. In Cloud Filestore,
+ * backup locations map to GCP regions, for example **us-west1**. To retrieve
+ * backup information for all locations, use "-" for the
* `{location}` value.
*
*
diff --git a/proto-google-cloud-filestore-v1/src/main/java/com/google/cloud/filestore/v1/ListBackupsResponse.java b/proto-google-cloud-filestore-v1/src/main/java/com/google/cloud/filestore/v1/ListBackupsResponse.java
index 0eba95ac..0cac5c96 100644
--- a/proto-google-cloud-filestore-v1/src/main/java/com/google/cloud/filestore/v1/ListBackupsResponse.java
+++ b/proto-google-cloud-filestore-v1/src/main/java/com/google/cloud/filestore/v1/ListBackupsResponse.java
@@ -364,7 +364,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
for (int i = 0; i < backups_.size(); i++) {
output.writeMessage(1, backups_.get(i));
}
- if (!getNextPageTokenBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_);
}
for (int i = 0; i < unreachable_.size(); i++) {
@@ -382,7 +382,7 @@ public int getSerializedSize() {
for (int i = 0; i < backups_.size(); i++) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, backups_.get(i));
}
- if (!getNextPageTokenBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_);
}
{
diff --git a/proto-google-cloud-filestore-v1/src/main/java/com/google/cloud/filestore/v1/ListInstancesRequest.java b/proto-google-cloud-filestore-v1/src/main/java/com/google/cloud/filestore/v1/ListInstancesRequest.java
index 042dec6b..d206fb67 100644
--- a/proto-google-cloud-filestore-v1/src/main/java/com/google/cloud/filestore/v1/ListInstancesRequest.java
+++ b/proto-google-cloud-filestore-v1/src/main/java/com/google/cloud/filestore/v1/ListInstancesRequest.java
@@ -146,9 +146,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
*
- * Required. The project and location for which to retrieve instance information,
- * in the format `projects/{project_id}/locations/{location}`. In Cloud
- * Filestore, locations map to GCP zones, for example **us-west1-b**. To
+ * Required. The project and location for which to retrieve instance
+ * information, in the format `projects/{project_id}/locations/{location}`. In
+ * Cloud Filestore, locations map to GCP zones, for example **us-west1-b**. To
* retrieve instance information for all locations, use "-" for the
* `{location}` value.
*
@@ -175,9 +175,9 @@ public java.lang.String getParent() {
*
*
*
- * Required. The project and location for which to retrieve instance information,
- * in the format `projects/{project_id}/locations/{location}`. In Cloud
- * Filestore, locations map to GCP zones, for example **us-west1-b**. To
+ * Required. The project and location for which to retrieve instance
+ * information, in the format `projects/{project_id}/locations/{location}`. In
+ * Cloud Filestore, locations map to GCP zones, for example **us-west1-b**. To
* retrieve instance information for all locations, use "-" for the
* `{location}` value.
*
@@ -382,19 +382,19 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (!getParentBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_);
}
if (pageSize_ != 0) {
output.writeInt32(2, pageSize_);
}
- if (!getPageTokenBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pageToken_);
}
- if (!getOrderByBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, orderBy_);
}
- if (!getFilterBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, filter_);
}
unknownFields.writeTo(output);
@@ -406,19 +406,19 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (!getParentBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_);
}
if (pageSize_ != 0) {
size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_);
}
- if (!getPageTokenBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_);
}
- if (!getOrderByBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, orderBy_);
}
- if (!getFilterBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, filter_);
}
size += unknownFields.getSerializedSize();
@@ -754,9 +754,9 @@ public Builder mergeFrom(
*
*
*
- * Required. The project and location for which to retrieve instance information,
- * in the format `projects/{project_id}/locations/{location}`. In Cloud
- * Filestore, locations map to GCP zones, for example **us-west1-b**. To
+ * Required. The project and location for which to retrieve instance
+ * information, in the format `projects/{project_id}/locations/{location}`. In
+ * Cloud Filestore, locations map to GCP zones, for example **us-west1-b**. To
* retrieve instance information for all locations, use "-" for the
* `{location}` value.
*
@@ -782,9 +782,9 @@ public java.lang.String getParent() {
*
*
*
- * Required. The project and location for which to retrieve instance information,
- * in the format `projects/{project_id}/locations/{location}`. In Cloud
- * Filestore, locations map to GCP zones, for example **us-west1-b**. To
+ * Required. The project and location for which to retrieve instance
+ * information, in the format `projects/{project_id}/locations/{location}`. In
+ * Cloud Filestore, locations map to GCP zones, for example **us-west1-b**. To
* retrieve instance information for all locations, use "-" for the
* `{location}` value.
*
@@ -810,9 +810,9 @@ public com.google.protobuf.ByteString getParentBytes() {
*
*
*
- * Required. The project and location for which to retrieve instance information,
- * in the format `projects/{project_id}/locations/{location}`. In Cloud
- * Filestore, locations map to GCP zones, for example **us-west1-b**. To
+ * Required. The project and location for which to retrieve instance
+ * information, in the format `projects/{project_id}/locations/{location}`. In
+ * Cloud Filestore, locations map to GCP zones, for example **us-west1-b**. To
* retrieve instance information for all locations, use "-" for the
* `{location}` value.
*
@@ -837,9 +837,9 @@ public Builder setParent(java.lang.String value) {
*
*
*
- * Required. The project and location for which to retrieve instance information,
- * in the format `projects/{project_id}/locations/{location}`. In Cloud
- * Filestore, locations map to GCP zones, for example **us-west1-b**. To
+ * Required. The project and location for which to retrieve instance
+ * information, in the format `projects/{project_id}/locations/{location}`. In
+ * Cloud Filestore, locations map to GCP zones, for example **us-west1-b**. To
* retrieve instance information for all locations, use "-" for the
* `{location}` value.
*
@@ -860,9 +860,9 @@ public Builder clearParent() {
*
*
*
- * Required. The project and location for which to retrieve instance information,
- * in the format `projects/{project_id}/locations/{location}`. In Cloud
- * Filestore, locations map to GCP zones, for example **us-west1-b**. To
+ * Required. The project and location for which to retrieve instance
+ * information, in the format `projects/{project_id}/locations/{location}`. In
+ * Cloud Filestore, locations map to GCP zones, for example **us-west1-b**. To
* retrieve instance information for all locations, use "-" for the
* `{location}` value.
*
diff --git a/proto-google-cloud-filestore-v1/src/main/java/com/google/cloud/filestore/v1/ListInstancesRequestOrBuilder.java b/proto-google-cloud-filestore-v1/src/main/java/com/google/cloud/filestore/v1/ListInstancesRequestOrBuilder.java
index ddd5035c..b58fed45 100644
--- a/proto-google-cloud-filestore-v1/src/main/java/com/google/cloud/filestore/v1/ListInstancesRequestOrBuilder.java
+++ b/proto-google-cloud-filestore-v1/src/main/java/com/google/cloud/filestore/v1/ListInstancesRequestOrBuilder.java
@@ -27,9 +27,9 @@ public interface ListInstancesRequestOrBuilder
*
*
*
- * Required. The project and location for which to retrieve instance information,
- * in the format `projects/{project_id}/locations/{location}`. In Cloud
- * Filestore, locations map to GCP zones, for example **us-west1-b**. To
+ * Required. The project and location for which to retrieve instance
+ * information, in the format `projects/{project_id}/locations/{location}`. In
+ * Cloud Filestore, locations map to GCP zones, for example **us-west1-b**. To
* retrieve instance information for all locations, use "-" for the
* `{location}` value.
*
@@ -45,9 +45,9 @@ public interface ListInstancesRequestOrBuilder
*
*
*
- * Required. The project and location for which to retrieve instance information,
- * in the format `projects/{project_id}/locations/{location}`. In Cloud
- * Filestore, locations map to GCP zones, for example **us-west1-b**. To
+ * Required. The project and location for which to retrieve instance
+ * information, in the format `projects/{project_id}/locations/{location}`. In
+ * Cloud Filestore, locations map to GCP zones, for example **us-west1-b**. To
* retrieve instance information for all locations, use "-" for the
* `{location}` value.
*
diff --git a/proto-google-cloud-filestore-v1/src/main/java/com/google/cloud/filestore/v1/ListInstancesResponse.java b/proto-google-cloud-filestore-v1/src/main/java/com/google/cloud/filestore/v1/ListInstancesResponse.java
index ac040ee7..02be4ecc 100644
--- a/proto-google-cloud-filestore-v1/src/main/java/com/google/cloud/filestore/v1/ListInstancesResponse.java
+++ b/proto-google-cloud-filestore-v1/src/main/java/com/google/cloud/filestore/v1/ListInstancesResponse.java
@@ -359,7 +359,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
for (int i = 0; i < instances_.size(); i++) {
output.writeMessage(1, instances_.get(i));
}
- if (!getNextPageTokenBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_);
}
for (int i = 0; i < unreachable_.size(); i++) {
@@ -377,7 +377,7 @@ public int getSerializedSize() {
for (int i = 0; i < instances_.size(); i++) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, instances_.get(i));
}
- if (!getNextPageTokenBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_);
}
{
diff --git a/proto-google-cloud-filestore-v1/src/main/java/com/google/cloud/filestore/v1/NetworkConfig.java b/proto-google-cloud-filestore-v1/src/main/java/com/google/cloud/filestore/v1/NetworkConfig.java
index 436bacc1..1173c25d 100644
--- a/proto-google-cloud-filestore-v1/src/main/java/com/google/cloud/filestore/v1/NetworkConfig.java
+++ b/proto-google-cloud-filestore-v1/src/main/java/com/google/cloud/filestore/v1/NetworkConfig.java
@@ -604,7 +604,7 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
getSerializedSize();
- if (!getNetworkBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(network_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, network_);
}
if (getModesList().size() > 0) {
@@ -614,7 +614,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
for (int i = 0; i < modes_.size(); i++) {
output.writeEnumNoTag(modes_.get(i));
}
- if (!getReservedIpRangeBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(reservedIpRange_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, reservedIpRange_);
}
for (int i = 0; i < ipAddresses_.size(); i++) {
@@ -629,7 +629,7 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (!getNetworkBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(network_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, network_);
}
{
@@ -644,7 +644,7 @@ public int getSerializedSize() {
}
modesMemoizedSerializedSize = dataSize;
}
- if (!getReservedIpRangeBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(reservedIpRange_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, reservedIpRange_);
}
{
diff --git a/proto-google-cloud-filestore-v1/src/main/java/com/google/cloud/filestore/v1/RestoreInstanceRequest.java b/proto-google-cloud-filestore-v1/src/main/java/com/google/cloud/filestore/v1/RestoreInstanceRequest.java
index d33a9e5c..1d163d47 100644
--- a/proto-google-cloud-filestore-v1/src/main/java/com/google/cloud/filestore/v1/RestoreInstanceRequest.java
+++ b/proto-google-cloud-filestore-v1/src/main/java/com/google/cloud/filestore/v1/RestoreInstanceRequest.java
@@ -232,8 +232,8 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
*
- * Required. Name of the file share in the Cloud Filestore instance that the backup
- * is being restored to.
+ * Required. Name of the file share in the Cloud Filestore instance that the
+ * backup is being restored to.
*
*
* string file_share = 2 [(.google.api.field_behavior) = REQUIRED];
@@ -256,8 +256,8 @@ public java.lang.String getFileShare() {
*
*
*
- * Required. Name of the file share in the Cloud Filestore instance that the backup
- * is being restored to.
+ * Required. Name of the file share in the Cloud Filestore instance that the
+ * backup is being restored to.
*
*
* string file_share = 2 [(.google.api.field_behavior) = REQUIRED];
@@ -364,10 +364,10 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (!getNameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
}
- if (!getFileShareBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fileShare_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, fileShare_);
}
if (sourceCase_ == 3) {
@@ -382,10 +382,10 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (!getNameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
}
- if (!getFileShareBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fileShare_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, fileShare_);
}
if (sourceCase_ == 3) {
@@ -866,8 +866,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
*
*
*
- * Required. Name of the file share in the Cloud Filestore instance that the backup
- * is being restored to.
+ * Required. Name of the file share in the Cloud Filestore instance that the
+ * backup is being restored to.
*
*
* string file_share = 2 [(.google.api.field_behavior) = REQUIRED];
@@ -889,8 +889,8 @@ public java.lang.String getFileShare() {
*
*
*
- * Required. Name of the file share in the Cloud Filestore instance that the backup
- * is being restored to.
+ * Required. Name of the file share in the Cloud Filestore instance that the
+ * backup is being restored to.
*
*
* string file_share = 2 [(.google.api.field_behavior) = REQUIRED];
@@ -912,8 +912,8 @@ public com.google.protobuf.ByteString getFileShareBytes() {
*
*
*
- * Required. Name of the file share in the Cloud Filestore instance that the backup
- * is being restored to.
+ * Required. Name of the file share in the Cloud Filestore instance that the
+ * backup is being restored to.
*
*
* string file_share = 2 [(.google.api.field_behavior) = REQUIRED];
@@ -934,8 +934,8 @@ public Builder setFileShare(java.lang.String value) {
*
*
*
- * Required. Name of the file share in the Cloud Filestore instance that the backup
- * is being restored to.
+ * Required. Name of the file share in the Cloud Filestore instance that the
+ * backup is being restored to.
*
*
* string file_share = 2 [(.google.api.field_behavior) = REQUIRED];
@@ -952,8 +952,8 @@ public Builder clearFileShare() {
*
*
*
- * Required. Name of the file share in the Cloud Filestore instance that the backup
- * is being restored to.
+ * Required. Name of the file share in the Cloud Filestore instance that the
+ * backup is being restored to.
*
*
* string file_share = 2 [(.google.api.field_behavior) = REQUIRED];
diff --git a/proto-google-cloud-filestore-v1/src/main/java/com/google/cloud/filestore/v1/RestoreInstanceRequestOrBuilder.java b/proto-google-cloud-filestore-v1/src/main/java/com/google/cloud/filestore/v1/RestoreInstanceRequestOrBuilder.java
index a81d9a92..41594ba1 100644
--- a/proto-google-cloud-filestore-v1/src/main/java/com/google/cloud/filestore/v1/RestoreInstanceRequestOrBuilder.java
+++ b/proto-google-cloud-filestore-v1/src/main/java/com/google/cloud/filestore/v1/RestoreInstanceRequestOrBuilder.java
@@ -58,8 +58,8 @@ public interface RestoreInstanceRequestOrBuilder
*
*
*
- * Required. Name of the file share in the Cloud Filestore instance that the backup
- * is being restored to.
+ * Required. Name of the file share in the Cloud Filestore instance that the
+ * backup is being restored to.
*
*
* string file_share = 2 [(.google.api.field_behavior) = REQUIRED];
@@ -71,8 +71,8 @@ public interface RestoreInstanceRequestOrBuilder
*
*
*
- * Required. Name of the file share in the Cloud Filestore instance that the backup
- * is being restored to.
+ * Required. Name of the file share in the Cloud Filestore instance that the
+ * backup is being restored to.
*
*
* string file_share = 2 [(.google.api.field_behavior) = REQUIRED];
diff --git a/proto-google-cloud-filestore-v1/src/main/java/com/google/cloud/filestore/v1/UpdateBackupRequest.java b/proto-google-cloud-filestore-v1/src/main/java/com/google/cloud/filestore/v1/UpdateBackupRequest.java
index 5954ef11..7d4f3f2f 100644
--- a/proto-google-cloud-filestore-v1/src/main/java/com/google/cloud/filestore/v1/UpdateBackupRequest.java
+++ b/proto-google-cloud-filestore-v1/src/main/java/com/google/cloud/filestore/v1/UpdateBackupRequest.java
@@ -188,8 +188,8 @@ public com.google.cloud.filestore.v1.BackupOrBuilder getBackupOrBuilder() {
*
*
*
- * Required. Mask of fields to update. At least one path must be supplied in this
- * field.
+ * Required. Mask of fields to update. At least one path must be supplied in
+ * this field.
*
*
* .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
@@ -205,8 +205,8 @@ public boolean hasUpdateMask() {
*
*
*
- * Required. Mask of fields to update. At least one path must be supplied in this
- * field.
+ * Required. Mask of fields to update. At least one path must be supplied in
+ * this field.
*
*
* .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
@@ -222,8 +222,8 @@ public com.google.protobuf.FieldMask getUpdateMask() {
*
*
*
- * Required. Mask of fields to update. At least one path must be supplied in this
- * field.
+ * Required. Mask of fields to update. At least one path must be supplied in
+ * this field.
*
*
* .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
@@ -796,8 +796,8 @@ public com.google.cloud.filestore.v1.BackupOrBuilder getBackupOrBuilder() {
*
*
*
- * Required. Mask of fields to update. At least one path must be supplied in this
- * field.
+ * Required. Mask of fields to update. At least one path must be supplied in
+ * this field.
*
*
* .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
@@ -812,8 +812,8 @@ public boolean hasUpdateMask() {
*
*
*
- * Required. Mask of fields to update. At least one path must be supplied in this
- * field.
+ * Required. Mask of fields to update. At least one path must be supplied in
+ * this field.
*
*
* .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
@@ -834,8 +834,8 @@ public com.google.protobuf.FieldMask getUpdateMask() {
*
*
*
- * Required. Mask of fields to update. At least one path must be supplied in this
- * field.
+ * Required. Mask of fields to update. At least one path must be supplied in
+ * this field.
*
*
* .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
@@ -858,8 +858,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
*
*
*
- * Required. Mask of fields to update. At least one path must be supplied in this
- * field.
+ * Required. Mask of fields to update. At least one path must be supplied in
+ * this field.
*
*
* .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
@@ -879,8 +879,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
*
*
*
- * Required. Mask of fields to update. At least one path must be supplied in this
- * field.
+ * Required. Mask of fields to update. At least one path must be supplied in
+ * this field.
*
*
* .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
@@ -905,8 +905,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
*
*
*
- * Required. Mask of fields to update. At least one path must be supplied in this
- * field.
+ * Required. Mask of fields to update. At least one path must be supplied in
+ * this field.
*
*
* .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
@@ -927,8 +927,8 @@ public Builder clearUpdateMask() {
*
*
*
- * Required. Mask of fields to update. At least one path must be supplied in this
- * field.
+ * Required. Mask of fields to update. At least one path must be supplied in
+ * this field.
*
*
* .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
@@ -943,8 +943,8 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
*
*
*
- * Required. Mask of fields to update. At least one path must be supplied in this
- * field.
+ * Required. Mask of fields to update. At least one path must be supplied in
+ * this field.
*
*
* .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
@@ -963,8 +963,8 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
*
*
*
- * Required. Mask of fields to update. At least one path must be supplied in this
- * field.
+ * Required. Mask of fields to update. At least one path must be supplied in
+ * this field.
*
*
* .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
diff --git a/proto-google-cloud-filestore-v1/src/main/java/com/google/cloud/filestore/v1/UpdateBackupRequestOrBuilder.java b/proto-google-cloud-filestore-v1/src/main/java/com/google/cloud/filestore/v1/UpdateBackupRequestOrBuilder.java
index 34ffeeb6..5922964a 100644
--- a/proto-google-cloud-filestore-v1/src/main/java/com/google/cloud/filestore/v1/UpdateBackupRequestOrBuilder.java
+++ b/proto-google-cloud-filestore-v1/src/main/java/com/google/cloud/filestore/v1/UpdateBackupRequestOrBuilder.java
@@ -65,8 +65,8 @@ public interface UpdateBackupRequestOrBuilder
*
*
*
- * Required. Mask of fields to update. At least one path must be supplied in this
- * field.
+ * Required. Mask of fields to update. At least one path must be supplied in
+ * this field.
*
*
* .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
@@ -79,8 +79,8 @@ public interface UpdateBackupRequestOrBuilder
*
*
*
- * Required. Mask of fields to update. At least one path must be supplied in this
- * field.
+ * Required. Mask of fields to update. At least one path must be supplied in
+ * this field.
*
*
* .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
@@ -93,8 +93,8 @@ public interface UpdateBackupRequestOrBuilder
*
*
*
- * Required. Mask of fields to update. At least one path must be supplied in this
- * field.
+ * Required. Mask of fields to update. At least one path must be supplied in
+ * this field.
*
*
* .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
diff --git a/proto-google-cloud-filestore-v1/src/main/proto/google/cloud/filestore/v1/cloud_filestore_service.proto b/proto-google-cloud-filestore-v1/src/main/proto/google/cloud/filestore/v1/cloud_filestore_service.proto
index 3afd7e45..676fa0b2 100644
--- a/proto-google-cloud-filestore-v1/src/main/proto/google/cloud/filestore/v1/cloud_filestore_service.proto
+++ b/proto-google-cloud-filestore-v1/src/main/proto/google/cloud/filestore/v1/cloud_filestore_service.proto
@@ -20,6 +20,7 @@ import "google/api/annotations.proto";
import "google/api/client.proto";
import "google/api/field_behavior.proto";
import "google/api/resource.proto";
+import "google/cloud/common/operation_metadata.proto";
import "google/longrunning/operations.proto";
import "google/protobuf/field_mask.proto";
import "google/protobuf/timestamp.proto";
@@ -53,7 +54,8 @@ option php_namespace = "Google\\Cloud\\Filestore\\V1";
// * `projects/12345/locations/us-central1/backups/my-backup`
service CloudFilestoreManager {
option (google.api.default_host) = "file.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";
// Lists all instances in a project for either a specified location
// or for all locations.
@@ -76,7 +78,8 @@ service CloudFilestoreManager {
// When creating from a backup, the capacity of the new instance needs to be
// equal to or larger than the capacity of the backup (and also equal to or
// larger than the minimum capacity of the tier).
- rpc CreateInstance(CreateInstanceRequest) returns (google.longrunning.Operation) {
+ rpc CreateInstance(CreateInstanceRequest)
+ returns (google.longrunning.Operation) {
option (google.api.http) = {
post: "/v1/{parent=projects/*/locations/*}/instances"
body: "instance"
@@ -89,7 +92,8 @@ service CloudFilestoreManager {
}
// Updates the settings of a specific instance.
- rpc UpdateInstance(UpdateInstanceRequest) returns (google.longrunning.Operation) {
+ rpc UpdateInstance(UpdateInstanceRequest)
+ returns (google.longrunning.Operation) {
option (google.api.http) = {
patch: "/v1/{instance.name=projects/*/locations/*/instances/*}"
body: "instance"
@@ -106,7 +110,8 @@ service CloudFilestoreManager {
// The capacity of the instance needs to be equal to or larger than the
// capacity of the backup (and also equal to or larger than the minimum
// capacity of the tier).
- rpc RestoreInstance(RestoreInstanceRequest) returns (google.longrunning.Operation) {
+ rpc RestoreInstance(RestoreInstanceRequest)
+ returns (google.longrunning.Operation) {
option (google.api.http) = {
post: "/v1/{name=projects/*/locations/*/instances/*}:restore"
body: "*"
@@ -118,7 +123,8 @@ service CloudFilestoreManager {
}
// Deletes an instance.
- rpc DeleteInstance(DeleteInstanceRequest) returns (google.longrunning.Operation) {
+ rpc DeleteInstance(DeleteInstanceRequest)
+ returns (google.longrunning.Operation) {
option (google.api.http) = {
delete: "/v1/{name=projects/*/locations/*/instances/*}"
};
@@ -236,9 +242,9 @@ message FileShareConfig {
// The resource name of the backup, in the format
// `projects/{project_number}/locations/{location_id}/backups/{backup_id}`,
// that this file share has been restored from.
- string source_backup = 8 [(google.api.resource_reference) = {
- type: "file.googleapis.com/Backup"
- }];
+ string source_backup = 8 [
+ (google.api.resource_reference) = { type: "file.googleapis.com/Backup" }
+ ];
}
// Nfs Export Options.
@@ -380,7 +386,8 @@ message Instance {
string status_message = 6 [(google.api.field_behavior) = OUTPUT_ONLY];
// Output only. The time when the instance was created.
- google.protobuf.Timestamp create_time = 7 [(google.api.field_behavior) = OUTPUT_ONLY];
+ google.protobuf.Timestamp create_time = 7
+ [(google.api.field_behavior) = OUTPUT_ONLY];
// The service tier of the instance.
Tier tier = 8;
@@ -401,7 +408,8 @@ message Instance {
string etag = 12;
// Output only. Reserved for future use.
- google.protobuf.BoolValue satisfies_pzs = 13 [(google.api.field_behavior) = OUTPUT_ONLY];
+ google.protobuf.BoolValue satisfies_pzs = 13
+ [(google.api.field_behavior) = OUTPUT_ONLY];
}
// CreateInstanceRequest creates an instance.
@@ -430,9 +438,7 @@ message GetInstanceRequest {
// `projects/{project_id}/locations/{location}/instances/{instance_id}`.
string name = 1 [
(google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- type: "file.googleapis.com/Instance"
- }
+ (google.api.resource_reference) = { type: "file.googleapis.com/Instance" }
];
}
@@ -458,21 +464,19 @@ message RestoreInstanceRequest {
// `projects/{project_number}/locations/{location_id}/instances/{instance_id}`.
string name = 1 [
(google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- type: "file.googleapis.com/Instance"
- }
+ (google.api.resource_reference) = { type: "file.googleapis.com/Instance" }
];
- // Required. Name of the file share in the Cloud Filestore instance that the backup
- // is being restored to.
+ // Required. Name of the file share in the Cloud Filestore instance that the
+ // backup is being restored to.
string file_share = 2 [(google.api.field_behavior) = REQUIRED];
oneof source {
// The resource name of the backup, in the format
// `projects/{project_number}/locations/{location_id}/backups/{backup_id}`.
- string source_backup = 3 [(google.api.resource_reference) = {
- type: "file.googleapis.com/Backup"
- }];
+ string source_backup = 3 [
+ (google.api.resource_reference) = { type: "file.googleapis.com/Backup" }
+ ];
}
}
@@ -482,17 +486,15 @@ message DeleteInstanceRequest {
// `projects/{project_id}/locations/{location}/instances/{instance_id}`
string name = 1 [
(google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- type: "file.googleapis.com/Instance"
- }
+ (google.api.resource_reference) = { type: "file.googleapis.com/Instance" }
];
}
// ListInstancesRequest lists instances.
message ListInstancesRequest {
- // Required. The project and location for which to retrieve instance information,
- // in the format `projects/{project_id}/locations/{location}`. In Cloud
- // Filestore, locations map to GCP zones, for example **us-west1-b**. To
+ // Required. The project and location for which to retrieve instance
+ // information, in the format `projects/{project_id}/locations/{location}`. In
+ // Cloud Filestore, locations map to GCP zones, for example **us-west1-b**. To
// retrieve instance information for all locations, use "-" for the
// `{location}` value.
string parent = 1 [
@@ -572,7 +574,8 @@ message Backup {
State state = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
// Output only. The time when the backup was created.
- google.protobuf.Timestamp create_time = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
+ google.protobuf.Timestamp create_time = 4
+ [(google.api.field_behavior) = OUTPUT_ONLY];
// Resource labels to represent user provided metadata.
map