Interface DeleteBucketRequestOrBuilder (2.6.1)

public interface DeleteBucketRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCommonRequestParams()

public abstract CommonRequestParams getCommonRequestParams()

A set of parameters common to all Storage API requests.

.google.storage.v2.CommonRequestParams common_request_params = 5;

Returns
TypeDescription
CommonRequestParams

The commonRequestParams.

getCommonRequestParamsOrBuilder()

public abstract CommonRequestParamsOrBuilder getCommonRequestParamsOrBuilder()

A set of parameters common to all Storage API requests.

.google.storage.v2.CommonRequestParams common_request_params = 5;

Returns
TypeDescription
CommonRequestParamsOrBuilder

getIfMetagenerationMatch()

public abstract long getIfMetagenerationMatch()

If set, only deletes the bucket if its metageneration matches this value.

optional int64 if_metageneration_match = 2;

Returns
TypeDescription
long

The ifMetagenerationMatch.

getIfMetagenerationNotMatch()

public abstract long getIfMetagenerationNotMatch()

If set, only deletes the bucket if its metageneration does not match this value.

optional int64 if_metageneration_not_match = 3;

Returns
TypeDescription
long

The ifMetagenerationNotMatch.

getName()

public abstract String getName()

Required. Name of a bucket to delete.

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

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Required. Name of a bucket to delete.

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

Returns
TypeDescription
ByteString

The bytes for name.

hasCommonRequestParams()

public abstract boolean hasCommonRequestParams()

A set of parameters common to all Storage API requests.

.google.storage.v2.CommonRequestParams common_request_params = 5;

Returns
TypeDescription
boolean

Whether the commonRequestParams field is set.

hasIfMetagenerationMatch()

public abstract boolean hasIfMetagenerationMatch()

If set, only deletes the bucket if its metageneration matches this value.

optional int64 if_metageneration_match = 2;

Returns
TypeDescription
boolean

Whether the ifMetagenerationMatch field is set.

hasIfMetagenerationNotMatch()

public abstract boolean hasIfMetagenerationNotMatch()

If set, only deletes the bucket if its metageneration does not match this value.

optional int64 if_metageneration_not_match = 3;

Returns
TypeDescription
boolean

Whether the ifMetagenerationNotMatch field is set.