Package com.google.cloud.compute.v1
Interface NetworkAttachmentConnectedEndpointOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
NetworkAttachmentConnectedEndpoint
,NetworkAttachmentConnectedEndpoint.Builder
public interface NetworkAttachmentConnectedEndpointOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getIpAddress()
The IPv4 address assigned to the producer instance network interface.com.google.protobuf.ByteString
getIpAddressBytes()
The IPv4 address assigned to the producer instance network interface.String
getProjectIdOrNum()
The project id or number of the interface to which the IP was assigned.com.google.protobuf.ByteString
getProjectIdOrNumBytes()
The project id or number of the interface to which the IP was assigned.String
getSecondaryIpCidrRanges(int index)
Alias IP ranges from the same subnetwork.com.google.protobuf.ByteString
getSecondaryIpCidrRangesBytes(int index)
Alias IP ranges from the same subnetwork.int
getSecondaryIpCidrRangesCount()
Alias IP ranges from the same subnetwork.List<String>
getSecondaryIpCidrRangesList()
Alias IP ranges from the same subnetwork.String
getStatus()
The status of a connected endpoint to this network attachment.com.google.protobuf.ByteString
getStatusBytes()
The status of a connected endpoint to this network attachment.String
getSubnetwork()
The subnetwork used to assign the IP to the producer instance network interface.com.google.protobuf.ByteString
getSubnetworkBytes()
The subnetwork used to assign the IP to the producer instance network interface.boolean
hasIpAddress()
The IPv4 address assigned to the producer instance network interface.boolean
hasProjectIdOrNum()
The project id or number of the interface to which the IP was assigned.boolean
hasStatus()
The status of a connected endpoint to this network attachment.boolean
hasSubnetwork()
The subnetwork used to assign the IP to the producer instance network interface.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasIpAddress
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:
- Whether the ipAddress field is set.
-
getIpAddress
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:
- The ipAddress.
-
getIpAddressBytes
com.google.protobuf.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:
- The bytes for ipAddress.
-
hasProjectIdOrNum
boolean hasProjectIdOrNum()
The project id or number of the interface to which the IP was assigned.
optional string project_id_or_num = 349783336;
- Returns:
- Whether the projectIdOrNum field is set.
-
getProjectIdOrNum
String getProjectIdOrNum()
The project id or number of the interface to which the IP was assigned.
optional string project_id_or_num = 349783336;
- Returns:
- The projectIdOrNum.
-
getProjectIdOrNumBytes
com.google.protobuf.ByteString getProjectIdOrNumBytes()
The project id or number of the interface to which the IP was assigned.
optional string project_id_or_num = 349783336;
- Returns:
- The bytes for projectIdOrNum.
-
getSecondaryIpCidrRangesList
List<String> getSecondaryIpCidrRangesList()
Alias IP ranges from the same subnetwork.
repeated string secondary_ip_cidr_ranges = 117184788;
- Returns:
- A list containing the secondaryIpCidrRanges.
-
getSecondaryIpCidrRangesCount
int getSecondaryIpCidrRangesCount()
Alias IP ranges from the same subnetwork.
repeated string secondary_ip_cidr_ranges = 117184788;
- Returns:
- The count of secondaryIpCidrRanges.
-
getSecondaryIpCidrRanges
String getSecondaryIpCidrRanges(int index)
Alias IP ranges from the same subnetwork.
repeated string secondary_ip_cidr_ranges = 117184788;
- Parameters:
index
- The index of the element to return.- Returns:
- The secondaryIpCidrRanges at the given index.
-
getSecondaryIpCidrRangesBytes
com.google.protobuf.ByteString getSecondaryIpCidrRangesBytes(int index)
Alias IP ranges from the same subnetwork.
repeated string secondary_ip_cidr_ranges = 117184788;
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the secondaryIpCidrRanges at the given index.
-
hasStatus
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:
- Whether the status field is set.
-
getStatus
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:
- The status.
-
getStatusBytes
com.google.protobuf.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:
- The bytes for status.
-
hasSubnetwork
boolean hasSubnetwork()
The subnetwork used to assign the IP to the producer instance network interface.
optional string subnetwork = 307827694;
- Returns:
- Whether the subnetwork field is set.
-
getSubnetwork
String getSubnetwork()
The subnetwork used to assign the IP to the producer instance network interface.
optional string subnetwork = 307827694;
- Returns:
- The subnetwork.
-
getSubnetworkBytes
com.google.protobuf.ByteString getSubnetworkBytes()
The subnetwork used to assign the IP to the producer instance network interface.
optional string subnetwork = 307827694;
- Returns:
- The bytes for subnetwork.
-
-