Enum ForwardInfo.Target

  • All Implemented Interfaces:
    com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<ForwardInfo.Target>
    Enclosing class:
    ForwardInfo

    public static enum ForwardInfo.Target
    extends Enum<ForwardInfo.Target>
    implements com.google.protobuf.ProtocolMessageEnum
     Forward target types.
     
    Protobuf enum google.cloud.networkmanagement.v1beta1.ForwardInfo.Target
    • Enum Constant Detail

      • TARGET_UNSPECIFIED

        public static final ForwardInfo.Target TARGET_UNSPECIFIED
         Target not specified.
         
        TARGET_UNSPECIFIED = 0;
      • PEERING_VPC

        public static final ForwardInfo.Target PEERING_VPC
         Forwarded to a VPC peering network.
         
        PEERING_VPC = 1;
      • VPN_GATEWAY

        public static final ForwardInfo.Target VPN_GATEWAY
         Forwarded to a Cloud VPN gateway.
         
        VPN_GATEWAY = 2;
      • INTERCONNECT

        public static final ForwardInfo.Target INTERCONNECT
         Forwarded to a Cloud Interconnect connection.
         
        INTERCONNECT = 3;
      • GKE_MASTER

        public static final ForwardInfo.Target GKE_MASTER
         Forwarded to a Google Kubernetes Engine Container cluster master.
         
        GKE_MASTER = 4;
      • IMPORTED_CUSTOM_ROUTE_NEXT_HOP

        public static final ForwardInfo.Target IMPORTED_CUSTOM_ROUTE_NEXT_HOP
         Forwarded to the next hop of a custom route imported from a peering VPC.
         
        IMPORTED_CUSTOM_ROUTE_NEXT_HOP = 5;
      • CLOUD_SQL_INSTANCE

        public static final ForwardInfo.Target CLOUD_SQL_INSTANCE
         Forwarded to a Cloud SQL instance.
         
        CLOUD_SQL_INSTANCE = 6;
      • ANOTHER_PROJECT

        public static final ForwardInfo.Target ANOTHER_PROJECT
         Forwarded to a VPC network in another project.
         
        ANOTHER_PROJECT = 7;
      • NCC_HUB

        public static final ForwardInfo.Target NCC_HUB
         Forwarded to an NCC Hub.
         
        NCC_HUB = 8;
    • Field Detail

      • TARGET_UNSPECIFIED_VALUE

        public static final int TARGET_UNSPECIFIED_VALUE
         Target not specified.
         
        TARGET_UNSPECIFIED = 0;
        See Also:
        Constant Field Values
      • PEERING_VPC_VALUE

        public static final int PEERING_VPC_VALUE
         Forwarded to a VPC peering network.
         
        PEERING_VPC = 1;
        See Also:
        Constant Field Values
      • VPN_GATEWAY_VALUE

        public static final int VPN_GATEWAY_VALUE
         Forwarded to a Cloud VPN gateway.
         
        VPN_GATEWAY = 2;
        See Also:
        Constant Field Values
      • INTERCONNECT_VALUE

        public static final int INTERCONNECT_VALUE
         Forwarded to a Cloud Interconnect connection.
         
        INTERCONNECT = 3;
        See Also:
        Constant Field Values
      • GKE_MASTER_VALUE

        public static final int GKE_MASTER_VALUE
         Forwarded to a Google Kubernetes Engine Container cluster master.
         
        GKE_MASTER = 4;
        See Also:
        Constant Field Values
      • IMPORTED_CUSTOM_ROUTE_NEXT_HOP_VALUE

        public static final int IMPORTED_CUSTOM_ROUTE_NEXT_HOP_VALUE
         Forwarded to the next hop of a custom route imported from a peering VPC.
         
        IMPORTED_CUSTOM_ROUTE_NEXT_HOP = 5;
        See Also:
        Constant Field Values
      • CLOUD_SQL_INSTANCE_VALUE

        public static final int CLOUD_SQL_INSTANCE_VALUE
         Forwarded to a Cloud SQL instance.
         
        CLOUD_SQL_INSTANCE = 6;
        See Also:
        Constant Field Values
      • ANOTHER_PROJECT_VALUE

        public static final int ANOTHER_PROJECT_VALUE
         Forwarded to a VPC network in another project.
         
        ANOTHER_PROJECT = 7;
        See Also:
        Constant Field Values
      • NCC_HUB_VALUE

        public static final int NCC_HUB_VALUE
         Forwarded to an NCC Hub.
         
        NCC_HUB = 8;
        See Also:
        Constant Field Values
    • Method Detail

      • values

        public static ForwardInfo.Target[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (ForwardInfo.Target c : ForwardInfo.Target.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ForwardInfo.Target valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getNumber

        public final int getNumber()
        Specified by:
        getNumber in interface com.google.protobuf.Internal.EnumLite
        Specified by:
        getNumber in interface com.google.protobuf.ProtocolMessageEnum
      • valueOf

        @Deprecated
        public static ForwardInfo.Target valueOf​(int value)
        Deprecated.
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        value - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • forNumber

        public static ForwardInfo.Target forNumber​(int value)
        Parameters:
        value - The numeric wire value of the corresponding enum entry.
        Returns:
        The enum associated with the given numeric wire value.
      • internalGetValueMap

        public static com.google.protobuf.Internal.EnumLiteMap<ForwardInfo.Target> internalGetValueMap()
      • getValueDescriptor

        public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
        Specified by:
        getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
      • getDescriptorForType

        public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
      • getDescriptor

        public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
      • valueOf

        public static ForwardInfo.Target valueOf​(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        desc - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null