public static final class StatefulPolicyPreservedState.Builder extends GeneratedMessageV3.Builder<StatefulPolicyPreservedState.Builder> implements StatefulPolicyPreservedStateOrBuilder
Configuration of preserved resources.
Protobuf type google.cloud.compute.v1.StatefulPolicyPreservedState
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public StatefulPolicyPreservedState.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public StatefulPolicyPreservedState build()
Returns
buildPartial()
public StatefulPolicyPreservedState buildPartial()
Returns
clear()
public StatefulPolicyPreservedState.Builder clear()
Returns
Overrides
clearDisks()
public StatefulPolicyPreservedState.Builder clearDisks()
Returns
clearField(Descriptors.FieldDescriptor field)
public StatefulPolicyPreservedState.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public StatefulPolicyPreservedState.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public StatefulPolicyPreservedState.Builder clone()
Returns
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
Returns
getDefaultInstanceForType()
public StatefulPolicyPreservedState getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getDisks()
public Map<String,StatefulPolicyPreservedStateDiskDevice> getDisks()
Returns
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
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;
Returns
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;
Parameters
Returns
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
Returns
getMutableDisks()
public Map<String,StatefulPolicyPreservedStateDiskDevice> getMutableDisks()
Use alternate mutation accessors instead.
Returns
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter
Returns
Overrides
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Parameter
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(StatefulPolicyPreservedState other)
public StatefulPolicyPreservedState.Builder mergeFrom(StatefulPolicyPreservedState other)
Parameter
Returns
public StatefulPolicyPreservedState.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public StatefulPolicyPreservedState.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final StatefulPolicyPreservedState.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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;
Parameter
Returns
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;
Parameters
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public StatefulPolicyPreservedState.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public StatefulPolicyPreservedState.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final StatefulPolicyPreservedState.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides