Interface RenameFolderRequestOrBuilder (2.34.0)

public interface RenameFolderRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDestinationFolderId()

public abstract String getDestinationFolderId()

Required. The destination folder ID, e.g. foo/bar/.

string destination_folder_id = 8 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The destinationFolderId.

getDestinationFolderIdBytes()

public abstract ByteString getDestinationFolderIdBytes()

Required. The destination folder ID, e.g. foo/bar/.

string destination_folder_id = 8 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for destinationFolderId.

getIfMetagenerationMatch()

public abstract long getIfMetagenerationMatch()

Makes the operation only succeed conditional on whether the source folder's current metageneration matches the given value.

optional int64 if_metageneration_match = 4;

Returns
Type Description
long

The ifMetagenerationMatch.

getIfMetagenerationNotMatch()

public abstract long getIfMetagenerationNotMatch()

Makes the operation only succeed conditional on whether the source folder's current metageneration does not match the given value.

optional int64 if_metageneration_not_match = 5;

Returns
Type Description
long

The ifMetagenerationNotMatch.

getName()

public abstract String getName()

Required. Name of the source folder being renamed. Format: projects/{project}/buckets/{bucket}/folders/{folder}

string name = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Required. Name of the source folder being renamed. Format: projects/{project}/buckets/{bucket}/folders/{folder}

string name = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

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 = 6 [(.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 = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }

Returns
Type Description
ByteString

The bytes for requestId.

hasIfMetagenerationMatch()

public abstract boolean hasIfMetagenerationMatch()

Makes the operation only succeed conditional on whether the source folder's current metageneration matches the given value.

optional int64 if_metageneration_match = 4;

Returns
Type Description
boolean

Whether the ifMetagenerationMatch field is set.

hasIfMetagenerationNotMatch()

public abstract boolean hasIfMetagenerationNotMatch()

Makes the operation only succeed conditional on whether the source folder's current metageneration does not match the given value.

optional int64 if_metageneration_not_match = 5;

Returns
Type Description
boolean

Whether the ifMetagenerationNotMatch field is set.