public static final class StatefulPolicyPreservedState.Builder extends GeneratedMessageV3.Builder<StatefulPolicyPreservedState.Builder> implements StatefulPolicyPreservedStateOrBuilder
Configuration of preserved resources.
Protobuf type google.cloud.compute.v1.StatefulPolicyPreservedState
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 StatefulPolicyPreservedState.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public StatefulPolicyPreservedState build()
buildPartial()
public StatefulPolicyPreservedState buildPartial()
clear()
public StatefulPolicyPreservedState.Builder clear()
Overrides
clearDisks()
public StatefulPolicyPreservedState.Builder clearDisks()
clearExternalIPs()
public StatefulPolicyPreservedState.Builder clearExternalIPs()
clearField(Descriptors.FieldDescriptor field)
public StatefulPolicyPreservedState.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearInternalIPs()
public StatefulPolicyPreservedState.Builder clearInternalIPs()
clearOneof(Descriptors.OneofDescriptor oneof)
public StatefulPolicyPreservedState.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public StatefulPolicyPreservedState.Builder clone()
Overrides
containsDisks(String key)
public boolean containsDisks(String key)
Disks created on the instances that will be preserved on instance delete, update, etc. This map is keyed with the device names of the disks.
map<string, .google.cloud.compute.v1.StatefulPolicyPreservedStateDiskDevice> disks = 95594102;
Parameter |
Name |
Description |
key |
String
|
containsExternalIPs(String key)
public boolean containsExternalIPs(String key)
External network IPs assigned to the instances that will be preserved on instance delete, update, etc. This map is keyed with the network interface name.
map<string, .google.cloud.compute.v1.StatefulPolicyPreservedStateNetworkIp> external_i_ps = 532687245;
Parameter |
Name |
Description |
key |
String
|
containsInternalIPs(String key)
public boolean containsInternalIPs(String key)
Internal network IPs assigned to the instances that will be preserved on instance delete, update, etc. This map is keyed with the network interface name.
map<string, .google.cloud.compute.v1.StatefulPolicyPreservedStateNetworkIp> internal_i_ps = 215731675;
Parameter |
Name |
Description |
key |
String
|
getDefaultInstanceForType()
public StatefulPolicyPreservedState getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getDisks() (deprecated)
public Map<String,StatefulPolicyPreservedStateDiskDevice> getDisks()
getDisksCount()
public int getDisksCount()
Disks created on the instances that will be preserved on instance delete, update, etc. This map is keyed with the device names of the disks.
map<string, .google.cloud.compute.v1.StatefulPolicyPreservedStateDiskDevice> disks = 95594102;
Returns |
Type |
Description |
int |
|
getDisksMap()
public Map<String,StatefulPolicyPreservedStateDiskDevice> getDisksMap()
Disks created on the instances that will be preserved on instance delete, update, etc. This map is keyed with the device names of the disks.
map<string, .google.cloud.compute.v1.StatefulPolicyPreservedStateDiskDevice> disks = 95594102;
getDisksOrDefault(String key, StatefulPolicyPreservedStateDiskDevice defaultValue)
public StatefulPolicyPreservedStateDiskDevice getDisksOrDefault(String key, StatefulPolicyPreservedStateDiskDevice defaultValue)
Disks created on the instances that will be preserved on instance delete, update, etc. This map is keyed with the device names of the disks.
map<string, .google.cloud.compute.v1.StatefulPolicyPreservedStateDiskDevice> disks = 95594102;
getDisksOrThrow(String key)
public StatefulPolicyPreservedStateDiskDevice getDisksOrThrow(String key)
Disks created on the instances that will be preserved on instance delete, update, etc. This map is keyed with the device names of the disks.
map<string, .google.cloud.compute.v1.StatefulPolicyPreservedStateDiskDevice> disks = 95594102;
Parameter |
Name |
Description |
key |
String
|
getExternalIPs() (deprecated)
public Map<String,StatefulPolicyPreservedStateNetworkIp> getExternalIPs()
getExternalIPsCount()
public int getExternalIPsCount()
External network IPs assigned to the instances that will be preserved on instance delete, update, etc. This map is keyed with the network interface name.
map<string, .google.cloud.compute.v1.StatefulPolicyPreservedStateNetworkIp> external_i_ps = 532687245;
Returns |
Type |
Description |
int |
|
getExternalIPsMap()
public Map<String,StatefulPolicyPreservedStateNetworkIp> getExternalIPsMap()
External network IPs assigned to the instances that will be preserved on instance delete, update, etc. This map is keyed with the network interface name.
map<string, .google.cloud.compute.v1.StatefulPolicyPreservedStateNetworkIp> external_i_ps = 532687245;
getExternalIPsOrDefault(String key, StatefulPolicyPreservedStateNetworkIp defaultValue)
public StatefulPolicyPreservedStateNetworkIp getExternalIPsOrDefault(String key, StatefulPolicyPreservedStateNetworkIp defaultValue)
External network IPs assigned to the instances that will be preserved on instance delete, update, etc. This map is keyed with the network interface name.
map<string, .google.cloud.compute.v1.StatefulPolicyPreservedStateNetworkIp> external_i_ps = 532687245;
getExternalIPsOrThrow(String key)
public StatefulPolicyPreservedStateNetworkIp getExternalIPsOrThrow(String key)
External network IPs assigned to the instances that will be preserved on instance delete, update, etc. This map is keyed with the network interface name.
map<string, .google.cloud.compute.v1.StatefulPolicyPreservedStateNetworkIp> external_i_ps = 532687245;
Parameter |
Name |
Description |
key |
String
|
getInternalIPs() (deprecated)
public Map<String,StatefulPolicyPreservedStateNetworkIp> getInternalIPs()
getInternalIPsCount()
public int getInternalIPsCount()
Internal network IPs assigned to the instances that will be preserved on instance delete, update, etc. This map is keyed with the network interface name.
map<string, .google.cloud.compute.v1.StatefulPolicyPreservedStateNetworkIp> internal_i_ps = 215731675;
Returns |
Type |
Description |
int |
|
getInternalIPsMap()
public Map<String,StatefulPolicyPreservedStateNetworkIp> getInternalIPsMap()
Internal network IPs assigned to the instances that will be preserved on instance delete, update, etc. This map is keyed with the network interface name.
map<string, .google.cloud.compute.v1.StatefulPolicyPreservedStateNetworkIp> internal_i_ps = 215731675;
getInternalIPsOrDefault(String key, StatefulPolicyPreservedStateNetworkIp defaultValue)
public StatefulPolicyPreservedStateNetworkIp getInternalIPsOrDefault(String key, StatefulPolicyPreservedStateNetworkIp defaultValue)
Internal network IPs assigned to the instances that will be preserved on instance delete, update, etc. This map is keyed with the network interface name.
map<string, .google.cloud.compute.v1.StatefulPolicyPreservedStateNetworkIp> internal_i_ps = 215731675;
getInternalIPsOrThrow(String key)
public StatefulPolicyPreservedStateNetworkIp getInternalIPsOrThrow(String key)
Internal network IPs assigned to the instances that will be preserved on instance delete, update, etc. This map is keyed with the network interface name.
map<string, .google.cloud.compute.v1.StatefulPolicyPreservedStateNetworkIp> internal_i_ps = 215731675;
Parameter |
Name |
Description |
key |
String
|
getMutableDisks() (deprecated)
public Map<String,StatefulPolicyPreservedStateDiskDevice> getMutableDisks()
Use alternate mutation accessors instead.
getMutableExternalIPs() (deprecated)
public Map<String,StatefulPolicyPreservedStateNetworkIp> getMutableExternalIPs()
Use alternate mutation accessors instead.
getMutableInternalIPs() (deprecated)
public Map<String,StatefulPolicyPreservedStateNetworkIp> getMutableInternalIPs()
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(StatefulPolicyPreservedState other)
public StatefulPolicyPreservedState.Builder mergeFrom(StatefulPolicyPreservedState other)
public StatefulPolicyPreservedState.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public StatefulPolicyPreservedState.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final StatefulPolicyPreservedState.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
putAllDisks(Map<String,StatefulPolicyPreservedStateDiskDevice> values)
public StatefulPolicyPreservedState.Builder putAllDisks(Map<String,StatefulPolicyPreservedStateDiskDevice> values)
Disks created on the instances that will be preserved on instance delete, update, etc. This map is keyed with the device names of the disks.
map<string, .google.cloud.compute.v1.StatefulPolicyPreservedStateDiskDevice> disks = 95594102;
putAllExternalIPs(Map<String,StatefulPolicyPreservedStateNetworkIp> values)
public StatefulPolicyPreservedState.Builder putAllExternalIPs(Map<String,StatefulPolicyPreservedStateNetworkIp> values)
External network IPs assigned to the instances that will be preserved on instance delete, update, etc. This map is keyed with the network interface name.
map<string, .google.cloud.compute.v1.StatefulPolicyPreservedStateNetworkIp> external_i_ps = 532687245;
putAllInternalIPs(Map<String,StatefulPolicyPreservedStateNetworkIp> values)
public StatefulPolicyPreservedState.Builder putAllInternalIPs(Map<String,StatefulPolicyPreservedStateNetworkIp> values)
Internal network IPs assigned to the instances that will be preserved on instance delete, update, etc. This map is keyed with the network interface name.
map<string, .google.cloud.compute.v1.StatefulPolicyPreservedStateNetworkIp> internal_i_ps = 215731675;
putDisks(String key, StatefulPolicyPreservedStateDiskDevice value)
public StatefulPolicyPreservedState.Builder putDisks(String key, StatefulPolicyPreservedStateDiskDevice value)
Disks created on the instances that will be preserved on instance delete, update, etc. This map is keyed with the device names of the disks.
map<string, .google.cloud.compute.v1.StatefulPolicyPreservedStateDiskDevice> disks = 95594102;
putDisksBuilderIfAbsent(String key)
public StatefulPolicyPreservedStateDiskDevice.Builder putDisksBuilderIfAbsent(String key)
Disks created on the instances that will be preserved on instance delete, update, etc. This map is keyed with the device names of the disks.
map<string, .google.cloud.compute.v1.StatefulPolicyPreservedStateDiskDevice> disks = 95594102;
Parameter |
Name |
Description |
key |
String
|
putExternalIPs(String key, StatefulPolicyPreservedStateNetworkIp value)
public StatefulPolicyPreservedState.Builder putExternalIPs(String key, StatefulPolicyPreservedStateNetworkIp value)
External network IPs assigned to the instances that will be preserved on instance delete, update, etc. This map is keyed with the network interface name.
map<string, .google.cloud.compute.v1.StatefulPolicyPreservedStateNetworkIp> external_i_ps = 532687245;
putExternalIPsBuilderIfAbsent(String key)
public StatefulPolicyPreservedStateNetworkIp.Builder putExternalIPsBuilderIfAbsent(String key)
External network IPs assigned to the instances that will be preserved on instance delete, update, etc. This map is keyed with the network interface name.
map<string, .google.cloud.compute.v1.StatefulPolicyPreservedStateNetworkIp> external_i_ps = 532687245;
Parameter |
Name |
Description |
key |
String
|
putInternalIPs(String key, StatefulPolicyPreservedStateNetworkIp value)
public StatefulPolicyPreservedState.Builder putInternalIPs(String key, StatefulPolicyPreservedStateNetworkIp value)
Internal network IPs assigned to the instances that will be preserved on instance delete, update, etc. This map is keyed with the network interface name.
map<string, .google.cloud.compute.v1.StatefulPolicyPreservedStateNetworkIp> internal_i_ps = 215731675;
putInternalIPsBuilderIfAbsent(String key)
public StatefulPolicyPreservedStateNetworkIp.Builder putInternalIPsBuilderIfAbsent(String key)
Internal network IPs assigned to the instances that will be preserved on instance delete, update, etc. This map is keyed with the network interface name.
map<string, .google.cloud.compute.v1.StatefulPolicyPreservedStateNetworkIp> internal_i_ps = 215731675;
Parameter |
Name |
Description |
key |
String
|
removeDisks(String key)
public StatefulPolicyPreservedState.Builder removeDisks(String key)
Disks created on the instances that will be preserved on instance delete, update, etc. This map is keyed with the device names of the disks.
map<string, .google.cloud.compute.v1.StatefulPolicyPreservedStateDiskDevice> disks = 95594102;
Parameter |
Name |
Description |
key |
String
|
removeExternalIPs(String key)
public StatefulPolicyPreservedState.Builder removeExternalIPs(String key)
External network IPs assigned to the instances that will be preserved on instance delete, update, etc. This map is keyed with the network interface name.
map<string, .google.cloud.compute.v1.StatefulPolicyPreservedStateNetworkIp> external_i_ps = 532687245;
Parameter |
Name |
Description |
key |
String
|
removeInternalIPs(String key)
public StatefulPolicyPreservedState.Builder removeInternalIPs(String key)
Internal network IPs assigned to the instances that will be preserved on instance delete, update, etc. This map is keyed with the network interface name.
map<string, .google.cloud.compute.v1.StatefulPolicyPreservedStateNetworkIp> internal_i_ps = 215731675;
Parameter |
Name |
Description |
key |
String
|
setField(Descriptors.FieldDescriptor field, Object value)
public StatefulPolicyPreservedState.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public StatefulPolicyPreservedState.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final StatefulPolicyPreservedState.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides