@java.lang.Override
  public com.google.cloud.memorystore.v1.RescheduleMaintenanceRequest.RescheduleType
      getRescheduleType() {
    com.google.cloud.memorystore.v1.RescheduleMaintenanceRequest.RescheduleType result =
        com.google.cloud.memorystore.v1.RescheduleMaintenanceRequest.RescheduleType.forNumber(
            rescheduleType_);
    return result == null
        ? com.google.cloud.memorystore.v1.RescheduleMaintenanceRequest.RescheduleType.UNRECOGNIZED
        : result;
  }
<pre>
Required. If reschedule type is SPECIFIC_TIME, schedule_time must be set.
</pre>

<code>
.google.cloud.memorystore.v1.RescheduleMaintenanceRequest.RescheduleType reschedule_type = 2 [(.google.api.field_behavior) = REQUIRED];
</code>

@return The rescheduleType.
java-valkey/proto-google-cloud-valkey-v1/src/main/java/com/google/cloud/memorystore/v1/RescheduleMaintenanceRequest.java