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