public final class PreservedState extends com.google.protobuf.GeneratedMessageV3 implements PreservedStateOrBuilder
Preserved state for a given instance.Protobuf type
google.cloud.compute.v1.PreservedState| Modifier and Type | Class and Description |
|---|---|
static class |
PreservedState.Builder
Preserved state for a given instance.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
DISKS_FIELD_NUMBER |
static int |
EXTERNAL_I_PS_FIELD_NUMBER |
static int |
INTERNAL_I_PS_FIELD_NUMBER |
static int |
METADATA_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsDisks(String key)
Preserved disks defined for this instance.
|
boolean |
containsExternalIPs(String key)
Preserved external IPs defined for this instance.
|
boolean |
containsInternalIPs(String key)
Preserved internal IPs defined for this instance.
|
boolean |
containsMetadata(String key)
Preserved metadata defined for this instance.
|
boolean |
equals(Object obj) |
static PreservedState |
getDefaultInstance() |
PreservedState |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Map<String,PreservedStatePreservedDisk> |
getDisks()
Deprecated.
|
int |
getDisksCount()
Preserved disks defined for this instance.
|
Map<String,PreservedStatePreservedDisk> |
getDisksMap()
Preserved disks defined for this instance.
|
PreservedStatePreservedDisk |
getDisksOrDefault(String key,
PreservedStatePreservedDisk defaultValue)
Preserved disks defined for this instance.
|
PreservedStatePreservedDisk |
getDisksOrThrow(String key)
Preserved disks defined for this instance.
|
Map<String,PreservedStatePreservedNetworkIp> |
getExternalIPs()
Deprecated.
|
int |
getExternalIPsCount()
Preserved external IPs defined for this instance.
|
Map<String,PreservedStatePreservedNetworkIp> |
getExternalIPsMap()
Preserved external IPs defined for this instance.
|
PreservedStatePreservedNetworkIp |
getExternalIPsOrDefault(String key,
PreservedStatePreservedNetworkIp defaultValue)
Preserved external IPs defined for this instance.
|
PreservedStatePreservedNetworkIp |
getExternalIPsOrThrow(String key)
Preserved external IPs defined for this instance.
|
Map<String,PreservedStatePreservedNetworkIp> |
getInternalIPs()
Deprecated.
|
int |
getInternalIPsCount()
Preserved internal IPs defined for this instance.
|
Map<String,PreservedStatePreservedNetworkIp> |
getInternalIPsMap()
Preserved internal IPs defined for this instance.
|
PreservedStatePreservedNetworkIp |
getInternalIPsOrDefault(String key,
PreservedStatePreservedNetworkIp defaultValue)
Preserved internal IPs defined for this instance.
|
PreservedStatePreservedNetworkIp |
getInternalIPsOrThrow(String key)
Preserved internal IPs defined for this instance.
|
Map<String,String> |
getMetadata()
Deprecated.
|
int |
getMetadataCount()
Preserved metadata defined for this instance.
|
Map<String,String> |
getMetadataMap()
Preserved metadata defined for this instance.
|
String |
getMetadataOrDefault(String key,
String defaultValue)
Preserved metadata defined for this instance.
|
String |
getMetadataOrThrow(String key)
Preserved metadata defined for this instance.
|
com.google.protobuf.Parser<PreservedState> |
getParserForType() |
int |
getSerializedSize() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMapFieldReflection(int number) |
boolean |
isInitialized() |
static PreservedState.Builder |
newBuilder() |
static PreservedState.Builder |
newBuilder(PreservedState prototype) |
PreservedState.Builder |
newBuilderForType() |
protected PreservedState.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static PreservedState |
parseDelimitedFrom(InputStream input) |
static PreservedState |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PreservedState |
parseFrom(byte[] data) |
static PreservedState |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PreservedState |
parseFrom(ByteBuffer data) |
static PreservedState |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PreservedState |
parseFrom(com.google.protobuf.ByteString data) |
static PreservedState |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PreservedState |
parseFrom(com.google.protobuf.CodedInputStream input) |
static PreservedState |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PreservedState |
parseFrom(InputStream input) |
static PreservedState |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<PreservedState> |
parser() |
PreservedState.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int DISKS_FIELD_NUMBER
public static final int EXTERNAL_I_PS_FIELD_NUMBER
public static final int INTERNAL_I_PS_FIELD_NUMBER
public static final int METADATA_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public int getDisksCount()
PreservedStateOrBuilderPreserved disks defined for this instance. This map is keyed with the device names of the disks.
map<string, .google.cloud.compute.v1.PreservedStatePreservedDisk> disks = 95594102;
getDisksCount in interface PreservedStateOrBuilderpublic boolean containsDisks(String key)
Preserved disks defined for this instance. This map is keyed with the device names of the disks.
map<string, .google.cloud.compute.v1.PreservedStatePreservedDisk> disks = 95594102;
containsDisks in interface PreservedStateOrBuilder@Deprecated public Map<String,PreservedStatePreservedDisk> getDisks()
getDisksMap() instead.getDisks in interface PreservedStateOrBuilderpublic Map<String,PreservedStatePreservedDisk> getDisksMap()
Preserved disks defined for this instance. This map is keyed with the device names of the disks.
map<string, .google.cloud.compute.v1.PreservedStatePreservedDisk> disks = 95594102;
getDisksMap in interface PreservedStateOrBuilderpublic PreservedStatePreservedDisk getDisksOrDefault(String key, PreservedStatePreservedDisk defaultValue)
Preserved disks defined for this instance. This map is keyed with the device names of the disks.
map<string, .google.cloud.compute.v1.PreservedStatePreservedDisk> disks = 95594102;
getDisksOrDefault in interface PreservedStateOrBuilderpublic PreservedStatePreservedDisk getDisksOrThrow(String key)
Preserved disks defined for this instance. This map is keyed with the device names of the disks.
map<string, .google.cloud.compute.v1.PreservedStatePreservedDisk> disks = 95594102;
getDisksOrThrow in interface PreservedStateOrBuilderpublic int getExternalIPsCount()
PreservedStateOrBuilderPreserved external IPs defined for this instance. This map is keyed with the name of the network interface.
map<string, .google.cloud.compute.v1.PreservedStatePreservedNetworkIp> external_i_ps = 532687245;
getExternalIPsCount in interface PreservedStateOrBuilderpublic boolean containsExternalIPs(String key)
Preserved external IPs defined for this instance. This map is keyed with the name of the network interface.
map<string, .google.cloud.compute.v1.PreservedStatePreservedNetworkIp> external_i_ps = 532687245;
containsExternalIPs in interface PreservedStateOrBuilder@Deprecated public Map<String,PreservedStatePreservedNetworkIp> getExternalIPs()
getExternalIPsMap() instead.getExternalIPs in interface PreservedStateOrBuilderpublic Map<String,PreservedStatePreservedNetworkIp> getExternalIPsMap()
Preserved external IPs defined for this instance. This map is keyed with the name of the network interface.
map<string, .google.cloud.compute.v1.PreservedStatePreservedNetworkIp> external_i_ps = 532687245;
getExternalIPsMap in interface PreservedStateOrBuilderpublic PreservedStatePreservedNetworkIp getExternalIPsOrDefault(String key, PreservedStatePreservedNetworkIp defaultValue)
Preserved external IPs defined for this instance. This map is keyed with the name of the network interface.
map<string, .google.cloud.compute.v1.PreservedStatePreservedNetworkIp> external_i_ps = 532687245;
getExternalIPsOrDefault in interface PreservedStateOrBuilderpublic PreservedStatePreservedNetworkIp getExternalIPsOrThrow(String key)
Preserved external IPs defined for this instance. This map is keyed with the name of the network interface.
map<string, .google.cloud.compute.v1.PreservedStatePreservedNetworkIp> external_i_ps = 532687245;
getExternalIPsOrThrow in interface PreservedStateOrBuilderpublic int getInternalIPsCount()
PreservedStateOrBuilderPreserved internal IPs defined for this instance. This map is keyed with the name of the network interface.
map<string, .google.cloud.compute.v1.PreservedStatePreservedNetworkIp> internal_i_ps = 215731675;
getInternalIPsCount in interface PreservedStateOrBuilderpublic boolean containsInternalIPs(String key)
Preserved internal IPs defined for this instance. This map is keyed with the name of the network interface.
map<string, .google.cloud.compute.v1.PreservedStatePreservedNetworkIp> internal_i_ps = 215731675;
containsInternalIPs in interface PreservedStateOrBuilder@Deprecated public Map<String,PreservedStatePreservedNetworkIp> getInternalIPs()
getInternalIPsMap() instead.getInternalIPs in interface PreservedStateOrBuilderpublic Map<String,PreservedStatePreservedNetworkIp> getInternalIPsMap()
Preserved internal IPs defined for this instance. This map is keyed with the name of the network interface.
map<string, .google.cloud.compute.v1.PreservedStatePreservedNetworkIp> internal_i_ps = 215731675;
getInternalIPsMap in interface PreservedStateOrBuilderpublic PreservedStatePreservedNetworkIp getInternalIPsOrDefault(String key, PreservedStatePreservedNetworkIp defaultValue)
Preserved internal IPs defined for this instance. This map is keyed with the name of the network interface.
map<string, .google.cloud.compute.v1.PreservedStatePreservedNetworkIp> internal_i_ps = 215731675;
getInternalIPsOrDefault in interface PreservedStateOrBuilderpublic PreservedStatePreservedNetworkIp getInternalIPsOrThrow(String key)
Preserved internal IPs defined for this instance. This map is keyed with the name of the network interface.
map<string, .google.cloud.compute.v1.PreservedStatePreservedNetworkIp> internal_i_ps = 215731675;
getInternalIPsOrThrow in interface PreservedStateOrBuilderpublic int getMetadataCount()
PreservedStateOrBuilderPreserved metadata defined for this instance.
map<string, string> metadata = 86866735;getMetadataCount in interface PreservedStateOrBuilderpublic boolean containsMetadata(String key)
Preserved metadata defined for this instance.
map<string, string> metadata = 86866735;containsMetadata in interface PreservedStateOrBuilder@Deprecated public Map<String,String> getMetadata()
getMetadataMap() instead.getMetadata in interface PreservedStateOrBuilderpublic Map<String,String> getMetadataMap()
Preserved metadata defined for this instance.
map<string, string> metadata = 86866735;getMetadataMap in interface PreservedStateOrBuilderpublic String getMetadataOrDefault(String key, String defaultValue)
Preserved metadata defined for this instance.
map<string, string> metadata = 86866735;getMetadataOrDefault in interface PreservedStateOrBuilderpublic String getMetadataOrThrow(String key)
Preserved metadata defined for this instance.
map<string, string> metadata = 86866735;getMetadataOrThrow in interface PreservedStateOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static PreservedState parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PreservedState parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PreservedState parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PreservedState parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PreservedState parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PreservedState parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PreservedState parseFrom(InputStream input) throws IOException
IOExceptionpublic static PreservedState parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static PreservedState parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static PreservedState parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static PreservedState parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static PreservedState parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic PreservedState.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static PreservedState.Builder newBuilder()
public static PreservedState.Builder newBuilder(PreservedState prototype)
public PreservedState.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected PreservedState.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static PreservedState getDefaultInstance()
public static com.google.protobuf.Parser<PreservedState> parser()
public com.google.protobuf.Parser<PreservedState> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public PreservedState getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2025 Google LLC. All rights reserved.