Interface LockBucketRetentionPolicyRequestOrBuilder (2.5.1)

public interface LockBucketRetentionPolicyRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBucket()

public abstract String getBucket()

Required. Name of a bucket.

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

Returns
TypeDescription
String

The bucket.

getBucketBytes()

public abstract ByteString getBucketBytes()

Required. Name of a bucket.

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

Returns
TypeDescription
ByteString

The bytes for bucket.

getCommonRequestParams()

public abstract CommonRequestParams getCommonRequestParams()

A set of parameters common to all Storage API requests.

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

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 = 3;

Returns
TypeDescription
CommonRequestParamsOrBuilder

getIfMetagenerationMatch()

public abstract long getIfMetagenerationMatch()

Makes the operation conditional on whether bucket's current metageneration matches the given value. Must be positive.

int64 if_metageneration_match = 2;

Returns
TypeDescription
long

The ifMetagenerationMatch.

hasCommonRequestParams()

public abstract boolean hasCommonRequestParams()

A set of parameters common to all Storage API requests.

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

Returns
TypeDescription
boolean

Whether the commonRequestParams field is set.