public final class Address extends com.google.protobuf.GeneratedMessageV3 implements AddressOrBuilder
Represents an IP Address resource. Google Compute Engine has two IP Address resources: * [Global (external and internal)](https://cloud.google.com/compute/docs/reference/rest/v1/globalAddresses) * [Regional (external and internal)](https://cloud.google.com/compute/docs/reference/rest/v1/addresses) For more information, see Reserving a static external IP address.Protobuf type
google.cloud.compute.v1.Address| Modifier and Type | Class and Description |
|---|---|
static class |
Address.AddressType
The type of address to reserve, either INTERNAL or EXTERNAL.
|
static class |
Address.Builder
Represents an IP Address resource.
|
static class |
Address.Ipv6EndpointType
The endpoint type of this address, which should be VM or NETLB.
|
static class |
Address.IpVersion
The IP version that will be used by this address.
|
static class |
Address.NetworkTier
This signifies the networking tier used for configuring this address and can only take the following values: PREMIUM or STANDARD.
|
static class |
Address.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.
|
static class |
Address.Status
[Output Only] The status of the address, which can be one of RESERVING, RESERVED, or IN_USE.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ADDRESS_FIELD_NUMBER |
static int |
ADDRESS_TYPE_FIELD_NUMBER |
static int |
CREATION_TIMESTAMP_FIELD_NUMBER |
static int |
DESCRIPTION_FIELD_NUMBER |
static int |
ID_FIELD_NUMBER |
static int |
IP_VERSION_FIELD_NUMBER |
static int |
IPV6_ENDPOINT_TYPE_FIELD_NUMBER |
static int |
KIND_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
NETWORK_FIELD_NUMBER |
static int |
NETWORK_TIER_FIELD_NUMBER |
static int |
PREFIX_LENGTH_FIELD_NUMBER |
static int |
PURPOSE_FIELD_NUMBER |
static int |
REGION_FIELD_NUMBER |
static int |
SELF_LINK_FIELD_NUMBER |
static int |
STATUS_FIELD_NUMBER |
static int |
SUBNETWORK_FIELD_NUMBER |
static int |
USERS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getAddress()
The static IP address represented by this resource.
|
com.google.protobuf.ByteString |
getAddressBytes()
The static IP address represented by this resource.
|
String |
getAddressType()
The type of address to reserve, either INTERNAL or EXTERNAL.
|
com.google.protobuf.ByteString |
getAddressTypeBytes()
The type of address to reserve, either INTERNAL or EXTERNAL.
|
String |
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
com.google.protobuf.ByteString |
getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
|
static Address |
getDefaultInstance() |
Address |
getDefaultInstanceForType() |
String |
getDescription()
An optional description of this resource.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
An optional description of this resource.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
long |
getId()
[Output Only] The unique identifier for the resource.
|
String |
getIpv6EndpointType()
The endpoint type of this address, which should be VM or NETLB.
|
com.google.protobuf.ByteString |
getIpv6EndpointTypeBytes()
The endpoint type of this address, which should be VM or NETLB.
|
String |
getIpVersion()
The IP version that will be used by this address.
|
com.google.protobuf.ByteString |
getIpVersionBytes()
The IP version that will be used by this address.
|
String |
getKind()
[Output Only] Type of the resource.
|
com.google.protobuf.ByteString |
getKindBytes()
[Output Only] Type of the resource.
|
String |
getName()
Name of the resource.
|
com.google.protobuf.ByteString |
getNameBytes()
Name of the resource.
|
String |
getNetwork()
The URL of the network in which to reserve the address.
|
com.google.protobuf.ByteString |
getNetworkBytes()
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.
|
com.google.protobuf.ByteString |
getNetworkTierBytes()
This signifies the networking tier used for configuring this address and can only take the following values: PREMIUM or STANDARD.
|
com.google.protobuf.Parser<Address> |
getParserForType() |
int |
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.
|
com.google.protobuf.ByteString |
getPurposeBytes()
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.
|
com.google.protobuf.ByteString |
getRegionBytes()
[Output Only] The URL of the region where a regional address resides.
|
String |
getSelfLink()
[Output Only] Server-defined URL for the resource.
|
com.google.protobuf.ByteString |
getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.
|
int |
getSerializedSize() |
String |
getStatus()
[Output Only] The status of the address, which can be one of RESERVING, RESERVED, or IN_USE.
|
com.google.protobuf.ByteString |
getStatusBytes()
[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.
|
com.google.protobuf.ByteString |
getSubnetworkBytes()
The URL of the subnetwork in which to reserve the address.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
String |
getUsers(int index)
[Output Only] The URLs of the resources that are using this address.
|
com.google.protobuf.ByteString |
getUsersBytes(int index)
[Output Only] The URLs of the resources that are using this address.
|
int |
getUsersCount()
[Output Only] The URLs of the resources that are using this address.
|
com.google.protobuf.ProtocolStringList |
getUsersList()
[Output Only] The URLs of the resources that are using this address.
|
boolean |
hasAddress()
The static IP address represented by this resource.
|
boolean |
hasAddressType()
The type of address to reserve, either INTERNAL or EXTERNAL.
|
boolean |
hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
boolean |
hasDescription()
An optional description of this resource.
|
int |
hashCode() |
boolean |
hasId()
[Output Only] The unique identifier for the resource.
|
boolean |
hasIpv6EndpointType()
The endpoint type of this address, which should be VM or NETLB.
|
boolean |
hasIpVersion()
The IP version that will be used by this address.
|
boolean |
hasKind()
[Output Only] Type of the resource.
|
boolean |
hasName()
Name of the resource.
|
boolean |
hasNetwork()
The URL of the network in which to reserve the address.
|
boolean |
hasNetworkTier()
This signifies the networking tier used for configuring this address and can only take the following values: PREMIUM or STANDARD.
|
boolean |
hasPrefixLength()
The prefix length if the resource represents an IP range.
|
boolean |
hasPurpose()
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.
|
boolean |
hasRegion()
[Output Only] The URL of the region where a regional address resides.
|
boolean |
hasSelfLink()
[Output Only] Server-defined URL for the resource.
|
boolean |
hasStatus()
[Output Only] The status of the address, which can be one of RESERVING, RESERVED, or IN_USE.
|
boolean |
hasSubnetwork()
The URL of the subnetwork in which to reserve the address.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Address.Builder |
newBuilder() |
static Address.Builder |
newBuilder(Address prototype) |
Address.Builder |
newBuilderForType() |
protected Address.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Address |
parseDelimitedFrom(InputStream input) |
static Address |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Address |
parseFrom(byte[] data) |
static Address |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Address |
parseFrom(ByteBuffer data) |
static Address |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Address |
parseFrom(com.google.protobuf.ByteString data) |
static Address |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Address |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Address |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Address |
parseFrom(InputStream input) |
static Address |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Address> |
parser() |
Address.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, 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 ADDRESS_FIELD_NUMBER
public static final int ADDRESS_TYPE_FIELD_NUMBER
public static final int CREATION_TIMESTAMP_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
public static final int IP_VERSION_FIELD_NUMBER
public static final int IPV6_ENDPOINT_TYPE_FIELD_NUMBER
public static final int KIND_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
public static final int NETWORK_FIELD_NUMBER
public static final int NETWORK_TIER_FIELD_NUMBER
public static final int PREFIX_LENGTH_FIELD_NUMBER
public static final int PURPOSE_FIELD_NUMBER
public static final int REGION_FIELD_NUMBER
public static final int SELF_LINK_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER
public static final int SUBNETWORK_FIELD_NUMBER
public static final int USERS_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasAddress()
The static IP address represented by this resource.
optional string address = 462920692;hasAddress in interface AddressOrBuilderpublic String getAddress()
The static IP address represented by this resource.
optional string address = 462920692;getAddress in interface AddressOrBuilderpublic com.google.protobuf.ByteString getAddressBytes()
The static IP address represented by this resource.
optional string address = 462920692;getAddressBytes in interface AddressOrBuilderpublic boolean hasAddressType()
The type of address to reserve, either INTERNAL or EXTERNAL. If unspecified, defaults to EXTERNAL. Check the AddressType enum for the list of possible values.
optional string address_type = 264307877;hasAddressType in interface AddressOrBuilderpublic String getAddressType()
The type of address to reserve, either INTERNAL or EXTERNAL. If unspecified, defaults to EXTERNAL. Check the AddressType enum for the list of possible values.
optional string address_type = 264307877;getAddressType in interface AddressOrBuilderpublic com.google.protobuf.ByteString getAddressTypeBytes()
The type of address to reserve, either INTERNAL or EXTERNAL. If unspecified, defaults to EXTERNAL. Check the AddressType enum for the list of possible values.
optional string address_type = 264307877;getAddressTypeBytes in interface AddressOrBuilderpublic boolean hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;hasCreationTimestamp in interface AddressOrBuilderpublic String getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;getCreationTimestamp in interface AddressOrBuilderpublic com.google.protobuf.ByteString getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;getCreationTimestampBytes in interface AddressOrBuilderpublic boolean hasDescription()
An optional description of this resource. Provide this field when you create the resource.
optional string description = 422937596;hasDescription in interface AddressOrBuilderpublic String getDescription()
An optional description of this resource. Provide this field when you create the resource.
optional string description = 422937596;getDescription in interface AddressOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
An optional description of this resource. Provide this field when you create the resource.
optional string description = 422937596;getDescriptionBytes in interface AddressOrBuilderpublic boolean hasId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;hasId in interface AddressOrBuilderpublic long getId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;getId in interface AddressOrBuilderpublic boolean hasIpVersion()
The IP version that will be used by this address. Valid options are IPV4 or IPV6. This can only be specified for a global address. Check the IpVersion enum for the list of possible values.
optional string ip_version = 294959552;hasIpVersion in interface AddressOrBuilderpublic String getIpVersion()
The IP version that will be used by this address. Valid options are IPV4 or IPV6. This can only be specified for a global address. Check the IpVersion enum for the list of possible values.
optional string ip_version = 294959552;getIpVersion in interface AddressOrBuilderpublic com.google.protobuf.ByteString getIpVersionBytes()
The IP version that will be used by this address. Valid options are IPV4 or IPV6. This can only be specified for a global address. Check the IpVersion enum for the list of possible values.
optional string ip_version = 294959552;getIpVersionBytes in interface AddressOrBuilderpublic boolean hasIpv6EndpointType()
The endpoint type of this address, which should be VM or NETLB. This is used for deciding which type of endpoint this address can be used after the external IPv6 address reservation. Check the Ipv6EndpointType enum for the list of possible values.
optional string ipv6_endpoint_type = 97501004;hasIpv6EndpointType in interface AddressOrBuilderpublic String getIpv6EndpointType()
The endpoint type of this address, which should be VM or NETLB. This is used for deciding which type of endpoint this address can be used after the external IPv6 address reservation. Check the Ipv6EndpointType enum for the list of possible values.
optional string ipv6_endpoint_type = 97501004;getIpv6EndpointType in interface AddressOrBuilderpublic com.google.protobuf.ByteString getIpv6EndpointTypeBytes()
The endpoint type of this address, which should be VM or NETLB. This is used for deciding which type of endpoint this address can be used after the external IPv6 address reservation. Check the Ipv6EndpointType enum for the list of possible values.
optional string ipv6_endpoint_type = 97501004;getIpv6EndpointTypeBytes in interface AddressOrBuilderpublic boolean hasKind()
[Output Only] Type of the resource. Always compute#address for addresses.
optional string kind = 3292052;hasKind in interface AddressOrBuilderpublic String getKind()
[Output Only] Type of the resource. Always compute#address for addresses.
optional string kind = 3292052;getKind in interface AddressOrBuilderpublic com.google.protobuf.ByteString getKindBytes()
[Output Only] Type of the resource. Always compute#address for addresses.
optional string kind = 3292052;getKindBytes in interface AddressOrBuilderpublic boolean hasName()
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?`. The first character must be a lowercase letter, and all following characters (except for the last character) must be a dash, lowercase letter, or digit. The last character must be a lowercase letter or digit.
optional string name = 3373707;hasName in interface AddressOrBuilderpublic String getName()
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?`. The first character must be a lowercase letter, and all following characters (except for the last character) must be a dash, lowercase letter, or digit. The last character must be a lowercase letter or digit.
optional string name = 3373707;getName in interface AddressOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?`. The first character must be a lowercase letter, and all following characters (except for the last character) must be a dash, lowercase letter, or digit. The last character must be a lowercase letter or digit.
optional string name = 3373707;getNameBytes in interface AddressOrBuilderpublic boolean hasNetwork()
The URL of the network in which to reserve the address. This field can only be used with INTERNAL type with the VPC_PEERING purpose.
optional string network = 232872494;hasNetwork in interface AddressOrBuilderpublic String getNetwork()
The URL of the network in which to reserve the address. This field can only be used with INTERNAL type with the VPC_PEERING purpose.
optional string network = 232872494;getNetwork in interface AddressOrBuilderpublic com.google.protobuf.ByteString getNetworkBytes()
The URL of the network in which to reserve the address. This field can only be used with INTERNAL type with the VPC_PEERING purpose.
optional string network = 232872494;getNetworkBytes in interface AddressOrBuilderpublic boolean hasNetworkTier()
This signifies the networking tier used for configuring this address and can only take the following values: PREMIUM or STANDARD. Internal IP addresses are always Premium Tier; global external IP addresses are always Premium Tier; regional external IP addresses can be either Standard or Premium Tier. If this field is not specified, it is assumed to be PREMIUM. Check the NetworkTier enum for the list of possible values.
optional string network_tier = 517397843;hasNetworkTier in interface AddressOrBuilderpublic String getNetworkTier()
This signifies the networking tier used for configuring this address and can only take the following values: PREMIUM or STANDARD. Internal IP addresses are always Premium Tier; global external IP addresses are always Premium Tier; regional external IP addresses can be either Standard or Premium Tier. If this field is not specified, it is assumed to be PREMIUM. Check the NetworkTier enum for the list of possible values.
optional string network_tier = 517397843;getNetworkTier in interface AddressOrBuilderpublic com.google.protobuf.ByteString getNetworkTierBytes()
This signifies the networking tier used for configuring this address and can only take the following values: PREMIUM or STANDARD. Internal IP addresses are always Premium Tier; global external IP addresses are always Premium Tier; regional external IP addresses can be either Standard or Premium Tier. If this field is not specified, it is assumed to be PREMIUM. Check the NetworkTier enum for the list of possible values.
optional string network_tier = 517397843;getNetworkTierBytes in interface AddressOrBuilderpublic boolean hasPrefixLength()
The prefix length if the resource represents an IP range.
optional int32 prefix_length = 453565747;hasPrefixLength in interface AddressOrBuilderpublic int getPrefixLength()
The prefix length if the resource represents an IP range.
optional int32 prefix_length = 453565747;getPrefixLength in interface AddressOrBuilderpublic boolean hasPurpose()
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. - DNS_RESOLVER for a DNS resolver address in a subnetwork for a Cloud DNS inbound forwarder IP addresses (regional internal IP address in a subnet of a VPC network) - VPC_PEERING for global internal IP addresses used for private services access allocated ranges. - NAT_AUTO for the regional external IP addresses used by Cloud NAT when allocating addresses using automatic NAT IP address allocation. - IPSEC_INTERCONNECT for addresses created from a private IP range that are reserved for a VLAN attachment in an *HA VPN over Cloud Interconnect* configuration. These addresses are regional resources. - `SHARED_LOADBALANCER_VIP` for an internal IP address that is assigned to multiple internal forwarding rules. - `PRIVATE_SERVICE_CONNECT` for a private network address that is used to configure Private Service Connect. Only global internal addresses can use this purpose. Check the Purpose enum for the list of possible values.
optional string purpose = 316407070;hasPurpose in interface AddressOrBuilderpublic 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. - DNS_RESOLVER for a DNS resolver address in a subnetwork for a Cloud DNS inbound forwarder IP addresses (regional internal IP address in a subnet of a VPC network) - VPC_PEERING for global internal IP addresses used for private services access allocated ranges. - NAT_AUTO for the regional external IP addresses used by Cloud NAT when allocating addresses using automatic NAT IP address allocation. - IPSEC_INTERCONNECT for addresses created from a private IP range that are reserved for a VLAN attachment in an *HA VPN over Cloud Interconnect* configuration. These addresses are regional resources. - `SHARED_LOADBALANCER_VIP` for an internal IP address that is assigned to multiple internal forwarding rules. - `PRIVATE_SERVICE_CONNECT` for a private network address that is used to configure Private Service Connect. Only global internal addresses can use this purpose. Check the Purpose enum for the list of possible values.
optional string purpose = 316407070;getPurpose in interface AddressOrBuilderpublic com.google.protobuf.ByteString getPurposeBytes()
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. - DNS_RESOLVER for a DNS resolver address in a subnetwork for a Cloud DNS inbound forwarder IP addresses (regional internal IP address in a subnet of a VPC network) - VPC_PEERING for global internal IP addresses used for private services access allocated ranges. - NAT_AUTO for the regional external IP addresses used by Cloud NAT when allocating addresses using automatic NAT IP address allocation. - IPSEC_INTERCONNECT for addresses created from a private IP range that are reserved for a VLAN attachment in an *HA VPN over Cloud Interconnect* configuration. These addresses are regional resources. - `SHARED_LOADBALANCER_VIP` for an internal IP address that is assigned to multiple internal forwarding rules. - `PRIVATE_SERVICE_CONNECT` for a private network address that is used to configure Private Service Connect. Only global internal addresses can use this purpose. Check the Purpose enum for the list of possible values.
optional string purpose = 316407070;getPurposeBytes in interface AddressOrBuilderpublic boolean hasRegion()
[Output Only] The URL of the region where a regional address resides. For regional addresses, you must specify the region as a path parameter in the HTTP request URL. *This field is not applicable to global addresses.*
optional string region = 138946292;hasRegion in interface AddressOrBuilderpublic String getRegion()
[Output Only] The URL of the region where a regional address resides. For regional addresses, you must specify the region as a path parameter in the HTTP request URL. *This field is not applicable to global addresses.*
optional string region = 138946292;getRegion in interface AddressOrBuilderpublic com.google.protobuf.ByteString getRegionBytes()
[Output Only] The URL of the region where a regional address resides. For regional addresses, you must specify the region as a path parameter in the HTTP request URL. *This field is not applicable to global addresses.*
optional string region = 138946292;getRegionBytes in interface AddressOrBuilderpublic boolean hasSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;hasSelfLink in interface AddressOrBuilderpublic String getSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;getSelfLink in interface AddressOrBuilderpublic com.google.protobuf.ByteString getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;getSelfLinkBytes in interface AddressOrBuilderpublic boolean hasStatus()
[Output Only] The status of the address, which can be one of RESERVING, RESERVED, or IN_USE. An address that is RESERVING is currently in the process of being reserved. A RESERVED address is currently reserved and available to use. An IN_USE address is currently being used by another resource and is not available. Check the Status enum for the list of possible values.
optional string status = 181260274;hasStatus in interface AddressOrBuilderpublic String getStatus()
[Output Only] The status of the address, which can be one of RESERVING, RESERVED, or IN_USE. An address that is RESERVING is currently in the process of being reserved. A RESERVED address is currently reserved and available to use. An IN_USE address is currently being used by another resource and is not available. Check the Status enum for the list of possible values.
optional string status = 181260274;getStatus in interface AddressOrBuilderpublic com.google.protobuf.ByteString getStatusBytes()
[Output Only] The status of the address, which can be one of RESERVING, RESERVED, or IN_USE. An address that is RESERVING is currently in the process of being reserved. A RESERVED address is currently reserved and available to use. An IN_USE address is currently being used by another resource and is not available. Check the Status enum for the list of possible values.
optional string status = 181260274;getStatusBytes in interface AddressOrBuilderpublic boolean hasSubnetwork()
The URL of the subnetwork in which to reserve the address. If an IP address is specified, it must be within the subnetwork's IP range. This field can only be used with INTERNAL type with a GCE_ENDPOINT or DNS_RESOLVER purpose.
optional string subnetwork = 307827694;hasSubnetwork in interface AddressOrBuilderpublic String getSubnetwork()
The URL of the subnetwork in which to reserve the address. If an IP address is specified, it must be within the subnetwork's IP range. This field can only be used with INTERNAL type with a GCE_ENDPOINT or DNS_RESOLVER purpose.
optional string subnetwork = 307827694;getSubnetwork in interface AddressOrBuilderpublic com.google.protobuf.ByteString getSubnetworkBytes()
The URL of the subnetwork in which to reserve the address. If an IP address is specified, it must be within the subnetwork's IP range. This field can only be used with INTERNAL type with a GCE_ENDPOINT or DNS_RESOLVER purpose.
optional string subnetwork = 307827694;getSubnetworkBytes in interface AddressOrBuilderpublic com.google.protobuf.ProtocolStringList getUsersList()
[Output Only] The URLs of the resources that are using this address.
repeated string users = 111578632;getUsersList in interface AddressOrBuilderpublic int getUsersCount()
[Output Only] The URLs of the resources that are using this address.
repeated string users = 111578632;getUsersCount in interface AddressOrBuilderpublic String getUsers(int index)
[Output Only] The URLs of the resources that are using this address.
repeated string users = 111578632;getUsers in interface AddressOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getUsersBytes(int index)
[Output Only] The URLs of the resources that are using this address.
repeated string users = 111578632;getUsersBytes in interface AddressOrBuilderindex - The index of the value to return.public 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 Address parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Address parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Address parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Address parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Address parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Address parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Address parseFrom(InputStream input) throws IOException
IOExceptionpublic static Address parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Address parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Address parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Address parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Address parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Address.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Address.Builder newBuilder()
public static Address.Builder newBuilder(Address prototype)
public Address.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Address.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Address getDefaultInstance()
public static com.google.protobuf.Parser<Address> parser()
public com.google.protobuf.Parser<Address> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Address getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023 Google LLC. All rights reserved.