@java.lang.Override
  public boolean equals(final java.lang.Object obj) {
    if (obj == this) {
      return true;
    }
    if (!(obj instanceof com.google.cloud.memorystore.v1.WeeklyMaintenanceWindow)) {
      return super.equals(obj);
    }
    com.google.cloud.memorystore.v1.WeeklyMaintenanceWindow other =
        (com.google.cloud.memorystore.v1.WeeklyMaintenanceWindow) obj;

    if (day_ != other.day_) return false;
    if (hasStartTime() != other.hasStartTime()) return false;
    if (hasStartTime()) {
      if (!getStartTime().equals(other.getStartTime())) return false;
    }
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<pre>
Optional. Start time of the window in UTC.
</pre>

<code>.google.type.TimeOfDay start_time = 2 [(.google.api.field_behavior) = OPTIONAL];</code>
java-valkey/proto-google-cloud-valkey-v1/src/main/java/com/google/cloud/memorystore/v1/WeeklyMaintenanceWindow.java