Interface NewBucketConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
NewBucketConfig,NewBucketConfig.Builder
@Generated
public interface NewBucketConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionOptional.Optional.Required.com.google.protobuf.ByteStringRequired.Optional.Optional.Optional.intOptional.booleanOptional.booleanOptional.booleanOptional.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasAutoclass
boolean hasAutoclass()Optional. Immutable. If set, indicates that the bucket should use [Autoclass](https://cloud.google.com/storage/docs/autoclass).
.google.cloud.hypercomputecluster.v1.GcsAutoclassConfig autoclass = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];- Returns:
- Whether the autoclass field is set.
-
getAutoclass
GcsAutoclassConfig getAutoclass()Optional. Immutable. If set, indicates that the bucket should use [Autoclass](https://cloud.google.com/storage/docs/autoclass).
.google.cloud.hypercomputecluster.v1.GcsAutoclassConfig autoclass = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];- Returns:
- The autoclass.
-
getAutoclassOrBuilder
GcsAutoclassConfigOrBuilder getAutoclassOrBuilder()Optional. Immutable. If set, indicates that the bucket should use [Autoclass](https://cloud.google.com/storage/docs/autoclass).
.google.cloud.hypercomputecluster.v1.GcsAutoclassConfig autoclass = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; -
hasStorageClass
boolean hasStorageClass()Optional. Immutable. If set, uses the provided storage class as the bucket's default storage class.
.google.cloud.hypercomputecluster.v1.NewBucketConfig.StorageClass storage_class = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];- Returns:
- Whether the storageClass field is set.
-
getStorageClassValue
int getStorageClassValue()Optional. Immutable. If set, uses the provided storage class as the bucket's default storage class.
.google.cloud.hypercomputecluster.v1.NewBucketConfig.StorageClass storage_class = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];- Returns:
- The enum numeric value on the wire for storageClass.
-
getStorageClass
NewBucketConfig.StorageClass getStorageClass()Optional. Immutable. If set, uses the provided storage class as the bucket's default storage class.
.google.cloud.hypercomputecluster.v1.NewBucketConfig.StorageClass storage_class = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];- Returns:
- The storageClass.
-
getBucket
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:
- The bucket.
-
getBucketBytes
com.google.protobuf.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:
- The bytes for bucket.
-
hasHierarchicalNamespace
boolean hasHierarchicalNamespace()Optional. Immutable. If set, indicates that the bucket should use [hierarchical namespaces](https://cloud.google.com/storage/docs/hns-overview).
.google.cloud.hypercomputecluster.v1.GcsHierarchicalNamespaceConfig hierarchical_namespace = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];- Returns:
- Whether the hierarchicalNamespace field is set.
-
getHierarchicalNamespace
GcsHierarchicalNamespaceConfig getHierarchicalNamespace()Optional. Immutable. If set, indicates that the bucket should use [hierarchical namespaces](https://cloud.google.com/storage/docs/hns-overview).
.google.cloud.hypercomputecluster.v1.GcsHierarchicalNamespaceConfig hierarchical_namespace = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];- Returns:
- The hierarchicalNamespace.
-
getHierarchicalNamespaceOrBuilder
GcsHierarchicalNamespaceConfigOrBuilder getHierarchicalNamespaceOrBuilder()Optional. Immutable. If set, indicates that the bucket should use [hierarchical namespaces](https://cloud.google.com/storage/docs/hns-overview).
.google.cloud.hypercomputecluster.v1.GcsHierarchicalNamespaceConfig hierarchical_namespace = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; -
getOptionCase
NewBucketConfig.OptionCase getOptionCase()
-