Interface CreateFolderRequestOrBuilder (2.32.1)

public interface CreateFolderRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getFolder()

public abstract 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
Type Description
Folder

The folder.

getFolderId()

public abstract String getFolderId()

Required. The absolute path of the folder, using a single / as delimiter.

string folder_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The folderId.

getFolderIdBytes()

public abstract ByteString getFolderIdBytes()

Required. The absolute path of the folder, using a single / as delimiter.

string folder_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for folderId.

getFolderOrBuilder()

public abstract 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];

Returns
Type Description
FolderOrBuilder

getParent()

public abstract String getParent()

Required. Name of the bucket in which the folder will reside.

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

Returns
Type Description
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. Name of the bucket in which the folder will reside.

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

Returns
Type Description
ByteString

The bytes for parent.

getRecursive()

public abstract 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
Type Description
boolean

The recursive.

getRequestId()

public abstract String getRequestId()

Optional. A unique identifier for this request. UUID is the recommended format, but other formats are still accepted. This request is only idempotent if a request_id is provided.

string request_id = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }

Returns
Type Description
String

The requestId.

getRequestIdBytes()

public abstract ByteString getRequestIdBytes()

Optional. A unique identifier for this request. UUID is the recommended format, but other formats are still accepted. This request is only idempotent if a request_id is provided.

string request_id = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }

Returns
Type Description
ByteString

The bytes for requestId.

hasFolder()

public abstract 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
Type Description
boolean

Whether the folder field is set.