Interface RescheduleMaintenanceRequestOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getInstance()
      Required.
      com.google.protobuf.ByteString getInstanceBytes()
      Required.
      RescheduleMaintenanceRequest.RescheduleType getRescheduleType()
      Required.
      int getRescheduleTypeValue()
      Required.
      com.google.protobuf.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`.
      com.google.protobuf.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`.
      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`.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • getInstance

        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:
        The instance.
      • getInstanceBytes

        com.google.protobuf.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:
        The bytes for instance.
      • getRescheduleTypeValue

        int getRescheduleTypeValue()
         Required. If reschedule type is SPECIFIC_TIME, must set up schedule_time as well.
         
        .google.cloud.memcache.v1.RescheduleMaintenanceRequest.RescheduleType reschedule_type = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The enum numeric value on the wire for rescheduleType.
      • getRescheduleType

        RescheduleMaintenanceRequest.RescheduleType getRescheduleType()
         Required. If reschedule type is SPECIFIC_TIME, must set up schedule_time as well.
         
        .google.cloud.memcache.v1.RescheduleMaintenanceRequest.RescheduleType reschedule_type = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The rescheduleType.
      • hasScheduleTime

        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:
        Whether the scheduleTime field is set.
      • getScheduleTime

        com.google.protobuf.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:
        The scheduleTime.
      • getScheduleTimeOrBuilder

        com.google.protobuf.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;