Interface NewBucketConfigOrBuilder (0.1.0)

public interface NewBucketConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAutoclass()

public abstract GcsAutoclassConfig getAutoclass()

Optional. Immutable. If set, indicates that the bucket should use Autoclass.

.google.cloud.hypercomputecluster.v1beta.GcsAutoclassConfig autoclass = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
GcsAutoclassConfig

The autoclass.

getAutoclassOrBuilder()

public abstract GcsAutoclassConfigOrBuilder getAutoclassOrBuilder()

Optional. Immutable. If set, indicates that the bucket should use Autoclass.

.google.cloud.hypercomputecluster.v1beta.GcsAutoclassConfig autoclass = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
GcsAutoclassConfigOrBuilder

getBucket()

public abstract String getBucket()

Required. Immutable. Name of the Cloud Storage bucket to create.

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

Returns
Type Description
String

The bucket.

getBucketBytes()

public abstract ByteString getBucketBytes()

Required. Immutable. Name of the Cloud Storage bucket to create.

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

Returns
Type Description
ByteString

The bytes for bucket.

getHierarchicalNamespace()

public abstract GcsHierarchicalNamespaceConfig getHierarchicalNamespace()

Optional. Immutable. If set, indicates that the bucket should use hierarchical namespaces.

.google.cloud.hypercomputecluster.v1beta.GcsHierarchicalNamespaceConfig hierarchical_namespace = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
GcsHierarchicalNamespaceConfig

The hierarchicalNamespace.

getHierarchicalNamespaceOrBuilder()

public abstract GcsHierarchicalNamespaceConfigOrBuilder getHierarchicalNamespaceOrBuilder()

Optional. Immutable. If set, indicates that the bucket should use hierarchical namespaces.

.google.cloud.hypercomputecluster.v1beta.GcsHierarchicalNamespaceConfig hierarchical_namespace = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
GcsHierarchicalNamespaceConfigOrBuilder

getOptionCase()

public abstract NewBucketConfig.OptionCase getOptionCase()
Returns
Type Description
NewBucketConfig.OptionCase

getStorageClass()

public abstract NewBucketConfig.StorageClass getStorageClass()

Optional. Immutable. If set, uses the provided storage class as the bucket's default storage class.

.google.cloud.hypercomputecluster.v1beta.NewBucketConfig.StorageClass storage_class = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
NewBucketConfig.StorageClass

The storageClass.

getStorageClassValue()

public abstract int getStorageClassValue()

Optional. Immutable. If set, uses the provided storage class as the bucket's default storage class.

.google.cloud.hypercomputecluster.v1beta.NewBucketConfig.StorageClass storage_class = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
int

The enum numeric value on the wire for storageClass.

hasAutoclass()

public abstract boolean hasAutoclass()

Optional. Immutable. If set, indicates that the bucket should use Autoclass.

.google.cloud.hypercomputecluster.v1beta.GcsAutoclassConfig autoclass = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
boolean

Whether the autoclass field is set.

hasHierarchicalNamespace()

public abstract boolean hasHierarchicalNamespace()

Optional. Immutable. If set, indicates that the bucket should use hierarchical namespaces.

.google.cloud.hypercomputecluster.v1beta.GcsHierarchicalNamespaceConfig hierarchical_namespace = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
boolean

Whether the hierarchicalNamespace field is set.

hasStorageClass()

public abstract boolean hasStorageClass()

Optional. Immutable. If set, uses the provided storage class as the bucket's default storage class.

.google.cloud.hypercomputecluster.v1beta.NewBucketConfig.StorageClass storage_class = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
boolean

Whether the storageClass field is set.