public final class PreservedState extends GeneratedMessageV3 implements PreservedStateOrBuilder
Preserved state for a given instance.
Protobuf type google.cloud.compute.v1.PreservedState
Static Fields
DISKS_FIELD_NUMBER
public static final int DISKS_FIELD_NUMBER
Field Value
public static final int METADATA_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static PreservedState getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static PreservedState.Builder newBuilder()
Returns
newBuilder(PreservedState prototype)
public static PreservedState.Builder newBuilder(PreservedState prototype)
Parameter
Returns
public static PreservedState parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static PreservedState parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static PreservedState parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static PreservedState parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static PreservedState parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PreservedState parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static PreservedState parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static PreservedState parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static PreservedState parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static PreservedState parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static PreservedState parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static PreservedState parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<PreservedState> parser()
Returns
Methods
containsDisks(String key)
public 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;
Parameter
Returns
public boolean containsMetadata(String key)
Preserved metadata defined for this instance.
map<string, string> metadata = 86866735;
Parameter
Returns
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public PreservedState getDefaultInstanceForType()
Returns
getDisks()
public Map<String,PreservedStatePreservedDisk> getDisks()
Returns
getDisksCount()
public int getDisksCount()
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;
Returns
getDisksMap()
public 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;
Returns
getDisksOrDefault(String key, PreservedStatePreservedDisk defaultValue)
public 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;
Parameters
Returns
getDisksOrThrow(String key)
public 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;
Parameter
Returns
public Map<String,String> getMetadata()
Returns
public int getMetadataCount()
Preserved metadata defined for this instance.
map<string, string> metadata = 86866735;
Returns
public Map<String,String> getMetadataMap()
Preserved metadata defined for this instance.
map<string, string> metadata = 86866735;
Returns
public String getMetadataOrDefault(String key, String defaultValue)
Preserved metadata defined for this instance.
map<string, string> metadata = 86866735;
Parameters
Returns
public String getMetadataOrThrow(String key)
Preserved metadata defined for this instance.
map<string, string> metadata = 86866735;
Parameter
Returns
getParserForType()
public Parser<PreservedState> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public PreservedState.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected PreservedState.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public PreservedState.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions