public interface GetBucketRequestOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getCommonRequestParams()
public abstract CommonRequestParams getCommonRequestParams()A set of parameters common to all Storage API requests.
.google.storage.v2.CommonRequestParams common_request_params = 4;
| 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 = 4;
| Type | Description |
| CommonRequestParamsOrBuilder |
getIfMetagenerationMatch()
public abstract long getIfMetagenerationMatch()If set, and if the bucket's current metageneration does not match the specified value, the request will return an error.
optional int64 if_metageneration_match = 2;
| Type | Description |
| long | The ifMetagenerationMatch. |
getIfMetagenerationNotMatch()
public abstract long getIfMetagenerationNotMatch()If set, and if the bucket's current metageneration matches the specified value, the request will return an error.
optional int64 if_metageneration_not_match = 3;
| Type | Description |
| long | The ifMetagenerationNotMatch. |
getName()
public abstract String getName()Required. Name of a bucket.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Type | Description |
| String | The name. |
getNameBytes()
public abstract ByteString getNameBytes()Required. Name of a bucket.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Type | Description |
| ByteString | The bytes for name. |
getReadMask()
public abstract FieldMask getReadMask()Mask specifying which fields to read. A "*" field may be used to indicate all fields. If no mask is specified, will default to all fields.
optional .google.protobuf.FieldMask read_mask = 5;
| Type | Description |
| FieldMask | The readMask. |
getReadMaskOrBuilder()
public abstract FieldMaskOrBuilder getReadMaskOrBuilder()Mask specifying which fields to read. A "*" field may be used to indicate all fields. If no mask is specified, will default to all fields.
optional .google.protobuf.FieldMask read_mask = 5;
| Type | Description |
| FieldMaskOrBuilder |
hasCommonRequestParams()
public abstract boolean hasCommonRequestParams()A set of parameters common to all Storage API requests.
.google.storage.v2.CommonRequestParams common_request_params = 4;
| Type | Description |
| boolean | Whether the commonRequestParams field is set. |
hasIfMetagenerationMatch()
public abstract boolean hasIfMetagenerationMatch()If set, and if the bucket's current metageneration does not match the specified value, the request will return an error.
optional int64 if_metageneration_match = 2;
| Type | Description |
| boolean | Whether the ifMetagenerationMatch field is set. |
hasIfMetagenerationNotMatch()
public abstract boolean hasIfMetagenerationNotMatch()If set, and if the bucket's current metageneration matches the specified value, the request will return an error.
optional int64 if_metageneration_not_match = 3;
| Type | Description |
| boolean | Whether the ifMetagenerationNotMatch field is set. |
hasReadMask()
public abstract boolean hasReadMask()Mask specifying which fields to read. A "*" field may be used to indicate all fields. If no mask is specified, will default to all fields.
optional .google.protobuf.FieldMask read_mask = 5;
| Type | Description |
| boolean | Whether the readMask field is set. |