public interface NetworkAttachmentConnectedEndpointOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
boolean |
Whether the subnetwork field is set. |