Interface RescheduleMaintenanceRequestOrBuilder (2.11.0)

public interface RescheduleMaintenanceRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getInstance()

public abstract String getInstance()

Required. Memcache instance resource name using the form: projects/{project_id}/locations/{location_id}/instances/{instance_id} where location_id refers to a GCP region.

string instance = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The instance.

getInstanceBytes()

public abstract ByteString getInstanceBytes()

Required. Memcache instance resource name using the form: projects/{project_id}/locations/{location_id}/instances/{instance_id} where location_id refers to a GCP region.

string instance = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for instance.

getRescheduleType()

public abstract RescheduleMaintenanceRequest.RescheduleType getRescheduleType()

Required. If reschedule type is SPECIFIC_TIME, must set up schedule_time as well.

.google.cloud.memcache.v1beta2.RescheduleMaintenanceRequest.RescheduleType reschedule_type = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
RescheduleMaintenanceRequest.RescheduleType

The rescheduleType.

getRescheduleTypeValue()

public abstract int getRescheduleTypeValue()

Required. If reschedule type is SPECIFIC_TIME, must set up schedule_time as well.

.google.cloud.memcache.v1beta2.RescheduleMaintenanceRequest.RescheduleType reschedule_type = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

The enum numeric value on the wire for rescheduleType.

getScheduleTime()

public abstract Timestamp getScheduleTime()

Timestamp when the maintenance shall be rescheduled to if reschedule_type=SPECIFIC_TIME, in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.

.google.protobuf.Timestamp schedule_time = 3;

Returns
TypeDescription
Timestamp

The scheduleTime.

getScheduleTimeOrBuilder()

public abstract TimestampOrBuilder getScheduleTimeOrBuilder()

Timestamp when the maintenance shall be rescheduled to if reschedule_type=SPECIFIC_TIME, in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.

.google.protobuf.Timestamp schedule_time = 3;

Returns
TypeDescription
TimestampOrBuilder

hasScheduleTime()

public abstract boolean hasScheduleTime()

Timestamp when the maintenance shall be rescheduled to if reschedule_type=SPECIFIC_TIME, in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.

.google.protobuf.Timestamp schedule_time = 3;

Returns
TypeDescription
boolean

Whether the scheduleTime field is set.