Interface UsableSubnetworkOrBuilder (2.56.0)

public interface UsableSubnetworkOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getIpCidrRange()

public abstract String getIpCidrRange()

The range of internal addresses that are owned by this subnetwork.

string ip_cidr_range = 3;

Returns
Type Description
String

The ipCidrRange.

getIpCidrRangeBytes()

public abstract ByteString getIpCidrRangeBytes()

The range of internal addresses that are owned by this subnetwork.

string ip_cidr_range = 3;

Returns
Type Description
ByteString

The bytes for ipCidrRange.

getNetwork()

public abstract String getNetwork()

Network Name. Example: projects/my-project/global/networks/my-network

string network = 2;

Returns
Type Description
String

The network.

getNetworkBytes()

public abstract ByteString getNetworkBytes()

Network Name. Example: projects/my-project/global/networks/my-network

string network = 2;

Returns
Type Description
ByteString

The bytes for network.

getSecondaryIpRanges(int index)

public abstract UsableSubnetworkSecondaryRange getSecondaryIpRanges(int index)

Secondary IP ranges.

repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4;

Parameter
Name Description
index int
Returns
Type Description
UsableSubnetworkSecondaryRange

getSecondaryIpRangesCount()

public abstract int getSecondaryIpRangesCount()

Secondary IP ranges.

repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4;

Returns
Type Description
int

getSecondaryIpRangesList()

public abstract List<UsableSubnetworkSecondaryRange> getSecondaryIpRangesList()

Secondary IP ranges.

repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4;

Returns
Type Description
List<UsableSubnetworkSecondaryRange>

getSecondaryIpRangesOrBuilder(int index)

public abstract UsableSubnetworkSecondaryRangeOrBuilder getSecondaryIpRangesOrBuilder(int index)

Secondary IP ranges.

repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4;

Parameter
Name Description
index int
Returns
Type Description
UsableSubnetworkSecondaryRangeOrBuilder

getSecondaryIpRangesOrBuilderList()

public abstract List<? extends UsableSubnetworkSecondaryRangeOrBuilder> getSecondaryIpRangesOrBuilderList()

Secondary IP ranges.

repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4;

Returns
Type Description
List<? extends com.google.container.v1.UsableSubnetworkSecondaryRangeOrBuilder>

getStatusMessage()

public abstract String getStatusMessage()

A human readable status message representing the reasons for cases where the caller cannot use the secondary ranges under the subnet. For example if the secondary_ip_ranges is empty due to a permission issue, an insufficient permission message will be given by status_message.

string status_message = 5;

Returns
Type Description
String

The statusMessage.

getStatusMessageBytes()

public abstract ByteString getStatusMessageBytes()

A human readable status message representing the reasons for cases where the caller cannot use the secondary ranges under the subnet. For example if the secondary_ip_ranges is empty due to a permission issue, an insufficient permission message will be given by status_message.

string status_message = 5;

Returns
Type Description
ByteString

The bytes for statusMessage.

getSubnetwork()

public abstract String getSubnetwork()

Subnetwork Name. Example: projects/my-project/regions/us-central1/subnetworks/my-subnet

string subnetwork = 1;

Returns
Type Description
String

The subnetwork.

getSubnetworkBytes()

public abstract ByteString getSubnetworkBytes()

Subnetwork Name. Example: projects/my-project/regions/us-central1/subnetworks/my-subnet

string subnetwork = 1;

Returns
Type Description
ByteString

The bytes for subnetwork.