Interface NetworkAttachmentConnectedEndpointOrBuilder (1.51.0)

public interface NetworkAttachmentConnectedEndpointOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getIpAddress()

public abstract String getIpAddress()

The IPv4 address assigned to the producer instance network interface. This value will be a range in case of Serverless.

optional string ip_address = 406272220;

Returns
TypeDescription
String

The ipAddress.

getIpAddressBytes()

public abstract ByteString getIpAddressBytes()

The IPv4 address assigned to the producer instance network interface. This value will be a range in case of Serverless.

optional string ip_address = 406272220;

Returns
TypeDescription
ByteString

The bytes for ipAddress.

getIpv6Address()

public abstract String getIpv6Address()

The IPv6 address assigned to the producer instance network interface. This is only assigned when the stack types of both the instance network interface and the consumer subnet are IPv4_IPv6.

optional string ipv6_address = 341563804;

Returns
TypeDescription
String

The ipv6Address.

getIpv6AddressBytes()

public abstract ByteString getIpv6AddressBytes()

The IPv6 address assigned to the producer instance network interface. This is only assigned when the stack types of both the instance network interface and the consumer subnet are IPv4_IPv6.

optional string ipv6_address = 341563804;

Returns
TypeDescription
ByteString

The bytes for ipv6Address.

getProjectIdOrNum()

public abstract String getProjectIdOrNum()

The project id or number of the interface to which the IP was assigned.

optional string project_id_or_num = 349783336;

Returns
TypeDescription
String

The projectIdOrNum.

getProjectIdOrNumBytes()

public abstract ByteString getProjectIdOrNumBytes()

The project id or number of the interface to which the IP was assigned.

optional string project_id_or_num = 349783336;

Returns
TypeDescription
ByteString

The bytes for projectIdOrNum.

getSecondaryIpCidrRanges(int index)

public abstract String getSecondaryIpCidrRanges(int index)

Alias IP ranges from the same subnetwork.

repeated string secondary_ip_cidr_ranges = 117184788;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The secondaryIpCidrRanges at the given index.

getSecondaryIpCidrRangesBytes(int index)

public abstract ByteString getSecondaryIpCidrRangesBytes(int index)

Alias IP ranges from the same subnetwork.

repeated string secondary_ip_cidr_ranges = 117184788;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the secondaryIpCidrRanges at the given index.

getSecondaryIpCidrRangesCount()

public abstract int getSecondaryIpCidrRangesCount()

Alias IP ranges from the same subnetwork.

repeated string secondary_ip_cidr_ranges = 117184788;

Returns
TypeDescription
int

The count of secondaryIpCidrRanges.

getSecondaryIpCidrRangesList()

public abstract List<String> getSecondaryIpCidrRangesList()

Alias IP ranges from the same subnetwork.

repeated string secondary_ip_cidr_ranges = 117184788;

Returns
TypeDescription
List<String>

A list containing the secondaryIpCidrRanges.

getStatus()

public abstract String getStatus()

The status of a connected endpoint to this network attachment. Check the Status enum for the list of possible values.

optional string status = 181260274;

Returns
TypeDescription
String

The status.

getStatusBytes()

public abstract ByteString getStatusBytes()

The status of a connected endpoint to this network attachment. Check the Status enum for the list of possible values.

optional string status = 181260274;

Returns
TypeDescription
ByteString

The bytes for status.

getSubnetwork()

public abstract String getSubnetwork()

The subnetwork used to assign the IP to the producer instance network interface.

optional string subnetwork = 307827694;

Returns
TypeDescription
String

The subnetwork.

getSubnetworkBytes()

public abstract ByteString getSubnetworkBytes()

The subnetwork used to assign the IP to the producer instance network interface.

optional string subnetwork = 307827694;

Returns
TypeDescription
ByteString

The bytes for subnetwork.

getSubnetworkCidrRange()

public abstract String getSubnetworkCidrRange()

[Output Only] The CIDR range of the subnet from which the IPv4 internal IP was allocated from.

optional string subnetwork_cidr_range = 383249827;

Returns
TypeDescription
String

The subnetworkCidrRange.

getSubnetworkCidrRangeBytes()

public abstract ByteString getSubnetworkCidrRangeBytes()

[Output Only] The CIDR range of the subnet from which the IPv4 internal IP was allocated from.

optional string subnetwork_cidr_range = 383249827;

Returns
TypeDescription
ByteString

The bytes for subnetworkCidrRange.

hasIpAddress()

public abstract boolean hasIpAddress()

The IPv4 address assigned to the producer instance network interface. This value will be a range in case of Serverless.

optional string ip_address = 406272220;

Returns
TypeDescription
boolean

Whether the ipAddress field is set.

hasIpv6Address()

public abstract boolean hasIpv6Address()

The IPv6 address assigned to the producer instance network interface. This is only assigned when the stack types of both the instance network interface and the consumer subnet are IPv4_IPv6.

optional string ipv6_address = 341563804;

Returns
TypeDescription
boolean

Whether the ipv6Address field is set.

hasProjectIdOrNum()

public abstract boolean hasProjectIdOrNum()

The project id or number of the interface to which the IP was assigned.

optional string project_id_or_num = 349783336;

Returns
TypeDescription
boolean

Whether the projectIdOrNum field is set.

hasStatus()

public abstract boolean hasStatus()

The status of a connected endpoint to this network attachment. Check the Status enum for the list of possible values.

optional string status = 181260274;

Returns
TypeDescription
boolean

Whether the status field is set.

hasSubnetwork()

public abstract boolean hasSubnetwork()

The subnetwork used to assign the IP to the producer instance network interface.

optional string subnetwork = 307827694;

Returns
TypeDescription
boolean

Whether the subnetwork field is set.

hasSubnetworkCidrRange()

public abstract boolean hasSubnetworkCidrRange()

[Output Only] The CIDR range of the subnet from which the IPv4 internal IP was allocated from.

optional string subnetwork_cidr_range = 383249827;

Returns
TypeDescription
boolean

Whether the subnetworkCidrRange field is set.