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 4f222184..00196428 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
@@ -1301,8 +1301,8 @@ public int getModesValue(int index) {
*
* repeated .google.cloud.filestore.v1.NetworkConfig.AddressMode modes = 3;
*
- * @param index The index of the value to return.
- * @return The enum numeric value on the wire of modes at the given index.
+ * @param index The index to set the value at.
+ * @param value The enum numeric value on the wire for modes to set.
* @return This builder for chaining.
*/
public Builder setModesValue(int index, int value) {
diff --git a/proto-google-cloud-filestore-v1beta1/src/main/java/com/google/cloud/filestore/v1beta1/NetworkConfig.java b/proto-google-cloud-filestore-v1beta1/src/main/java/com/google/cloud/filestore/v1beta1/NetworkConfig.java
index 8adaa53f..55661895 100644
--- a/proto-google-cloud-filestore-v1beta1/src/main/java/com/google/cloud/filestore/v1beta1/NetworkConfig.java
+++ b/proto-google-cloud-filestore-v1beta1/src/main/java/com/google/cloud/filestore/v1beta1/NetworkConfig.java
@@ -1300,8 +1300,8 @@ public int getModesValue(int index) {
*
* repeated .google.cloud.filestore.v1beta1.NetworkConfig.AddressMode modes = 3;
*
- * @param index The index of the value to return.
- * @return The enum numeric value on the wire of modes at the given index.
+ * @param index The index to set the value at.
+ * @param value The enum numeric value on the wire for modes to set.
* @return This builder for chaining.
*/
public Builder setModesValue(int index, int value) {