Interface NatInfoOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
NatInfo,NatInfo.Builder
@Generated
public interface NatInfoOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionType of Cloud NAT gateway.intType of Cloud NAT gateway.The name of Cloud NAT Gateway.com.google.protobuf.ByteStringThe name of Cloud NAT Gateway.URI of the network where NAT translation takes place.com.google.protobuf.ByteStringURI of the network where NAT translation takes place.Destination IP address after NAT translation.com.google.protobuf.ByteStringDestination IP address after NAT translation.intDestination port after NAT translation.Source IP address after NAT translation.com.google.protobuf.ByteStringSource IP address after NAT translation.intSource port after NAT translation.Destination IP address before NAT translation.com.google.protobuf.ByteStringDestination IP address before NAT translation.intDestination port before NAT translation.Source IP address before NAT translation.com.google.protobuf.ByteStringSource IP address before NAT translation.intSource port before NAT translation.IP protocol in string format, for example: "TCP", "UDP", "ICMP".com.google.protobuf.ByteStringIP protocol in string format, for example: "TCP", "UDP", "ICMP".Uri of the Cloud Router.com.google.protobuf.ByteStringUri of the Cloud Router.getType()Type of NAT.intType of NAT.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
-
getTypeValue
int getTypeValue()Type of NAT.
.google.cloud.networkmanagement.v1beta1.NatInfo.Type type = 1;- Returns:
- The enum numeric value on the wire for type.
-
getType
NatInfo.Type getType()Type of NAT.
.google.cloud.networkmanagement.v1beta1.NatInfo.Type type = 1;- Returns:
- The type.
-
getProtocol
String getProtocol()IP protocol in string format, for example: "TCP", "UDP", "ICMP".
string protocol = 2;- Returns:
- The protocol.
-
getProtocolBytes
com.google.protobuf.ByteString getProtocolBytes()IP protocol in string format, for example: "TCP", "UDP", "ICMP".
string protocol = 2;- Returns:
- The bytes for protocol.
-
getNetworkUri
String getNetworkUri()URI of the network where NAT translation takes place.
string network_uri = 3;- Returns:
- The networkUri.
-
getNetworkUriBytes
com.google.protobuf.ByteString getNetworkUriBytes()URI of the network where NAT translation takes place.
string network_uri = 3;- Returns:
- The bytes for networkUri.
-
getOldSourceIp
String getOldSourceIp()Source IP address before NAT translation.
string old_source_ip = 4;- Returns:
- The oldSourceIp.
-
getOldSourceIpBytes
com.google.protobuf.ByteString getOldSourceIpBytes()Source IP address before NAT translation.
string old_source_ip = 4;- Returns:
- The bytes for oldSourceIp.
-
getNewSourceIp
String getNewSourceIp()Source IP address after NAT translation.
string new_source_ip = 5;- Returns:
- The newSourceIp.
-
getNewSourceIpBytes
com.google.protobuf.ByteString getNewSourceIpBytes()Source IP address after NAT translation.
string new_source_ip = 5;- Returns:
- The bytes for newSourceIp.
-
getOldDestinationIp
String getOldDestinationIp()Destination IP address before NAT translation.
string old_destination_ip = 6;- Returns:
- The oldDestinationIp.
-
getOldDestinationIpBytes
com.google.protobuf.ByteString getOldDestinationIpBytes()Destination IP address before NAT translation.
string old_destination_ip = 6;- Returns:
- The bytes for oldDestinationIp.
-
getNewDestinationIp
String getNewDestinationIp()Destination IP address after NAT translation.
string new_destination_ip = 7;- Returns:
- The newDestinationIp.
-
getNewDestinationIpBytes
com.google.protobuf.ByteString getNewDestinationIpBytes()Destination IP address after NAT translation.
string new_destination_ip = 7;- Returns:
- The bytes for newDestinationIp.
-
getOldSourcePort
int getOldSourcePort()Source port before NAT translation. Only valid when protocol is TCP or UDP.
int32 old_source_port = 8;- Returns:
- The oldSourcePort.
-
getNewSourcePort
int getNewSourcePort()Source port after NAT translation. Only valid when protocol is TCP or UDP.
int32 new_source_port = 9;- Returns:
- The newSourcePort.
-
getOldDestinationPort
int getOldDestinationPort()Destination port before NAT translation. Only valid when protocol is TCP or UDP.
int32 old_destination_port = 10;- Returns:
- The oldDestinationPort.
-
getNewDestinationPort
int getNewDestinationPort()Destination port after NAT translation. Only valid when protocol is TCP or UDP.
int32 new_destination_port = 11;- Returns:
- The newDestinationPort.
-
getRouterUri
String getRouterUri()Uri of the Cloud Router. Only valid when type is CLOUD_NAT.
string router_uri = 12;- Returns:
- The routerUri.
-
getRouterUriBytes
com.google.protobuf.ByteString getRouterUriBytes()Uri of the Cloud Router. Only valid when type is CLOUD_NAT.
string router_uri = 12;- Returns:
- The bytes for routerUri.
-
getNatGatewayName
String getNatGatewayName()The name of Cloud NAT Gateway. Only valid when type is CLOUD_NAT.
string nat_gateway_name = 13;- Returns:
- The natGatewayName.
-
getNatGatewayNameBytes
com.google.protobuf.ByteString getNatGatewayNameBytes()The name of Cloud NAT Gateway. Only valid when type is CLOUD_NAT.
string nat_gateway_name = 13;- Returns:
- The bytes for natGatewayName.
-
getCloudNatGatewayTypeValue
int getCloudNatGatewayTypeValue()Type of Cloud NAT gateway. Only valid when `type` is CLOUD_NAT.
.google.cloud.networkmanagement.v1beta1.NatInfo.CloudNatGatewayType cloud_nat_gateway_type = 14;- Returns:
- The enum numeric value on the wire for cloudNatGatewayType.
-
getCloudNatGatewayType
NatInfo.CloudNatGatewayType getCloudNatGatewayType()Type of Cloud NAT gateway. Only valid when `type` is CLOUD_NAT.
.google.cloud.networkmanagement.v1beta1.NatInfo.CloudNatGatewayType cloud_nat_gateway_type = 14;- Returns:
- The cloudNatGatewayType.
-