Class StatefulPolicyPreservedState (1.25.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

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

equals(Object obj)

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

getDefaultInstanceForType()

public StatefulPolicyPreservedState getDefaultInstanceForType()
Returns
TypeDescription
StatefulPolicyPreservedState

getDisks()

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

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
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