Interface NetworkAttachmentConnectedEndpointOrBuilder (1.31.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.

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.

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.

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.