@java.lang.Override
  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
    if (((bitField0_ & 0x00000001) != 0)) {
      output.writeMessage(1, getCreateTime());
    }
    if (((bitField0_ & 0x00000002) != 0)) {
      output.writeMessage(2, getUpdateTime());
    }
    for (int i = 0; i < weeklyMaintenanceWindow_.size(); i++) {
      output.writeMessage(3, weeklyMaintenanceWindow_.get(i));
    }
    getUnknownFields().writeTo(output);
  }
<pre>
Optional. Maintenance window that is applied to resources covered by this
policy. Minimum 1. For the current version, the maximum number of
weekly_window is expected to be one.
</pre>

<code>
repeated .google.cloud.memorystore.v1.WeeklyMaintenanceWindow weekly_maintenance_window = 3 [(.google.api.field_behavior) = OPTIONAL];
</code>
java-valkey/proto-google-cloud-valkey-v1/src/main/java/com/google/cloud/memorystore/v1/MaintenancePolicy.java