Interface DeleteManagedFolderRequestOrBuilder

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

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

    Modifier and Type
    Method
    Description
    boolean
    Allows deletion of a managed folder even if it is not empty.
    long
    The operation succeeds conditional on the managed folder's current metageneration matching the value here specified.
    long
    The operation succeeds conditional on the managed folder's current metageneration NOT matching the value here specified.
    Required.
    com.google.protobuf.ByteString
    Required.
    Optional.
    com.google.protobuf.ByteString
    Optional.
    boolean
    The operation succeeds conditional on the managed folder's current metageneration matching the value here specified.
    boolean
    The operation succeeds conditional on the managed folder's current metageneration NOT matching the value here specified.

    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 Details

    • getName

      String getName()
       Required. Name of the managed folder.
       Format:
       `projects/{project}/buckets/{bucket}/managedFolders/{managedFolder}`
       
      string name = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       Required. Name of the managed folder.
       Format:
       `projects/{project}/buckets/{bucket}/managedFolders/{managedFolder}`
       
      string name = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for name.
    • hasIfMetagenerationMatch

      boolean hasIfMetagenerationMatch()
       The operation succeeds conditional on the managed folder's current
       metageneration matching the value here specified.
       
      optional int64 if_metageneration_match = 3;
      Returns:
      Whether the ifMetagenerationMatch field is set.
    • getIfMetagenerationMatch

      long getIfMetagenerationMatch()
       The operation succeeds conditional on the managed folder's current
       metageneration matching the value here specified.
       
      optional int64 if_metageneration_match = 3;
      Returns:
      The ifMetagenerationMatch.
    • hasIfMetagenerationNotMatch

      boolean hasIfMetagenerationNotMatch()
       The operation succeeds conditional on the managed folder's current
       metageneration NOT matching the value here specified.
       
      optional int64 if_metageneration_not_match = 4;
      Returns:
      Whether the ifMetagenerationNotMatch field is set.
    • getIfMetagenerationNotMatch

      long getIfMetagenerationNotMatch()
       The operation succeeds conditional on the managed folder's current
       metageneration NOT matching the value here specified.
       
      optional int64 if_metageneration_not_match = 4;
      Returns:
      The ifMetagenerationNotMatch.
    • getAllowNonEmpty

      boolean getAllowNonEmpty()
       Allows deletion of a managed folder even if it is not empty.
       A managed folder is empty if it manages no child managed folders or
       objects. Caller must have permission for
       storage.managedFolders.setIamPolicy.
       
      bool allow_non_empty = 5;
      Returns:
      The allowNonEmpty.
    • getRequestId

      String getRequestId()
       Optional. A unique identifier for this request. UUID is the recommended
       format, but other formats are still accepted.
       
      string request_id = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
      Returns:
      The requestId.
    • getRequestIdBytes

      com.google.protobuf.ByteString getRequestIdBytes()
       Optional. A unique identifier for this request. UUID is the recommended
       format, but other formats are still accepted.
       
      string request_id = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
      Returns:
      The bytes for requestId.