public static final class FutureResourcesSpecLocationPolicy.Builder extends GeneratedMessageV3.Builder<FutureResourcesSpecLocationPolicy.Builder> implements FutureResourcesSpecLocationPolicyOrBuilder
Specification of locations to create resources in.
Protobuf type google.cloud.compute.v1.FutureResourcesSpecLocationPolicy
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public FutureResourcesSpecLocationPolicy.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public FutureResourcesSpecLocationPolicy build()
buildPartial()
public FutureResourcesSpecLocationPolicy buildPartial()
clear()
public FutureResourcesSpecLocationPolicy.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public FutureResourcesSpecLocationPolicy.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearLocations()
public FutureResourcesSpecLocationPolicy.Builder clearLocations()
clearOneof(Descriptors.OneofDescriptor oneof)
public FutureResourcesSpecLocationPolicy.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public FutureResourcesSpecLocationPolicy.Builder clone()
Overrides
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 GeneratedMessageV3.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.GeneratedMessageV3.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.GeneratedMessageV3.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
mergeUnknownFields(UnknownFieldSet unknownFields)
public final FutureResourcesSpecLocationPolicy.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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
|
setField(Descriptors.FieldDescriptor field, Object value)
public FutureResourcesSpecLocationPolicy.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public FutureResourcesSpecLocationPolicy.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final FutureResourcesSpecLocationPolicy.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides