Class StatefulPolicyPreservedState (1.54.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
Type Description
int

EXTERNAL_I_PS_FIELD_NUMBER

public static final int EXTERNAL_I_PS_FIELD_NUMBER
Field Value
Type Description
int

INTERNAL_I_PS_FIELD_NUMBER

public static final int INTERNAL_I_PS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static StatefulPolicyPreservedState getDefaultInstance()
Returns
Type Description
StatefulPolicyPreservedState

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static StatefulPolicyPreservedState.Builder newBuilder()
Returns
Type Description
StatefulPolicyPreservedState.Builder

newBuilder(StatefulPolicyPreservedState prototype)

public static StatefulPolicyPreservedState.Builder newBuilder(StatefulPolicyPreservedState prototype)
Parameter
Name Description
prototype StatefulPolicyPreservedState
Returns
Type Description
StatefulPolicyPreservedState.Builder

parseDelimitedFrom(InputStream input)

public static StatefulPolicyPreservedState parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
StatefulPolicyPreservedState
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StatefulPolicyPreservedState parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StatefulPolicyPreservedState
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static StatefulPolicyPreservedState parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
StatefulPolicyPreservedState
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static StatefulPolicyPreservedState parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StatefulPolicyPreservedState
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static StatefulPolicyPreservedState parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
StatefulPolicyPreservedState
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static StatefulPolicyPreservedState parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StatefulPolicyPreservedState
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static StatefulPolicyPreservedState parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
StatefulPolicyPreservedState
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static StatefulPolicyPreservedState parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StatefulPolicyPreservedState
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static StatefulPolicyPreservedState parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
StatefulPolicyPreservedState
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StatefulPolicyPreservedState parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StatefulPolicyPreservedState
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static StatefulPolicyPreservedState parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
StatefulPolicyPreservedState
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static StatefulPolicyPreservedState parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StatefulPolicyPreservedState
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<StatefulPolicyPreservedState> parser()
Returns
Type Description
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
Name Description
key String
Returns
Type Description
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
Name Description
key String
Returns
Type Description
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
Name Description
key String
Returns
Type Description
boolean

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public StatefulPolicyPreservedState getDefaultInstanceForType()
Returns
Type Description
StatefulPolicyPreservedState

getDisks() (deprecated)

public Map<String,StatefulPolicyPreservedStateDiskDevice> getDisks()

Use #getDisksMap() instead.

Returns
Type Description
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
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;

Returns
Type Description
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
Name Description
key String
defaultValue StatefulPolicyPreservedStateDiskDevice
Returns
Type Description
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
Name Description
key String
Returns
Type Description
StatefulPolicyPreservedStateDiskDevice

getExternalIPs() (deprecated)

public Map<String,StatefulPolicyPreservedStateNetworkIp> getExternalIPs()

Use #getExternalIPsMap() instead.

Returns
Type Description
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
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;

Returns
Type Description
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
Name Description
key String
defaultValue StatefulPolicyPreservedStateNetworkIp
Returns
Type Description
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
Name Description
key String
Returns
Type Description
StatefulPolicyPreservedStateNetworkIp

getInternalIPs() (deprecated)

public Map<String,StatefulPolicyPreservedStateNetworkIp> getInternalIPs()

Use #getInternalIPsMap() instead.

Returns
Type Description
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
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;

Returns
Type Description
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
Name Description
key String
defaultValue StatefulPolicyPreservedStateNetworkIp
Returns
Type Description
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
Name Description
key String
Returns
Type Description
StatefulPolicyPreservedStateNetworkIp

getParserForType()

public Parser<StatefulPolicyPreservedState> getParserForType()
Returns
Type Description
Parser<StatefulPolicyPreservedState>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
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.internalGetMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public StatefulPolicyPreservedState.Builder newBuilderForType()
Returns
Type Description
StatefulPolicyPreservedState.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected StatefulPolicyPreservedState.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
StatefulPolicyPreservedState.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public StatefulPolicyPreservedState.Builder toBuilder()
Returns
Type Description
StatefulPolicyPreservedState.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException