Class PreservedState

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.compute.v1.PreservedState
All Implemented Interfaces:
PreservedStateOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class PreservedState extends com.google.protobuf.GeneratedMessage implements PreservedStateOrBuilder
 Preserved state for a given instance.
 
Protobuf type google.cloud.compute.v1.PreservedState
See Also:
  • Field Details

    • DISKS_FIELD_NUMBER

      public static final int DISKS_FIELD_NUMBER
      See Also:
    • EXTERNAL_I_PS_FIELD_NUMBER

      public static final int EXTERNAL_I_PS_FIELD_NUMBER
      See Also:
    • INTERNAL_I_PS_FIELD_NUMBER

      public static final int INTERNAL_I_PS_FIELD_NUMBER
      See Also:
    • METADATA_FIELD_NUMBER

      public static final int METADATA_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getDisksCount

      public int getDisksCount()
      Description copied from interface: PreservedStateOrBuilder
       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;
      Specified by:
      getDisksCount in interface PreservedStateOrBuilder
    • containsDisks

      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;
      Specified by:
      containsDisks in interface PreservedStateOrBuilder
    • getDisks

      Deprecated.
      Use getDisksMap() instead.
      Specified by:
      getDisks in interface PreservedStateOrBuilder
    • 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;
      Specified by:
      getDisksMap in interface PreservedStateOrBuilder
    • getDisksOrDefault

      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;
      Specified by:
      getDisksOrDefault in interface PreservedStateOrBuilder
    • getDisksOrThrow

      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;
      Specified by:
      getDisksOrThrow in interface PreservedStateOrBuilder
    • getExternalIPsCount

      public int getExternalIPsCount()
      Description copied from interface: PreservedStateOrBuilder
       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;
      Specified by:
      getExternalIPsCount in interface PreservedStateOrBuilder
    • containsExternalIPs

      public 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;
      Specified by:
      containsExternalIPs in interface PreservedStateOrBuilder
    • getExternalIPs

      Deprecated.
      Use getExternalIPsMap() instead.
      Specified by:
      getExternalIPs in interface PreservedStateOrBuilder
    • getExternalIPsMap

      public 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;
      Specified by:
      getExternalIPsMap in interface PreservedStateOrBuilder
    • getExternalIPsOrDefault

      public 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;
      Specified by:
      getExternalIPsOrDefault in interface PreservedStateOrBuilder
    • getExternalIPsOrThrow

      public 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;
      Specified by:
      getExternalIPsOrThrow in interface PreservedStateOrBuilder
    • getInternalIPsCount

      public int getInternalIPsCount()
      Description copied from interface: PreservedStateOrBuilder
       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;
      Specified by:
      getInternalIPsCount in interface PreservedStateOrBuilder
    • containsInternalIPs

      public 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;
      Specified by:
      containsInternalIPs in interface PreservedStateOrBuilder
    • getInternalIPs

      Deprecated.
      Use getInternalIPsMap() instead.
      Specified by:
      getInternalIPs in interface PreservedStateOrBuilder
    • getInternalIPsMap

      public 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;
      Specified by:
      getInternalIPsMap in interface PreservedStateOrBuilder
    • getInternalIPsOrDefault

      public 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;
      Specified by:
      getInternalIPsOrDefault in interface PreservedStateOrBuilder
    • getInternalIPsOrThrow

      public 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;
      Specified by:
      getInternalIPsOrThrow in interface PreservedStateOrBuilder
    • getMetadataCount

      public int getMetadataCount()
      Description copied from interface: PreservedStateOrBuilder
       Preserved metadata defined for this instance.
       
      map<string, string> metadata = 86866735;
      Specified by:
      getMetadataCount in interface PreservedStateOrBuilder
    • containsMetadata

      public boolean containsMetadata(String key)
       Preserved metadata defined for this instance.
       
      map<string, string> metadata = 86866735;
      Specified by:
      containsMetadata in interface PreservedStateOrBuilder
    • getMetadata

      @Deprecated public Map<String,String> getMetadata()
      Deprecated.
      Use getMetadataMap() instead.
      Specified by:
      getMetadata in interface PreservedStateOrBuilder
    • getMetadataMap

      public Map<String,String> getMetadataMap()
       Preserved metadata defined for this instance.
       
      map<string, string> metadata = 86866735;
      Specified by:
      getMetadataMap in interface PreservedStateOrBuilder
    • getMetadataOrDefault

      public String getMetadataOrDefault(String key, String defaultValue)
       Preserved metadata defined for this instance.
       
      map<string, string> metadata = 86866735;
      Specified by:
      getMetadataOrDefault in interface PreservedStateOrBuilder
    • getMetadataOrThrow

      public String getMetadataOrThrow(String key)
       Preserved metadata defined for this instance.
       
      map<string, string> metadata = 86866735;
      Specified by:
      getMetadataOrThrow in interface PreservedStateOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static PreservedState parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PreservedState parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PreservedState parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PreservedState parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PreservedState parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PreservedState parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PreservedState parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static PreservedState parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static PreservedState parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static PreservedState parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static PreservedState parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static PreservedState parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public PreservedState.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static PreservedState.Builder newBuilder()
    • newBuilder

      public static PreservedState.Builder newBuilder(PreservedState prototype)
    • toBuilder

      public PreservedState.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected PreservedState.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static PreservedState getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<PreservedState> parser()
    • getParserForType

      public com.google.protobuf.Parser<PreservedState> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public PreservedState getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder