Class StatefulPolicyPreservedState (1.44.0)

public final class StatefulPolicyPreservedState extends GeneratedMessageV3 implements StatefulPolicyPreservedStateOrBuilder

Configuration of preserved resources.

Protobuf type google.cloud.compute.v1.StatefulPolicyPreservedState

Static Fields

DISKS_FIELD_NUMBER

public static final int DISKS_FIELD_NUMBER
Field Value
TypeDescription
int

EXTERNAL_I_PS_FIELD_NUMBER

public static final int EXTERNAL_I_PS_FIELD_NUMBER
Field Value
TypeDescription
int

INTERNAL_I_PS_FIELD_NUMBER

public static final int INTERNAL_I_PS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static StatefulPolicyPreservedState getDefaultInstance()
Returns
TypeDescription
StatefulPolicyPreservedState

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static StatefulPolicyPreservedState.Builder newBuilder()
Returns
TypeDescription
StatefulPolicyPreservedState.Builder

newBuilder(StatefulPolicyPreservedState prototype)

public static StatefulPolicyPreservedState.Builder newBuilder(StatefulPolicyPreservedState prototype)
Parameter
NameDescription
prototypeStatefulPolicyPreservedState
Returns
TypeDescription
StatefulPolicyPreservedState.Builder

parseDelimitedFrom(InputStream input)

public static StatefulPolicyPreservedState parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
StatefulPolicyPreservedState
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StatefulPolicyPreservedState parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StatefulPolicyPreservedState
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static StatefulPolicyPreservedState parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
StatefulPolicyPreservedState
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static StatefulPolicyPreservedState parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StatefulPolicyPreservedState
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static StatefulPolicyPreservedState parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
StatefulPolicyPreservedState
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static StatefulPolicyPreservedState parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StatefulPolicyPreservedState
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static StatefulPolicyPreservedState parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
StatefulPolicyPreservedState
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static StatefulPolicyPreservedState parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StatefulPolicyPreservedState
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static StatefulPolicyPreservedState parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
StatefulPolicyPreservedState
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StatefulPolicyPreservedState parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StatefulPolicyPreservedState
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static StatefulPolicyPreservedState parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
StatefulPolicyPreservedState
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static StatefulPolicyPreservedState parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StatefulPolicyPreservedState
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<StatefulPolicyPreservedState> parser()
Returns
TypeDescription
Parser<StatefulPolicyPreservedState>

Methods

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
NameDescription
keyString
Returns
TypeDescription
boolean

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
NameDescription
keyString
Returns
TypeDescription
boolean

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
NameDescription
keyString
Returns
TypeDescription
boolean

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public StatefulPolicyPreservedState getDefaultInstanceForType()
Returns
TypeDescription
StatefulPolicyPreservedState

getDisks() (deprecated)

public Map<String,StatefulPolicyPreservedStateDiskDevice> getDisks()

Use #getDisksMap() instead.

Returns
TypeDescription
Map<String,StatefulPolicyPreservedStateDiskDevice>

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
TypeDescription
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;

Returns
TypeDescription
Map<String,StatefulPolicyPreservedStateDiskDevice>

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
NameDescription
keyString
defaultValueStatefulPolicyPreservedStateDiskDevice
Returns
TypeDescription
StatefulPolicyPreservedStateDiskDevice

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
NameDescription
keyString
Returns
TypeDescription
StatefulPolicyPreservedStateDiskDevice

getExternalIPs() (deprecated)

public Map<String,StatefulPolicyPreservedStateNetworkIp> getExternalIPs()

Use #getExternalIPsMap() instead.

Returns
TypeDescription
Map<String,StatefulPolicyPreservedStateNetworkIp>

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
TypeDescription
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;

Returns
TypeDescription
Map<String,StatefulPolicyPreservedStateNetworkIp>

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;

Parameters
NameDescription
keyString
defaultValueStatefulPolicyPreservedStateNetworkIp
Returns
TypeDescription
StatefulPolicyPreservedStateNetworkIp

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
NameDescription
keyString
Returns
TypeDescription
StatefulPolicyPreservedStateNetworkIp

getInternalIPs() (deprecated)

public Map<String,StatefulPolicyPreservedStateNetworkIp> getInternalIPs()

Use #getInternalIPsMap() instead.

Returns
TypeDescription
Map<String,StatefulPolicyPreservedStateNetworkIp>

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
TypeDescription
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;

Returns
TypeDescription
Map<String,StatefulPolicyPreservedStateNetworkIp>

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;

Parameters
NameDescription
keyString
defaultValueStatefulPolicyPreservedStateNetworkIp
Returns
TypeDescription
StatefulPolicyPreservedStateNetworkIp

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
NameDescription
keyString
Returns
TypeDescription
StatefulPolicyPreservedStateNetworkIp

getParserForType()

public Parser<StatefulPolicyPreservedState> getParserForType()
Returns
TypeDescription
Parser<StatefulPolicyPreservedState>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public StatefulPolicyPreservedState.Builder newBuilderForType()
Returns
TypeDescription
StatefulPolicyPreservedState.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected StatefulPolicyPreservedState.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
StatefulPolicyPreservedState.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public StatefulPolicyPreservedState.Builder toBuilder()
Returns
TypeDescription
StatefulPolicyPreservedState.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException