Interface CreateFolderRequestOrBuilder

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

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

    Modifier and Type
    Method
    Description
    Required.
    Required.
    com.google.protobuf.ByteString
    Required.
    Required.
    Required.
    com.google.protobuf.ByteString
    Required.
    boolean
    Optional.
    Optional.
    com.google.protobuf.ByteString
    Optional.
    boolean
    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 Details

    • getParent

      String getParent()
       Required. Name of the bucket in which the folder will reside. The bucket
       must be a hierarchical namespace enabled bucket.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The parent.
    • getParentBytes

      com.google.protobuf.ByteString getParentBytes()
       Required. Name of the bucket in which the folder will reside. The bucket
       must be a hierarchical namespace enabled bucket.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for parent.
    • hasFolder

      boolean hasFolder()
       Required. Properties of the new folder being created.
       The bucket and name of the folder are specified in the parent and folder_id
       fields, respectively. Populating those fields in `folder` will result in an
       error.
       
      .google.storage.control.v2.Folder folder = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the folder field is set.
    • getFolder

      Folder getFolder()
       Required. Properties of the new folder being created.
       The bucket and name of the folder are specified in the parent and folder_id
       fields, respectively. Populating those fields in `folder` will result in an
       error.
       
      .google.storage.control.v2.Folder folder = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The folder.
    • getFolderOrBuilder

      FolderOrBuilder getFolderOrBuilder()
       Required. Properties of the new folder being created.
       The bucket and name of the folder are specified in the parent and folder_id
       fields, respectively. Populating those fields in `folder` will result in an
       error.
       
      .google.storage.control.v2.Folder folder = 2 [(.google.api.field_behavior) = REQUIRED];
    • getFolderId

      String getFolderId()
       Required. The full name of a folder, including all its parent folders.
       Folders use single '/' characters as a delimiter.
       The folder_id must end with a slash.
       For example, the folder_id of "books/biographies/" would create a new
       "biographies/" folder under the "books/" folder.
       
      string folder_id = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The folderId.
    • getFolderIdBytes

      com.google.protobuf.ByteString getFolderIdBytes()
       Required. The full name of a folder, including all its parent folders.
       Folders use single '/' characters as a delimiter.
       The folder_id must end with a slash.
       For example, the folder_id of "books/biographies/" would create a new
       "biographies/" folder under the "books/" folder.
       
      string folder_id = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for folderId.
    • getRecursive

      boolean getRecursive()
       Optional. If true, parent folder doesn't have to be present and all missing
       ancestor folders will be created atomically.
       
      bool recursive = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The recursive.
    • getRequestId

      String getRequestId()
       Optional. A unique identifier for this request. UUID is the recommended
       format, but other formats are still accepted.
       
      string request_id = 5 [(.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 = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
      Returns:
      The bytes for requestId.