public interface LockBucketRetentionPolicyRequestOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getBucket()
public abstract String getBucket()Required. Name of a bucket.
string bucket = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Type | Description |
| 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) = { ... }
| Type | Description |
| 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;
| Type | Description |
| 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;
| Type | Description |
| 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;
| Type | Description |
| 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;
| Type | Description |
| boolean | Whether the commonRequestParams field is set. |