public static final class FutureResourcesSpecLocationPolicy.Builder extends GeneratedMessage.Builder<FutureResourcesSpecLocationPolicy.Builder> implements FutureResourcesSpecLocationPolicyOrBuilder
Specification of locations to create resources in.
Protobuf type google.cloud.compute.v1.FutureResourcesSpecLocationPolicy
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
build()
public FutureResourcesSpecLocationPolicy build()
buildPartial()
public FutureResourcesSpecLocationPolicy buildPartial()
clear()
public FutureResourcesSpecLocationPolicy.Builder clear()
Overrides
clearLocations()
public FutureResourcesSpecLocationPolicy.Builder clearLocations()
containsLocations(String key)
public boolean containsLocations(String key)
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;
| Parameter |
| Name |
Description |
key |
String
|
getDefaultInstanceForType()
public FutureResourcesSpecLocationPolicy getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getLocations() (deprecated)
public Map<String,FutureResourcesSpecLocationPolicyLocation> getLocations()
getLocationsCount()
public 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;
| Returns |
| Type |
Description |
int |
|
getLocationsMap()
public 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(String key, FutureResourcesSpecLocationPolicyLocation defaultValue)
public 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(String key)
public FutureResourcesSpecLocationPolicyLocation getLocationsOrThrow(String key)
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;
| Parameter |
| Name |
Description |
key |
String
|
getMutableLocations() (deprecated)
public Map<String,FutureResourcesSpecLocationPolicyLocation> getMutableLocations()
Use alternate mutation accessors instead.
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
| Parameter |
| Name |
Description |
number |
int
|
| Returns |
| Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
| Parameter |
| Name |
Description |
number |
int
|
| Returns |
| Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(FutureResourcesSpecLocationPolicy other)
public FutureResourcesSpecLocationPolicy.Builder mergeFrom(FutureResourcesSpecLocationPolicy other)
public FutureResourcesSpecLocationPolicy.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public FutureResourcesSpecLocationPolicy.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
putAllLocations(Map<String,FutureResourcesSpecLocationPolicyLocation> values)
public FutureResourcesSpecLocationPolicy.Builder putAllLocations(Map<String,FutureResourcesSpecLocationPolicyLocation> values)
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;
putLocations(String key, FutureResourcesSpecLocationPolicyLocation value)
public FutureResourcesSpecLocationPolicy.Builder putLocations(String key, FutureResourcesSpecLocationPolicyLocation value)
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;
putLocationsBuilderIfAbsent(String key)
public FutureResourcesSpecLocationPolicyLocation.Builder putLocationsBuilderIfAbsent(String key)
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;
| Parameter |
| Name |
Description |
key |
String
|
removeLocations(String key)
public FutureResourcesSpecLocationPolicy.Builder removeLocations(String key)
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;
| Parameter |
| Name |
Description |
key |
String
|