Interface StorageLayoutOrBuilder (2.38.0)

public interface StorageLayoutOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCustomPlacementConfig()

public abstract StorageLayout.CustomPlacementConfig getCustomPlacementConfig()

Output only. The data placement configuration for custom dual region. If there is no configuration, this is not a custom dual region bucket.

.google.storage.control.v2.StorageLayout.CustomPlacementConfig custom_placement_config = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
StorageLayout.CustomPlacementConfig

The customPlacementConfig.

getCustomPlacementConfigOrBuilder()

public abstract StorageLayout.CustomPlacementConfigOrBuilder getCustomPlacementConfigOrBuilder()

Output only. The data placement configuration for custom dual region. If there is no configuration, this is not a custom dual region bucket.

.google.storage.control.v2.StorageLayout.CustomPlacementConfig custom_placement_config = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
StorageLayout.CustomPlacementConfigOrBuilder

getHierarchicalNamespace()

public abstract StorageLayout.HierarchicalNamespace getHierarchicalNamespace()

Output only. The bucket's hierarchical namespace configuration. If there is no configuration, the hierarchical namespace is disabled.

.google.storage.control.v2.StorageLayout.HierarchicalNamespace hierarchical_namespace = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
StorageLayout.HierarchicalNamespace

The hierarchicalNamespace.

getHierarchicalNamespaceOrBuilder()

public abstract StorageLayout.HierarchicalNamespaceOrBuilder getHierarchicalNamespaceOrBuilder()

Output only. The bucket's hierarchical namespace configuration. If there is no configuration, the hierarchical namespace is disabled.

.google.storage.control.v2.StorageLayout.HierarchicalNamespace hierarchical_namespace = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
StorageLayout.HierarchicalNamespaceOrBuilder

getLocation()

public abstract String getLocation()

Output only. The location of the bucket.

string location = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The location.

getLocationBytes()

public abstract ByteString getLocationBytes()

Output only. The location of the bucket.

string location = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for location.

getLocationType()

public abstract String getLocationType()

Output only. The location type of the bucket (region, dual-region, multi-region, etc).

string location_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The locationType.

getLocationTypeBytes()

public abstract ByteString getLocationTypeBytes()

Output only. The location type of the bucket (region, dual-region, multi-region, etc).

string location_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for locationType.

getName()

public abstract String getName()

Output only. The name of the StorageLayout resource. Format: projects/{project}/buckets/{bucket}/storageLayout

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Output only. The name of the StorageLayout resource. Format: projects/{project}/buckets/{bucket}/storageLayout

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for name.

hasCustomPlacementConfig()

public abstract boolean hasCustomPlacementConfig()

Output only. The data placement configuration for custom dual region. If there is no configuration, this is not a custom dual region bucket.

.google.storage.control.v2.StorageLayout.CustomPlacementConfig custom_placement_config = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the customPlacementConfig field is set.

hasHierarchicalNamespace()

public abstract boolean hasHierarchicalNamespace()

Output only. The bucket's hierarchical namespace configuration. If there is no configuration, the hierarchical namespace is disabled.

.google.storage.control.v2.StorageLayout.HierarchicalNamespace hierarchical_namespace = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the hierarchicalNamespace field is set.