Package com.google.cloud.compute.v1
Class StatefulPolicyPreservedState.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<StatefulPolicyPreservedState.Builder>
com.google.cloud.compute.v1.StatefulPolicyPreservedState.Builder
- All Implemented Interfaces:
StatefulPolicyPreservedStateOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- StatefulPolicyPreservedState
public static final class StatefulPolicyPreservedState.Builder
extends com.google.protobuf.GeneratedMessage.Builder<StatefulPolicyPreservedState.Builder>
implements StatefulPolicyPreservedStateOrBuilder
Configuration of preserved resources.Protobuf type
google.cloud.compute.v1.StatefulPolicyPreservedState-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()booleancontainsDisks(String key) Disks created on the instances that will be preserved on instance delete, update, etc.booleanExternal network IPs assigned to the instances that will be preserved on instance delete, update, etc.booleanInternal network IPs assigned to the instances that will be preserved on instance delete, update, etc.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetDisks()Deprecated.intDisks created on the instances that will be preserved on instance delete, update, etc.Disks created on the instances that will be preserved on instance delete, update, etc.getDisksOrDefault(String key, StatefulPolicyPreservedStateDiskDevice defaultValue) Disks created on the instances that will be preserved on instance delete, update, etc.getDisksOrThrow(String key) Disks created on the instances that will be preserved on instance delete, update, etc.Deprecated.intExternal network IPs assigned to the instances that will be preserved on instance delete, update, etc.External network IPs assigned to the instances that will be preserved on instance delete, update, etc.getExternalIPsOrDefault(String key, StatefulPolicyPreservedStateNetworkIp defaultValue) External network IPs assigned to the instances that will be preserved on instance delete, update, etc.External network IPs assigned to the instances that will be preserved on instance delete, update, etc.Deprecated.intInternal network IPs assigned to the instances that will be preserved on instance delete, update, etc.Internal network IPs assigned to the instances that will be preserved on instance delete, update, etc.getInternalIPsOrDefault(String key, StatefulPolicyPreservedStateNetworkIp defaultValue) Internal network IPs assigned to the instances that will be preserved on instance delete, update, etc.Internal network IPs assigned to the instances that will be preserved on instance delete, update, etc.Deprecated.Deprecated.Deprecated.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Disks created on the instances that will be preserved on instance delete, update, etc.External network IPs assigned to the instances that will be preserved on instance delete, update, etc.Internal network IPs assigned to the instances that will be preserved on instance delete, update, etc.putDisks(String key, StatefulPolicyPreservedStateDiskDevice value) Disks created on the instances that will be preserved on instance delete, update, etc.Disks created on the instances that will be preserved on instance delete, update, etc.External network IPs assigned to the instances that will be preserved on instance delete, update, etc.External network IPs assigned to the instances that will be preserved on instance delete, update, etc.Internal network IPs assigned to the instances that will be preserved on instance delete, update, etc.Internal network IPs assigned to the instances that will be preserved on instance delete, update, etc.removeDisks(String key) Disks created on the instances that will be preserved on instance delete, update, etc.removeExternalIPs(String key) External network IPs assigned to the instances that will be preserved on instance delete, update, etc.removeInternalIPs(String key) Internal network IPs assigned to the instances that will be preserved on instance delete, update, etc.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<StatefulPolicyPreservedState.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<StatefulPolicyPreservedState.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<StatefulPolicyPreservedState.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<StatefulPolicyPreservedState.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<StatefulPolicyPreservedState.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<StatefulPolicyPreservedState.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<StatefulPolicyPreservedState.Builder>
-
mergeFrom
public StatefulPolicyPreservedState.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<StatefulPolicyPreservedState.Builder>- Throws:
IOException
-
getDisksCount
public int getDisksCount()Description copied from interface:StatefulPolicyPreservedStateOrBuilderDisks 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;- Specified by:
getDisksCountin interfaceStatefulPolicyPreservedStateOrBuilder
-
containsDisks
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;- Specified by:
containsDisksin interfaceStatefulPolicyPreservedStateOrBuilder
-
getDisks
Deprecated.UsegetDisksMap()instead.- Specified by:
getDisksin interfaceStatefulPolicyPreservedStateOrBuilder
-
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;- Specified by:
getDisksMapin interfaceStatefulPolicyPreservedStateOrBuilder
-
getDisksOrDefault
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;- Specified by:
getDisksOrDefaultin interfaceStatefulPolicyPreservedStateOrBuilder
-
getDisksOrThrow
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;- Specified by:
getDisksOrThrowin interfaceStatefulPolicyPreservedStateOrBuilder
-
clearDisks
-
removeDisks
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; -
getMutableDisks
Deprecated.Use alternate mutation accessors instead. -
putDisks
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; -
putAllDisks
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; -
putDisksBuilderIfAbsent
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; -
getExternalIPsCount
public int getExternalIPsCount()Description copied from interface:StatefulPolicyPreservedStateOrBuilderExternal 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;- Specified by:
getExternalIPsCountin interfaceStatefulPolicyPreservedStateOrBuilder
-
containsExternalIPs
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;- Specified by:
containsExternalIPsin interfaceStatefulPolicyPreservedStateOrBuilder
-
getExternalIPs
Deprecated.UsegetExternalIPsMap()instead.- Specified by:
getExternalIPsin interfaceStatefulPolicyPreservedStateOrBuilder
-
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;- Specified by:
getExternalIPsMapin interfaceStatefulPolicyPreservedStateOrBuilder
-
getExternalIPsOrDefault
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;- Specified by:
getExternalIPsOrDefaultin interfaceStatefulPolicyPreservedStateOrBuilder
-
getExternalIPsOrThrow
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;- Specified by:
getExternalIPsOrThrowin interfaceStatefulPolicyPreservedStateOrBuilder
-
clearExternalIPs
-
removeExternalIPs
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; -
getMutableExternalIPs
Deprecated.Use alternate mutation accessors instead. -
putExternalIPs
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; -
putAllExternalIPs
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; -
putExternalIPsBuilderIfAbsent
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; -
getInternalIPsCount
public int getInternalIPsCount()Description copied from interface:StatefulPolicyPreservedStateOrBuilderInternal 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;- Specified by:
getInternalIPsCountin interfaceStatefulPolicyPreservedStateOrBuilder
-
containsInternalIPs
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;- Specified by:
containsInternalIPsin interfaceStatefulPolicyPreservedStateOrBuilder
-
getInternalIPs
Deprecated.UsegetInternalIPsMap()instead.- Specified by:
getInternalIPsin interfaceStatefulPolicyPreservedStateOrBuilder
-
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;- Specified by:
getInternalIPsMapin interfaceStatefulPolicyPreservedStateOrBuilder
-
getInternalIPsOrDefault
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;- Specified by:
getInternalIPsOrDefaultin interfaceStatefulPolicyPreservedStateOrBuilder
-
getInternalIPsOrThrow
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;- Specified by:
getInternalIPsOrThrowin interfaceStatefulPolicyPreservedStateOrBuilder
-
clearInternalIPs
-
removeInternalIPs
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; -
getMutableInternalIPs
Deprecated.Use alternate mutation accessors instead. -
putInternalIPs
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; -
putAllInternalIPs
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; -
putInternalIPsBuilderIfAbsent
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;
-