public final class NetworkInterface extends GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Compute Engine API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description | 
|---|
| NetworkInterface() | 
| Modifier and Type | Method and Description | 
|---|---|
| NetworkInterface | clone() | 
| byte[] | decodeFingerprint()Fingerprint hash of contents stored in this network interface. | 
| NetworkInterface | encodeFingerprint(byte[] fingerprint)Fingerprint hash of contents stored in this network interface. | 
| List<AccessConfig> | getAccessConfigs()An array of configurations for this interface. | 
| List<AliasIpRange> | getAliasIpRanges()An array of alias IP ranges for this network interface. | 
| String | getFingerprint()Fingerprint hash of contents stored in this network interface. | 
| Integer | getInternalIpv6PrefixLength()The prefix length of the primary internal IPv6 range. | 
| List<AccessConfig> | getIpv6AccessConfigs()An array of IPv6 access configurations for this interface. | 
| String | getIpv6AccessType()[Output Only] One of EXTERNAL, INTERNAL to indicate whether the IP can be accessed from the
 Internet. | 
| String | getIpv6Address()An IPv6 internal network address for this network interface. | 
| String | getKind()[Output Only] Type of the resource. | 
| String | getName()[Output Only] The name of the network interface, which is generated by the server. | 
| String | getNetwork()URL of the VPC network resource for this instance. | 
| String | getNetworkIP()An IPv4 internal IP address to assign to the instance for this network interface. | 
| String | getNicType()The type of vNIC to be used on this interface. | 
| Integer | getQueueCount()The networking queue count that's specified by users for the network interface. | 
| String | getStackType()The stack type for this network interface to identify whether the IPv6 feature is enabled or
 not. | 
| String | getSubnetwork()The URL of the Subnetwork resource for this instance. | 
| NetworkInterface | set(String fieldName,
   Object value) | 
| NetworkInterface | setAccessConfigs(List<AccessConfig> accessConfigs)An array of configurations for this interface. | 
| NetworkInterface | setAliasIpRanges(List<AliasIpRange> aliasIpRanges)An array of alias IP ranges for this network interface. | 
| NetworkInterface | setFingerprint(String fingerprint)Fingerprint hash of contents stored in this network interface. | 
| NetworkInterface | setInternalIpv6PrefixLength(Integer internalIpv6PrefixLength)The prefix length of the primary internal IPv6 range. | 
| NetworkInterface | setIpv6AccessConfigs(List<AccessConfig> ipv6AccessConfigs)An array of IPv6 access configurations for this interface. | 
| NetworkInterface | setIpv6AccessType(String ipv6AccessType)[Output Only] One of EXTERNAL, INTERNAL to indicate whether the IP can be accessed from the
 Internet. | 
| NetworkInterface | setIpv6Address(String ipv6Address)An IPv6 internal network address for this network interface. | 
| NetworkInterface | setKind(String kind)[Output Only] Type of the resource. | 
| NetworkInterface | setName(String name)[Output Only] The name of the network interface, which is generated by the server. | 
| NetworkInterface | setNetwork(String network)URL of the VPC network resource for this instance. | 
| NetworkInterface | setNetworkIP(String networkIP)An IPv4 internal IP address to assign to the instance for this network interface. | 
| NetworkInterface | setNicType(String nicType)The type of vNIC to be used on this interface. | 
| NetworkInterface | setQueueCount(Integer queueCount)The networking queue count that's specified by users for the network interface. | 
| NetworkInterface | setStackType(String stackType)The stack type for this network interface to identify whether the IPv6 feature is enabled or
 not. | 
| NetworkInterface | setSubnetwork(String subnetwork)The URL of the Subnetwork resource for this instance. | 
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic List<AccessConfig> getAccessConfigs()
null for nonepublic NetworkInterface setAccessConfigs(List<AccessConfig> accessConfigs)
accessConfigs - accessConfigs or null for nonepublic List<AliasIpRange> getAliasIpRanges()
null for nonepublic NetworkInterface setAliasIpRanges(List<AliasIpRange> aliasIpRanges)
aliasIpRanges - aliasIpRanges or null for nonepublic String getFingerprint()
null for nonedecodeFingerprint()public byte[] decodeFingerprint()
null for nonegetFingerprint()public NetworkInterface setFingerprint(String fingerprint)
fingerprint - fingerprint or null for none#encodeFingerprint()public NetworkInterface encodeFingerprint(byte[] fingerprint)
 The value is encoded Base64 or {@code null} for none.
 
public Integer getInternalIpv6PrefixLength()
null for nonepublic NetworkInterface setInternalIpv6PrefixLength(Integer internalIpv6PrefixLength)
internalIpv6PrefixLength - internalIpv6PrefixLength or null for nonepublic List<AccessConfig> getIpv6AccessConfigs()
null for nonepublic NetworkInterface setIpv6AccessConfigs(List<AccessConfig> ipv6AccessConfigs)
ipv6AccessConfigs - ipv6AccessConfigs or null for nonepublic String getIpv6AccessType()
null for nonepublic NetworkInterface setIpv6AccessType(String ipv6AccessType)
ipv6AccessType - ipv6AccessType or null for nonepublic String getIpv6Address()
null for nonepublic NetworkInterface setIpv6Address(String ipv6Address)
ipv6Address - ipv6Address or null for nonepublic String getKind()
null for nonepublic NetworkInterface setKind(String kind)
kind - kind or null for nonepublic String getName()
null for nonepublic NetworkInterface setName(String name)
name - name or null for nonepublic String getNetwork()
null for nonepublic NetworkInterface setNetwork(String network)
network - network or null for nonepublic String getNetworkIP()
null for nonepublic NetworkInterface setNetworkIP(String networkIP)
networkIP - networkIP or null for nonepublic String getNicType()
null for nonepublic NetworkInterface setNicType(String nicType)
nicType - nicType or null for nonepublic Integer getQueueCount()
null for nonepublic NetworkInterface setQueueCount(Integer queueCount)
queueCount - queueCount or null for nonepublic String getStackType()
null for nonepublic NetworkInterface setStackType(String stackType)
stackType - stackType or null for nonepublic String getSubnetwork()
null for nonepublic NetworkInterface setSubnetwork(String subnetwork)
subnetwork - subnetwork or null for nonepublic NetworkInterface set(String fieldName, Object value)
set in class GenericJsonpublic NetworkInterface clone()
clone in class GenericJsonCopyright © 2011–2022 Google. All rights reserved.