Interface DeleteRestoreRequestOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    DeleteRestoreRequest, DeleteRestoreRequest.Builder

    public interface DeleteRestoreRequestOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getEtag()
      If provided, this value must match the current value of the target Restore's [etag][google.cloud.gkebackup.v1.Restore.etag] field or the request is rejected.
      com.google.protobuf.ByteString getEtagBytes()
      If provided, this value must match the current value of the target Restore's [etag][google.cloud.gkebackup.v1.Restore.etag] field or the request is rejected.
      boolean getForce()
      If set to true, any VolumeRestores below this restore will also be deleted.
      String getName()
      Required.
      com.google.protobuf.ByteString getNameBytes()
      Required.
      • 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

      • getName

        String getName()
         Required. Full name of the Restore
         Format: `projects/*/locations/*/restorePlans/*/restores/*`
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        The name.
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
         Required. Full name of the Restore
         Format: `projects/*/locations/*/restorePlans/*/restores/*`
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        The bytes for name.
      • getEtag

        String getEtag()
         If provided, this value must match the current value of the
         target Restore's [etag][google.cloud.gkebackup.v1.Restore.etag] field or
         the request is rejected.
         
        string etag = 2;
        Returns:
        The etag.
      • getEtagBytes

        com.google.protobuf.ByteString getEtagBytes()
         If provided, this value must match the current value of the
         target Restore's [etag][google.cloud.gkebackup.v1.Restore.etag] field or
         the request is rejected.
         
        string etag = 2;
        Returns:
        The bytes for etag.
      • getForce

        boolean getForce()
         If set to true, any VolumeRestores below this restore will also be deleted.
         Otherwise, the request will only succeed if the restore has no
         VolumeRestores.
         
        bool force = 3;
        Returns:
        The force.