Interface GetFolderRequestOrBuilder (2.39.0)

public interface GetFolderRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getIfMetagenerationMatch()

public abstract long getIfMetagenerationMatch()

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

optional int64 if_metageneration_match = 3;

Returns
Type Description
long

The ifMetagenerationMatch.

getIfMetagenerationNotMatch()

public abstract long getIfMetagenerationNotMatch()

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

optional int64 if_metageneration_not_match = 4;

Returns
Type Description
long

The ifMetagenerationNotMatch.

getName()

public abstract String getName()

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

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

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

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

string name = 6 [(.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.

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.

string request_id = 5 [(.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 folder's current metageneration matches the given value.

optional int64 if_metageneration_match = 3;

Returns
Type Description
boolean

Whether the ifMetagenerationMatch field is set.

hasIfMetagenerationNotMatch()

public abstract boolean hasIfMetagenerationNotMatch()

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

optional int64 if_metageneration_not_match = 4;

Returns
Type Description
boolean

Whether the ifMetagenerationNotMatch field is set.