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
@Generated
public interface NetworkAttachmentConnectedEndpointOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe IPv4 address assigned to the producer instance network interface.com.google.protobuf.ByteStringThe IPv4 address assigned to the producer instance network interface.The IPv6 address assigned to the producer instance network interface.com.google.protobuf.ByteStringThe IPv6 address assigned to the producer instance network interface.The project id or number of the interface to which the IP was assigned.com.google.protobuf.ByteStringThe project id or number of the interface to which the IP was assigned.getSecondaryIpCidrRanges(int index) Alias IP ranges from the same subnetwork.com.google.protobuf.ByteStringgetSecondaryIpCidrRangesBytes(int index) Alias IP ranges from the same subnetwork.intAlias IP ranges from the same subnetwork.Alias IP ranges from the same subnetwork.The service class id of the producer service to which the IP was assigned.com.google.protobuf.ByteStringThe service class id of the producer service to which the IP was assigned.The status of a connected endpoint to this network attachment.com.google.protobuf.ByteStringThe status of a connected endpoint to this network attachment.The subnetwork used to assign the IP to the producer instance network interface.com.google.protobuf.ByteStringThe subnetwork used to assign the IP to the producer instance network interface.Output only.com.google.protobuf.ByteStringOutput only.booleanThe IPv4 address assigned to the producer instance network interface.booleanThe IPv6 address assigned to the producer instance network interface.booleanThe project id or number of the interface to which the IP was assigned.booleanThe service class id of the producer service to which the IP was assigned.booleanThe status of a connected endpoint to this network attachment.booleanThe subnetwork used to assign the IP to the producer instance network interface.booleanOutput only.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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.
-
hasIpv6Address
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:
- Whether the ipv6Address field is set.
-
getIpv6Address
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:
- The ipv6Address.
-
getIpv6AddressBytes
com.google.protobuf.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:
- The bytes for ipv6Address.
-
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
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
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.
-
hasServiceClassId
boolean hasServiceClassId()The service class id of the producer service to which the IP was assigned.
optional string service_class_id = 422763404;- Returns:
- Whether the serviceClassId field is set.
-
getServiceClassId
String getServiceClassId()The service class id of the producer service to which the IP was assigned.
optional string service_class_id = 422763404;- Returns:
- The serviceClassId.
-
getServiceClassIdBytes
com.google.protobuf.ByteString getServiceClassIdBytes()The service class id of the producer service to which the IP was assigned.
optional string service_class_id = 422763404;- Returns:
- The bytes for serviceClassId.
-
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.
-
hasSubnetworkCidrRange
boolean hasSubnetworkCidrRange()Output only. [Output Only] The CIDR range of the subnet from which the IPv4 internal IP was allocated from.
optional string subnetwork_cidr_range = 383249827;- Returns:
- Whether the subnetworkCidrRange field is set.
-
getSubnetworkCidrRange
String getSubnetworkCidrRange()Output only. [Output Only] The CIDR range of the subnet from which the IPv4 internal IP was allocated from.
optional string subnetwork_cidr_range = 383249827;- Returns:
- The subnetworkCidrRange.
-
getSubnetworkCidrRangeBytes
com.google.protobuf.ByteString getSubnetworkCidrRangeBytes()Output only. [Output Only] The CIDR range of the subnet from which the IPv4 internal IP was allocated from.
optional string subnetwork_cidr_range = 383249827;- Returns:
- The bytes for subnetworkCidrRange.
-