Package com.google.cloud.compute.v1
Interface FutureResourcesSpecLocationPolicyOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
FutureResourcesSpecLocationPolicy,FutureResourcesSpecLocationPolicy.Builder
@Generated
public interface FutureResourcesSpecLocationPolicyOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsLocations(String key) Preferences for specified locations.Deprecated.intPreferences for specified locations.Preferences for specified locations.getLocationsOrDefault(String key, FutureResourcesSpecLocationPolicyLocation defaultValue) Preferences for specified locations.Preferences for specified locations.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
-
getLocationsCount
int getLocationsCount()Preferences for specified locations. Keys of the map are locations - zones, in format of 'zones/'. Values are preferences for the zones. If a zone is not specified in this map, it is ALLOWed.
map<string, .google.cloud.compute.v1.FutureResourcesSpecLocationPolicyLocation> locations = 413423454; -
containsLocations
Preferences for specified locations. Keys of the map are locations - zones, in format of 'zones/'. Values are preferences for the zones. If a zone is not specified in this map, it is ALLOWed.
map<string, .google.cloud.compute.v1.FutureResourcesSpecLocationPolicyLocation> locations = 413423454; -
getLocations
Deprecated.UsegetLocationsMap()instead. -
getLocationsMap
Map<String,FutureResourcesSpecLocationPolicyLocation> getLocationsMap()Preferences for specified locations. Keys of the map are locations - zones, in format of 'zones/'. Values are preferences for the zones. If a zone is not specified in this map, it is ALLOWed.
map<string, .google.cloud.compute.v1.FutureResourcesSpecLocationPolicyLocation> locations = 413423454; -
getLocationsOrDefault
FutureResourcesSpecLocationPolicyLocation getLocationsOrDefault(String key, FutureResourcesSpecLocationPolicyLocation defaultValue) Preferences for specified locations. Keys of the map are locations - zones, in format of 'zones/'. Values are preferences for the zones. If a zone is not specified in this map, it is ALLOWed.
map<string, .google.cloud.compute.v1.FutureResourcesSpecLocationPolicyLocation> locations = 413423454; -
getLocationsOrThrow
Preferences for specified locations. Keys of the map are locations - zones, in format of 'zones/'. Values are preferences for the zones. If a zone is not specified in this map, it is ALLOWed.
map<string, .google.cloud.compute.v1.FutureResourcesSpecLocationPolicyLocation> locations = 413423454;
-