# Interface BucketList.BucketOrBuilder (0.33.0)

0.33.0 (latest) 0.31.0 0.28.0 0.27.0 0.25.0 0.23.0 0.22.0 0.20.0 0.18.0 0.16.0 0.15.0 0.14.0 0.13.0 0.12.0 0.10.0 0.8.0 0.7.0 0.4.0 0.3.0 0.2.0

    public static interface BucketList.BucketOrBuilder extends MessageOrBuilder

## Implements

[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)

## Methods

### getBucket()

    public abstract String getBucket()

Required. Bucket name for the objects to be transformed.

`string bucket = 1 [(.google.api.field_behavior) = REQUIRED];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The bucket. |

### getBucketBytes()

    public abstract ByteString getBucketBytes()

Required. Bucket name for the objects to be transformed.

`string bucket = 1 [(.google.api.field_behavior) = REQUIRED];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for bucket. |

### getManifest()

    public abstract Manifest getManifest()

Specifies objects in a manifest file.

`.google.cloud.storagebatchoperations.v1.Manifest manifest = 3;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-storagebatchoperations/latest/com.google.cloud.storagebatchoperations.v1.Manifest` | The manifest. |

### getManifestOrBuilder()

    public abstract ManifestOrBuilder getManifestOrBuilder()

Specifies objects in a manifest file.

`.google.cloud.storagebatchoperations.v1.Manifest manifest = 3;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-storagebatchoperations/latest/com.google.cloud.storagebatchoperations.v1.ManifestOrBuilder` |   |

### getObjectConfigurationCase()

    public abstract BucketList.Bucket.ObjectConfigurationCase getObjectConfigurationCase()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-storagebatchoperations/latest/com.google.cloud.storagebatchoperations.v1.BucketList.Bucket.ObjectConfigurationCase` |   |

### getPrefixList()

    public abstract PrefixList getPrefixList()

Specifies objects matching a prefix set.

`.google.cloud.storagebatchoperations.v1.PrefixList prefix_list = 2;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-storagebatchoperations/latest/com.google.cloud.storagebatchoperations.v1.PrefixList` | The prefixList. |

### getPrefixListOrBuilder()

    public abstract PrefixListOrBuilder getPrefixListOrBuilder()

Specifies objects matching a prefix set.

`.google.cloud.storagebatchoperations.v1.PrefixList prefix_list = 2;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-storagebatchoperations/latest/com.google.cloud.storagebatchoperations.v1.PrefixListOrBuilder` |   |

### hasManifest()

    public abstract boolean hasManifest()

Specifies objects in a manifest file.

`.google.cloud.storagebatchoperations.v1.Manifest manifest = 3;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the manifest field is set. |

### hasPrefixList()

    public abstract boolean hasPrefixList()

Specifies objects matching a prefix set.

`.google.cloud.storagebatchoperations.v1.PrefixList prefix_list = 2;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the prefixList field is set. |