public final class Address 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 | 
|---|
| Address() | 
| Modifier and Type | Method and Description | 
|---|---|
| Address | clone() | 
| byte[] | decodeLabelFingerprint()A fingerprint for the labels being applied to this Address, which is essentially a hash of the
 labels set used for optimistic locking. | 
| Address | encodeLabelFingerprint(byte[] labelFingerprint)A fingerprint for the labels being applied to this Address, which is essentially a hash of the
 labels set used for optimistic locking. | 
| String | getAddress()The static IP address represented by this resource. | 
| String | getAddressType()The type of address to reserve, either INTERNAL or EXTERNAL. | 
| String | getCreationTimestamp()[Output Only] Creation timestamp in RFC3339 text format. | 
| String | getDescription()An optional description of this resource. | 
| BigInteger | getId()[Output Only] The unique identifier for the resource. | 
| String | getIpVersion()The IP version that will be used by this address. | 
| String | getKind()[Output Only] Type of the resource. | 
| String | getLabelFingerprint()A fingerprint for the labels being applied to this Address, which is essentially a hash of the
 labels set used for optimistic locking. | 
| Map<String,String> | getLabels()Labels for this resource. | 
| String | getName()Name of the resource. | 
| String | getNetwork()The URL of the network in which to reserve the address. | 
| String | getNetworkTier()This signifies the networking tier used for configuring this address and can only take the
 following values: PREMIUM or STANDARD. | 
| Integer | getPrefixLength()The prefix length if the resource represents an IP range. | 
| String | getPurpose()The purpose of this resource, which can be one of the following values: - GCE_ENDPOINT for
 addresses that are used by VM instances, alias IP ranges, load balancers, and similar
 resources. | 
| String | getRegion()[Output Only] The URL of the region where a regional address resides. | 
| String | getSelfLink()[Output Only] Server-defined URL for the resource. | 
| String | getStatus()[Output Only] The status of the address, which can be one of RESERVING, RESERVED, or IN_USE. | 
| String | getSubnetwork()The URL of the subnetwork in which to reserve the address. | 
| List<String> | getUsers()[Output Only] The URLs of the resources that are using this address. | 
| Address | set(String fieldName,
   Object value) | 
| Address | setAddress(String address)The static IP address represented by this resource. | 
| Address | setAddressType(String addressType)The type of address to reserve, either INTERNAL or EXTERNAL. | 
| Address | setCreationTimestamp(String creationTimestamp)[Output Only] Creation timestamp in RFC3339 text format. | 
| Address | setDescription(String description)An optional description of this resource. | 
| Address | setId(BigInteger id)[Output Only] The unique identifier for the resource. | 
| Address | setIpVersion(String ipVersion)The IP version that will be used by this address. | 
| Address | setKind(String kind)[Output Only] Type of the resource. | 
| Address | setLabelFingerprint(String labelFingerprint)A fingerprint for the labels being applied to this Address, which is essentially a hash of the
 labels set used for optimistic locking. | 
| Address | setLabels(Map<String,String> labels)Labels for this resource. | 
| Address | setName(String name)Name of the resource. | 
| Address | setNetwork(String network)The URL of the network in which to reserve the address. | 
| Address | setNetworkTier(String networkTier)This signifies the networking tier used for configuring this address and can only take the
 following values: PREMIUM or STANDARD. | 
| Address | setPrefixLength(Integer prefixLength)The prefix length if the resource represents an IP range. | 
| Address | setPurpose(String purpose)The purpose of this resource, which can be one of the following values: - GCE_ENDPOINT for
 addresses that are used by VM instances, alias IP ranges, load balancers, and similar
 resources. | 
| Address | setRegion(String region)[Output Only] The URL of the region where a regional address resides. | 
| Address | setSelfLink(String selfLink)[Output Only] Server-defined URL for the resource. | 
| Address | setStatus(String status)[Output Only] The status of the address, which can be one of RESERVING, RESERVED, or IN_USE. | 
| Address | setSubnetwork(String subnetwork)The URL of the subnetwork in which to reserve the address. | 
| Address | setUsers(List<String> users)[Output Only] The URLs of the resources that are using this address. | 
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 String getAddress()
null for nonepublic Address setAddress(String address)
address - address or null for nonepublic String getAddressType()
null for nonepublic Address setAddressType(String addressType)
addressType - addressType or null for nonepublic String getCreationTimestamp()
null for nonepublic Address setCreationTimestamp(String creationTimestamp)
creationTimestamp - creationTimestamp or null for nonepublic String getDescription()
null for nonepublic Address setDescription(String description)
description - description or null for nonepublic BigInteger getId()
null for nonepublic Address setId(BigInteger id)
id - id or null for nonepublic String getIpVersion()
null for nonepublic Address setIpVersion(String ipVersion)
ipVersion - ipVersion or null for nonepublic String getKind()
null for nonepublic Address setKind(String kind)
kind - kind or null for nonepublic String getLabelFingerprint()
null for nonedecodeLabelFingerprint()public byte[] decodeLabelFingerprint()
null for nonegetLabelFingerprint()public Address setLabelFingerprint(String labelFingerprint)
labelFingerprint - labelFingerprint or null for none#encodeLabelFingerprint()public Address encodeLabelFingerprint(byte[] labelFingerprint)
 The value is encoded Base64 or {@code null} for none.
 
public Map<String,String> getLabels()
null for nonepublic Address setLabels(Map<String,String> labels)
labels - labels or null for nonepublic String getName()
null for nonepublic Address setName(String name)
name - name or null for nonepublic String getNetwork()
null for nonepublic Address setNetwork(String network)
network - network or null for nonepublic String getNetworkTier()
null for nonepublic Address setNetworkTier(String networkTier)
networkTier - networkTier or null for nonepublic Integer getPrefixLength()
null for nonepublic Address setPrefixLength(Integer prefixLength)
prefixLength - prefixLength or null for nonepublic String getPurpose()
null for nonepublic Address setPurpose(String purpose)
purpose - purpose or null for nonepublic String getRegion()
null for nonepublic Address setRegion(String region)
region - region or null for nonepublic String getSelfLink()
null for nonepublic Address setSelfLink(String selfLink)
selfLink - selfLink or null for nonepublic String getStatus()
null for nonepublic Address setStatus(String status)
status - status or null for nonepublic String getSubnetwork()
null for nonepublic Address setSubnetwork(String subnetwork)
subnetwork - subnetwork or null for nonepublic List<String> getUsers()
null for nonepublic Address setUsers(List<String> users)
users - users or null for nonepublic Address set(String fieldName, Object value)
set in class GenericJsonpublic Address clone()
clone in class GenericJsonCopyright © 2011–2022 Google. All rights reserved.