Package com.google.storage.control.v2
Interface StorageLayout.CustomPlacementConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
StorageLayout.CustomPlacementConfig,StorageLayout.CustomPlacementConfig.Builder
- Enclosing class:
- StorageLayout
public static interface StorageLayout.CustomPlacementConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetDataLocations(int index) List of locations to use for data placement.com.google.protobuf.ByteStringgetDataLocationsBytes(int index) List of locations to use for data placement.intList of locations to use for data placement.List of locations to use for data placement.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
-
getDataLocationsList
List of locations to use for data placement.
repeated string data_locations = 1;- Returns:
- A list containing the dataLocations.
-
getDataLocationsCount
int getDataLocationsCount()List of locations to use for data placement.
repeated string data_locations = 1;- Returns:
- The count of dataLocations.
-
getDataLocations
List of locations to use for data placement.
repeated string data_locations = 1;- Parameters:
index- The index of the element to return.- Returns:
- The dataLocations at the given index.
-
getDataLocationsBytes
com.google.protobuf.ByteString getDataLocationsBytes(int index) List of locations to use for data placement.
repeated string data_locations = 1;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the dataLocations at the given index.
-