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 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.