Class Address (1.88.0)

public final class Address extends GeneratedMessageV3 implements AddressOrBuilder

Represents an IP Address resource. Google Compute Engine has two IP Address resources: * Global (external and internal) * Regional (external and internal) For more information, see Reserving a static external IP address.

Protobuf type google.cloud.compute.v1.Address

Implements

AddressOrBuilder

Static Fields

ADDRESS_FIELD_NUMBER

public static final int ADDRESS_FIELD_NUMBER
Field Value
Type Description
int

ADDRESS_TYPE_FIELD_NUMBER

public static final int ADDRESS_TYPE_FIELD_NUMBER
Field Value
Type Description
int

CREATION_TIMESTAMP_FIELD_NUMBER

public static final int CREATION_TIMESTAMP_FIELD_NUMBER
Field Value
Type Description
int

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
Type Description
int

ID_FIELD_NUMBER

public static final int ID_FIELD_NUMBER
Field Value
Type Description
int

IPV6_ENDPOINT_TYPE_FIELD_NUMBER

public static final int IPV6_ENDPOINT_TYPE_FIELD_NUMBER
Field Value
Type Description
int

IP_VERSION_FIELD_NUMBER

public static final int IP_VERSION_FIELD_NUMBER
Field Value
Type Description
int

KIND_FIELD_NUMBER

public static final int KIND_FIELD_NUMBER
Field Value
Type Description
int

LABELS_FIELD_NUMBER

public static final int LABELS_FIELD_NUMBER
Field Value
Type Description
int

LABEL_FINGERPRINT_FIELD_NUMBER

public static final int LABEL_FINGERPRINT_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

NETWORK_FIELD_NUMBER

public static final int NETWORK_FIELD_NUMBER
Field Value
Type Description
int

NETWORK_TIER_FIELD_NUMBER

public static final int NETWORK_TIER_FIELD_NUMBER
Field Value
Type Description
int

PREFIX_LENGTH_FIELD_NUMBER

public static final int PREFIX_LENGTH_FIELD_NUMBER
Field Value
Type Description
int

PURPOSE_FIELD_NUMBER

public static final int PURPOSE_FIELD_NUMBER
Field Value
Type Description
int

REGION_FIELD_NUMBER

public static final int REGION_FIELD_NUMBER
Field Value
Type Description
int
public static final int SELF_LINK_FIELD_NUMBER
Field Value
Type Description
int

STATUS_FIELD_NUMBER

public static final int STATUS_FIELD_NUMBER
Field Value
Type Description
int

SUBNETWORK_FIELD_NUMBER

public static final int SUBNETWORK_FIELD_NUMBER
Field Value
Type Description
int

USERS_FIELD_NUMBER

public static final int USERS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Address getDefaultInstance()
Returns
Type Description
Address

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static Address.Builder newBuilder()
Returns
Type Description
Address.Builder

newBuilder(Address prototype)

public static Address.Builder newBuilder(Address prototype)
Parameter
Name Description
prototype Address
Returns
Type Description
Address.Builder

parseDelimitedFrom(InputStream input)

public static Address parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Address
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Address parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Address
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Address parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Address
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Address parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Address
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Address parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Address
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Address parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Address
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Address parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Address
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Address parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Address
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Address parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Address
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Address parseFrom(InputStream input,